Simplex Method: Minimization Two Phase Method
Simplex Method: Minimization Two Phase Method
Simplex Method: Minimization Two Phase Method
LECTURE 14
MINIMIZATION
TWO PHASE METHOD
BY
DR. ARSHAD ZAHEER
Two Phase Method
Illustration
Phase I:
In Phase I we introduce artificial objective function
Capital “F” as the sum of artificial variables
introduced in the constraints. We substitute the
values of artificial variables from the constraints
and get artificial objective function.
We have Two artificial variables so the artificial
objective function would be as under;
F = A1 + A2
Artificial Objective Function
A1
Use Equation no 4 to find the value of A1
3x1+ x2 + A1= 3
A1 = 3 - 3x1- x2
A2
Use Equation no 5 to find the value of A2
4x1+ 3x2 – S1 + A2= 6
A2= 6 - 4x1- 3x2 + S1
F = A 1 + A2
Putting the values of A1 and A2
F = ( 3 – 3X1- X2) + (6 – 4X1- 3X2 + S1)
=9 - 7x1-4 x2 + S1
Minimize f = 4x1+ x2
F=9 - 7x1-4 x2 + S1
Subject to:
3x1+ x2 + A1 = 3 …………. (4)
4x1+ 3x2 – S1 + A2= 6 …………. (5)
x1+ 2x2 + S2 = 4 …………. (6)
x x , S , S , A + A ≥0
Initial Feasible Solution
1
New Pivot Row = X Old Pivot Row
Pivot No.
1
New Pivot
X [3 1 0 0 1 0 3]
Row =
3
[1 1/3 0 0 1/3 0 1]
Calculation
New Row = Old Row – Pivot Column Coefficient x New Pivot Row
New A2 Row = [4 3 -1 0 0 1 6]
- (4)[1 1/3 0 0 1/3 0 1]
= [0 5/3 -1 0 -4/3 1 2]
New S2 Row =[1 2 0 1 0 0 4]
- (1) [1 1/3 0 0 1/3 0 1]
= [0 5/3 0 1 -1/3 0 3]
New f Row = [-4 -1 0 0 0 0 0]
- (-4) [1 1/3 0 0 1/3 0 1]
= [0 1/3 0 0 4/3 0 4]
New F Row = [7 4 -1 0 0 0 9]
- (7) [1 1/3 0 0 1/3 0 1]
= [0 5/3 -1 0 -7/3 0 2]
Tableau I
1
New Pivot Row = X Old Pivot Row
Pivot No.
1
New Pivot
X [0 5/3 -1 0 -4/3 1 2]
Row =
5/3
[0 1 -3/5 0 -4/5 3/5 6/5]
Calculation
New Row = Old Row – Pivot Column Coefficient x New Pivot Row
New X1 Row =
[1 1/3 0 0 1/3 0 1]
-(1/3)[0 1 -3/5 0 -4/5 3/5 6/5]
= [1 0 1/5 0 3/5 -1/5 3/5]
New S2 Row =
[0 5/3 0 1 -1/3 0 3]
-(5/3)[0 1 -3/5 0 -4/5 3/5 6/5]
= [0 0 1 1 1 -1 1]
Calculation
New f Row =
[0 1/3 0 0 4/3 0 4]
-(1/3)[0 1 -3/5 0 -4/5 3/5 6/5]
= [0 0 1/5 0 8/5 -1/5 18/5]
New F Row
[0 5/3 -1 0 -7/3 0 2]
-(5/3)[0 1 -3/5 0 -4/5 3/5 6/5]
= [0 0 0 0 -1 -1 0]
Tableau II
Basics X1 X2 S1 S2 A1 A2 RHS
X1 1 0 1/5 0 3/5 -1/5 3/5
X2 0 1 -3/5 0 -4/5 3/5 6/5
S2 0 0 1 1 1 -1 1
f 0 0 1/5 0 8/5 -1/5 18/5
F 0 0 0 0 -1 -1 0
1
New Pivot Row = X Old Pivot Row
Pivot No.
1
New Pivot
X [0 0 1 1 1]
Row =
1
[0 0 1 1 1]
Calculation
New Row = Old Row – Pivot Column Coefficient x New Pivot Row
New X1 Row =
[1 0 1/5 0 3/5]
-(1/5) [0 0 1 1 1]
= [1 0 0 -1/5 2/5]
New X2 Row =
[0 1 -3/5 0 6/5]
-(-3/5)[0 0 1 1 1]
= [0 1 0 3/5 9/5]
Calculation
New f Row =
[0 0 1/5 0 18/5]
-(1/5) [0 0 1 1 1]
= [0 0 0 -1/5 17/5]
Tableau
Basics X1 X2 S1 S2 RHS
X1 1 0 0 -1/5 2/5
X2 0 0 0 3/5 9/5
S1 0 0 1 1 1
f 0 0 0 -1/5 17/5
X1 = 2/5
X2 = 9/5
f = 17/5
Cross checking of maximization point
put values of X1 and X2 from above solution into
original objective function
f=4x1+ x2
=4 (2/5) + (9/5)
=17/5
Thank You