Chapter 4 Linear Programming Models. Example 4.1 – Advertising Model General Flakes Company advertises a low-fat breakfast cereal in a variety of 30 second.

Slides:



Advertisements
Similar presentations
Dynamic Workforce Planning Models
Advertisements

Introduction to LP Modeling
A Multiperiod Production Problem
Network Models Robert Zimmer Room 6, 25 St James.
Linear Programming Models
Network Models Robert Zimmer Room 6, 25 St James.
Network Models Robert Zimmer Room 6, 25 St James.
Aggregate Planning Models
Static Workforce Scheduling Models
Optimization problems using excel solver
BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
Linear Programming Models & Case Studies
IES 371 Engineering Management Chapter 14: Aggregate Planning
PRODUCTION AND OPERATIONS MANAGEMENT
Operations Management
Introduction to Management Science
WEEK 11A – [S&OP] AGGREGATE PLANNING (CHAPTER 13) Planning levels (long, intermediate and short ranges and real time control); Planning & Control Model;
1 BIS APPLICATION MANAGEMENT INFORMATION SYSTEM Aggregate Planning and learning Curves Chapter outline: 1.The Nature of Aggregate Planning 2.Tradeoffs.
1 By: Prof. Y. Peter Chiu By: Prof. Y. Peter Chiu 9 / 1 / / 1 / 2010 Advanced P.O.M. Chap. 3 Aggregate Planning.
Chapter 8 Aggregate Planning in a Supply Chain
Example 5.6 Non-logistics Network Models | 5.2 | 5.3 | 5.4 | 5.5 | 5.7 | 5.8 | 5.9 | 5.10 | 5.10a a Background Information.
Example 6.1 Capital Budgeting Models | 6.3 | 6.4 | 6.5 | 6.6 | Background Information n The Tatham Company is considering seven.
Example 14.3 Football Production at the Pigskin Company
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Three Classic Applications of LP Product Mix at Ponderosa Industrial –Considered limited.
Example 4.7 Data Envelopment Analysis (DEA) | 4.2 | 4.3 | 4.4 | 4.5 | Background Information n Consider a group of three hospitals.
Example 6.4 Plant and Warehouse Location Models | 6.2 | 6.3 | 6.5 | 6.6 | Background Information n Huntco produces tomato sauce.
Example 6.2 Fixed-Cost Models | 6.3 | 6.4 | 6.5 | 6.6 | Background Information n The Great Threads Company is capable of manufacturing.
Chapter 5 Aggregate Planning Operations Analysis Using MS Excel.
Example 9.1 Goal Programming | 9.3 | Background Information n The Leon Burnit Ad Agency is trying to determine a TV advertising schedule.
Example 4.4 Blending Models.
Example 15.2 Blending Oil Products at Chandler Oil
Example 14.1 Introduction to LP Modeling. 14.1a14.1a | 14.2 | Linear Programming n Linear programming (LP) is a method of spreadsheet optimization.
Linear Programming The Industrial Revolution resulted in (eventually) -- large companies, large problems How to optimize the utilization of scarce resources?
Transportation Models
Example 15.3 Supplying Power at Midwest Electric Logistics Model.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
Chapter 3 Introduction to Optimization Modeling
Linear Programming Models
Intermediate-range capacity planning Usually covers a period of 12 months. Short range Intermediate range Long range Now2 months1 Year Aggregate Planning.
Murat Kaya, Sabancı Üniversitesi 1 MS 401 Production and Service Systems Operations Spring Aggregate Production Planning (APP) Slide Set #8.
IES 303 Engineering Management & Cost Analysis | Dr. Karndee Prichanont, SIIT 1 Learning Objectives:  Understand the concepts and methods of aggregate.
Product Mix Problem Monet company makes four types of frames.
Spreadsheet Modeling of Linear Programming (LP). Spreadsheet Modeling There is no exact one way to develop an LP spreadsheet model. We will work through.
Example 15.6 Managing Cash Flows at Fun Toys
Integer Programming Models
Example 4.5 Production Process Models | 4.2 | 4.3 | 4.4 | 4.6 | Background Information n Repco produces three drugs, A, B and.
Ardavan Asef-Vaziri Systems and Operations Management
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 3 Introduction to Optimization Modeling.
Example 15.1 Daily Scheduling of Postal Employees Workforce Scheduling Models.
Example 5.8 Non-logistics Network Models | 5.2 | 5.3 | 5.4 | 5.5 | 5.6 | 5.7 | 5.9 | 5.10 | 5.10a a Background Information.
OM4-1Aggregate Planning Chapter 14. OM4-2Aggregate Planning Planning Horizon Aggregate planning: Intermediate-range capacity planning, usually covering.
Business Analytics with Nonlinear Programming
Spreadsheet Modeling & Decision Analysis:
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
Goal Seek and Solver. Goal seeking helps you n Find a specific value for a target cell by adjusting the value of one other cell whose value is allowed.
Announcements Appeals on Q8 based on correct calculation with bad input will be heard Appeals will not be successful on the basis of: –Running out of time.
Operations Management Aggregate Planning
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
SALES AND OPERATIONS PLANNING AGGREGATE PLANNING PRODUCTION PLANNING OPERATIONS PLANNING How to meet effectively and efficiently forecasted requirements.
A Multiperiod Production Problem
Chapter 14 Aggregate Planning.
Aggregate Planning FAISAL FARIS BIN RAHIM
OUTLINE Questions? Midterm Results Go over Midterm Go over Homework
Wyndor Example; Enter data
Beni Asllani University of Tennessee at Chattanooga
Chapter 8 Aggregate Planning in the Supply Chain
Integer Linear Programming
Presentation transcript:

