Download presentation

Published byTavion Seeds Modified over 2 years ago

1
**Table of Contents Chapter 3 (Linear Programming: Formulation and Applications)**

Super Grain Corp. Advertising-Mix Problem (Section 3.1) 3.2–3.5 Resource Allocation Problems (Section 3.2) 3.6–3.16 Cost-Benefit-Trade-Off Problems (Section 3.3) 3.17–3.22 Mixed Problems (Section 3.4) 3.23–3.28 Transportation Problems (Section 3.5) 3.29–3.33 Assignment Problems (Section 3.6) 3.34–3.37 McGraw-Hill/Irwin Copyright © 2011 by the McGraw-Hill Companies, Inc. All rights reserved.

2
**Super Grain Corp. Advertising-Mix Problem**

Goal: Design the promotional campaign for Crunchy Start. The three most effective advertising media for this product are Television commercials on Saturday morning programs for children. Advertisements in food and family-oriented magazines. Advertisements in Sunday supplements of major newspapers. The limited resources in the problem are Advertising budget ($4 million). Planning budget ($1 million). TV commercial spots available (5). The objective will be measured in terms of the expected number of exposures. Question: At what level should they advertise Crunchy Start in each of the three media? 3-2

3
**Cost and Exposure Data Costs Cost Category Each TV Commercial**

Each Magazine Ad Each Sunday Ad Ad Budget $300,000 $150,000 $100,000 Planning budget 90,000 30,000 40,000 Expected number of exposures 1,300,000 600,000 500,000 Table 3.1 Cost and exposure data for the Super Grain advertising-mix problem 3-3

4
**Spreadsheet Formulation**

Figure 3.1 The spreadsheet model for the Super Grain problem (Section 3.1), including the target cell Total Exposures (H13), the changing cells Number of Ads (C13:E13), and the optimal solution obtained by Solver. 3-4

5
**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. 3-5

6
**The TBA Airlines Problem**

TBA Airlines is a small regional company that specializes in short flights in small airplanes. The company has been doing well and has decided to expand its operations. The basic issue facing management is whether to purchase more small airplanes to add some new short flights, or start moving into the national market by purchasing some large airplanes, or both. Question: How many airplanes of each type should be purchased to maximize their total net annual profit? 3-6

7
**Data for the TBA Airlines Problem**

Small Airplane Large Airplane Capital Available Net annual profit per airplane $7 million $22 million Purchase cost per airplane 25 million 75 million $250 million Maximum purchase quantity 5 — Table 3.2 Data for the TBA Airlines problem. 3-7

8
**Violates Divisibility Assumption of LP**

Divisibility Assumption of Linear Programming: Decision variables in a linear programming model are allowed to have any values, including fractional values, that satisfy the functional and nonnegativity constraints. Thus, these variables are not restricted to just integer values. Since the number of airplanes purchased by TBA must have an integer value, the divisibility assumption is violated. 3-8

9
Spreadsheet Model Figure 3.2 A spreadsheet model for the TBA Airlines integer programming problem where the changing cells, Units Produced (C12:D12), show the optimal airplane purchases obtained by the Solver and the target cell, Total Profit (G12), gives the resulting total profit in millions of dollars. 3-9

10
**Integer Programming Formulation**

Let S = Number of small airplanes to purchase L = Number of large airplanes to purchase Maximize Profit = 7S + 22L ($millions) subject to Capital Available: 25S + 75L ≤ 250 ($millions) Max Small Planes: S ≤ 5 and S ≥ 0, L ≥ 0 S, L are integers. 3-10

11
**Think-Big Capital Budgeting Problem**

Think-Big Development Co. is a major investor in commercial real-estate development projects. They are considering three large construction projects Construct a high-rise office building. Construct a hotel. Construct a shopping center. 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? 3-11

12
**Financial Data for the Projects**

Investment Capital Requirements Year Office Building Hotel Shopping Center $40 million $80 million $90 million 1 60 million 80 million 50 million 2 90 million 20 million 3 10 million 70 million Net present value $45 million $70 million $50 million Table 3.3 Financial data for the projects being considered for partial investment by the Think-Big Development Co. 3-12

13
**Spreadsheet Formulation**

Figure 3.3 The spreadsheet model for the Think-Big problem (Section 3.2), including the target cell Total NPV (H16), the changing cells Participation Share (C16:E16), and the optimal solution obtained by Solver. 3-13

14
**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-14

15
**Template for Resource-Allocation Problems**

Figure 3.4 A template of a spreadsheet model for pure resource-allocation problems. 3-15

