Professional Documents
Culture Documents
Merton Trucks
Model 101 Contribution Eng. Assy. Metal Stmp. 101 Assy. 102 Assy $3000 1 2 2 3 Model 102 $5000 2 2 4000 6000 5000 4500 Availability
Optimal Product Mix: 2000 Model 101s and 1000 Model 102s Optimal Contribution: $11,000,000 How much is Engine Assembly capacity worth to Merton Trucks? Increase the Engine capacity availability by 1, and resolve. The difference in the total contribution = worth of capacity/unit = $2000/hr
Availability
Optimal Product Mix: 2000 Model 101s and 1000 Model 102s Optimal Contribution: $11,000,000 How much is Engine Assembly capacity worth to Merton Trucks? Increase the Engine capacity availability by 1, and resolve. The difference in the total contribution = worth of capacity/unit = 1 million/unit = 1 million/4000 hr = $250/hr
3
12/13/2012
Merton Trucks
Engine Assembly Capacity is now 4400 hours
Model 101 Contribution Eng. Assy. Metal Stmp. 101 Assy. 102 Assy $3000 1 2 2
Optimal Product Mix: 1600 Model 101s and 1400 Model 102s Optimal Contribution: $11,800,000 How much is Engine Assembly capacity worth to Merton Trucks?
5
% Increase Original
12/13/2012
12/13/2012
10
Merton Trucks
Merton Trucks
12/13/2012
Merton Trucks
Merton Trucks
12/13/2012
12/13/2012
Maximization objective Non-negative decision variables Less than or equal to () type constraints
Output (Dual):
{ { { { {
Minimization objective One dual variable for each primal constraint Non-negative dual variables Greater than or equal to () type constraints One constraint for each primal variable
20
Minimization objective Non-negative decision variables Greater than or equal to () type constraints
Output (Dual):
{ { { { {
Maximization objective One dual variable for each primal constraint Non-negative dual variables Less than or equal to () type constraints One constraint for each primal variable
21
12/13/2012
22
Primal-Dual Relationship
Primal Problem Objective: Max Constraint i : <= form = form >= form Variable j: xj >= 0 xj urs xj <= 0 Dual Problem Objective: Min Variable i : yi > >= 0 yi urs yi <= 0 Constraint j: >= form = form <= form
23
24
12/13/2012
Primal-Dual Example
Primal Dual
max Z = 5x1 + 4 x 2
x
3 x1 + 8 x 2 6 x1 + 6 x2 = 5 8 x1 = 10 x 2 0; x1 urs
27
12/13/2012
min w = 6 y1 5 y2 + 10 y3
y
3 y1 + y2 + 8 y3 = 5 8y1 + 6 y2 y1 0; y2 , y3 urs
28
Shadow Price
Shadow Price of a Resource: Price of selling an infinitesimal quantity of that resource. Also Shadow Price of a Resource: Price of buying an infinitesimal quantity of that resource. Generally, both are equal, except when the optimal solution is degenerate. Read the documentation to interpret the meaning in case of a degenerate optimal solution.
29
Shadow Price
Max x1 + x 2 s.t. x1 1
x2 1 x1 + x 2 2 x1 , x1 0
What is special about this optimal solution? What is the price of buying an infinitesimal quantity of the resource represented by X1 + X2 2?
30
X1 =1
Optimal X2 =1 1 X1 + X2 =2
12/13/2012
Shadow Price
Max x1 + x 2 s.t. x1 1
x2 1 x1 + x 2 2 x1 , x1 0
X1 =1
Optimal X2 =1 1 X1 + X2 =3
Shadow Price
Max x1 + x 2 s.t. x1 1
x2 1 x1 + x 2 2 x1 , x 2 0
X1 =1
Optimal X2 =1 1 X1 + X2 =1.5
Advertised: Shadow prices denote the rate of increase in objective function values when the right hand side of the constraint is increased by a small amount At degenerate solutions, this is not the full answer. Do not trust Excel Sensitivity Report if your solution happens to be degenerate! Use your judgment to interpret the values you get according to the context.
33
12/13/2012
Laws of Duality
Strong Law of Duality:
o If the primal problem has a finite optimum, then at optimal solution: Objective value of Primal = Objective value of Dual Primal Unbounded Primal Infeasible Dual Infeasible Dual Unbounded or Infeasible
o o
Obj value of any non-optimal feasible solution for the Minimization problem Primal Obj at optimality = Dual Obj at Optimality Obj value of any non-optimal feasible solution for the Maximization problem
Weak Law of Duality: Each feasible solution for the primal (maximization) problem has an objective value that is less than or equal to the objective value 34 of every feasible solution to the dual (minimization) problem.
Complementary Slackness
Consider an optimal solution to the primal problem.
{
If a constraint is non-binding at the solution, i.e., has a strictly positive slack, then the dual variable (shadow price) corresponding to that constraint has a zero value in the optimal solution to the dual. If the dual variable (shadow price) corresponding to a particular constraint has a strictly positive value in an optimal solution to the dual, then the constraint is binding at an optimal solution to the primal problem.
Complementary Slackness
Slack in Primal Constraint Positive Positive Zero Zero Corresponding shadow price Positive Zero Positive Zero Allowed? Not Allowed Allowed Allowed Allowed
36
12/13/2012
Complementary Slackness
Slack in Primal Constraint Positive Positive Zero Zero Corresponding shadow price Positive Zero Positive Zero Allowed? Not Allowed Allowed Allowed Allowed
Reduced Costs
The reduced cost of a coefficient of a decision variable in the objective function is the minimum amount by which the coefficient should be reduced in order that the decision variable achieves a non-zero level in an optimal solution.
What is the reduced cost for a decision variable already at non-zero value in an optimal solution? For a minimization problem, reduced costs are either ZERO or ? For a maximization problem, reduced costs are either ZERO or ? Can a decision variable at zero level have a reduced cost of zero?
38
Reduced Costs
Min x1 + x 2 s.t. x1 + x 2 1
x1 , x1 0
X1 + X2 =1
O ti l Optimal
X1 + X2
An optimal solution: (x1, x2) = (1, 0) What is the reduced cost of x2?
39
12/13/2012
Sensitivity Analysis
Sensitivity analysis tells us the maximum amount by which we can change any of the coefficients in a linear program such that the set of constraints that determine an optimal solution g does not change.
{ We are concerned with changing only one coefficient and keeping all others fixed. We are bothered only about the set of constraints that define the optimal solution they should not change. But, the optimal solution can change, the objective function value can change.
40
Sensitivity Analysis
Optimum Value = 11 Million Model_101 = 2000 Model_102 = 1000
Original Model
41
Sensitivity Analysis
Optimum Value = 13 Million Model_101 = 2000 Model_102 = 1000
Objective function coefficient increases Z = 3000 Model_101 + 5000 Model_102 to Z = 4000 Model_101 + 5000 Model_102 42
12/13/2012
Sensitivity Analysis
Optimum Value = ??? Model_101 = 2000 Model_102 = 1000
Objective function coefficient increases Z = 3000 Model_101 + 5000 Model_102 to Z = 6000 Model_101 + 5000 Model_102 43
Sensitivity Analysis
Optimum Value = 17.5 Million Model_101 = 2000 Model_102 = 1000
Objective function coefficient increases Z = 3000 Model_101 + 5000 Model_102 to Z = 6000 Model_101 + 5000 Model_102 44
Sensitivity Analysis
Optimum Value = 11 Million Model_101 = 2000 Model_102 = 1000
Original Model
45
12/13/2012
Sensitivity Analysis
Optimum Value = 10.5 Million Model_101 = 2000 Model_102 = 1000
Objective function coefficient decreases Z = 3000 Model_101 + 5000 Model_102 to Z = 2750 Model_101 + 5000 Model_102 46
Sensitivity Analysis
Optimum Value = 9 Million Model_101 = 2000 Model_102 = 1000
Objective function coefficient decreases Z = 3000 Model_101 + 5000 Model_102 to Z = 2000 Model_101 + 5000 Model_102 47
Sensitivity Analysis
Optimum Value = 9.5 Million Model_101 = 1000 Model_102 = 1500
Objective function coefficient decreases Z = 3000 Model_101 + 5000 Model_102 to Z = 2000 Model_101 + 5000 Model_102 48
12/13/2012
Sensitivity Analysis
Sensitivity Analysis
Optimum Value = 11 Million Model_101 = 2000 Model_102 = 1000
Original Model
50
Sensitivity Analysis
Optimum Value = 11.4 Million Model_101 = 1800 Model_102 = 1200
Engine Assy. RHS increases Model_101 + 2 Model_102 4000 to Model_101 + 2 Model_102 4200
51
12/13/2012
Sensitivity Analysis
Optimum Value = 12 Million Model_101 = 1500 Model_102 = 1500
Engine Assy. RHS increases Model_101 + 2 Model_102 4000 to Model_101 + 2 Model_102 4600
52
Sensitivity Analysis
Optimum Value = 11 Million Model_101 = 2000 Model_102 = 1000
Original Model
53
Sensitivity Analysis
Optimum Value = 10.6 Million Model_101 = 2200 Model_102 = 800
Engine Assy. RHS decreases Model_101 + 2 Model_102 4000 to Model_101 + 2 Model_102 3800
54
12/13/2012
Sensitivity Analysis
Optimum Value = 9 Million Model_101 = 2500 Model_102 = 300
Engine Assy. RHS decreases Model_101 + 2 Model_102 4000 to Model_101 + 2 Model_102 3100
55
Sensitivity Analysis