Dual Simplex
Dual Simplex
RC
EE
P
Example 1
Maximize
Z 3 x1 5 x2
s.t.
x1 4
2 x2 12
3 x1 2 x2 18
x1 0
x2 0
3
Example 1 (Contd.)
Z 3 x1 5 x2 M A1 0
3 x1 2 x2 A1 18
Row-0
Row containing
artificial
variables
x1
x2
x3
x4
bi
-3
-5
18
RC
EE
P
Transformed
Row-0
-3M-3
-2M-5
R = M; P = 1
-18M
4
Example 1 (Contd.)
In case of multiple artificial variables, carryout the
transformation one by one.
Use the transformed Z-row in the initial simplex
table.
Departing variable
Example 1 (Contd.)
Iteration-1
Entering variable
Basis
Row
x1
x2
x3
x4
A1
bi
bi/aij
-3M-3
-2M-5
-18M
x3
x4
12
A1
18
Pivot point
6
Example 1 (Contd.)
Entering variable
Departing variable
Iteration-2
x4
A1
bi
bi/aij
-6M+12
12
-3
Basis
Row
x1
x1
x4
A1
x2
x3
-2M-5 3M+3
Example 1 (Contd.)
Entering variable
Departing variable
Iteration-3
Basis
Row
x1
x2
x3
x4
A1
bi
bi/aij
-9/2
M+5/2
27
x1
x4
-1
x2
-3/2
1/2
Example 1 (Contd.)
Iteration-4
Basis
Row
x1
x2
x3
x4
A1
bi
3/2
M+1
36
x1
-1/3
1/3
x3
1/3
-1/3
x2
1/2
Example 1 (Contd.)
Since all coefficients in the Z-row are non-negative this is
the optimal solution.
Z 36
x1 2
x2 6
x3 2
3 x1 2 x2 18
x4 0
A1 0
10
LP Unbounded Solution
Unbounded solution:
No departing variable can be found at some iteration
Implies that Z can be increased indefinitely without
violating any constraint
11
Example 2
Maximize
Z x1 x2
s.t.
x1 5
x2 10
x1 0
x2 0
12
Example 2 (Contd.)
x2 = 10
Z x1 x2
x1 5
x1 = 5
x2
Feasible space
unbounded in
the direction in
which Z
increases
x2 10
x1 0
x2 0
x1
13
Example 2 (Contd.)
The problem is converted to standard LP form
Maximize
s.t.
Z x1 x2
x1 5
x1 x3 5
x2 10
x2 x4 10
x1 0
x1 0; x2 0
x2 0
x3 0; x4 0
14
Example 2 (Contd.)
Add artificial variable to constraint 1
Z x1 x2 M A1 0
x1 x3 A1 5
Transformation of coefficients in Row-0
x1
x2
x3
x4
bi
-1
-1
-1
-1-M
-1
-5M
15
Example 2 (Contd.)
Departing variable
Iteration-1
Entering variable
Basis
Row
x1
x2
x3
x4
A1
bi
bi/aij
-1-M
-1
-5M
A1
-1
x4
10
Pivot point
16
Example 2 (Contd.)
Departing variable
Iteration-2
Entering variable
Basis
Row
x1
x2
x3
x4
A1
bi
bi/aij
-1
-1
1+M
x1
-1
x4
10
10
Pivot point
17
Example 2 (Contd.)
Iteration-3
Entering variable
Basis
Row
x1
x2
x3
x4
A1
bi
bi/aij
-1
1+M
-5
x1
-1
x2
10
No departing variable
Hence the problem is unbounded
18
LP Infeasible Solution
Infeasible solution:
One or more artificial variables remain in the basis
even when optimality criterion is satisfied.
19
Example 3
Minimize
Z 3 x1 5 x2
s.t.
x1 x2 4
2 x1 2 x2 32
x1 0
x2 0
20
Example 3 (Contd.)
x2
Z 3 x1 5 x2
x1 x2 4
2 x1 2 x2 32
x1 0
x2 0
No feasible space
can be found
x1
21
Example 3 (Contd.)
The problem is converted to standard LP form
Maximize
s.t.
Z 3x1 5 x2
x1 x2 4
x1 x2 x3 4
2 x1 2 x2 32
2 x1 2 x2 x4 32
x1 0
x1 0; x2 0
x2 0
x3 0; x4 0
22
Example 3 (Contd.)
Add artificial variable to constraint 2
Z 3 x1 5 x2 M A1 0
2 x1 2 x2 x4 A1 32
Transformation of coefficients in Row-0
x1
x2
x3
x4
bi
-3
-5
-1
32
-3-2M
-5-2M
-32M
23
Example 3 (Contd.)
Departing variable
Iteration-1
Entering variable
Basis
Row
x1
x2
x3
x4
A1
bi
bi/aij
-3-2M
-5-2M
-32M
x3
A1
-1
32
16
Pivot point
24
Example 3 (Contd.)
Iteration-2
Basis
Row
x1
x2
x3
x4
A1
bi
5+2M
20-24M
x2
A1
-2
-1
24
25