QM B Linear Programming

Slides:



Advertisements
Similar presentations
Strategic Allocation of Resources (Linear Programming)
Advertisements

Solving LP Problems in a Spreadsheet
Using Solver to solve a minimization LP + interpretation of output BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12.
Understanding optimum solution
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
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
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Operations Management Linear Programming Module B - Part 2
Linear Programming Using the Excel Solver
Managerial Decision Modeling with Spreadsheets
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
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., Three Classic Applications of LP Product Mix at Ponderosa Industrial –Considered limited.
Lecture 7: Linear Programming in Excel AGEC 352 Spring 2011 – February 9, 2011 R. Keeney.
Operations Management Dr. Ron Lembke
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 2 (Linear Programming: Basic Concepts) The Wyndor Glass Company.
Linear Programming Econ Outline  Review the basic concepts of Linear Programming  Illustrate some problems which can be solved by linear programming.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Linear Programming ISQA 459/559. Getting Started with LP Game problem Terms Algebraic & Graphical Illustration LP with Excel.
QM B Lego Simplex. Scenario You manufacture tables and chairs. Tables and chairs are manufactured from small and large bricks. Small brick Large brick.
Goals and aims To introduce Linear Programming To find a knowledge on graphical solution for LP problems To solve linear programming problems using excel.
Linear Programming Models: Graphical Methods 5/4/1435 (1-3 pm)noha hussein elkhidir.
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
LINEAR PROGRAMMING INTRODUCTION
Example 14.1 Introduction to LP Modeling. 14.1a14.1a | 14.2 | Linear Programming n Linear programming (LP) is a method of spreadsheet optimization.
3 Components for a Spreadsheet Linear Programming Problem There is one cell which can be identified as the Target or Set Cell, the single objective of.
Linear Programming The Industrial Revolution resulted in (eventually) -- large companies, large problems How to optimize the utilization of scarce resources?
Non-Linear Simultaneous Equations
Linear Programming Models: Graphical and Computer Methods
Introduction to Optimization
Chapter 2 Linear Programming Models: Graphical and Computer Methods
3.4 Linear Programming.
Table of Contents Chapter 2 (Linear Programming: Basic Concepts)
START EXCEL BUILD OR RETRIEVE YOUR OPTIMIZATION MODEL SAVE YOUR WORKBOOK!! CHOOSE “Solver…” IN THE “Tools” MENU SPECIFY IN SOLVER DIALOG BOX: 1.CELL TO.
1 The Role of Sensitivity Analysis of the Optimal Solution Is the optimal solution sensitive to changes in input parameters? Possible reasons for asking.
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Chapter 13 Supplement.
Spreadsheet Modeling of Linear Programming (LP). Spreadsheet Modeling There is no exact one way to develop an LP spreadsheet model. We will work through.
Linear Programming: Basic Concepts
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1/24: Linear Programming & Sensitivity Analysis Review: –LP Requirements –Graphical solutions Using MS Excel for Linear Programming Sensitivity Analysis.
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
Transportation Problems Dr. Ron Lembke. Transportation Problems Linear programming is good at solving problems with zillions of options, and finding the.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Linear Programming last topic of the semester What is linear programming (LP)? Not about computer programming “Programming” means “planning” “Linear” refers.
Wiley Supplement B Linear Programming Operations Management by R. Dan Reid & Nada R. Sanders 4th Edition © Wiley 2010.
3 Characteristics of an Optimization Problem General descriptionKPiller Illustration Decisions that must be made; represented by decision variables How.
Lab 3 Solver Add-In In Excel ► Lab 2 Review ► Solver Add-in Introduction ► Practice Solver following Instructor » Saferly Inc.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Linear Programming (LP): Model Formulation & Graphical Solution Chapter 13.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
LINEAR PROGRAMMING.
Linear Programming II. George Dantzig 1947 Narendra Karmarkar Pioneers of LP.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Appendix A with Woodruff Edits Linear Programming Using the Excel Solver Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Ch 11 Resource Constraints and Linear Programming
Wyndor Example; Enter data
Modeling and Solving LP Problems in a Spreadsheet
Linear Programming Excel Solver.
BUS-221 Quantitative Methods
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:

QM B Linear Programming

Overview What is linear programming (LP)? Formulating LPs The Stratton company Graphical insight Using Excel Solver to solve LPs Mile-High Microbrewery

What is linear programming? It is NOT computer programming. Programming here means planning. Mathematical technique Optimization technique A decision needs to made Our goal is to determine the ‘best’ or ‘optimum’ decision There are scarce resources available and/or specified requirements for achieving our goal.

Proctor and Gamble North American Product Sourcing 60 plants 10 distribution centers 1000 customer zones Save $200 million dollars annually Which products should be produced in which plants? Which plants should supply which distribution centers? Which distribution centers should supply which customer zones.