Chapter 4 Linear Programming Models

Example 4.1 – Advertising Model General Flakes Company advertises a low-fat breakfast cereal in a variety of 30 second television ads placed in a variety of television shows. The ads in different shows vary by cost and by the type of viewers they are likely to reach. –Viewers have been separated into six mutually exclusive categories. The rating service can supply information on the number of viewers.

Ex. 4.1(cont’d) - Advertising Model It wants to know how many ads to place on each of several television shows to obtain required exposures at minimum costs. This model is essentially the opposite of the product mix model. LP models ten to fall into “types” from a structural point of view, even though their actual contexts might be very different.

Ex. 4.1(cont’d) – The Model

Ex. 4.1(cont’d) – Developing the Model Follow these steps to develop the model: 1.Input values and range names. Enter the inputs given. 2.Ads purchased. Enter any values in the Number_ads_purchased range. 3.Exposures obtained. Enter the formula =SUMPRODUCT(B6:I6,Number_ads_purchased) in cell B23 and copy it down to cell B28. 4.Total cost. In cell B31 enter the formula =SUMPRODUCT(B14:I14,Number_ads_purchased) The solution is not one that would be expected.

Ex. 4.1(cont’d) – Sensitivity Analysis Solver’s sensitivity report is enlightening for this solution.

Ex. 4.1(cont’d) – Dual Objective Extension of the Model General Flakes has two competing objectives 1.Obtain as many exposures as possible 2.Keep the total advertising cost as low as possible The original model minimized total cost and constrained the exposures to be at least as large as a required level. An alternative is to maximize the total number of excess exposures and put a budget constraint on total cost.

Ex. 4.1(cont’d) – Dual Objective Extension of the Model To implement the alternative requires only minor modifications to the original. –Excess exposures. Enter the formula =B23-D23 in cell F23. This cell becomes the new target cell to maximize. –Budget constraint. Calculate total cost but constrain it to be less than or equal to cell D23. –Solver dialog box. Modify the Solver dialog box as shown.

Ex. 4.1(cont’d) – Dual Objective Extension of the Model For two objective models, one objective must be optimized and a constraint must be put on the other. The result is a “trade-off curve”.

