McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., 2003 4.1 Chapter 4 (Linear Programming: Formulation.

Slides:



Advertisements
Similar presentations
Solving LP Problems in a Spreadsheet
Advertisements

Optimization problems using excel solver
Chapter 3: Linear Programming Modeling Applications © 2007 Pearson Education.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 4 (Linear Programming: Formulation and Applications) Super Grain.
Introduction to Mathematical Programming
Linear Programming We are to learn two topics today: LP formulation
Planning with Linear Programming
Linear Programming Problem
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 2 (Linear Programming: Basic Concepts) Three Classic Applications.
Introduction to Management Science
Super Grain Corp. Advertising-Mix Problem (Section 3.1) 3.2–3.5
Chapter 3.
Marketing Applications: Media selection
Linear Programming Using the Excel Solver
Managerial Decision Modeling with Spreadsheets
19 Linear Programming CHAPTER
2-1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Integer Programming.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Three Classic Applications of LP Product Mix at Ponderosa Industrial –Considered limited.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science 3d edition by Cliff Ragsdale.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 6 th edition Cliff T. Ragsdale © 2011 Cengage Learning. All Rights.
Computational Methods for Management and Economics Carla Gomes Module 5 Modeling Issues.
QM B Linear Programming
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 4 (Linear Programming: Formulation and Applications) Taking stock.
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
Linear Programming (LP)
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 2 (Linear Programming: Basic Concepts) The Wyndor Glass Company.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
LINEAR PROGRAMMING INTRODUCTION
1-1 Introduction to Optimization and Linear Programming Chapter 1.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
Introduction to Linear Programming
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 6 Intro to Linear Programming.
Table of Contents Chapter 2 (Linear Programming: Basic Concepts)
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 3 (Linear Programming: Formulation and Applications) Super Grain.
Chapter 19 Linear Programming McGraw-Hill/Irwin
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 4 (Linear Programming: Formulation and Applications) Super Grain.
Super Grain Corp. Advertising-Mix Problem (Section 3.1) 3.2–3.5
Readings Readings Chapter 3
Linear Programming: Basic Concepts
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 5 (What-If Analysis for Linear Programming) Continuing the Wyndor.
Spreadsheet Modeling & Decision Analysis:
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
MIS 463: Decision Support Systems for Business Review of Linear Programming and Applications Aslı Sencer.
OPSM 301 Operations Management Class 10: Introduction to Linear Programming Koç University Zeynep Aksin
Linear Programming: Formulation and Applications Chapter 3: Hillier and Hillier.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
3 Characteristics of an Optimization Problem General descriptionKPiller Illustration Decisions that must be made; represented by decision variables How.
1 Linear Programming (LP) 線性規劃 - George Dantzig, 1947.
Linear Programming (LP) Problems MAX (or MIN): c 1 X 1 + c 2 X 2 + … + c n X n Subject to:a 11 X 1 + a 12 X 2 + … + a 1 n X n
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Lecture 8 Integer Linear Programming
Arben Asllani University of Tennessee at Chattanooga Business Analytics with Management Science Models and Methods Chapter 2 Introduction to Linear Programming.
Math Programming Concept of Optimization (L.O. a ) Linear Programming Managerial Value of Information (L.O. d) Theory (L.O. b) Example Applications (L.O.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Linear Programming II. George Dantzig 1947 Narendra Karmarkar Pioneers of LP.
1 Ardavan Asef-Vaziri June-2013LP-Formulation Additional Problems.
-114- HMP654/EXECMAS Linear Programming Linear programming is a mathematical technique that allows the decision maker to allocate scarce resources in such.
EMGT 5412 Operations Management Science Linear Programming: Spreadsheet Modeling, Applications, and Sensitivity Analysis Dincer Konur Engineering Management.
Topics in Computational Sustainability Optimization: Intro to Linear programming.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Introduction To Linear Programming l Today many of the resources needed as inputs to operations are in limited supply. l Operations managers must understand.
Linear Programming Models: Graphical and Computer Methods
MAN 305 OPERATIONS RESEARCH II Week 4 –Sensitivity Analysis with Spreadsheets DR. KAZIM BARIŞ ATICI.
Solving LP Problems in a Spreadsheet
Spreadsheet Modeling & Decision Analysis
Modeling and Solving LP Problems in a Spreadsheet
Table of Contents Chapter 2 (Linear Programming: Basic Concepts) The Wyndor Glass Company Product Mix Problem (Section 2.1)2.2 Formulating the Wyndor Problem.
Presentation transcript:

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Chapter 4 (Linear Programming: Formulation and Applications) Advertising-Mix Problem (Section 4.1) – Super Grain Corp | 4.2–4.5 Resource Allocation Problems (Section 4.2) –Think-Big Capital Budgeting | 4.6–4.10 Cost-Benefit-Trade-Off Problems (Section 4.3) –Union Airways | 4.11–4.15 Distribution-Network Problems (Section 4.4) –Big M Co. | 4.16–4.20 Student Exercises

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., 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?

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., 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 budget90,00030,00040,000 Expected number of exposures 1,300,000600,000500,000

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Spreadsheet Formulation

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Algebraic Formulation LetTV = 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.

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., 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?

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Financial Data for the Projects Investment Capital Requirements YearOffice BuildingHotelShopping Center 0$40 million$80 million$90 million 160 million80 million50 million 290 million80 million20 million 310 million70 million60 million Net present value$45 million$70 million$50 million

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Spreadsheet Formulation

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Algebraic Formulation LetOB = 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.

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Summary of Formulation Procedure for Resource- Allocation Problems 1.Identify the activities for the problem at hand. 2.Identify an appropriate overall measure of performance (commonly profit). 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.

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., 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?

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Schedule Data Time Periods Covered by Shift Time Period12345 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

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Spreadsheet Formulation

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Algebraic Formulation LetS i = Number working shift i (for i = 1 to 5), Minimize Cost = $170S 1 + $160S 2 + $175S 3 + $180S 4 + $195S 5 subject to Total agents 6AM–8AM:S 1 ≥ 48 Total agents 8AM–10AM:S 1 + S 2 ≥ 79 Total agents 10AM–12PM:S 1 + S 2 ≥ 65 Total agents 12PM–2PM:S 1 + S 2 + S 3 ≥ 87 Total agents 2PM–4PM:S 2 + S 3 ≥ 64 Total agents 4PM–6PM:S 3 + S 4 ≥ 73 Total agents 6PM–8PM:S 3 + S 4 ≥ 82 Total agents 8PM–10PM:S 4 ≥ 43 Total agents 10PM–12AM:S 4 + S 5 ≥ 52 Total agents 12AM–6AM:S 5 ≥ 15 and S i ≥ 0 (for i = 1 to 5)

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Summary of Formulation Procedure for Cost-Benefit-Tradeoff Problems 1.Identify the activities for the problem at hand. 2.Identify an appropriate overall measure of performance (commonly cost). 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.

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., The Big M Distribution-Network 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?

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Some Data Shipping Cost for Each Lathe ToCustomer 1Customer 2Customer 3 FromOutput Factory 1$700$900$80012 lathes Factory lathes Order Size10 lathes8 lathes9 lathes

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., The Distribution Network

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Spreadsheet Formulation

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Algebraic Formulation LetS ij = Number of lathes to ship from i to j (i = F1, F2; j = C1, C2, C3). Minimize Cost = $700S F1-C1 + $900S F1-C2 + $800S F1-C3 + $800S F2-C1 + $900S F2-C2 + $700S F2-C3 subject to Factory 1:S F1-C1 + S F1-C2 + S F1-C3 = 12 Factory 2:S F2-C1 + S F2-C2 + S F2-C3 = 15 Customer 1:S F1-C1 + S F2-C1 = 10 Customer 2:S F1-C2 + S F2-C2 = 8 Customer 3:S F1-C3 + S F2-C3 = 9 and S ij ≥ 0 (i = F1, F2; j = C1, C2, C3).

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Types of Functional Constraints TypeForm*Typical InterpretationMain Usage Resource constraintLHS ≤ RHS For some resource, Amount used ≤ Amount available Resource-allocation problems and mixed problems Benefit constraintLHS ≥ 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 Distribution-network problems and mixed problems * LHS = Left-hand side (a SUMPRODUCT function). RHS = Right-hand side (a constant).

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Formulating an LP Spreadsheet Model Enter all of the data into the spreadsheet. Color code (blue). What decisions need to be made? Set aside a cell in the spreadsheet for each decision variable (changing cell). Color code (yellow with border). Write an equation for the objective in a cell. Color code (orange with heavy border). Put all three components (LHS, ≤/=/≥, RHS) of each constraint into three cells on the spreadsheet. Some Examples: –Production Planning –Diet / Blending –Workforce Scheduling –Transportation / Distribution –Assignment

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Product Mix Exercise Blue Ridge Hot Tubs manufactures and sells two models of hot tubs: the Aqua- Spa and the Hydro-Lux. Howie Jones, the owner and manager of the company needs to decide how many of each type of hot tub to produce during his next production cycle. Howie buys prefabricated fiberglass hot tub shells from a local supplier and adds the pump and tubing to the shells to create his hot tubs. (The supplier has the capacity to deliver as many hot tub shells as Howie needs.) Howie installs the same type of pump into both hot tubs. He will have only 200 pumps available during his next production cycle. From a manufacturing standpoint, the main difference between the two models of hot tubs is the amount of tubing and labor required. Each Aqua-Spa requires 9 hours of labor and 12 feet of tubing. Each Hydro-Lux requires 6 hours of labor and 16 feet of tubing. Howie expects to have 1,566 production labor hours and 2,880 feet of tubing available during the next production cycle. Howie earns a profit of $350 on each Aqua-Spa he sells and $300 on each Hydro-Lux he sells. He is confident that he can sell all the hot tubs he produces. The question is, how many Aqua-Spas and Hydro-Luxes should Howie produce if he wants to maximize his profits during the next production cycle? Source: Ragsdale, Spreadsheet Modeling and Decision Analysis.

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Elements Common to Every Problem Decision variables: number of aqua-spas (A) to produce and number of hydro-luxes (H) to produce. Objective function: Max: Profit = 350 A H Constraints: Pump 1A + 1H <= 200 Labor9A + 6H <= 1566 Tubing12A + 16H <= 2880

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Graphical Solution Using Graphic LP Optimizer

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Graphical Solution Using Graphic LP Optimizer

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Graphical Solution Using Graphic LP Optimizer Constraints

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Graphical Solution Using Graphic LP Optimizer Feasible Solution Space

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Graphical Solution Using Graphic LP Optimizer Optimal Solution

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Organizing Spreadsheet & Entering Formulas D6. =SUMPRODUCT($B$5:$C$5,B6:C6) D9. =SUMPRODUCT($B$5:$C$5,B9:C9) D10. =SUMPRODUCT($B$5:$C$5,B10:C10) D11. =SUMPRODUCT($B$5:$C$5,B11:C11) Decision Variable Cells Decision Variable Coefficients Constraint Coefficients Constraint RHS Formulas Constraint RHS Limits

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Tools | Solver

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., Sensitivity Analysis

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., A Classic Problem See In class handout. First, identify the decision variables, objective function and constraints. Second, think about spreadsheet layout. Third, implement and solve model.

McGraw-Hill/Irwin Modified for Quan 6610 by Dr. Jim Grayson Optimization© The McGraw-Hill Companies, Inc., In Class Exercise End of chapter problem 4.6