OPSM 301 Operations Management Class 10: Introduction to Linear Programming Koç University Zeynep Aksin

Slides:



Advertisements
Similar presentations
Introduction to LP Modeling
Advertisements

Solving LP Problems in a Spreadsheet
Optimization problems using excel solver
Using Solver to solve a minimization LP + interpretation of output BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12.
1Introduction to Linear ProgrammingLesson 2 Introduction to Linear Programming.
LINEAR PROGRAMMING (LP)
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
OPSM 301 Operations Management
Linear Programming.
Introduction to Management Science
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Linear Programming Using the Excel Solver
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.
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.
OM&PM/Class 3a1 1Operations Strategy 2Process Analysis –Class 2a + 2b: Process Flow Analysis –Class 3a: Capacity Investment »The Product Mix problem »National.
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.
QM B Linear Programming
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Spreadsheet Modeling & Decision Analysis:
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?
1-1 Introduction to Optimization and Linear Programming Chapter 1.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
Table of Contents Chapter 2 (Linear Programming: Basic Concepts)
Lab 8 Solver In VBA ► Review – Solver Add-in In Excel ► Solver Add-in In VBA.
Introduction to Mathematical Programming OR/MA 504 Chapter 3.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Spreadsheet Modeling of Linear Programming (LP). Spreadsheet Modeling There is no exact one way to develop an LP spreadsheet model. We will work through.
Special Conditions in LP Models (sambungan BAB 1)
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
Spreadsheet Modeling & Decision Analysis:
OPSM 301 Operations Management
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.
1 Systems Analysis Methods Dr. Jerrell T. Stracener, SAE Fellow SMU EMIS 5300/7300 NTU SY-521-N NTU SY-521-N SMU EMIS 5300/7300 Statistical Analysis Other.
Linear Programming with Excel Solver.  Use Excel’s Solver as a tool to assist the decision maker in identifying the optimal solution for a business decision.
Optimization using LP models Repco Pharmaceuticals (Ex 4.6) Ravi Krishna Ravula Dsc 8240.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
3 Characteristics of an Optimization Problem General descriptionKPiller Illustration Decisions that must be made; represented by decision variables How.
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
Lab 3 Solver Add-In In Excel ► Lab 2 Review ► Solver Add-in Introduction ► Practice Solver following Instructor » Saferly Inc.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
Lecture 8 Integer Linear Programming
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
ENGM 631 Optimization Using Solver. Sec. 3.1Alt. Model Max Z = 3X 1 + 5X 2 s.t. X 1 < 8,000 X 2 < 6,000 3X 1 + 4X 2 < 36,000 X 1 > 0 X 2 > 0.
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.
OPSM 301 Operations Management Class 13&14: Linear Programming using Excel Koç University Zeynep Aksin
OPSM 301 Operations Management Class 11: Linear Programming using Excel Koç University Zeynep Aksin
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.
Solving Linear Optimization Problems Using the Solver Add-in.
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.
Spreadsheet Modeling & Decision Analysis:
Excel Solver.
MAN 305 OPERATIONS RESEARCH II Week 4 –Sensitivity Analysis with Spreadsheets DR. KAZIM BARIŞ ATICI.
Solving LP Problems in a Spreadsheet
Introduction to linear programming (LP): Minimization
Spreadsheet Modeling & Decision Analysis
Modeling and Solving LP Problems in a Spreadsheet
Spreadsheet Modeling & Decision Analysis:
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.
Integer Linear Programming
Presentation transcript:

OPSM 301 Operations Management Class 10: Introduction to Linear Programming Koç University Zeynep Aksin

Product Mix Decisions: Kristen Cookies offers 2 products Sale Price of Chocolate Chip Cookies:$5.00/dozen Cost of Materials:$2.50/dozen Sale Price of Oatmeal Raisin Cookies:$5.50/dozen Cost of Materials:$2.40/dozen Maximum weekly demand of Chocolate Chip Cookies:100 dozen Maximum weekly demand of Oatmeal Raisin Cookies:50 dozen Total weekly operating expense$270

Product Mix Decisions Total time available in week:20 hrs

Product Mix Decisions Margin per dozen Chocolate Chip cookies = $2.50 Margin per dozen Oatmeal Raisin cookies = $3.10 Margin per oven minute from Chocolate Chip cookies = $2.50 / 10 = $ Margin per oven minute from Oatmeal Raisin cookies = $3.10 / 15 = $ 0.207

Baking only one type  If I bake only chocolate chip: –In 20 hours I can bake 120 dozen –At a margin of 2.50 I will make 120*2.5=300 –But my demand is only 100 dozen!  If I bake only oatmeal raisin: –In 20 hours I can bake 80 dozen –At a margin of 3.10 I will make 80*3.10=248 –But my demand is only 50 dozen!  What about a mix of chocolate chip and oatmeal raisin? What is the best product mix?

Linear programming

