Two Phase Method
Two Phase Method
Solution
Phase 1
Table 1
cj 0 0 0 0 0 -1 -1 Ratio
cB X B x1 x2 x3 s1 s2 A1 A2 B/x3
0 s1 250 8 16 12 1 0 0 0 250/12
-1 A1 80 4 8 10 0 -1 1 0 8
-1 A2 105 7 9 8 0 0 0 1 105/8
zj–cj -11 -17 -18 0 1 0 0
Table 2
Use the following formula to calculate the value for new table.
New Row (R2) = Old Row (R2) / Pivot Element (10)
New Row (R1) = Old Row (R1) – key column value of old Row R1 (12) * New Row (R2)
New Row (R3) = Old Row (R3) – key column value of old Row R3 (8) * New Row (R2)
cj 0 0 0 0 0 -1 Ratio
cB Basic variables x1 x2 x3 s1 s2 A2 B/x1
X B
0 s1 154 16/5 32/5 0 1 6/5 0 48
0 x3 8 2/5 4/5 1 0 -1/10 0 20
-1 A2 41 19/5 13/5 0 0 4/5 1 10
zj-cj -19/5 -13/5 0 0 -4/5 0
Phase 2
The basic feasible solution at the end of Phase 1 computation is used as the initial basic feasible solution of the
problem. The original objective function is introduced in Phase 2 computation and the usual simplex procedure is
used to solve the problem.
Table 3
Use the following formula to calculate the value for new table.
New Row (R3) = Old Row (R3) / Pivot Element (19/5)
New Row (R1) = Old Row (R1) – key column value of old Row R1 (16/5) * New Row (R3)
New Row (R2) = Old Row (R2) – key column value of old Row R2 (2/5) * New Row (R3)
cj 12 15 9 0 0 Ratio
cB Basic variables B x1 x2 x3 x4 x5 B/x2
X
0 x4 2270/19 0 80/19 0 1 10/19 28
9 x3 70/19 0 10/19 1 0 -7/38 7
12 x1 205/19 1 13/19 0 0 4/19 15
zj-cj 0 -39/19 0 0 33/38
Table 4
Use the following formula to calculate the value for new table.
New Row (R2) = Old Row (R2) / Pivot Element (10/19)
New Row (R1) = Old Row (R1) – key column value of old Row R1 (80/19) * New Row (R2)
New Row (R3) = Old Row (R3) – key column value of old Row R3 (13/19) * New Row (R2)
cj 12 15 9 0 0
cB Basic variables x1 x2 x3 x4 x5 Solution values
B b (= XB)
0 x4 0 0 -8 1 2 90
15 x2 0 1 19/10 0 -7/20 7
12 x1 1 0 -13/10 0 9/20 6
zj-cj 0 0 39/10 0 3/20