Ge330fall09 Dualsimplex Postoptimal11 PDF
Ge330fall09 Dualsimplex Postoptimal11 PDF
Ge330fall09 Dualsimplex Postoptimal11 PDF
Post-Optimal Analysis
Today
• Dual-Simplex Algorithm
• Post-Optimal Analysis
IE 310/GE 330 1
Lecture 11
IE 310/GE 330 2
Lecture 11
Example 4.4-1
minimize z = 3x1 + 2x2 + x3 minimize z = 3x1 + 2x2 + x3
subject to 3x1 + x2 + x3 ≥ 3 subject to −3x1 − x2 − x3 ≤ −3
−3x1 + 3x2 + x3 ≥ 6 3x1 − 3x2 − x3 ≤ −6
x1 + x2 + x3 ≤ 3 x1 + x2 + x3 ≤ 3
x1 , x 2 , x 3 ≥ 0 x1 , x 2 , x 3 ≥ 0
Introducing slack variables x4, x5, x6, we generate the initial simplex table
using the slacks as basic variables
Basic x1 x2 x3 x4 x5 x6 RHS
z −3 −2 −1 0 0 0 0
x4 −3 −1 −1 1 0 0 −3
x5 3 −3 −1 0 1 0 −6
x6 1 1 1 0 0 1 3
A basic variable with the most negative value (infeasible) has to leave
In this case x5 is leaving the basis
IE 310/GE 330 3
Lecture 11
The entering variable is determining by the absolute value ratio test for
the z -row entries and the x5-row entries, but only on the negative values:
(here the entries in x2 and x3 column)
−2 −1
minimum of ,
−3
−1
Basic x1 x2 x3 x4 x5 x6 RHS
z −5 0 − 12 0 − 23 0 4
x4 −4 0 − 23 1 − 13 0 −1
1
x2 −1 1 3
0 − 13 0 2
2 1
x6 2 0 3
0 3
1 1
IE 310/GE 330 4
Lecture 11
In the next iteration x4 leaves and x2 enters and the pivoting element is − 23
Again, we carry out the regular “pivoting operations”, and obtain
Basic x1 x2 x3 x4 x5 x6 RHS
z −3 0 0 − 12 − 12 0 9
2
x3 6 0 1 − 32 1
2
0 3
2
1 1 3
x2 −3 1 0 2
−2 0 2
x6 −2 0 0 1 0 1 0
IE 310/GE 330 5
Lecture 11
IE 310/GE 330 6
Lecture 11
IE 310/GE 330 7
Lecture 11
How will this change affect the TOYCO’S optimal solution and revenue?
IE 310/GE 330 8
Lecture 11
Optimal Table
Basic x1 x2 x3 x4 x5 x6 RHS
z 4 0 0 1 2 0 1350
x2 − 14 1 0 21 − 14 0 100
x3 32 0 1 0 12 0 230
x6 2 0 0 −2 1 1 20
The changes in the operations affect the right-hand side result in
Perturbed Table
Basic x1 x2 x3 x4 x5 x6 RHS
z 4 0 0 1 2 0 ?
x2 − 14 1 0 21 − 14 0 ?
x3 32 0 1 0 12 0 ?
x6 2 0 0 −2 1 1 ?
IE 310/GE 330 9
Lecture 11
Use column rule to determine the RHS data except for z -row
new solution = inverse optimal × new right-hand side
New solution
1
x2 2
− 14
0 602 140
1
x3 = 0 0 644 = 322
2
x6 −2 1 1 588 28
IE 310/GE 330 10
Lecture 11
IE 310/GE 330 11
Lecture 11
IE 310/GE 330 12
Lecture 11
How will this change affect the TOYCO’S optimal solution and cost?
IE 310/GE 330 13
Lecture 11
Use column rule to determine the RHS data except for z -row
new solution = inverse optimal × new right-hand side
New solution
1
x2 2
− 14
0 450 110
1
x3 = 0 0 460 = 230
2
x6 −2 1 1 400 −40
IE 310/GE 330 14
Lecture 11
Basic x1 x2 x3 x4 x5 x6 RHS
z 4 0 0 1 2 0 1370
x2 − 14 1 0 12 − 14 0 110
x3 32 0 1 0 12 0 230
x6 2 0 0 −2 1 1 −40
IE 310/GE 330 15
Lecture 11
Basic x1 x2 x3 x4 x5 x6 RHS
z 4 0 0 1 2 0 1370
x2 − 14 1 0 21 − 14 0 110
x3 32 0 1 0 21 0 230
x6 2 0 0 −2 1 1 −40 ← leaving the basis
IE 310/GE 330 16
Lecture 11
The new optimal value is worse than the old optimal value!
The revenue is reduced by 20. There is a slack of 20 on machine 1!!!
IE 310/GE 330 17