QMB 4701 MANAGERIAL OPERATIONS ANALYSIS

Slides:



Advertisements
Similar presentations
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Advertisements

Linear Programming Problem
Understanding optimum solution
Introduction to Management Science
2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Operations Management Linear Programming Module B - Part 2
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.
Chapter 2: Introduction to Linear Programming
Introduction to Management Science
QM B Linear Programming
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Introduction to Management Science
Linear Programming: Model Formulation and Graphical Solution
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
Spreadsheet Modeling & Decision Analysis:
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
Chapter 3 An Introduction to Linear Programming
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.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
FORMULATION AND GRAPHIC METHOD
Graphical Solutions Plot all constraints including nonnegativity ones
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
© Copyright 2004, Alan Marshall 1 Lecture 1 Linear Programming.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
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
Special Conditions in LP Models (sambungan BAB 1)
Sensitivity Analysis What if there is uncertainly about one or more values in the LP model? 1. Raw material changes, 2. Product demand changes, 3. Stock.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
Linear Programming: Basic Concepts
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Some Key Facts About Optimal Solutions (Section 14.1) 14.2–14.16
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Lecture 1 Modeling: Linear Programming I
Chapter 7 Introduction to Linear Programming
1 1 Slide © 2005 Thomson/South-Western Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
LP: Summary thus far Requirements Graphical solutions Excel Sensitivity Analysis.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
A LINEAR PROGRAMMING PROBLEM HAS LINEAR OBJECTIVE FUNCTION AND LINEAR CONSTRAINT AND VARIABLES THAT ARE RESTRICTED TO NON-NEGATIVE VALUES. 1. -X 1 +2X.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
Linear Programming Models: Graphical and Computer Methods
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents CD Chapter 14 (Solution Concepts for Linear Programming) Some Key Facts.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
OSCM 230 Fall 2013 Management Science Lecture 4 Linear Programming II 9/11/2013, 9/16/ Lecture 4 Linear Programming II Professor Dong Washington.
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.
Lecture 6 Linear Programming Sensitivity Analysis
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
-114- HMP654/EXECMAS Linear Programming Linear programming is a mathematical technique that allows the decision maker to allocate scarce resources in such.
1 Introduction to Linear Programming Linear Programming Problem Linear Programming Problem Problem Formulation Problem Formulation A Simple Maximization.
Managerial Decision Modeling with Spreadsheets Chapter 4 Linear Programming Sensitivity Analysis.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
An Introduction to Linear Programming
An Introduction to Linear Programming Pertemuan 4
Chapter 2 An Introduction to Linear Programming
Solver & Optimization Problems
Introduction to linear programming (LP): Minimization
Linear Programming Problem
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Presentation transcript:

QMB 4701 MANAGERIAL OPERATIONS ANALYSIS Chapter 3 Linear Programming: Graphical Solution Procedure & Spreadsheet Solution Procedure Jay Marshall Teets Decision and Information Sciences University of Florida

Agenda Graphical linear programming Additional considerations Example: Par, Inc. Problem Graphical solution procedure Example: Dorian problem Additional considerations Degeneracy Inconsistent problem Multiple optimal solutions Unbounded problem Spreadsheet solution basics Ask students: how much they know about spreadsheets, input formula, absolute reference, copy and paste.

Example: Par, Inc. Problem Par, Inc: Manufacturer of golf supplies New products: Standard golf bags and Deluxe golf bags Manufacturing operations: Objective: Maximize total profit Cutting & Dyeing Sewing Finishing Inspection & Packaging

Par Inc. Model Formulation 1. What is the objective in words? 2. What are the constraints in words? Maximize the total profit Cutting & Dyeing Cutting & Dyeing Hours Allocated  Hours Available Sewing Hours Allocated  Sewing Hours Available Inspection & Packaging Inspection & Packaging Hours Allocated  Hours Available Finishing Hours Allocated  Finishing Hours Available

Par Inc. Model Formulation 3. What are the decision variables? 4. Formulate the objective function: 5. Formulate the constraints: 6. Do we need non-negative constraints? x1 = Number of Standards Produced x2 = Number of Deluxes Produced Profit Contribution Maximize 10 x1 + 9 x2 Subject to: Cutting & Dyeing: 7/10 x1 + x2  630 Sewing 1/2 x1 + 5/6 x2  600 Finishing x1 + 2/3 x2  708 Inspection & Packaging 1/10 x1 + 1/4 x2  135 Logic x1  0 , x2  0

