The Two-Phase Simplex Method: Siddhalingeshwar I.G
The Two-Phase Simplex Method: Siddhalingeshwar I.G
Simplex Method
Siddhalingeshwar I.G.
Preview
When a basic feasible solution is not readily available, the two-phase
simplex method may be used as an alternative to the big M method.
In the two-phase simplex method, we add artificial variables to the
same constraints as we did in big M method. Then we find a BFS to the
original LP by solving the Phase I LP.
In the Phase I LP, the objective function is to minimize the sum of all
artificial variables.
At the completion of Phase I, we reintroduce the original LP’s objective
function and determine the optimal solution to the original LP.
The two-phase simplex method
Step 1
Modify the constraints so that the right-hand side of each constraint is
nonnegative. This requires that each constraint with a negative right-
hand side be multiplied through by -1.
Step 1’
Identify each constraint that is now an = or ≥ constraint. In step 3, we
will add an the artificial variable to each of these constraints.
Step 2
Convert each inequality constraint to standard form.
For ≤ constraint i, we add a slack variable si;
For ≥ constraint i, we add an excess variable ei;
The two-phase simplex method
Step 4
For now, ignore the original LP’s objective function.
Instead solve an LP whose objective function is min
w’=(sum of all the artificial variables).
Case 3
Min z=2x1+3x2
s.t. 1/2x1+1/4x2≤4
x1+ 3x2≥20
x 1+ x2=10
x1,x2≥0
Solution
As in the Big M method, step 1-3 transform the
constraints into
1/2 x1+1/4x2+s1 =4
0 ½ ¼ 1 0 0 0 4 s1=4 16
0 1 ③ 0 -1 1 0 20 a2=20 20/3*
0 1 1 0 0 0 1 10 a3=10 10
Basic
W’ x1 x2 s1 s2 a2 a3 RHS variable Ratio
1 2/3 0 0 1/3 -4/3 0 10/3 W’=10/3
1 0 0 0 0 -1 -1 0 W’=0