RSM270 Winter 2024 - Lecture 11
RSM270 Winter 2024 - Lecture 11
Linear Programming II
7T
+5
C=
300
7T + 5C
$2
7T
7T
,8 0
+5
+5
C=
C=
200
3T
$4
$2
+4
,0 4
,1 0
C=
0
0
2 ,4
100 Feasible
00
Region
200
C – T > 75
100
Left Hand Side (LHS) Right Hand Side (RHS)
Redundant Constraints
Infeasible Solution
Variable Cells
Cell Name Original Value Final Value Integer
$B$5 Number of units Tables 0 320 Contin
$C$5 Number of units Chairs 0 360 Contin
Range Information
Shadow Price Information
Variable Cells
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$B$5 Number of Units Tables 320 0 7 3 3.25
$C$5 Number of Units Chairs 360 0 5 4.333333333 1.5
Constraints
Final Shadow Constraint Allowable Allowable
Cell Name Value Price R.H. Side Increase Decrease
$D$11 Minimum tables 320 0 100 220 1E+30
$D$8 Carpentry hours 2400 0.6 2400 225 900
$D$9 Painting hours 1000 2.6 1000 600 150
$D$10 Maximum chairs 360 0 450 1E+30 90
RSM 270 / Linear Programming II 14
Flair Furniture Continued: Sensitivity Analysis Questions
Flair Furniture is offered 100 more painting hours at a cost of $250. Should it take the
deal?
– Yes. The objective is maximization and 100 * 2.6 (profit) > 250 (cost)
Flair Furniture is offered 100 more carpentry hours at a cost of $250. Should it take
the deal?
– No. The objective is maximization and 100 * 0.6 (profit) < 250 (cost).
What would be the impact of decreasing the minimum number of tables in 50 units?
– No impact on the optimal solution
What would be the impact of increasing the maximum number of chairs in 50 units?
– No impact on the optimal solution
RSM 270 / Linear Programming II 15
General Principles on Shadow Prices
The unit of the shadow price is the unit of the objective function divided by the
unit of the constraint:
D (optimal objective function value)
Shadow Price =
D (RHS value)
17
RSM 270 / Linear Programming II 17
Marketing: Media Selection Problem (MSP)
Afternoon
– Budget: $8,000 per week for advertising from all four methods
– Maximum budget for radio: $1800
– Minimum radio spots (Prime time plus Afternoon): 5
Advertising Options
Radio Radio
TV Spot Newspaper (prime time) (afternoon)
Audience
Reached 5,000 8,500 2,400 2,800
(per ad)
Cost
$800 $925 $290 $380
(per ad)
Max Ads
12 5 25 20
(per week)
The reduced cost of a decision variable indicates how much the objective
function coefficient corresponding to that decision variable must be improved
before the decision variable takes a non-zero value in the optimal solution.
If the optimal value of a decision variable is none zero, then the reduced cost is
zero.
Suppose the optimal value of a decision variable is zero, and its reduced cost is
also zero. In that case, at least one other corner point is also an optimal
solution, in which this decision variable is positive.
Would you rather have an $320 added in your overall budget, or have the
same budget but increase the expense limit on radio ads per week by
$1,000 to $2,800?
– For a $320 increase in total budget, and a shadow price of budget constraint as 6.25, the change in
audience exposure is 320 * (6.25) = 2,000 additional exposures.
– Or, we can increase the expense limit to $2,800 from $1,800, meaning there is an increase of
$1,000. Since the shadow price for this constraint is 2.0258, the change in audience is 1,000*2.0258
= 2,025.8 additional exposures.
– Because 2,025.8 > 2,000, we should choose the option to increase the expense limit on radio
ads per week by $1,000 to $2,800 instead of increasing the overall budget by $320.
Currently, the model does not include any afternoon Radio ads in the
optimal solution. What is the minimum size of the audience for afternoon
Radio ads so that the model would begin to include those ads in the optimal
solution?
§ Objective coefficient of Radio (Afternoon) minus its Reduced Cost =
2800 – (– 344.8276) = 3,144.8276.
§ This new value indicates that for the current set of constraints and variables, the amount of
audience exposure from Radio (Afternoon) must be increased to 3,144.8276 (instead of its current
value of 2,800) so that the model MAY assign a positive final value to this media.
Min 10 X1 + 6 X2 + 12.25 X3 + 9 X4
Subject to 1 X1 + 1 X3 = 100
1 X2 + 1 X4 = 150
4 X1 + 3 X2 < 600
6 X1 + 8 X2 < 1080
X1, X2, X3, X4 > 0
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$B$3 Product 1 100 0 10 0 1E+30
$C$3 Product 2 60 0 6 3 0
$D$3 Product 3 0 0 12.25 1E+30 0
$E$3 Product 4 90 0 9 0 3
This problem has multiple optimal solutions. The alternative optimal solution is
• 𝑥! = 0, 𝑥" = 135, 𝑥# = 100, 𝑥$ = 15
• Objective function value of this solution is = (135 ∗ 6 + 100 ∗ 12.25 + 15 ∗ 9) = 2170
TC + CB + GB + CL ≤ 5,000,000
» Total invested must be less than or equal to $5,000,000
GB ≥ 0.50CB + 0.50GB
–0.5CB + 0.50GB ≥ 0
» Moving variables to the LHS
Network Representation
1 d1 – Northwood
24
s1 1 30
40
2 d2 - Eastwood
30 40
ss22 2
42
3 d3 - Westwood
Supply Demand
(Plants) (Markets)
Objective Function
Minimize Overall Shipping Costs:
Min 24x11 + 30x12 + 40x13 + 30x21 + 40x22 + 42x23
x 11 x 12 x 13 x 21 x 22 x 23
DecVar 0 0 0 0 0 0
Constraint
ObFnCoef 24 30 40 30 40 42 0 Amount
Plant 1 1 1 1 0 ≤ 50
Plant 2 1 1 1 0 ≤ 50
Northwood 1 1 0 = 25
Eastwood 1 1 0 = 45
Westwood 1 1 0 = 10
DecVar 5 45 0 20 0 10
Constraint Constraint
ObFnCoef 24 30 40 30 40 42 2490 Amount Slack
Plant 1 1 1 1 50 ≤ 50 0
Plant 2 1 1 1 30 ≤ 50 20
Northwood 1 1 25 = 25
Eastwood 1 1 45 = 45
Westwood 1 1 10 = 10
Constraints
Final Shadow Constraint Allowable Allowable
Cell Name Value Price R.H. Side Increase Decrease
$E$6 Plant 1 Shipped 50 -6 50 20 5
$E$7 Plant 2 Shipped 30 0 50 1E+30 20
$B$8 Received Northwood 25 30 25 20 20
$C$8 Received Eastwood 45 36 45 5 20
$D$8 Received Westwood 10 42 10 20 10
Annual
Plant Capacity
FOC
Plant 1 2,100,000 12,000
Plant 2 850,000 18,000
Plant 3 1,800,000 14,000
Plant 4 1,100,000 10,000
Plant 5 900,000 16,000
Objective Function:
Minimize z = 2,100,000y1 + 850,000y2 + 1,800,000y3 + 1,100,000y4 + 900,000y5
+ 56x1A + 21x1B + 32x1C + 65x1D
+ 18x2A + 46x2B + 7x2C + 35x2D
+ 12x3A + 71x3B + 41x3C + 52x3D
+ 30x4A + 24x4B + 61x4C + 28x4D
+ 45x5A + 50x5B + 26x5C + 31x5D
RSM 270 / Linear Programming II 53
Formulation (cont’d.) (Not on exam)
Constraints:
Supply: x1A + x1B + x1C + x1D ≤ 12,000y1
x2A + x2B + x2C + x2D ≤ 18,000y2
x3A + x3B + x3C + x3D ≤ 14,000y3
x4A + x4B + x4C + x4D ≤ 10,000y4
x5A + x5B + x5C + x5D ≤ 16,000y5
Which become:
x1A + x1B + x1C + x1D - 12,000y1 ≤ 0
x2A + x2B + x2C + x2D - 18,000y2 ≤ 0
x3A + x3B + x3C + x3D - 14,000y3 ≤ 0
x4A + x4B + x4C + x4D - 10,000y4 ≤ 0
x5A + x5B + x5C + x5D - 16,000y5 ≤ 0
RSM 270 / Linear Programming II 54
Formulation (cont’d.) (Not on exam)
Constraints:
Demand: x1A + x2A + x3A + x4A + x5A = 6000
x1B + x2B + x3B + x4B + x5B = 14,000
x1C + x2C + x3C + x4C + x5C = 8000
x1D + x2D + x3D+ x4D + x5D = 10,000
Input Values
Decision
Variables
Constraint
LHSs
Cost Variables
For a better grasp of the key concepts, the following readings are
only recommended:
– Appendix A of Jacobs and Chase.