How to Solve It? Trial and Error? x1 = 600, x2 = 100? Profit = 6900 520 383.33 666.67 85 x1 = 700, x2 = 100? Profit =7900 590 433.33 766.67 95 Profit Contribution Maximize 10 x1 + 9 x2 Subject to: Cutting & Dyeing: 7/10 x1 + x2  630 Sewing 1/2 x1 + 5/6 x2  600 Finishing x1 + 2/3 x2  708 Inspection & Packaging 1/10 x1 + 1/4 x2  135 Logic x1  0 , x2  0 Feasible Solution Infeasible Solution

Graphical Approach Solution: any production plan Solutions Feasible solution: solution that satisfies all constraints Feasible solutions A. Determine feasible region (draw constraint lines) B. Construct isoprofit lines C. Locate the optimal solution Optimal solutions Optimal solution: feasible solution that achieves the maximal objective value

Constraints Determine Feasible Region Approach: 1. Draw lines representing the constraints solved as equalities 2. Show the direction of feasibility 3. The feasible region is the set of values which simultaneously satisfies all the constraints Cutting & Dyeing 7/10 x1 + x2  630 Sewing 1/2 x1 + 5/6 x2  600 Finishing x1 + 2/3 x2  708 Inspection & Packaging 1/10 x1 + 1/4 x2  135 x1 0, x2 0,

A. Constraints Determine Feasible Region

A. Constraints Determine Feasible Region Redundant constraint

Construct Isoprofit Lines Approach: 1. Select a constant C 2. Draw the “profit line” 10 x1 + 9 x2 = C 3. Construct parallel profit lines Slope of the objective function: x2= -10/9 x1+C/9

Locate The Optimal Solution - Observations 1. The optimal solution cannot fall in the interior of the feasible region 2. The optimal solution must occur at a “corner point” of the feasible region 3. In searching for the optimal solution we only have to examine the corner points Optimal Solution

Locate The Optimal Solution Find extreme points (corner points) and calculate objective values Extreme Points: the vertices or “corner points” of the feasible region. With two variables, extreme points are determined by the intersection of the constraint lines. 5 I &P 4 C&D 3 F 1 2

Locate The Optimal Solution - Find Extreme Points Example: Find extreme point #3: Intersection of the cutting & dyeing constraint and the finishing constraint: Cutting & Dyeing: 7/10 x1 + x2 = 630 Finishing x1 + 2/3 x2 = 708 Solve the two equations for x1 and x2: 7/10 x1 + x2 = 630  7/10 x1 = 630  x2  x1 = 900  10/7 x2 x1 + 2/3 x2 = 708  (900  10/7 x2) +2/3 x2 = 708  900 - 30/21 x2 + 14/21 x2 = 708   16/21 x2 =  192  x2 = 21/16  192 = 252 x1 = 900 - 10/7 x2  x1 = 900  10/7 (252)  x1 = 900  360 = 540

Slack and Binding Constraints F C&D I &P Binding constraints Slack constraint At optimal solution (540, 252) Hrs used Hrs available C&D: 630 = 630 S: 480 < 600 F: 708 = 708 I&P: 117 < 135 Binding Slack = 600  480 = 120 Slack = 135  117 = 18

Summary of Graphical Approach A. Graph Feasible Region Draw each constraint line For each constraint, plot points on the x1 axis (x2=0) and x2 axis (x2=0) and connect the points with a line. Indicate the feasible area with arrow Check if (0,0) is include, if so, draw arrow towards (0,0). If not, draw arrow away from (0,0). If (0,0) is on the constraint line, you must choose another point to use as a check Hatch the area in common for all constraints and their respective arrows B. Find Extreme Points Set the intersecting constraints equal to one another - basic algebra

Summary of Graphical Approach C. Find optimal solution Option #1 List all the extreme points and calculate objective function values for each extreme point. Choose the point with the highest (profit) or lowest (cost) value Option #2 Find the slope of the objective function Choose which extreme point is last touched by the isoprofit/isocost line as it is increased/decreased. This point is the optimal point Calculate the objective value for the optimal point.

Note: Simplex Method 1. Start with a feasible corner point solution 2. Check to see if a feasible neighboring corner point is better 3. If not, stop; otherwise move to that better neighbor and return to step 2.

Graphing Example: Minimization Problem Dorian Problem MIN 50,000 x1 + 100,000 x2 ST HIW: 7x1 + 2 x2  28 HIM: 2x1 + 12 x2  24 x1 0, x2  0 2 4 6 8 10 12 14 16 x 1 , 3.6 1.4 HIW HIM

