Sensitivity
Sensitivity
Range of optimality
The range of values for objective function coefficients that
may vary without affecting the optimal point (x1, x2).
Dual price/value
The improvement in the value of optimal solution per unit
increase in the right-hand side value of the constraint
Range of Feasibility
The range over which dual prices are applicable
Example
• A Starbucks wants to maximize hourly profit on sales of lattes
and cappuccinos. They make $5 per latte and $7 per
cappuccino.
4
Example
s.t. x1 < 6
2x1 + 3x2 < 19
x1 + x2 < 8
x1, x2 > 0
• Graphical Solution
x2
8
x1 + x2 < 8
Max 5x11 + 7x22
7
6 x1 < 6
5
Optimal Solution:
4 x1 = 5, x2 = 3
3
2x1 + 3x2 < 19
2
1
x1
1 2 3 4 5 6 7 8 9 10
6
Range of Optimality
x2
Coincides with
8 x1 + x2 < 8
7 constraint line
6 Objective function
5 5 line for 5x1 + 7x2
4 Coincides with
2x1 + 3x2 < 19
3 Feasible
Region
4 constraint line
2
3
1
1 2
x1
1 2 3 4 5 6 7 8 9 10
8
• 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
Interpretation: As long as the cost changes between (4.6 & 7) for latte,
without changing the price of cappuccino OR the cost changes from (5 to 7.5)
for the capp. without changing the price for latte, the optimal solution of x1 =
5 and x2 = 3 will hold true.
100% Rule for Objective Function Coefficients
• For all objective function coefficients that are changed, sum the
percentages of the allowable increases and decreases represented by
changes. If the sum of the percentage changes does not exceed
100%, the optimal point will not change.
• Example: If simultaneously the profit on lattes was raised to $7 and
the profit on capp. was raised to $7.5, would the current optimal
point remain valid? What will be the new optimal solution?
• 100% rule:
Because the sum of the two percentages (100% and 100%) in the objective
function coefficients is 200%, these simultaneous changes will affect the
optimal point.
14
• Starbucks Example - Dual Prices (Shadow Price)
Constraint 1: Since x1 < 6 is not a binding constraint,
its dual price is 0.
Interpretation: As long as the RHS are within these ranges, the dual prices
(shadow prices) will not change.
Practice Exercise
Olympic Bike is introducing two new lightweight bicycle frames, the Deluxe and the Professional, to be made from special aluminum and steel alloys. The
anticipated unit profits are $10 for the Deluxe and $15 for the Professional. The number of pounds of each alloy needed per frame is summarized below.
• A supplier delivers 100 pounds of the aluminum alloy and 80 pounds of the steel alloy weekly.
How many Deluxe and Professional frames should Olympic produce each week?
• Range of Optimality
Question: Suppose the profit on deluxe frames is increased to $20.
Is the above solution still optimal? What is the value of the
objective function when this unit profit is increased to $20?
If the unit profit on deluxe frames were $6 instead of $10, would the
optimal solution change?
Range of Optimality and 100% Rule
24
Answer
If aluminum was a relevant cost, the dual value
indicates the premium over the normal price that you should be
willing to pay.
Thus, if aluminum initially cost $4 per pound, then
additional units in the range of feasibility would be worth
$4 + $3.125 = $7.125 per pound.
25
Questions
Assuming steel is a sunk cost, what would 70 more
pounds of steel be worth? 80 pounds?
26
• Range of Feasibility and 100% Rule
Question
If the supply of Aluminum was raised to 140 pounds
and simultaneously, the supply of Steel was raised to 120
pounds, would the dual prices still apply?
27
Practice Problem
x1, x2 > 0
• Range of Optimality
Question:
Suppose the unit cost of x1 is decreased to $4. Is the
current solution still optimal? What is the value of the objective
function when this unit cost is decreased to $4?
Answer:
The output states that the solution remains optimal as
long as the objective function coefficient of x1 is between 0 and
12. Because 4 is within this range, the optimal solution will not
change. However, the optimal total cost will be affected:
6x1 + 9x2 = 4(1.5) + 9(2.0) = $24
Question:
How much can the unit cost of x2 be decreased without
concern for the optimal solution changing?
• Range of Optimality
Answer:
The output states that the solution remains optimal as
long as the objective function coefficient of x2 does not fall
below 4.5.
• Range of Optimality and 100% Rule
Question:
If simultaneously the cost of x1 was raised to $7.5 and the
cost of x2 was reduced to $6, would the current solution remain
optimal?
• Range of Optimality and 100% Rule
Answer:
If c1 = 7.5, the amount c1 changed is 7.5 - 6 = 1.5. So
this is a 1.5/6 = 25% change.
If c2 = 6, the amount that c2 changed is 9 - 6 = 3. So this
is a 3/4.5 = 66.7% change.
Because 91% < 100%, the optimal point will not change.
• Range of Feasibility
Question:
If the right-hand side of constraint 3 is increased by 1,
what will be the effect on the optimal solution?
• Range of Feasibility
Answer:
A dual price represents the improvement in the objective
function value per unit increase in the right-hand side. A
negative dual price indicates a deterioration (negative
improvement) in the objective, which in this problem means an
increase in total cost because we're minimizing. Since the right-
hand side remains within the range of feasibility, there is no
change in the optimal solution. However, the objective function
value increases by $4.50.
Practice Problem
• A company makes three components for sale. The components are processed
on two machines: a shaper and a grinder. The time reqd. (in minutes) on
each machine are as follows:
The shaper is available for 7200 min. and grinder for 6600 min. No more
than 200 units of component C can be sold, but upto 1000 units of each of
the other components can be sold. In fact the company has orders for 600
units of component A that must be satisfied. The profit contributions for
components A, B and C are $8, $6 and $9 resp. Formulate the problem for
the recommended production quantities.
Let, x1 = units of component A manufactured
x2 = units of component B manufactured
x3 = units of component C manufactured
For Constraint 1:
Any unit increase in the available time for ‘shaper’, will increase the profits
by $1.50, as long as the shaper’s available time remains between 4400 to
7400 minutes.
Constraint 2:
Any unit increase in the available time for ‘grinder’ will have no effect on
the total profits by $1.50, given the time is greater than 6300 minutes. This
is a non-binding constraint.
Constraint 3:
A unit increase in the sales of component C, will increase the total profits by
$3.00, given the units are between 100-900 units.
• For Constraint 4 and 5:
– Any unit increase in the sales of component A and B, will
have no effect on the total profits, given they are greater
than 600 and 700 units resp.
• For Constraint 6:
– A unit increase in the production of component A, will
decrease the total profits by $1.00, given they are between
514.28 and 1000 units.
• If more time is available on grinder, how much would it be worth?
• If more units of component 3 can be sold at the same price, should the company
go for it? What will be the effect?
Decision Variables :
x1 = amount of Product 1 produced.
x2 = amount of Product 2 produced.