16
**Summary of Formulation Procedure for Resource-Allocation Problems**

Identify the activities for the problem at hand. Identify an appropriate overall measure of performance (commonly profit). For each activity, estimate the contribution per unit of the activity to the overall measure of performance. Identify the resources that must be allocated. For each resource, identify the amount available and then the amount used per unit of each activity. Enter the data in steps 3 and 5 into data cells. Designate changing cells for displaying the decisions. In the row for each resource, use SUMPRODUCT to calculate the total amount used. Enter <= and the amount available in two adjacent cells. Designate a target cell. Use SUMPRODUCT to calculate this measure of performance. 3-16

17
**Union Airways Personnel Scheduling**

Union Airways is adding more flights to and from its hub airport and so needs to hire additional customer service agents. The five authorized eight-hour shifts are Shift 1: 6:00 AM to 2:00 PM Shift 2: 8:00 AM to 4:00 PM Shift 3: Noon to 8:00 PM Shift 4: 4:00 PM to midnight Shift 5: 10:00 PM to 6:00 AM Question: How many agents should be assigned to each shift? 3-17

18
**Time Periods Covered by Shift Minimum Number of Agents Needed**

Schedule Data Time Periods Covered by Shift Time Period 1 2 3 4 5 Minimum Number of Agents Needed 6 AM to 8 AM √ 48 8 AM to 10 AM 79 10 AM to noon 65 Noon to 2 PM 87 2 PM to 4 PM 64 4 PM to 6 PM 73 6 PM to 8 PM 82 8 PM to 10 PM 43 10 PM to midnight 52 Midnight to 6 AM 15 Daily cost per agent $170 $160 $175 $180 $195 Table 3.5 Data for the Union Airways personnel scheduling problem 3-18

19
**Spreadsheet Formulation**

Figure 3.5 The spreadsheet model for the Union Airways problem, including the target cell Total Cost (J21), the changing cells Number Working (C21:G21), and the optimal solution as obtained by the Solver. 3-19

20
**Algebraic Formulation**

Let Si = Number working shift i (for i = 1 to 5), Minimize Cost = $170S1 + $160S2 + $175S3 + $180S4 + $195S5 subject to Total agents 6AM–8AM: S1 ≥ 48 Total agents 8AM–10AM: S1 + S2 ≥ 79 Total agents 10AM–12PM: S1 + S2 ≥ 65 Total agents 12PM–2PM: S1 + S2 + S3 ≥ 87 Total agents 2PM–4PM: S2 + S3 ≥ 64 Total agents 4PM–6PM: S3 + S4 ≥ 73 Total agents 6PM–8PM: S3 + S4 ≥ 82 Total agents 8PM–10PM: S4 ≥ 43 Total agents 10PM–12AM: S4 + S5 ≥ 52 Total agents 12AM–6AM: S5 ≥ 15 and Si ≥ 0 (for i = 1 to 5) 3-20

21
**Template for Cost-Benefit Tradoff Problems**

Figure 3.6 A template of a spreadsheet model for pure cost-benefit-trade-off problems. 3-21

22
**Summary of Formulation Procedure for Cost-Benefit-Tradeoff Problems**

Identify the activities for the problem at hand. Identify an appropriate overall measure of performance (commonly cost). For each activity, estimate the contribution per unit of the activity to the overall measure of performance. Identify the benefits that must be achieved. For each benefit, identify the minimum acceptable level and then the contribution of each activity to that benefit. Enter the data in steps 3 and 5 into data cells. Designate changing cells for displaying the decisions. In the row for each benefit, use SUMPRODUCT to calculate the level achieved. Enter >= and the minimum acceptable level in two adjacent cells. Designate a target cell. Use SUMPRODUCT to calculate this measure of performance. 3-22

23
**Types of Functional Constraints**

Form* Typical Interpretation Main Usage Resource constraint LHS ≤ RHS For some resource, Amount used ≤ Amount available Resource-allocation problems and mixed problems Benefit constraint LHS ≥ RHS For some benefit, Level achieved ≥ Minimum Acceptable Cost-benefit-trade-off problems and mixed problems Fixed-requirement constraint LHS = RHS For some quantity, Amount provided = Required amount Transportation problems and mixed problems * LHS = Left-hand side (a SUMPRODUCT function). RHS = Right-hand side (a constant). Table 3.6 Types of Functional Constraints 3-23

24
**Continuing the Super Grain Case Study**

