Additional Simplex Algorithms: Dual Simplex Method and Generalized Simplex Method
Additional Simplex Algorithms: Dual Simplex Method and Generalized Simplex Method
Additional Simplex Algorithms: Dual Simplex Method and Generalized Simplex Method
Minimize z 2 x1 3x2
subject to 2 x1 2 x2 30
x1 2 x2 10
x1 , x2 0
Example 1: solution
Putting it in the form all constraints of the type and
adding slack variables, the problem becomes
Minimize z 2 x1 3x2
subject to
2 x1 2 x2 s1 30
x1 2 x2 s2 10
x1 , x2 , s1 , s2 0
2x1+2x2=30 2x1+3x2=45
2x1+3x2=30
(0,5)
2x1+3x2=20
Minimize z 2 x1 3x2
subject to 2 x1 2 x2 30
x1 2 x2 10
x1 , x2 0
Example 3:
Solve by Dual Simplex method
Maximize z 2 x1 3x2
subject to
2 x1 x2 x3 3
x1 x2 x3 2
x1 , x2 , x3 0
Remark:
Minimize z 4 x1 2 x2
subject to x1 x2 1
3x1 x2 2
x1 , x2 0
Example 5:
Solve by Dual Simplex method
Maximize z x1 x2
subject to x1 x2 8
x2 3
x1 x2 2
x1 , x2 0
Dual Simplex with Artificial Constraints
Example 1: Consider the following LPP
Maximize z 2 x1 x2 x3
subject to
2 x1 3 x2 5 x3 4
x1 6 x2 x3 3
4 x1 6 x2 3 x3 8
x1 , x2 , x3 0
Dual Simplex with Artificial Constraints
Adding the surplus variables s1 and s2 to the first and second
constraints and the slack variable s3 to the third constraint,
the LPP becomes:
Maximize z 2 x1 x2 x3
subject to
2 x1 3x2 5 x3 s1 4
x1 6 x2 x3 s2 3
4 x1 6 x2 3 x3 s3 8
x1 , x2 , x3 , s1 , s2 , s3 0
Note that:
Maximize z x1 3x2
subject to x1 x2 s1 2
x1 x2 s2 4
2 x1 2 x2 s3 3
x1 , x2 , s1 , s2 , s3 0
Example 2 Note that
The starting Basic Solution consisting of slack s1 and
surplus s2 and s3 is infeasible as s2 = - 4 and s3 = - 3.
x1 3x2 1
2 x1 5 x2 1, x1 , x2 0
x1 3 x2 s2 1
2 x1 5 x2 s3 1
x1 , x2 , s1 , s2 , s3 0
Basic z x1 x2 x2 s1 s2 s3 Sol
z 1 -1 -2 2 0 0 0 0
s1 0 1 1 1 1 0 0 3
s2 0 -1 1 0 0 1 0 -1
s3 0 0 1 1 0 0 1 4
We now allow s1 to leave the basis as it has the most ve value
and x1 to enter as it has the only ve coefft in the leaving row.
z 1 0 3 1 0 0 5
x1 0 1 -4 -1 0 0 5
s2 0 0 1 1 1 0 -4
s3 0 0 -3 -2 0 1 9
The new s2 row shows that the problem has no feasible
solution.
Example 2: Consider the following LPP
Maximize z 2 x1 3x2
subject to 2 x1 x2 x3 5
x1 x2 x3 2
x1 , x2 0
Use dual simplex method after adding artificial
constraint.
Example:
Consider the LPP
Maximize z 5x1 2 x2 3x3
subject to x1 5 x2 3 x3 b1
x1 5 x2 6 x3 b2
x1 , x2 , x3 0
The following optimal tableau corresponds to specific
values of b1 and b2:
Basic z x1 x2 x3 x4 x5 Sol
z 1 0 a 7 d e 150
x1 0 1 b 2 1 0 30
x5 0 0 c -8 -1 1 10
1
d = z4 c4 CB B A4 c4 5 0 0
1
5
1
e = 0 as x5 is a basic variable.