Chapter 5 - Dual Simplex
Chapter 5 - Dual Simplex
CHAPTER 5:
DUALITY AND POST-OPTIMAL
ANALYSIS
• The dual simplex method starts with a better than optimal and
infeasible basic solution. The optimality and feasibility conditions are
designed to preserve the optimality of the basic solutions as the
solution move toward feasibility.
2
Dual Feasibility and Optimality Condition
Dual feasibility condition:
§ The leaving variable, xr , is the basic variable having the most
negative value.
3
Requirement
1) The objective function must satisfy the optimality condition of the regular simplex method:
§ Minimum Z is attained when all the Z row coefficient are non positive.
§ Inequalities of the type (≥) are converted to (≤) by multiplying both sides of the
inequality by -1.
§ If the LP includes (=) constraints, the equation can be replaced by two inequalities.
For example, 𝑥! + 𝑥" = 1 is equivalent to 𝑥! + 𝑥" ≤ 1 and 𝑥! + 𝑥" ≥ 1 (−𝑥! − 𝑥" ≤ −1)
4
Example 1
Minimize, 𝑍 = 3𝑥1 + 2𝑥2 + 𝑥3
Subject to:
5
Example 1 (cont’d)
• The tableau is optimal because all the reduced costs in the Z-row are ≤ 0
• It is also infeasible because at least one of the basic variables is negative.
Leaving variable
• According to the dual feasibility condition, 𝑥! is the leaving variable(basic variable having the
most negative value).
6
Example 1 (cont’d)
• Entering variable
7
Example 1 (cont’d)
New 𝑥& row = ( 3, -3, -1, 0, 1,0,-6) ÷ -3 = (-1, 1, 1/3, 0, -1/3, 0,2)
8
Example 1 (cont’d) New Tableau-Iteration 2
9
Example 1 (cont’d) New Tableau-Iteration 3
• New 𝑥' row = ( -4, 0, -2/3, 1, -1/3,0,-1) ÷ -2/3 = (6, 0, 1, -3/2,1/2, 0, 0,3/2)
10
Example 1 (cont’d)
11
Post Optimal Analysis
12
Post Optimal Analysis
The following table lists the cases that can arise in post-optimal analysis and the actions
needed to obtain the new solution (assuming one exists):
13
Changes Affective Feasibility
14
Example 2: TOYCO Model
Letting 𝑥1, 𝑥2, and 𝑥3 represent the daily number of units assembled of trains,
trucks, and cars, respectively. The associated LP model is given as:
Subject to:
𝑥1 + 4 𝑥2 <= 420
15
Example 2 (cont.)
• The associated optimum tableau for the primal simplex is given as:
16
Example 2 (cont.) Situation 1
Suppose that TOYCO is increasing the daily capacity of operations 1, 2, and 3 to 600, 640, and 590
minutes, respectively. How would this change affect the total revenue?
17
Example 2 (cont.)
• The current basic variables, 𝑥2, 𝑥3, and 𝑥6, remain feasible (³0) at the new
values 140, 320, and 30 units, respectively.
18
Example 2 (cont.) Situation 2
Although the new solution is appealing from the standpoint of increased revenue, TOYCO
recognizes that its implementation may take time. Another proposal shifts the slack
capacity of operation 3 (𝑥6 = 20 minutes) to the capacity of Operation 1. How would this
change impact the optimum solution?
Solution:
𝑥' + 2𝑥# + 𝑥% ≤ 430
3𝑥' + 2𝑥% ≤ 460
𝑥' + 4𝑥# ≤ 420
The capacity mix of the three operations changes to 450, 460, and 400 minutes, respectively.
19
Example 2 (cont.)
New optimal solutions:
The resulting solution is infeasible because x6 = -40, which requires applying the dual
simplex method to recover feasibility.
20
Example 2 (cont.)
• Modify the right-hand side of the tableau as shown by the shaded column.
• Associated value of z = 3 * (0) + 2 * (110) + 5 *(230) = $1370.
21
Example 2 (cont.)
• 𝑥6 leaves and 𝑥4 enters, which yields the following optimal feasible tableau
• The optimum solution (in terms of 𝑥1, 𝑥2, and 𝑥3) remains the same as in the original model. This
means that the proposed shift in capacity allocation is not advantageous because it simply shifts
the slack capacity from operation 3 to a slack capacity in operation 1.
22
Exercise #1
1) In the TOYCO model (Example 2), would it be more advantageous to assign the 20-minute
2) Suppose that TOYCO wants to change the capacities of the three operations to 460, 500 and
400 minutes, respectively. Use post-optimal analysis to determine the optimum solution
23
Exercise #2
Reddy Mikks model:
If the daily availabilities of raw materials M1 and M2 are increased to 35 and 10 tons,
respectively, use post-optimal analysis to determine the new optimal solution.
24