David and Claire conclude that the spreadsheet model needs to be expanded to incorporate some additional considerations. In particular, they feel that two audiences should be targeted — young children and parents of young children. Two new goals The advertising should be seen by at least five million young children. The advertising should be seen by at least five million parents of young children. Furthermore, exactly $1,490,000 should be allocated for cents-off coupons. 3-24

25
**Benefit and Fixed-Requirement Data**

Number Reached in Target Category (millions) Each TV Commercial Each Magazine Ad Each Sunday Ad Minimum Acceptable Level Young children 1.2 0.1 5 Parents of young children 0.5 0.2 Contribution Toward Required Amount Required Amount Coupon redemption $40,000 $120,000 $1,490,000 Table 3.7 and Table 3.8 The benefit data and fixed-requirement data for the Revised Super Grain Corp. Advertising Mix Problem. 3-25

26
**Spreadsheet Formulation**

Figure 3.7 The spreadsheet model for the revised Super Grain problem (Section 3.4), including the target cell Total Exposures (H19), the changing cells Number of Ads (C19:E19), and the optimal solution obtained by the Solver. 3-26

27
**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: 1.2TV + 0.1M ≥ 5 (millions) Parents: 0.5TV + 0.2M + 0.2SS ≥ 5 (millions) Coupons: 40M + 120SS = 1,490 ($thousand) and TV ≥ 0, M ≥ 0, SS ≥ 0. 3-27

28
**Template for Mixed Problems**

Figure 3.8 A template of a spreadsheet model for pure cost-benefit-trade-off problems. 3-28

29
**The Big M Transportation Problem**

The Big M Company produces a variety of heavy duty machinery at two factories. One of its products is a large turret lathe. Orders have been received from three customers for the turret lathe. Question: How many lathes should be shipped from each factory to each customer? 3-29

30
**Shipping Cost for Each Lathe**

Some Data Shipping Cost for Each Lathe To Customer 1 Customer 2 Customer 3 From Output Factory 1 $700 $900 $800 12 lathes Factory 2 800 900 700 15 lathes Order Size 10 lathes 8 lathes 9 lathes Table 3.9 Some data for the Big M Company transportation problem 3-30

31
**The Distribution Network**

Figure 3.9 The distribution network for the Big M Company problem. 3-31

32
**Spreadsheet Formulation**

Figure The spreadsheet model for the Big M Company problem, including the target cell Total Cost (H15), the changing cells Units Shipped (C11:E12), and the optimal solution obtained by the Solver. 3-32

33
**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-C $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). 3-33

34
**Sellmore Company Assignment Problem**

The marketing manager of Sellmore Company will be holding the company’s annual sales conference soon. He is hiring four temporary employees: Ann Ian Joan Sean Each will handle one of the following four tasks: Word processing of written presentations Computer graphics for both oral and written presentations Preparation of conference packets, including copying and organizing materials Handling of advance and on-site registration for the conference Question: Which person should be assigned to which task? 3-34

35
**Data for the Sellmore Problem**

Required Time per Task (Hours) Temporary Employee Word Processing Graphics Packets Registrations Hourly Wage Ann 35 41 27 40 $14 Ian 47 45 32 51 12 Joan 39 56 36 43 13 Sean 25 46 15 Table Data for the Sellmore Company problem. 3-35

36
**Spreadsheet Formulation**

Figure A spreadsheet formulation of the Sellmore Co. problem as an assignment problem, including the target cell Total Cost (J30). The values of 1 in the changing cells Assignment (D24:G27) show the optimal plan obtained by the Solver for assigning the people to the tasks. 3-36

37
**The Model for Assignment Problems**

Given a set of tasks to be performed and a set of assignees who are available to perform these tasks, the problem is to determine which assignee should be assigned to each task. To fit the model for an assignment problem, the following assumptions need to be satisfied: The number of assignees and the number of tasks are the same. Each assignee is to be assigned to exactly one task. Each task is to be performed by exactly one assignee. There is a cost associated with each combination of an assignee performing a task. The objective is to determine how all the assignments should be made to minimize the total cost. 3-37

38
**LP Example #1 (Product Mix)**

The Quality Furniture Corporation produces benches and picnic tables. The firm has a limited supply of two resources: labor and wood. 1,600 labor hours are available during the next production period. The firm also has a stock of 9,000 pounds of wood available. Each bench requires 3 labor hours and 12 pounds of wood. Each table requires 6 labor hours and 38 pounds of wood. The profit margin on each bench is $8 and on each table is $18. Question: What product mix will maximize their total profit? © The McGraw-Hill Companies, Inc., 2008

39
**Algebraic Formulation**

