CH 3 - Sensitivity Analysis For Graphical Method1
CH 3 - Sensitivity Analysis For Graphical Method1
Slide 2
Graphical Sensitivity Analysis
For LP problems with two decision variables, graphical
solution methods can be used to perform sensitivity analysis
on
the objective function coefficients, and
the right-hand-side values for the constraints.
x1, x2 > 0
Slide 3
Example 1
x2
8 x1 + x2 < 8 (3)
Max 5x1 + 7x2
7
6 x1 < 6 (1)
5
Optimal Solution:
4 x1 = 5, x2 = 3, Z= 46
3
2x1 + 3x2 < 19 (2)
2
1
x1
1 2 3 4 5 6 7 8 9 10
Slide 4
Objective Function Coefficients
The range of optimality for each coefficient provides the range
of values over which the values of decision variables will
remain optimal (i.e., the same).
Note that the objective function value will change if the
coefficient/s of the decision variable/s is/are changed.
Slide 5
Example 1
Changing Slope of Objective Function
x2
Coincides with
8 x1 + x2 < 8 (3)
constraint line
7
6 Objective function
5 line for 5x1 + 7x2
5
4 Coincides with
2x1 + 3x2 < 19 (2)
3 Feasible constraint line
Region 4
2
3
1
1 2
x1
1 2 3 4 5 6 7 8 9 10
Slide 6
Range of Optimality
Example:
Objective function: 5x1 + 7x2
Slope of objective function = - 5/7
Slide 7
Example 1
Range of Optimality for c1
The slope of the objective function line is -c1/c2. The slope of
the first binding constraint, x1 + x2 = 8, is -1 and the slope of
the second binding constraint, 2x1 + 3x2 = 19, is -2/3.
Find the range of values for c1 (with c2 staying 7) such
that the objective function line slope lies between that of the
two binding constraints:
-1 < -c1/7 < -2/3
Multiplying through by -7 (and reversing the inequalities):
14/3 < c1 < 7
Slide 8
Example 1
Range of Optimality for c1
Would a change in c1 from 5 to 7 (with c2 unchanged) cause a
change in the optimal values of the decision variables (i.e., x1
and x2)?
Slide 9
Example 1
Range of Optimality for c2
Find the range of values for c2 ( with c1 staying 5) such that the
objective function line slope lies between that of the two binding
constraints:
-1 < -5/c2 < -2/3
Slide 10
Example 1
Range of Optimality for c2
Would a change in c2 from 7 to 6 (with c1 unchanged) cause a
change in the optimal values of the decision variables?
Slide 11
Important Notes
Slide 12
Example 1
Simultaneous Changes in c1 and c2
Would simultaneously changing c1 from 5 to 7 and changing
c2 from 7 to 6 cause a change in the optimal solution? (Recall
that these changes individually did not cause the optimal
solution to change.)
Recall that the objective function line slope must lie between
that of the two binding constraints:
-1 < -c1/c2 < -2/3
The answer is ‘yes’ the optimal solution (i.e., x1, x2 and Z)
changes because -7/6 does not satisfy the above condition.
Slide 13
Right-Hand Sides
Slide 14
Dual Value (Shadow Price)
• Graphically, a dual value is determined by adding +1 to the right
hand side value in question and then resolving for the optimal
solution in terms of the same two binding constraints.
• The dual value is equal to the difference in the values of the
objective functions between the new and original problems.
• Note that all the optimal values (i.e., all the decision variables
and objective function value) will change when you change the
right hand side value/s of the binding constraint/s.
• The dual value for a nonbinding constraint is 0.
Slide 15
Example 1
Dual Values
Constraint 1: Since x1 < 6 is not a binding constraint, its dual
price is 0.
• The range of feasibility for a change in the right hand side value is
the range of values for this coefficient in which the original dual
value remains constant.
Slide 17