What does an LP look like? There is a goal: objective function Maximized or minimized Written as a linear equation There are scarce resources, restrictions and/or requirements: constraints Limits your ability to achieve the goal

Formulating an LP: Stratton Co. Produces two basic types of plastic pipes Three resources have been identified as critical to pipe output Pipe extrusion hours Packaging hours Special additive mix

Stratton Company Data Product Resource Availability Resource Type 1 Extrusion 4 hrs. 6 hrs. 48 hrs. Packaging 2 hrs. 18 hrs. Additive Mix 2 lbs. 1 lbs. 16 lbs. Profit $34 $40 All data given is for a package of pipe – 100 feet

Stratton Company (cont) Formulate an LP model to determine how much of each type of pipe should be produced to maximize profit.

Three questions to formulate an LP: What is the decision to be made? Stratton Company How much of pipe 1 to produce How much of pipe 2 to produce Defines the variables (if you are specific enough). P1 – number of packages of Pipe 1 to produce P2 – number of packages of Pipe 2 to produce

Question 2 for Formulating an LP: What is the goal? Stratton Company Maximize profit Defines the objective function MAX 34 P1 + 40 P2

Question 3 for Formulating an LP: What are the limited resources or requirements? Extrusion hours Packaging hours Additive mix 4P1 + 6P2  48 2P1 + 2P2  18 2P1 + 1P2  16

LP for Stratton Company Objective Function LP for Stratton Company MAX 34 P1 + 40 P2 Subject to: 4 P1 + 6 P2  48 Extrusion hours 2 P1 + 2 P2  18 Packaging hours 2 P1 + 1 P2  16 Additive supply P1  0 and P2  0 Non-negativity Constraints

Solving LPs ‘What if’ analysis (go to Excel) Graphical analysis For insight Simplex method Solver – an Excel add-in Computer packages designed for linear optimization

Graphical analysis – non-negativity

Graphical analysis – Extrusion constraint 4 P1 + 6 P2  48

Graphical analysis – Packaging Constraint 2 P1 + 2 P2  18

Graphical analysis – Additive supply constraint Feasible Region 2 P1 + 1 P2  16

Which is the optimal solution? Feasible Region Set of all solutions that satisfy all of the constraints Infinite number of solutions Which is the optimal solution? One of the solutions at the corner points

Corner point solutions Feasible Region MAX 34 P1 + 40 P2 (go to Excel)

Stratton Company – Summary Optimal solution P1 = 3 P2 = 6 Max = $342 The optimal product mix is 3 packages of Pipe 1 and 6 packages of Pipe 2. This provides a maximum profit of $342.

Setting up Excel Solver to solve LPs Solver is an add-in to Excel Not automatically ready To get solver ready: In Excel Tools -> Add ins Scroll down to Solver Add in Check the box Click on OK Only need to do this one time

Mile-High Microbrewery Mile-High Microbrewery makes a light beer and a dark beer. Mile-High has a limited supply of barley, limited bottling capacity, and a limited market for light beer. Profits are $0.20 per bottle of light beer and $0.50 per bottle of dark beer. Formulate an LP to maximize profits and determine how many bottles of each product should be produced per month.

Mile-High Microbrewery Data

Think-pair-share: Three questions: What are the decisions to be made? What is the goal? What are the limited resources or requirements?

What are the decisions to be made? L – Number of bottles of light beer to produce D – Number of bottles of dark beer to produce

What is the goal? Maximize profit MAX 0.20 L + 0.50 D

What are the limited resources or requirements? Barley supply 0.10 L + 0.60 D  2000 Bottling capacity 1 L + 1 D  6000 Market capacity 1 L  4000

An aside for SUMPRODUCT function 2 groups of cells Both in a row or both in a columns Wish to multiply the corresponding entries then sum the products =sumproduct(a2:c2, a3:c3) = 2*5 + 3*6 + 4*7

Think-pair-share: SUMPRODUCT function =SUMPRODUCT(B6:C6,B10:C10) = 2*2 + 1*4 = 8

To solve an LP using Excel Solver Setup the spreadsheet TYPE data in one place (go to Excel) CREATE Cells for decisions variables ENTER formulas to calculate LHS of constraints ENTER formulas to calculate Objective Function Open solver box Tools -> Solver

Excel Solver Dialog Box Click on cell that calculates objective function Select Max or Min Click & drag to select decision variables Click add to add the constraints

Excel solver – constraints dialog box Select cell(s) with LHS Select cell(s) with RHS Select symbol (, , =) Remember – Non-negativity constraints

Go to the Options Dialog box Click options to assume linear model

Last dialog box - options Click OK Check the Assume linear models box Check the Assume Non-negative box

Now SOLVE Click solve to find optimal solution

Solver found a solution Click on Answer and Sensitivity Click OK

Answer and sensitivity reports