Professional Documents
Culture Documents
Variable Cells
Cell Name Original Value Final Value Integer
$C$13 Units Produced Doors (x_1) 0 193.6842105 Contin
$D$13 Units Produced Windows (x_2) 0 48.42105263 Contin
Constraints
Cell Name Cell Value Formula Status Slack
$E$10 Req. chairs for every tables Used 0 $E$10>=$G$10 Binding 0
$E$7 Labour Constraint Used 920 $E$7<=$G$7 Binding 0
$E$8 Wood Constraint Used 2130.526316 $E$8<=$G$8 Not Binding 269.4736842
$E$9 Atleast tables produced Used 48.42105263 $E$9>=$G$9 Not Binding 8.421052632
SENSITIVITY
A N A LY S I S
Sensitivity analysis is the study of how the changes in the coefficients of an optimization
model affect the optimal solution. Using sensitivity analysis, we can answer questions such
as the following:
1. How will a change in a coefficient of the objective function affect the optimal solution?
2. How will a change in the right-hand-side value for a constraint affect the optimal
solution?
Because sensitivity analysis is concerned with how these changes affect the optimal solution,
the analysis does not begin until the optimal solution to the original linear programming
problem has been obtained. For that reason, sensitivity analysis is often referred to as
postoptimality analysis.
𝑆𝑆 + 2⁄3 𝐷𝐷 ≤ 708 (Finishing) calling for 540 standard bags and 252 deluxe bags is still best. If it is,
1⁄ 𝑆𝑆 + 1⁄ 𝐷𝐷 ≤ 135 (Inspection and solving a modified linear programming problem with 8.5𝑆𝑆 + 9𝐷𝐷 as the
10 4
packaging) new objective function will not be necessary.
𝑆𝑆, 𝐷𝐷 ≥ 0
Also, what would happen to the optimal solution and total profit
contribution if Par could obtain additional quantities of either of these
Its optimal solution is:
𝑆𝑆 = 540 and 𝐷𝐷 = 252
resources? Sensitivity analysis can help determine how much each
additional hour of production time is worth and how many hours can be
added before diminishing returns set in.
GRAPHICAL SENSITIVITY ANALYSIS
• Objective Function Coefficients
Let us consider how changes in the objective function coefficients might affect the optimal solution to
the Par, Inc., problem. The current contribution to profit is $10 per unit for the standard bag and
$9 per unit for the deluxe bag. It seems obvious that an increase in the profit contribution for one
of the bags might lead management to increase production of that bag, and a decrease in the profit
contribution for one of the bags might lead management to decrease production of that bag. It is not as
obvious, however, how much the profit contribution would have to change before management would
want to change the production quantities.
The current optimal solution to this problem calls for producing 540 standard golf bags and 252
deluxe golf bags. The range of optimality for each objective function coefficient provides the range
of values over which the current solution will remain optimal. Managerial attention should be
focused on those objective function coefficients that have a narrow range of optimality
and coefficients near the end points of the range. With these coefficients, a small change
can necessitate modifying the optimal solution. Let us now compute the ranges of optimality for
this problem.
The figure shows the graphical
solution. A careful inspection of this
graph shows that as long as the slope
of the objective function line is
between the slope of line A (which
coincides with the cutting and dyeing
constraint line) and the slope of line B
(which coincides with the finishing
constraint line), extreme point ③ with
S=540 and D=252 will be optimal.
Changing an objective function
coefficient for S or D will cause the
slope of the objective function line to
change. Such changes cause the
objective function line to rotate around
extreme point ③. However, as long as
the objective function line stays within
the shaded region, extreme point ③
will remain optimal.
Rotating the objective function line counter-
clockwise causes the slope to become less
negative, and the slope increases. When the
objective function line rotates counter-clockwise
(slope increased) enough to coincide with line A,
we obtain alternative optimal solutions between
extreme points ③ and ④. Any further counter-
clockwise rotation of the objective function line
will cause extreme point ③ to be nonoptimal.
Hence, the slope of line A provides an upper limit
for the slope of the objective function line.
7� 𝑆𝑆 + 𝐷𝐷 ≤ 630
10
By solving this equation for D, we can write the equation for line A in
its slope-intercept form, which yields:
𝐷𝐷 = − 7�10 𝑆𝑆 + 630
𝑆𝑆 + 2�3 𝐷𝐷 = 708
𝐷𝐷 = − 3�2 𝑆𝑆 + 1062
Now that the slopes of lines A and B have been computed, we see that for extreme point ③ to remain optimal, we must
have: − 𝟑𝟑⁄𝟐𝟐 ≤ Slope of the objective function line ≤ − 𝟕𝟕⁄𝟏𝟏𝟏𝟏
General form of the slope of the objective function line
Let,
𝐶𝐶𝑆𝑆 : profit of a standard bag
𝐶𝐶𝐷𝐷 : profit of a deluxe bag
P : value of the objective function
Using this notation, the objective function line can be written as: 𝑷𝑷 = 𝑪𝑪𝑺𝑺 𝑺𝑺 + 𝑪𝑪𝑫𝑫 𝑫𝑫
𝑪𝑪 𝑷𝑷
Writing this equation in slope-intercept form, we obtain: 𝑫𝑫 = − 𝑪𝑪 𝑺𝑺 𝑺𝑺 +
𝑫𝑫 𝑪𝑪𝑫𝑫
𝑪𝑪𝑺𝑺
Thus, for extreme point ③ to remain optimal, we must have: − 𝟑𝟑⁄𝟐𝟐 ≤ − ≤ − 𝟕𝟕⁄𝟏𝟏𝟏𝟏
𝑪𝑪𝑫𝑫
To compute the range of optimality for the standard-bag profit contribution, we hold the profit contribution for the
𝑪𝑪
deluxe bag fixed at its initial value 𝑪𝑪𝑫𝑫 = 𝟗𝟗. Doing so in the above expression, we obtain: − 𝟑𝟑⁄𝟐𝟐 ≤ − 𝟗𝟗𝑺𝑺 ≤ − 𝟕𝟕⁄𝟏𝟏𝟏𝟏.
Finally, the following range of optimality for the standard-bag profit contribution is obtained as:
Similarly, the range of optimality for the deluxe-bag profit contribution can be obtained as:
In cases where the rotation of the objective function line about an optimal extreme point causes the objective
function line to become vertical, there will be either no upper limit or no lower limit for the slope as it appears in
𝑪𝑪
the form: − 𝟑𝟑⁄𝟐𝟐 ≤ − 𝑪𝑪 𝑺𝑺 ≤ − 𝟕𝟕⁄𝟏𝟏𝟏𝟏.
𝑫𝑫
The range of optimality for objective function coefficients is only applicable for changes made to one
coefficient at a time. All other coefficients are assumed to be fixed at their initial values. If two or
more objective function coefficients are changed simultaneously, further analysis is necessary to
determine whether the optimal solution will change.
• Right-Hand Sides
𝟕𝟕� 𝑺𝑺 + 𝑫𝑫 ≤ 𝟔𝟔𝟔𝟔𝟔𝟔.
𝟏𝟏𝟏𝟏
The dual value can generally be used to determine what will happen to the value of the objective
function when we make a one-unit change in the right-hand side of a constraint.
• Note that the value of the dual value may be applicable only for small changes in
the right-hand side. As more and more resources are obtained and the right-hand-
side value continues to increase, other constraints will become binding and limit
the change in the value of the objective function.
For example, in the problem for Par, Inc., we would eventually reach a point
where more cutting and dyeing time would be of no value; it would occur at
the point where the cutting and dyeing constraint becomes nonbinding. At
this point, the dual value would equal zero.
• Finally, we note that the dual value for any nonbinding constraint will be zero
because an increase in the right-hand side of such a constraint will affect only the
value of the slack or surplus variable for that constraint.
The dual value is the change in the objective function value per unit
increase in a constraint right-hand side.
Variable Cells
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$C$13 Units Produced Standard Bags (S) 540 0 10 3.5 3.7
$D$13 Units Produced Deluxe Bags (D) 252 0 9 5.285714286 2.333333333
Constraints
Final Shadow Constraint Allowable Allowable
Cell Name Value Price R.H. Side Increase Decrease
$E$7 Cutting and dyeing Constraint Used 630 4.375 630 52.36363636 134.4
$E$8 Sewing Used 480 0 600 1E+30 120
$E$9 Finishing Used 708 6.9375 708 192 128
$E$10 Inspection and packaging Used 117 0 135 1E+30 18
REDUCED COST
The reduced cost for a decision variable whose value is 0 in
the optimal solution is: the amount the variable's objective
function coefficient would have to improve (increase for
maximization problems, decrease for minimization problems)
before this variable could assume a positive value.
For example:
Current value of per unit standard bags profit (𝑐𝑐𝑆𝑆 ) is: 10
Allowable increase in 𝑐𝑐𝑆𝑆 : 3.5; So 𝑐𝑐𝑆𝑆 ≤ 10+3.5 =13.5
Allowable decrease in 𝑐𝑐𝑆𝑆 : 3.7; So 𝑐𝑐𝑆𝑆 ≥ 10-3.7 =6.3
Allowable Range for 𝑐𝑐𝑆𝑆 : 6.3 ≤ 𝑐𝑐𝑆𝑆 ≤ 13.5
𝒔𝒔𝒔𝒔𝒔𝒔𝒔𝒔𝒔𝒔𝒔𝒔𝒔𝒔 𝒕𝒕𝒕𝒕:
𝒙𝒙𝟏𝟏 ≤ 𝟒𝟒
𝟐𝟐𝒙𝒙𝟐𝟐 ≤ 𝟏𝟏𝟏𝟏
𝟑𝟑𝒙𝒙𝟏𝟏 + 𝟐𝟐𝒙𝒙𝟐𝟐 ≤ 𝟏𝟏𝟏𝟏
𝒙𝒙𝟏𝟏 , 𝒙𝒙𝟐𝟐 ≥ 𝟎𝟎
SENSITIVITY WITH SIMULTANEOUS CHANGES
Microsoft Excel 16.0 Sensitivity Report
Worksheet: [Wyndor Glass.xlsx]Wyndor
Report Created: 18-08-2022 1.54.36 PM
Variable Cells
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$C$12 Batches Produced Doors 2 0 3000 4500 3000
$D$12 Batches Produced Windows 6 0 5000 1E+30 3000
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 1500 12 6 6
$E$9 Plant 3 Used 18 1000 18 6 6
Case 1: To illustrate, consider the Wyndor problem again, along with the
information provided by the sensitivity report on previous slid. Suppose now that
the estimate of profit per unit on product 1 (𝑃𝑃𝐷𝐷 ) has increased from $3,000 to
$4,500 while the estimate of profit per unit on second product (𝑃𝑃𝑊𝑊 ) has
decreased from $5,000 to $4,000. The calculations for the 100 percent rule now
are
Since the sum of the percentages does not exceed 100 percent, the original
optimal solution (𝑥𝑥1 , 𝑥𝑥2 ) = (2, 6) definitely is still optimal.
Case 2: Now suppose that the estimate of profit per unit on product 1 (𝑃𝑃𝐷𝐷 ) has
increased from $3,000 to $6,000 while the estimate of profit per unit on second
product (𝑃𝑃𝑊𝑊 ) has decreased from $5,000 to $3,000. The calculations for the 100
percent rule now are
Since the sum of the percentages now exceeds 100 percent, the 100 percent rule
says that we can no longer guarantee that (𝑥𝑥1 , 𝑥𝑥2 ) = (2, 6) is still optimal. Now, the
optimal solution has changed to (𝑥𝑥1 , 𝑥𝑥2 ) = (4, 3)
SENSITIVITY WITH SIMULTANEOUS CHANGES
The 100 Percent Rule for Simultaneous Changes in RHS resource values