Let B = Number of benches to produce, T = Number of tables to produce. Maximize Profit = $8B + $18T subject to Labor: 3B + 6T ≤ 1,600 hours Wood: 12B + 38T ≤ 9,000 pounds and B ≥ 0, T ≥ 0. © The McGraw-Hill Companies, Inc., 2008

40
**Spreadsheet Formulation**

© The McGraw-Hill Companies, Inc., 2008

41
**LP Example #2 (Diet Problem)**

A prison is trying to decide what to feed its prisoners. They would like to offer some combination of milk, beans, and oranges. Their goal is to minimize cost, subject to meeting the minimum nutritional requirements imposed by law. The cost and nutritional contents of each food, along with the minimum nutritional requirements are shown below. Milk (gallons) Navy Beans (cups) Oranges (large Calif. Valencia) Minimum Daily Requirement Niacin (mg) 3.2 4.9 0.8 13.0 Thiamin (mg) 1.12 1.3 0.19 1.5 Vitamin C (mg) 32 93 45 Cost ($) 2.00 0.20 0.25 Question: What should the diet for each prisoner be? © The McGraw-Hill Companies, Inc., 2008

42
**Algebraic Formulation**

Let x1 = gallons of milk per prisoner, x2 = cups of beans per prisoner, x3 = number of oranges per prisoner. Minimize Cost = $2.00x1 + $0.20x2 + $0.25x3 subject to Niacin: 3.2x x x3 ≥ 13 mg Thiamin: 1.12x x x3 ≥ 1.5 mg Vitamin C: 32x1 + 93x3 ≥ 45 mg and x1 ≥ 0, x2 ≥ 0, x3 ≥ 0. © The McGraw-Hill Companies, Inc., 2008

43
**Spreadsheet Formulation**

© The McGraw-Hill Companies, Inc., 2008

44
**George Dantzig’s Diet © The McGraw-Hill Companies, Inc., 2008**

Stigler (1945) “The Cost of Subsistence” heuristic solution. Cost = $39.93. Dantzig invents the simplex method (1947) Stigler’s problem “solved” in 120 man days. Cost = $39.69. Dantzig goes on a diet (early 1950’s), applies diet model: ≤ 1,500 calories objective: maximize (weight minus water content) 500 food types Initial solutions had problems 500 gallons of vinegar 200 bouillon cubes For more details, see July-Aug 1990 Interfaces article “The Diet Problem” © The McGraw-Hill Companies, Inc., 2008

45
**Least-Cost Menu Planning Models in Food Systems Management**

Used in many institutions with feeding programs: hospitals, nursing homes, schools, prisons, etc. Menu planning often extends to a sequence of meals or a cycle. Variety important (separation constraints). Preference ratings (related to service frequency). Side constraints (color, categories, etc.) Generally models have reduced cost about 10%, met nutritional requirements better, and increased customer satisfaction compared to traditional methods. USDA uses these models to plan food stamp allotment. For more details, see Sept-Oct 1992 Interfaces article “The Evolution of the Diet Model in Managing Food Systems” © The McGraw-Hill Companies, Inc., 2008

46
**LP Example #3 (Scheduling Problem)**

An airline reservations office is open to take reservations by telephone 24 hours per day, Monday through Friday. The number of reservation agents needed for each time period is shown below. A union contract requires that all employees work 8 consecutive hours. Time Period Number of Agents Needed 12am – 4am 11 4am – 8am 15 8am – 12pm 31 12pm – 4pm 17 4pm – 8pm 25 8pm – 12am 19 Question: How many reservation agents should work each 8-hour shift? © The McGraw-Hill Companies, Inc., 2008

47
**Algebraic Formulation**

Let x1 = agents who work 12am – 8am, x2 = agents who work 4am – 12pm, x3 = agents who work 8am – 4pm, x4 = agents who work 12pm – 8pm, x5 = agents who work 4pm – 12am, x6 = agents who work 8pm – 4am. Minimize Number of agents = x1 + x2 + x3 + x4 + x5 + x6 subject to 12am–4am: x1 + x6 ≥ 11 4am–8am: x1 + x2 ≥ 15 8am–12pm: x2 + x3 ≥ pm–4pm: x3 + x4 ≥ 17 4pm–8pm: x4 + x5 ≥ 25 8pm–12am: x5 + x6 ≥ 19 and x1 ≥ 0, x2 ≥ 0, x3 ≥ 0, x4 ≥ 0, x5 ≥ 0, x6 ≥ 0. © The McGraw-Hill Companies, Inc., 2008

48
**Spreadsheet Formulation**

© The McGraw-Hill Companies, Inc., 2008