Additional Consideration: Degeneracy Degeneracy: Assume Inspection & Packaging time is 117 hours (instead of 135) Profit Contribution Maximize 10 x1 + 9 x2 ST Cutting & Dyeing: 7/10 x1 + x2  630 Sewing 1/2 x1 + 5/6 x2  600 Finishing x1 + 2/3 x2  708 Inspection & Packaging 1/10 x1 + 1/4 x2  117 Logic x1  0 , x2  0

Additional Consideration: Inconsistent Problem Assume there is an additional constraint: need to produce at least 725 standard bags, i.e., x1  725 Profit Contribution Maximize 10 x1 + 9 x2 ST Cutting & Dyeing: 7/10 x1 + x2  630 Sewing 1/2 x1 + 5/6 x2  600 Finishing x1 + 2/3 x2  708 Inspection & Packaging 1/10 x1 + 1/4 x2  135 x1  725 Logic x1  0 , x2  0

Additional Consideration: Multiple Optimal Solutions Assume the objective function is 12 x1 + 8 x2 (instead of 10 x1 + 9 x2) Profit Contribution Maximize 12 x1 + 8 x2 ST Cutting & Dyeing: 7/10 x1 + x2  630 Sewing 1/2 x1 + 5/6 x2  600 Finishing x1 + 2/3 x2  708 Inspection & Packaging 1/10 x1 + 1/4 x2  135 Logic x1  0 , x2  0 Slope of the new objective function: x2 =-12/8 x1 +C/8 = =-3/2 x1 +C/8

Additional Consideration: Unbounded Problem Assume we have the following problem: Profit Contribution Maximize 10 x1 + 9 x2 ST Demand: x1 + x2  1000 x1  725 Logic x1  0 , x2  0

Excel Solver Solution Procedure Excel can do the following: Solve linear programs Note: Activate the “Assume Linear Model” option if your problem is a LINEAR program, otherwise the Solver will treat it as a NONLINEAR program. Solve nonlinear programs Solve integer programs Perform sensitivity analysis

Implementing an LP Model in a Spreadsheet Organize the data for the model on the spreadsheet including: Objective Coefficients Constraint Coefficients Right-Hand-Side (RHS) values clearly label data and information visualize a logical layout row and column structures of the data are a good start

Implementing an LP Model in a Spreadsheet Reserve separate cells to represent each decision variable arrange them such that the structure parallels the input data keep them together in the same place Right-Hand-Side (RHS) values Create a formula in a cell that corresponds to the Objective Function For each constraint, create a formula that corresponds to the left-hand-side (LHS) of the constraint NOTE: Once you’ve formulated a spreadsheet model for a certain type of application, it’s useful to save it as a template for future use!

Solver Terminology Target cell Changing cells Constraint cells Represents the objective function Must indicate max or min Changing cells Represents the decision variables Constraint cells the cells in the spreadsheet that represent the LHS formulas of the constraints in the model the cells in the spreadsheet that represent the RHS values of the constraints in the model TIP: If you scale the constraints such that they are all "" or all "", then it's easier to input the constraints as a block. Then, you avoid having to enter each constraint as a separate line.

Solver Example: Par, Inc. Model

Par, Inc. Model - Answer Report Solver Parameters: Objective: MAX F9 Variables: B11:C11 Constraints: D3:D6 <= F3:F6 Options: Assume Linear Model Assume Non-Negative Optimal objective value Optimal solution Constraints Binding & Slack Information

Summary of Excel Solver Procedure

Solver Example: Minimization Example Dorian Problem MIN 50,000 x1 + 100,000 x2 ST 7x1 + 2 x2  28 2x1 + 12 x2  24 x1 0, x2  0

Solver Example: Minimization Example

Summary of Additional Considerations GRAPHICAL EXCEL SOLVER MANAGERIAL IMPLICATION Degeneracy More than two constraint lines intersect at one point Inconsistent Problem Feasible region does not exist Could not find a feasible solution Too many restrictions Multiple Optimal Solutions Slope of objective function is same as that of one constraint Output shows only a single optimal solution Unbounded Problem Optimal value is infinite The set of cell values do not converge Problem is improperly formulated

Summary Graphical solution procedure Additional considerations Feasible region Extreme points Optimal solution Binding and Slack Constraints Additional considerations Degeneracy Inconsistent problem Multiple optimal solutions Unbounded problem Spreadsheet solution basics