Académique Documents
Professionnel Documents
Culture Documents
Highlighted insights
Graphical method: If the linear programming problem is two variable problems, it can
be solved graphically. The steps required for solving a linear programming problem by
graphic method are:
1. Formulate the problem into a linear programming problem.
2. Each inequality in the constraints may be written as equality.
3. Draw straight lines corresponding to the equations obtained in step 2. So
there will be as many straight lines as there are questions.
4. Identify the feasible region. Feasible region is the area which satisfies all
constraints simultaneously.
5. The permissible region or feasible region is a many sided figure. The corner
points of the figure are to be located and their co-ordinates are to be
measured.
SAMPLE PROBLEMS:
1. Maximization Model
Beaver Creek Pottery Company is a small crafts operation run by a Native
American tribal council. The company employs skilled artisans to produce clay bowls
and mugs with authentic Native American designs and colors. The two primary
resources used by the company are special pottery clay and skilled labor. Given these
limited resources, the company desires to know how many bowls and mugs to produce
each day in order to maximize profit. The two products have the following resource
requirements for production and profit per item produced (i.e., the model parameters):
There are 40 hours of labor and 120 pounds of clay available each day for production.
SOLUTION:
If x1 = 0 If x1 = 0
1x1 + 2x2 40 4x1 + 3x2 120
1x1 + 2x2 = 40 4x1 + 3x2 = 120
1(0) + 2x2 = 40 4(0) + 3x2 = 120
2x2 = 40 3x2 = 120
x2 = 20 x2 = 40
(0,20) (0,40)
if x2 = 0 if x2 = 0
1x1 + 2(0) = 40 4x1 + 3(0) = 120
x1= 40 4x1= 120
(40,0) x1= 30
(30,0)
Solve for B:
Step1. Convert both equations to functions of x1:
Eq1. 1x1 + 2x2 = 40 Eq2. 4x1 + 3x2 = 120
x1 = 40 –2x2 4x1 = 120 – 3x2
x1 = 30 – (3x2/4)
Step2. Equate both equations to solve for x2:
40 – 2x2 = 30 – (3x2/4)
5x2/4 = 10
x2 = 8
Figure 2. Graph of Optimal solution coordinates
Step4. Solve for optimal solution by the substituting the values of points A, B and C to
the objective function: Maximize Z = $40x1 + $50x2
A(0,20)
Maximize Z = 40x1 + 50x2
= 40(0) + 50(20)
= 1,000
B(24,8)
Maximize Z = 40x1 + 50x2
= 40(24) + 50(8)
= 1,360
C(30,0)
Optimal solution
Maximize Z = 40x1 + 50x2
= 40(30) + 50(0)
= 1,200
2. Minimization Model
The farmer’s field requires at least 16 pounds of nitrogen and at least 24 pounds
of phosphate. Super-gro costs $6 per bag, and Crop-quick costs $3. The farmer wants
to know how many bags of each brand to purchase in order to minimize the total cost of
fertilizing.
Brand Nitrogen Phosphate
(lb/bag) (lb/bag)
Super-gro 2 4
Crop-quick 4 3
Decision Variables:
x1 = bags of Super-Gro
x2 = bags of Crop-Quick
The Objective Function:
Minimize Z = $6x1 + 3x2
Where: $6x1 = cost of bags of Super-Gro
$3x2 = cost of bags of Crop-Quick
Model Constraints:
2x1 + 4x2 16 lb (nitrogen constraint)
4x1 + 3x2 24 lb (phosphate constraint)
x1, x2 0
SOLUTION:
If x1 = 0 If x1 = 0
2x1 + 4x2 16 4x1 + 3x2 24
2x1 + 4x2 =16 4x1 + 3x2 = 24
2(0) + 4x2 =16 4(0) + 3x2 = 24
4x2 = 4 3x2 = 24
x2 = 4 x2 = 8
(0,4) (0,8)
if x2 = 0 if x2 = 0
2x1 + 4(0)=16 4x1 + 3(0) = 24
2x1= 16 4x1= 24
x1= 8 x1= 6
(8,0) (6,0) Figure 4. Graph of both constraints
Solve for B:
Step1. Convert both equations to functions of x1:
Eq1. 2x1 + 4x2 = 16 Eq2. 4x1 + 3x2 = 24
2x1 = 16 – 4x2 4x1 = 24 – 3x2
x1 = 8 – 2x2 x1 = 6 – (3x2/4)
Step2. Equate both equations to solve for x2:
8 – 2x2 = 6 – (3x2/4)
5x2/4 = 2
x2 = 1.6
Step3. Substitute in any equation the value of x2:
x1 = 8 – 2x2 x1 = 6 – (3x2/4)
= 8 – 2(1.6) = 6 – (3(1.6)/4)
= 8 – 3.2 = 6 – (4.8/4)
= 4.8 = 6 – 1.2
= 4.8 ; therefore, B(4.6,1.6)
Step4. Solve for optimal solution by the substituting the values of points A, B and C to
the objective function: Minimize Z = 6x1 + 3x2
A(0,8)
Minimize Z = 6x1 + 3x2
= 6(0) + 3(8)
= 24
14 Optimal Solution
B(4.6,1.6)
Minimize Z = 6x1 + 3x2
= 6(4.6) + 3(1.6)
= 32.4
C(8,0)
Optimal
Minimize Z = 6xsolution
1 + 3x2 Figure 6. Optimal Solution Point
= 6(8) + 3(0)
= 48