Week 10 Recitation Assignment
Week 10 Recitation Assignment
24 = = = = = = =
25 Demand (000) 10 8 12 6 7 11
26
27 $594 Total Fixed Operating Costs ($M)
28 $1,178 Total Transportation Costs ($M)
29 $1,772 Total Costs ($M)
A B C D E F G H I J K L M N O P Q R
1 Ben & Harry's (with Fixed Costs AND Threshold Constraints)
2
3 TRANSPORTATION COSTS ($M) PER 1000 TRUCKLOADS Coefficients
4 TO Warehouse Decision Variables
5 A B C D E F Objective Function
6 1 67 16 27 65 46 112 Constraints
7 2 58 78 39 4 20 48
FROM
8 3 17 96 57 20 38 32
Plant K18: =J18*Q18 O18: =P18*Q18
9 4 15 54 22 42 27 93 copied to K19:K22 copied to O19:O22
10 5 37 66 28 20 12 72
11
12 LINKING CONSTRAINTS
13
14 Plant's
15 SHIPMENTS (000 truckloads) Plant's Plant's Plant's Plant's Binary Plant's
Threshold Actual Shipped Actual Capacity Variable Fixed Operating Costs
16 TO Warehouse if Built Threshold Out Capacity if Built (0=Not Built; if Built
17 A B C D E F (000) (000) (000) (000) (000) 1=Built) ($M)
18 1 0 8 10 0 0 0 18 18 18 21 21 1 306
19 2 0 0 0 0 0 0 18 0 0 0 24 0 140
FROM
20 3 7 0 0 0 0 11 18 18 18 27 27 1 200
Plant
21 4 0 0 0 0 0 0 18 0 0 0 22 0 164
22 5 3 0 2 6 7 0 18 18 18 31 31 1 88
Shipped In Threshold Lower Bound Upper Bound Big M
23 10 8 12 6 7 11
(000) (if built) (Threshold)*(BV) (Big M)*(BV)
24 = = = = = = =
25 Demand (000) 10 8 12 6 7 11
26
27 $594 Total Fixed Operating Costs ($M)
28 $1,240 Total Transportation Costs ($M)
29 $1,834 Total Costs ($M)
A B C D E F G H I J K L M N O P Q R S T
1 Ben & Harry's (with Fixed Costs AND Threshold Constraints AND a Logical Constraint)
2
3 TRANSPORTATION COSTS ($M) PER 1000 TRUCKLOADS Coefficients
4 TO Warehouse Decision Variables
5 A B C D E F Objective Function
6 1 67 16 27 65 46 112 Constraints
7 2 58 78 39 4 20 48
FROM
8 3 17 96 57 20 38 32
Plant K18: =J18*Q18 O18: =P18*Q18
9 4 15 54 22 42 27 93 copied to K19:K22 copied to O19:O22
10 5 37 66 28 20 12 72
11
12 LINKING CONSTRAINTS
13
14 Plant's
LOGICAL
15 SHIPMENTS (000 truckloads) Plant's Plant's Plant's Plant's Binary Plant's
CONSTRAINT
Threshold Actual Shipped Actual Capacity Variable Fixed Operating Costs
16 TO Warehouse if Built Threshold Out Capacity if Built (0=Not Built; if Built If 3,
17 A B C D E F (000) (000) (000) (000) (000) 1=Built) ($M) then 2.
18 1 0 8 10 0 0 0 18 18 18 21 21 1 306 0
19 2 0 0 2 6 7 3 18 18 18 24 24 1 140 -1
FROM
20 3 10 0 0 0 0 8 18 18 18 27 27 1 200 1
Plant
21 4 0 0 0 0 0 0 18 0 0 0 22 0 164 0
22 5 0 0 0 0 0 0 18 0 0 0 31 0 88 0
Shipped In Threshold Lower Bound Upper Bound Big M
23 10 8 12 6 7 11 0
(000) (if built) (Threshold)*(BV) (Big M)*(BV)
24 = = = = = = =
25 Demand (000) 10 8 12 6 7 11 0
26
27 $646 Total Fixed Operating Costs ($M)
28 $1,210 Total Transportation Costs ($M)
29 $1,856 Total Costs ($M)
A B C D E F G H I J K L M
1 StopIt (with Fixed Costs)
2
3 Total Required
=
4 Machine 1 Machine 2 Machine 3 Machine 4 Machine 5 Machine 6 Production Production Variable Coefficients
5 Production Quantity 500.000 600.000 700.000 0.000 0.000 0.000 1800.000 = 1800 Decision Variables
6 Variable Cost $21 $23 $25 $24 $20 $26 $41,800 Total Variable Cost Objective Function
7 Fixed Cost $1,000 $950 $875 $850 $800 $700 $2,825 Total Fixed Cost Constraints
8 $44,625 Total Cost
9
10 LINKING CONSTRAINTS
11 Binary Variable (BV) for Production (0=No; 1=Yes)
12 Machine 1 Machine 2 Machine 3 Machine 4 Machine 5 Machine 6
13 1 1 1 0 0 0
14 500 600 750 400 600 800 Big M
15 C14: =C13*C12 ; copied to D14:H14 500 600 750 0 0 0 Upper Bound on Production = (Big M)*(BV)
16 250 250 250 0 0 0
17 250 250 250 250 250 250 Lower Bound Threshold
18
19 LOGICAL CONSTRAINTS LHS RHS
20 Machine 1 Machine 2 Machine 3 Machine 4 Machine 5 Machine 6 Collection
21 0 0 0 -1 1 0 0 0
22 1 1 1 1 1 1 3 3
A B C D E F G H I J
1 MegaMart (with Fixed Costs)
2 Variable Coefficients
3 Week 1 Week 2 Week 3 Week 4 Decision Variables
4 Unit Ordering Cost $125 $125 $125 $125 Objective Function
5 Fixed Cost of Delivery $50 $50 $50 $50 Constraints
Unit Holding Cost
6 $0.15 $0.15 $0.15 $0.15
($ per unit per week)
7 .
8 Week 1 Week 2 Week 3 Week 4 Subtotal
9 Weekly Ordering Cost $750.00 $0.00 $250.00 $500.00
10 Weekly Fixed Cost $50.00 $0.00 $50.00 $50.00
11 Weekly Inventory Cost $15.00 $18.75 $7.50 $11.20
24 = = = =
25 Demand (000) 40 25 35
26
27 $3,925 Total Fixed Operating Costs ($000)
28 $3,500 Total Transportation Costs ($000)
29 $7,425 Total Costs ($000)