Introduction  We all face decision about how to use limited resources such as: –time –money –workers/manpower

Mathematical Programming...  find the optimal, or most efficient, way of using limited resources to achieve objectives.  Optimization

Characteristics of Optimization Problems  Decisions  Constraints  Objectives

LP for Optimal Product Mix Selection xcc:Dozens of chocolate chip cookies sold. xor:Dozens of oatmeal raisin cookies sold. Max 2.5 xcc xor subject to 8 xcc+ 5 xor< xcc +15 xor< xcc+ 4 xor<1200 xcc< 100 xor< 50 Technology Constraints Market Constraints

Solving the LP using Excel Solver Number to make Total profit Unit Profits ConstraintsValueRHS (constraint) You Oven Room Mate Market cc10100 Market or Constraint not binding in optimal solution Optimal Profit Optimal product-mix

Reading the variable information  The optimal solution for Kristen’s is to produce, 100 dozen chocolate chip and dozen oatmeal raisin resulting in an optimal profit of $ (This is the maximum possible profit attainable with the current resources)

An Example LP Problem Blue Ridge Hot Tubs produces two types of hot tubs: Aqua-Spas & Hydro-Luxes. Find profit maximizing product-mix. There are 200 pumps, 1566 hours of labor, and 2880 feet of tubing available. Aqua-SpaHydro-Lux Pumps11 Labor 9 hours6 hours Tubing12 feet16 feet Unit Profit$350$300

5 Steps In Formulating LP Models: 1. Understand the problem 2. Identify the decision variables: X 1 =number of Aqua-Spas to produce X 2 =number of Hydro-Luxes to produce 3.State the objective function as a linear combination of the decision variables: MAX: Profit = 350X X 2

5 Steps In Formulating LP Models (continued) 4. State the constraints as linear combinations of the decision variables. 1X 1 + 1X 2 <= 200} pumps 9X 1 + 6X 2 <= 1566} labor 12X X 2 <= 2880} tubing 5. Identify any upper or lower bounds on the decision variables. X 1 >= 0 X 2 >= 0

Summary of the LP Model for Blue Ridge Hot Tubs MAX: 350X X 2 S.T.:1X 1 + 1X 2 <= 200 9X 1 + 6X 2 <= X X 2 <= 2880 X 1 >= 0 X 2 >= 0

Solving LP Problems: An Intuitive Approach  Idea: Each Aqua-Spa (X 1 ) generates the highest unit profit ($350), so let’s make as many of them as possible!  How many would that be? –Let X 2 = 0 1st constraint:1X 1 <= 200 2nd constraint:9X 1 <=1566 or X 1 <=174 3rd constraint:12X 1 <= 2880 or X 1 <= 240  If X 2 =0, the maximum value of X 1 is 174 and the total profit is $350*174 + $300*0 = $60,900  This solution is feasible, but is it optimal?  No!

The Steps in Implementing an LP Model in a Spreadsheet 1.Organize the data for the model on the spreadsheet. 2.Reserve separate cells in the spreadsheet to represent each decision variable in the model. 3.Create a formula in a cell in the spreadsheet that corresponds to the objective function. 4.For each constraint, create a formula in a separate cell in the spreadsheet that corresponds to the left-hand side (LHS) of the constraint.

Let’s Implement a Model for the Blue Ridge Hot Tubs Example... MAX: 350X X 2 } profit S.T.:1X 1 + 1X 2 <= 200} pumps 9X 1 + 6X 2 <= 1566} labor 12X X 2 <= 2880} tubing X 1, X 2 >= 0} nonnegativity

Preparing Excel  You need the Solver add-in  First check whether you have this add-in –Click on the DATA tab –Check if you have Solver under Analysis (far right)  If not –Click on the Office Button (far left top) –Click on Excel Options (bottom of dialogue box) –Select Add-Ins from menu on the left –Add Solver add-in from the right menu

Follow me using the file on the network drive  Go to STORAGE F:\COURSES\UGRADS\OPSM301\SHARE  Copy SolverQ1.xls to your desktop  Open the spreadsheet and click on first worksheet

Implementing the Model

How Solver Views the Model  Target cell - the cell in the spreadsheet that represents the objective function  Changing cells - the cells in the spreadsheet representing the decision variables  Constraint cells - the cells in the spreadsheet representing the LHS formulas on the constraints

Goals For Spreadsheet Design  Communication - A spreadsheet's primary business purpose is that of communicating information to managers.  Reliability - The output a spreadsheet generates should be correct and consistent.  Auditability - A manager should be able to retrace the steps followed to generate the different outputs from the model in order to understand the model and verify results.  Modifiability - A well-designed spreadsheet should be easy to change or enhance in order to meet dynamic user requirements.

Lets consider a slightly different version  Unit profits from Aqua-Spas is $325  Available hours of labor is 1500  Make the appropriate changes in your spreadsheet and resolve.