49
**Workforce Scheduling at United Airlines**

United employs 5,000 reservation and customer service agents. Some part-time (2-8 hour shifts), some full-time (8-10 hour shifts). Workload varies greatly over day. Modeled problem as LP: Decision variables: how many employees of each shift length should begin at each potential start time (half-hour intervals). Constraints: minimum required employees for each half-hour. Objective: minimize cost. Saved United about $6 million annually, improved customer service, still in use today. For more details, see Jan-Feb 1986 Interfaces article “United Airlines Station Manpower Planning System” © The McGraw-Hill Companies, Inc., 2008

50
**LP Example #4 (Transportation Problem)**

A company has two plants producing a certain product that is to be shipped to three distribution centers. The unit production costs are the same at the two plants, and the shipping cost per unit is shown below. Shipments are made once per week. During each week, each plant produces at most 60 units and each distribution center needs at least 40 units. Distribution Center 1 2 3 Plant A $4 $6 B $5 $2 Question: How many units should be shipped from each plant to each distribution center? © The McGraw-Hill Companies, Inc., 2008

51
**Algebraic Formulation**

Let xij = units to ship from plant i to distribution center j (i = A, B; j = 1, 2, 3), Minimize Cost = $4xA1 + $6xA2 + $4xA3 + $6xB1 + $5xB2 + $2xB3 subject to Plant A: xA1 + xA2 + xA3 ≤ 60 Plant B: xB1 + xB2 + xB3 ≤ 60 Distribution Center 1: xA1 + xB1 ≥ 40 Distribution Center 2: xA2 + xB2 ≥ 40 Distribution Center 3: xA3 + xB3 ≥ 40 and xij ≥ 0 (i = A, B; j = 1, 2, 3). © The McGraw-Hill Companies, Inc., 2008

52
**Spreadsheet Formulation**

© The McGraw-Hill Companies, Inc., 2008

53
**Distribution System at Proctor and Gamble**

Proctor and Gamble needed to consolidate and re-design their North American distribution system in the early 1990’s. 50 product categories 60 plants 15 distribution centers 1000 customer zones Solved many transportation problems (one for each product category). Goal: find best distribution plan, which plants to keep open, etc. Closed many plants and distribution centers, and optimized their product sourcing and distribution location. Implemented in Saved $200 million per year. For more details, see 1997 Jan-Feb Interfaces article, “Blending OR/MS, Judgement, and GIS: Restructuring P&G’s Supply Chain” © The McGraw-Hill Companies, Inc., 2008

54
**LP Example #5 (Assignment Problem)**

The coach of a swim team needs to assign swimmers to a 200-yard medley relay team (four swimmers, each swims 50 yards of one of the four strokes). Since most of the best swimmers are very fast in more than one stroke, it is not clear which swimmer should be assigned to each of the four strokes. The five fastest swimmers and their best times (in seconds) they have achieved in each of the strokes (for 50 yards) are shown below. Backstroke Breaststroke Butterfly Freestyle Carl 37.7 43.4 33.3 29.2 Chris 32.9 33.1 28.5 26.4 David 33.8 42.2 38.9 29.6 Tony 37.0 34.7 30.4 Ken 35.4 41.8 33.6 31.1 Question: How should the swimmers be assigned to make the fastest relay team? © The McGraw-Hill Companies, Inc., 2008

55
**Algebraic Formulation**

Let xij = 1 if swimmer i swims stroke j; 0 otherwise tij = best time of swimmer i in stroke j Minimize Time = ∑ i ∑ j tij xij subject to each stroke swum: ∑ i xij = 1 for each stroke j each swimmer swims 1: ∑ j xij ≤ 1 for each swimmer i and xij ≥ 0 for all i and j. © The McGraw-Hill Companies, Inc., 2008

56
**Spreadsheet Formulation**

© The McGraw-Hill Companies, Inc., 2008

Similar presentations

OK

LP Formulation Set 2. 2 Ardavan Asef-Vaziri June-2013LP-Formulation Problem (From Hillier and Hillier) Strawberry shake production Several ingredients.

LP Formulation Set 2. 2 Ardavan Asef-Vaziri June-2013LP-Formulation Problem (From Hillier and Hillier) Strawberry shake production Several ingredients.

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Download ppt on turbo generators Ppt on forward rate agreement example Ppt on mobile phones operating systems Ppt on morphology of flowering plants for class 11 Ppt on inhabiting other planets in the solar Ppt on soft skills and personality development Ppt on economic growth and development Convert pdf ppt to ppt online training Ear anatomy and physiology ppt on cells Ppt on dance steps