Ex. 4.1(cont’d) – Using Integer Constraints To force the changing cells to have integer values, you simply add another constraint in the Solver dialog box. Be aware that Solver must do a lot more work to solve problems with integer constraints.

Example 4.2 – Static Workforce Model A post office requires different numbers of full-time employees on different days of the week. The number of full-time employees required each day is given. Union rules state that each full-time employee must work 5 consecutive days and then receive 2 days off. They only want to employ full-time employees. Its objective is to minimize the number of full-time employees that must be hired.

Ex. 4.2 (cont’d) – The Solution In real employee scheduling problems much of the work involves forecasting and queuing analysis to obtain worker requirements. All of which must be done before any schedule optimizing. The key to this model is choosing the correct changing cells. The trick is to define to numbers of employees working each of the 7 possible 5 day shifts.

Ex. 4.2 (cont’d) – The Model

Ex. 4.2 (cont’d) – Developing the Model To form the spreadsheet, proceed as follows. 1.Inputs and range names. Enter the number of employees needed on each day of the week. 2.Employees beginning each day. Enter any trial values for the number of employees beginning work on each day in the Employee_starting range. 3.Employees on hand each day. Enter the formula =$B$4 in cell B14 and copy it across to cell F14. Proceed similarly for rows , being careful to take “wrap arounds” into account. After completing these rows calculate the total number who show up each day by entering the formula =SUM(B14:B20) in cell B21 and copying across to cell H21. 4.Total employees. Calculate the total number of employees in cell B25 with the formula =SUM(Employees_Starting).

Ex. 4.2 (cont’d) – The Solver Invoke Solver with this dialog box.

Ex. 4.2 (cont’d) – The Solution A drawback is the number of employees starting work on some days is a fraction. –It’s simple to add an integer constraint on the changing cells. Set Solver’s Tolerance to 0 to ensure that you get the optimal solution.

Ex. 4.2 (cont’d) – Sensitivity Analysis How does the work schedule and the total number of employees change as the number of employees required each day changes? –Use SolverTable after altering the model slightly. –Move the original requirements up to row 12, enter a trail value for the extra number required per day in cell K12. –Enter the formula =B12+$K$12 in cell B27 and copy it across to H27. Solver’s sensitivity report was not used –Solver does not offer a sensitivity report for models with integer constraints. –The sensitivity report is not suited for questions about multiple input changes.

Ex. 4.2 (cont’d) – Sensitivity Analysis for the Model

Ex. 4.2 (cont’d) – Modeling Issues This type of problem dealt with what is called a static scheduling model, because it is assumed that the post office faces the same situation each week. In reality demands change and dynamic scheduling models are needed. In many scheduling models, heuristic methods (clever trial and error algorithms) can often be used. Heuristic solutions are often close to optimal, but they are never guaranteed to be optimal.

Example 4.3 – Aggregate Planning Model During the next four months the SureStep Company must meet (on time) the following demands for pairs of shoes. At the beginning of month 1, 500 pairs of shoes are on hand, and SureStep has 100 workers. A worker is paid $1,500 per month. Each worker can work up to 160 hours a month before he or she receives overtime. A worker is forced to work 20 hours of overtime per month and is paid $13 per hour for overtime labor.

Ex. 4.3 (cont’d) – Aggregate Planning Model It takes 4 hours of labor and $15 of raw material to produce a pair of shoes. At the beginning of each month workers can be hired or fired. Each hired worker costs $1600, and each fired worker cost $2000. At the end of each month, a holding cost of $3 per pair of shoes left in inventory is incurred. SureStep wants to us LP to determine its optimal production schedule and labor policy.

Ex. 4.3 (cont’d) – The Solution Most difficult aspect is knowing which variables the company gets to choose and which are determined by these decisions. The company gets to choose –The number of workers to hire and fire. –The number of shoes to produce. –How many overtime hours to use within this limit. All the rest of the are determined.

