Linear Programming Problem Formulation With Graphical Method With
Linear Programming Problem Formulation With Graphical Method With
⮚ 1: find the key decision to be made from the study of the problem.
⮚ 2: Identify the variable and assign symbols x1, x2, x3……., for variable quantities noticed
in step 1.
⮚ 3: state the feasible alternatives which generally in a given situation is:
o {(x1, x2) | x1>_0, x2 >_ 0}
⮚ 4: Identify the constraints or restrictions in the problem and express them as linear
equations or inequalities which are linear functions of the unknown variables.
⮚ 5: Identify the objective which is to be optimized and represent it as a linear function in
terms of unknown variables.
Problem 2.1
A firm makes two types of furniture chairs and tables. The contribution for each product as
calculated by the accounting department is Rs. 20 per chair and Rs. 30 per table. Both products
are processed on three machines M1 ,M2 and M3. The time required (in hours) by each product
and total time available per week on each machine are as follows:
How should the manufacturer schedule his production in order to maximize contribution ?
Formulate the problem as a linear programming problem.
Formulation Method
Step 01: Study the situation to find the key decision to be made. Here the key decision to be
made is to determine the number of chairs and tables to maximize the profit.
Let us consider,
X1≥0 , X2≥0
X1X2
H1
H2 ≤
H3
Subject to constraints,
3x1+3x2≤36
5x1+2x2≤50
2x1 + 6x2≤ 60
Problem: The objective quantitatively in terms of the variables the profit function,
3x1 + 3x2 ≤ 36
5x1 + 2x2 ≤ 50
2x1 + 6x2 ≤ 60
X1≥0 , X2≥0
Z = 20x1 + 30x2
3x1 + 3x2 ≤ 36 _ _ _ _ _ ( i )
5x1 + 2x2 ≤ 50 _ _ _ _ _ ( ii )
2x1 + 6x2 ≤ 60 _ _ _ _ _ ( iii )
X1≥0 ; X2≥0
From equation ( i )
3x1 + 3x2 = 36
X1 12 0
X2 0 12
(12, 0) (0 , 12)
From equation ( ii )
5x1 + 2x2 = 50
X1 10 0
X2 0 25
(10, 0) (0 , 25)
From equation ( iii )
2x1 + 6x2 = 60
X1 30 0
X2 0 10
(30, 0) (0 , 10)
Extreme Point Coordinate point Objective function
(X1 , X2) Z = 20x1 + 30x2
A ( 10 , 0 ) Z = 20x10 + 30x0 = 200
B (9,3) Z = 20x9 + 30x3 = 270
C ( 3, 9) Z = 20x3 + 30x9 = 330
D ( 0, 10 ) Z = 20x0 + 30x10 = 300
So, by graphical method, the maximum point is at C (3, 9) and the maximum value is 330 (In
order to maximize contribution, the manufacture should schedule/produce 3chairs and 9tables)
Problem 2.2
A firm manufactures two products, each of which must be produced through two departments, 1
and 2. The hourly requirements per unit for each product in each department, the weekly
capacities in each department, selling price per unit, labor cost per unit and raw material cost per
unit are summarized as follows :
Formulation Method
Step 01 : Study the situation to find the key decision to be made. Here the key decision to be
made is to determine the number of products to maximize the profit while satisfying the given
constraints of supply and production.
Let us consider,
X1≥0 , X2≥0
X1 X2
D1
≤
D2
Subject to constraints,
Step 05:Express the objective quantitatively in terms of the variables the profit function,
Subject to constraints,
X1≥0 , X2≥0
Problem 2.3
The manager of an oil refinery must decide on the optimum mix of two possible blending
processes of which the inputs and outputs per production run are as follows :
The maximum amount available of crudes A and B is 200 units and 150 units respectively.
Market requirement show that at least 100 units of gasoline X and 80 units of gasoline Y must be
produced. The profits per production run from process 1 and process 2 are Rs. 300 and Rs. 400
respectively. Solve the L. P. problem by graphical method.
Z = 300x1 + 400x2
5x1 + 4x2 ≤ 200 _ _ _ _ _ ( i )
5x1 + 4x2 ≥ 100 _ _ _ _ _ ( ii )
3x1 + 5x2 ≤ 150 _ _ _ _ _ ( iii )
8x1 + 4x2 ≥ 80 _ _ _ _ _ ( iv )
X1≥0 , X2≥0
From equation ( i )
X1 40 0
X2 0 50
(40, 0) (0 , 50)
From equation ( ii )
X1 20 0
X2 0 25
(20, 0) (0, 25)
X1 50 0
X2 0 30
(50, 0) (0, 30)
From equation ( vi )
8x1 + 4x2 = 80
X1 10 0
X2 0 20
(10, 0) (0 , 20)
Extreme Point Coordinate point Objective function
(X1 , X2) Z = 300x1 + 400x2
A ( 20 , 0 ) Z = 300x20 + 400x0 = 6000
B ( 40 , 0 ) Z = 300x40 + 400x0 = 12000
C ( 31 , 12 ) Z = 300x31 + 400x12 = 14100
D ( 0, 30 ) Z = 300x0 + 400x30 = 12000
Problem: Using graphic method, find the maximum value of Z=7X1 + 10X2
X1+X2 ≤ 30000
X2≤ 12000
X1≥6000
X1 ≥X2
X1≥≥ 0
X2≥ 0
X1+X2 ≤ 30000
X2≤ 12000
X1≥6000
X1 ≥X2
X1≥≥ 0
X2≥ 0
From equation---------- (i)
X1+X2=30000
X1 30000 0
X2 0 30000
X2 =12000
(12000, 0)
X1=6000
=>X=0->X2=6000
(6000, 0)
X1=X2
The shaded portion in graph represents feasible region. The corner points of the feasible region
are A (6000, 0), B (30000, 0), C (18000, 120000), D (12000, 12000) and E (6000, 6000).
Thus the maximum value of Z is 2, 46,000 and it occurs when X1=18000 and X2=12000.
Extreme point Coordinate Objective function value
(X1+X2) Z= 7x1+ 10x2
A (6000,0) 7(6000)+0=42,000
B (30000,0) 7(30000)+0=2,10,000
C (18000,12000) 7(18000)+10(12000)=2,46,000
D (12000, 12000) 7(12000)+10(12000)=2,04,000
E (6000,6000) 7(6000)+(6000)=1,02,000