Chapter 4 (Linear Programming: Formulation and Applications)
Chapter 4 (Linear Programming: Formulation and Applications)
Chapter 4 (Linear Programming: Formulation and Applications)
Super Grain Corp. Advertising-Mix Problem (Section 4.1) Resource Allocation Problems & Think-Big Capital Budgeting (Section 4.2) Cost-Benefit-Trade-Off Problems & Union Airways (Section 4.3) Distribution-Network Problems & Big M Co. (Section 4.4) Continuing the Super Grain Corp. Case Study (Section 4.5) Mixed Formulations & Save-It Solid Waste Reclamation (Section 4.6) 4.24.5 4.64.10 4.114.15 4.164.20 4.214.24 4.254.30
Question: At what level should they advertise Crunchy Start in each of the three media?
Ad Budget
Planning budget Expected number of exposures
$300,000
90,000 1,300,000
$150,000
30,000 600,000
$100,000
40,000 500,000
Spreadsheet Formulation
C TV Spots 1,300
E SS Ads 500
300 90
100 40
<= <=
TV Spots 0 <= 5
Magazine Ads 20
SS Ads 10
Algebraic Formulation
Let TV = Number of commercials for separate spots on television M = Number of advertisements in magazines. SS = Number of advertisements in Sunday supplements. Maximize Exposure = 1,300TV + 600M + 500SS subject to Ad Spending: 300TV + 150M + 100SS 4,000 ($thousand) Planning Cost: 90TV + 30M + 30SS 1,000 ($thousand) Number of TV Spots: TV 5 and TV 0, M 0, SS 0.
Each project requires each partner to make four investments: a down payment now, and additional capital after one, two, and three years.
Question: At what fraction should Think-Big invest in each of the three projects?
Spreadsheet Formulation
B 3 4 5 6 7 8 9 10 11 12 13 14 15 16
C Office Building 45
D Hotel 70
E Shopping Center 50
Cumulative Capital Required ($millions) 40 80 90 100 160 140 190 240 160 200 310 220 Office Building 0.00% Shopping Center 13.11%
Participation Share
Hotel 16.50%
Algebraic Formulation
Let OB = Participation share in the office building, H = Participation share in the hotel, SC = Participation share in the shopping center. Maximize NPV = 45OB + 70H + 50SC subject to Total invested now: 40OB + 80H + 90SC 25 ($million) Total invested within 1 year: 100OB + 160H + 140SC 45 ($million) Total invested within 2 years: 190OB + 240H + 160SC 65 ($million) Total invested within 3 years: 200OB + 310H + 220SC 80 ($million) and OB 0, H 0, SC 0.
3. For each activity, estimate the contribution per unit of the activity to the overall measure of performance.
4. Identify the resources that must be allocated. 5. For each resource, identify the amount available and then the amount used per unit of each activity. 6. Enter the data in steps 3 and 5 into data cells. 7. Designate changing cells for displaying the decisions. 8. In the row for each resource, use SUMPRODUCT to calculate the total amount used. Enter and the amount available in two adjacent cells. 9. Designate a target cell. Use SUMPRODUCT to calculate this measure of performance.
Schedule Data
Time Periods Covered by Shift Minimum Number of Agents Needed 48 79 65
Time Period
6 AM to 8 AM 8 AM to 10 AM 10 AM to noon
Noon to 2 PM
2 PM to 4 PM 4 PM to 6 PM 6 PM to 8 PM 8 PM to 10 PM 10 PM to midnight Midnight to 6 AM Daily cost per agent
$195
87
64 73 82 43 52 15
$170
$160
$175
$180
Spreadsheet Formulation
B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Cost per Shift Time Period 6am-8am 8am-10am 10am- 12pm 12pm-2pm 2pm-4pm 4pm-6pm 6pm-8pm 8pm-10pm 10pm-12am 12am-6am
1 1 1 1 0 0 0 0 0 0 6am-2pm Shift 48
Shift Works Time Period? (1=yes, 0=no) 0 0 0 1 0 0 1 0 0 1 1 0 1 1 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 0 8am-4pm Shift 31 Noon-8pm Shift 39 4pm-midnight Shift 43
0 0 0 0 0 0 0 0 1 1 10pm-6am Shift 15
>= >= >= >= >= >= >= >= >= >=
Minimum Needed 48 79 65 87 64 73 82 43 52 15
Number Working
Algebraic Formulation
Let Si = Number working shift i (for i = 1 to 5),
Minimize Cost = $170S1 + $160S2 + $175S3 + $180S4 + $195S5 subject to Total agents 6AM8AM: S1 48 Total agents 8AM10AM: S1 + S2 79 Total agents 10AM12PM: S1 + S2 65 Total agents 12PM2PM: S1 + S2 + S3 87 Total agents 2PM4PM: S2 + S3 64 Total agents 4PM6PM: S3 + S4 73 Total agents 6PM8PM: S3 + S4 82 Total agents 8PM10PM: S4 43 Total agents 10PM12AM: S4 + S5 52 Total agents 12AM6AM: S5 15 and Si 0 (for i = 1 to 5)
3. For each activity, estimate the contribution per unit of the activity to the overall measure of performance.
4. Identify the benefits that must be achieved. 5. For each benefit, identify the minimum acceptable level and then the contribution of each activity to that benefit. 6. Enter the data in steps 3 and 5 into data cells. 7. Designate changing cells for displaying the decisions. 8. In the row for each benefit, use SUMPRODUCT to calculate the level achieved. Enter and the minimum acceptable level in two adjacent cells. 9. Designate a target cell. Use SUMPRODUCT to calculate this measure of performance.
Question: How many lathes should be shipped from each factory to each customer?
Some Data
Shipping Cost for Each Lathe To From Factory 1 Factory 2 Order Size $700 800 10 lathes $900 900 8 lathes $800 700 9 lathes Customer 1 Customer 2 Customer 3 Output 12 lathes 15 lathes
$700/lathe
12 lathe produced F1
$900/lathe
$800/lathe
C2
$800/lathe
15 lathes produced
$900/lathe
8 lathes needed
F2
$700/lathe
C3 9 lathes needed
Spreadsheet Formulation
3 4 5 6 7 8 9 10 11 12 13 14 15
Customer 1 10 0 10 = 10
Customer 2 2 6 8 = 8
Customer 3 0 9 9 = 9
= =
Algebraic Formulation
Let Sij = Number of lathes to ship from i to j (i = F1, F2; j = C1, C2, C3). Minimize Cost = $700SF1-C1 + $900SF1-C2 + $800SF1-C3 + $800SF2-C1 + $900SF2-C2 + $700SF2-C3 subject to Factory 1: SF1-C1 + SF1-C2 + SF1-C3 = 12 Factory 2: SF2-C1 + SF2-C2 + SF2-C3 = 15 Customer 1: SF1-C1 + SF2-C1 = 10 Customer 2: SF1-C2 + SF2-C2 = 8 Customer 3: SF1-C3 + SF2-C3 = 9 and Sij 0 (i = F1, F2; j = C1, C2, C3).
Contribution Toward Required Amount Each TV Commercial Coupon redemption 0 Each Magazine Ad $40,000 Each Sunday Ad $120,000 Required Amount $1,490,000
Spreadsheet Formulation
C TV Spots 1,300
E SS Ads 500
300 90
100 40
Budget Spent 3,775 1,000 Total Reached 5 5.85 Total Redeemed 1,490
<= <=
Budget Available 4,000 1,000 Minimum Acceptable 5 5 Required Amount 1,490 Total Exposures (thousands) 16,175
1.2 0.5
>= >=
TV Spots 0
TV Spots 3 <= 5
Magazine Ads 14
SS Ads 7.75
Algebraic Formulation
Let TV = Number of commercials for separate spots on television M = Number of advertisements in magazines. SS = Number of advertisements in Sunday supplements. Maximize Exposure = 1,300TV + 600M + 500SS subject to Ad Spending: 300TV + 150M + 100SS 4,000 ($thousand) Planning Cost: 90TV + 30M + 30SS 1,000 ($thousand) Number of TV Spots: TV 5 Young children: Parents: 1.2TV + 0.1M 5 (millions) 0.5TV + 0.2M + 0.2SS 5 (millions)
Coupons:
and TV 0, M 0, SS 0.
Typical Interpretation
Main Usage
Benefit constraint
LHS RHS
Fixed-requirement constraint
LHS = RHS
Three different grades of product can be made: A, B, and C (depending on the mix of materials used).
Question: What quantity of each of the three grades of product should be produced from what quantity of each of the four materials?
Grade
Specification Material 1: Not more than 30% of total Material 2: Not less than 40% of total Material 3: Not more than 50% of total Material 4: Exactly 20% of total
$3.00
$8.50
Material 1: Not more than 50% of total Material 2: Not less than 10% of the total Material 4: Exactly 10% of the total
2.50
7.00
2.00
5.50
Material
Pounds/Week Available
Additional Restrictions
1
2 3 4
3,000
2,000 4,000 1,000
$3.00
6.00 4.00 5.00
1. For each material, at least half of the pounds/week available should be collected and treated.
2. $30,000 per week should be used to treat these materials.
Spreadsheet Formulation
B 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Unit Amalg. Cost Unit Selling Price Unit Profit C Grade A $3.00 $8.50 $5.50 D Grade B $2.50 $7.00 $4.50 E Grade C $2.00 $5.50 $3.50 F G H I J K $30,000 = $30,000 L M
Material Allocation (pounds of material used for each product grade) Grade A Grade B Grade C 412.3 2,587.7 0 859.6 517.5 0 447.4 1,552.6 0 429.8 517.5 0 2,149.1 5,175.4 0
Total Profit
$35,110
Mixture Specifications Grade A, Material 1 Grade A, Material 2 Grade A, Material 3 Grade A, Material 4 Grade B, Material 1 Grade B, Material 2 Grade B, Material 4 Grade C, Material 1
Mixture Percents 644.7 30% 859.6 40% 1,074.6 50% 429.8 20% 2,587.7 517.5 517.5 0.0 50% 10% 10% 70%
of of of of
Algebraic Formulation
Let xij = Pounds of material j allocated to product i per week (i = A, B, C; j = 1, 2, 3, 4). Maximize Profit = 5.5(xA1 + xA2 + xA3 + xA4) + 4.5(xB1 + xB2 + xB3 + xB4) + 3.5(xC1 + xC2 + xC3 + xC4) subject to Mixture Specifications: xA1 0.3 (xA1 + xA2 + xA3 + xA4) xA2 0.4 (xA1 + xA2 + xA3 + xA4) xA3 0.5 (xA1 + xA2 + xA3 + xA4) xA4 = 0.2 (xA1 + xA2 + xA3 + xA4) xB1 0.5 (xB1 + xB2 + xB3 + xB4) xB2 0.1 (xB1 + xB2 + xB3 + xB4) xB4 = 0.1 (xB1 + xB2 + xB3 + xB4) xC1 0.7 (xC1 + xC2 + xC3 + xC4) Availability of Materials: xA1 + xB1 + xC1 3,000 xA2 + xB2 + xC2 2,000 xA3 + xB3 + xC3 4,000 xA4 + xB4 + xC4 1,000 Restrictions on amount treated: xA1 + xB1 + xC1 1,500 xA2 + xB2 + xC2 1,000 xA3 + xB3 + xC3 2,000 xA4 + xB4 + xC4 500 Restriction on treatment cost: 3(xA1 + xB1 + xC1) + 6(xA2 + xB2 + xC2) + 4(xA3 + xB3 + xC3) + 5(xA4 + xB4 + xC4) = 30,000 and xij 0 (i = A, B, C; j = 1, 2, 3, 4).