Ex. 4.3 (cont’d) – The Model

Ex. 4.3 (cont’d) – Developing the Model Developed as follows: –Inputs. Enter the input data in the range B4:B14 and in the Forecasted_demand range. –Production, hiring and firing plans. Enter any trial values for the number of pairs of shoes produced each month, the overtime hours used each month, the workers hired each month, and the workers fired each month. –Workers available each month. In cell B17 enter the initial number of workers available with the formula =B5. Because the number of workers available at the beginning of any other month is equal to the number of workers from the previous month, enter the formula =B20 in cell C17 and copy it to the range D17:E17. Then in cell B20 calculate the number of workers available in month 1 with the formula =B17+B18-B19 and copy this formula to the range C20:E20. –Overtime capacity. Enter the formula =$B$7*B20 in cell B25 and copy it to the range C25:E25.

Ex. 4.3 (cont’d) – Developing the Model –Production capacity. Calculate the regular-time hours available in month 1 in cell B22 with the formula =$B$6*B20 and copy it to the range C22:E22 for the other months. Then calculate the total hours available for production in cell B27 with the formula =SUM(B22:B23) and copy it to the range C27:E27. Calculate the production capacity for month 1 by entering the formula =B27/$B$12 in cell B32, and copy it to the range C32:E32. –Inventory each month. Enter the formula =B4+B30 in cell B34. For any other month, the inventory after production is the previous month’s ending inventory plus tat month’s production, so enter the formula =B37+C30 in cell C34 and copy it to the range D34:E34. Then calculate the month 1 ending inventory in cell B37 with the formula =B34-B36 and copy it to the range C37:E37.

Ex. 4.3 (cont’d) – Developing the Model –Monthly costs. Calculate the various costs shown in rows 40 through 45 for month 1 by entering the formulas =$B$8*B18 =$B$9*B19 =$B$10*B20 =$B$11*B23 =$B$13*B30 =$B$14*B37 in cells B40 through B45. Then copy the range B40:B45 to the range C40:E45 to calculate these costs for the other months. –Totals. In row 46 and column F, use the SUM function to calculate cost totals, with the value in F46 being the overall total cost.

Ex. 4.3 (cont’d) – Using Solver It is often best to ignore such constraints, especially when the optimal values are fairly large, as are the production quantities in this model. If the solution then has noninteger values, they can be rounded to integers for a solution that is at least close to the optimal integer solution.

Ex. 4.3 (cont’d) –Solution & Sensitivity Analysis Because integer constraints make a model harder to solve, use them sparingly – only when they are really needed. To ensure that Solver finds the optimal solution in a problem where some or all of the changing cells must be integers, set the tolerance to 0. Many sensitivity analyses could be performed on this model. One of them uses SolverTable to see how the overtime hours used and tot total cost vary with the overtime wage rate.

Ex. 4.3 (cont’d) – The Rolling Planning Horizon Approach Aggregate planning model is usually implemented via a rolling planning horizon. SureStep works with a 4-month planning horizon. To implement the rolling planning horizon context, view the “demands” as forecasts and solve a 4-month model with these forecasts. Only month 1 production is implemented. Month 1’s actual demand is observed and then used to calculate the next 4 months.

Backlogging & NonSmooth Functions The term “backlogging” means that the customer's demand will be met at a later date. –Backordering means the same thing. Formulas that contain IF functions accurately compute holding and shortage costs but they make the target cell a nonlinear function of the changing cells. When certain functions are used to relate the target cell to the changing cells, the resulting model becomes not only nonlinear but “nonsmooth” “Nonsmooth” functions can have discontinuities and should be avoided in optimization models. They can be handled with a genetic algorithm.

4.5 Blending Models Linear programming can find the optimal combination of outputs as well as the “mix” of inputs that are used to produce the desired outputs. Blending models usually have various “quality” constraints, often expressed as required percentages of various ingredients. To keep these models linear (and avoid dividing by 0), it is important to “clear denominators.