Professional Documents
Culture Documents
• In real applications, many of the numbers in the model may be only rough
estimates.
• Many of the parameters of a linear programming model are only estimates of quantities
(e.g., unit profits) that cannot be determined precisely at this time. What-if analysis
reveals how close each of these estimates needs to be to avoid obtaining an erroneous
optimal solution, and therefore pinpoints the sensitive parameters that need extra
care because even small changes in their values can change the optimal solution
• If conditions change after the study has been completed (a common occurrence), what-if
analysis leaves signposts that indicate (without solving the model again) whether a
resulting change in a parameter of the model changes the optimal solution.
• When certain parameters of the model represent managerial policy decisions, what-if
analysis provides valuable guidance to management regarding the impact of altering
these policy decisions
The profit per door has been revised from $300 to $200.
No change occurs in the optimal solution.
The profit per door has been revised from $300 to $500.
No change occurs in the optimal solution.
The profit per door has been revised from $300 to $1,000.
The optimal solution changes.
Variable Cells
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$C$12 Units Produced Doors 2 0 300 450 300
$D$12 Units Produced Windows 6 0 500 1E+30 300
The two dashed lines that pass through the solid constraint boundary lines are
the objective function lines when PD (the unit profit for doors) is at an endpoint
of its allowable range, 0 ≤ PD ≤ 750.
McGraw-Hill/Irwin 5.13 © The McGraw-Hill Companies, Inc., 2013
Using the Spreadsheet to do Sensitivity Analysis
The profit per door has been revised from $300 to $450.
The profit per window has been revised from $500 to $400.
No change occurs in the optimal solution.
The profit per door has been revised from $300 to $600.
The profit per window has been revised from $500 to $300.
The optimal solution changes.
When the estimates of the unit profits for doors and windows change to PD =
$150 and PW = $250 (half their original values), the graphical method shows
that the optimal solution still is (D, W) = (2, 6) even though the 100 percent
rule says that the optimal solution might change.
McGraw-Hill/Irwin 5.21 © The McGraw-Hill Companies, Inc., 2013
Using the Spreadsheet to do Sensitivity Analysis
The hours available in plant 2 have been further increased from 13 to 18.
The total profit increases by $750 per week ($150 per hour added in plant 2).
The hours available in plant 2 have been further increased from 18 to 20.
The total profit does not increase any further.
Variable Cells
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$C$12 Units Produced Doors 2 0 300 450 300
$D$12 Units Produced Windows 6 0 500 1E+30 300
Constraints
Final Shadow Constraint Allowable Allowable
Cell Name Value Price R.H. Side Increase Decrease
$E$7 Plant 1 Used 2 0 4 1E+30 2
$E$8 Plant 2 Used 12 150 12 6 6
$E$9 Plant 3 Used 18 100 18 6 6
By inserting a formula into cell G8 that keeps the total number of hours
available in plant 2 and 3 equal to 30, it will be possible to generate a
one-way parameter analysis report that shows the effect of shifting
more and more of the hours from plant 3 to plant 2.
This parameter analysis report shows the effect of shifting more and more of
the hours available from plant 3 to plant 2 for the Wyndor problem.
The 100 Percent Rule for Simultaneous Changes in Right-Hand Sides: The
shadow prices remain valid for predicting the effect of simultaneously changing
the right-hand sides of some of the functional constraints as long as the changes
are not too large. To check whether the changes are small enough, calculate for
each change the percentage of the allowable change (decrease or increase) for that
right-hand side to remain within its allowable range. If the sum of the percentage
changes does not exceed 100 percent, the shadow prices definitely will still be
valid. (If the sum does exceed 100 percent, then we cannot be sure.)