Chapter 19 Linear Programming McGraw-Hill/Irwin

Slides:



Advertisements
Similar presentations
Using Solver to solve a minimization LP + interpretation of output BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12.
Advertisements

Linear Programming Problem
Chapter 19 – Linear Programming
Understanding optimum solution
Lesson 08 Linear Programming
Chapter 5 Sensitivity Analysis: An Applied Approach
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Linear and Integer Programming Models
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Managerial Decision Modeling with Spreadsheets
19 Linear Programming CHAPTER
Operation Research Chapter 3 Simplex Method.
Operations Management Dr. Ron Lembke
Operations Management
Chapter 2: Introduction to Linear Programming
6s-1Linear Programming CHAPTER 6s Linear Programming.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
Spreadsheet Modeling & Decision Analysis:
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.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Linear Programming.
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
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,
Introduction to Mathematical Programming OR/MA 504 Chapter 3.
1 The Role of Sensitivity Analysis of the Optimal Solution Is the optimal solution sensitive to changes in input parameters? Possible reasons for asking.
Linear Programming Chapter 13 Supplement.
Special Conditions in LP Models (sambungan BAB 1)
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
Linear and Integer Programming Models 1 Chapter 2.
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Chapter 6 Supplement Linear Programming.
Chapter 7 Introduction to Linear Programming
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.
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
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
Chapter 2 Linear Programming Models: Graphical and Computer Methods
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.
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.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
BUAD306 Chapter 19 – Linear Programming. Optimization QUESTION: Have you ever been limited to what you can get done because you don’t have enough ________?
Introduction to Quantitative Business Methods (Do I REALLY Have to Know This Stuff?)
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Supply Chain Management By Dr. Asif Mahmood Chapter 9: Aggregate Planning.
An Introduction to Linear Programming
Linear Programming.
Chapter 19 – Linear Programming
Chapter 5 Sensitivity Analysis: An Applied Approach
Introduction to linear programming (LP): Minimization
Constraint management
Presentation transcript:

Chapter 19 Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.

Chapter 19: Learning Objectives You should be able to: Describe the type of problem that would lend itself to solution using linear programming Formulate a linear programming model from a description of a problem Solve simple linear programming problems using the graphical method Interpret computer solutions of linear programming problems Do sensitivity analysis on the solution of a linear programming problem Instructor Slides 19-2

Linear Programming (LP) A powerful quantitative tool used by operations and other manages to obtain optimal solutions to problems that involve restrictions or limitations Applications include: Establishing locations for emergency equipment and personnel to minimize response time Developing optimal production schedules Developing financial plans Determining optimal diet plans Instructor Slides 19-3

LP Models LP Models Mathematical representations of constrained optimization problems LP Model Components: Objective function A mathematical statement of profit (or cost, etc.) for a given solution Decision variables Amounts of either inputs or outputs Constraints Limitations that restrict the available alternatives Parameters Numerical constants Instructor Slides 19-4

Linear Programming Used to obtain optimal solutions to problems that involve restrictions or limitations, such as: Materials Budgets Labor Machine time Linear programming (LP) techniques consist of a sequence of steps that will lead to an optimal solution to problems, in cases where an optimum exists

LP Assumptions In order for LP models to be used effectively, certain assumptions must be satisfied: Linearity The impact of decision variables is linear in constraints and in the objective function Divisibility Noninteger values of decision variables are acceptable Certainty Values of parameters are known and constant Nonnegativity Negative values of decision variables are unacceptable Instructor Slides 19-6

Model Formulation List and define the decision variables (D.V.) These typically represent quantities State the objective function (O.F.) It includes every D.V. in the model and its contribution to profit (or cost) List the constraints Right hand side value Relationship symbol (≤, ≥, or =) Left Hand Side The variables subject to the constraint, and their coefficients that indicate how much of the RHS quantity one unit of the D.V. represents Non-negativity constraints Instructor Slides 19-7

Example– LP Formulation (Objective function) (Constraints) (Nonnegativity constraints) 19-8 Instructor Slides

Graphical LP Graphical LP A method for finding optimal solutions to two-variable problems Procedure Set up the objective function and the constraints in mathematical format Plot the constraints Indentify the feasible solution space The set of all feasible combinations of decision variables as defined by the constraints Plot the objective function Determine the optimal solution 19-9 Instructor Slides

Linear Programming Example

Linear Programming Example Find the quantity of each model to produce in order to maximize the profit

LP Example – Decision Variables A: # of model A product to be built B: # of model B product to be built

Example– Graphical LP: Step 1 Instructor Slides 19-13

LP Example – Objective Function

LP Example – Objective Function

Example– Graphical LP: Step 2 Plotting constraints: Begin by placing the nonnegativity constraints on a graph 19-16 Instructor Slides

Example– Graphical LP: Step 2 Plotting constraints: Replace the inequality sign with an equal sign. Determine where the line intersects each axis Mark these intersection on the axes, and connect them with a straight line Indicate by shading, whether the inequality is greater than or less than Repeat steps 1 – 4 for each constraint 19-17 Instructor Slides

Example– Graphical LP: Step 2

Example– Graphical LP: Step 2

Example– Graphical LP: Step 2 Instructor Slides 19-20

Example– Graphical LP: Step 2 Instructor Slides 19-21

Example– Graphical LP: Step 2 Instructor Slides 19-22

Storage Space Constraint 3A + 3B < 39 cubic feet

Storage Space Constraint

Linear Programming Formulation Objective - profit Maximize Z=60A + 50B Subject to Assembly 4A + 10B <= 100 hours Inspection 2A + 1B <= 22 hours Storage 3A + 3B <= 39 cubic feet A, B >= 0 Nonnegativity Condition

Example– Graphical LP: Step 2 Instructor Slides 19-26

Example– Graphical LP: Step 3 Feasible Solution Space The set of points that satisfy all constraints simultaneously Instructor Slides 19-27

Feasible Solution Space

Example– Graphical LP: Step 4 Plotting the objective function line This follows the same logic as plotting a constraint line There is no equal sign, so we simply set the objective function to some quantity (profit or cost) The profit line can now be interpreted as an isoprofit line Every point on this line represents a combination of the decision variables that result in the same profit (in this case, to the profit you selected) 19-29 Instructor Slides

Example– Graphical LP: Step 4 Instructor Slides 19-30

LP Example – Objective Function

Example– Graphical LP: Step 4 As we increase the value for the objective function: The isoprofit line moves further away from the origin The isoprofit lines are parallel Instructor Slides 19-32

Example– Graphical LP: Step 5 Where is the optimal solution? The optimal solution occurs at the furthest point (for a maximization problem) from the origin the isoprofit can be moved and still be touching the feasible solution space This optimum point will occur at the intersection of two constraints: Solve for the values of x1 and x2 where this occurs Instructor Slides 19-33

Redundant Constraints A constraint that does not form a unique boundary of the feasible solution space Test: A constraint is redundant if its removal does not alter the feasible solution space Instructor Slides 19-34

Solutions and Corner Points The solution to any problem will occur at one of the feasible solution space corner points Enumeration approach Determine the coordinates for each of the corner points of the feasible solution space Corner points occur at the intersections of constraints Substitute the coordinates of each corner point into the objective function The corner point with the maximum (or minimum, depending on the objective) value is optimal 19-35 Instructor Slides

Optimal Solution The intersection of inspection and storage Solve two equations with two unknowns 2A + 1B = 22 3A + 3B = 39 A = 9 B = 4 Z = $740

Slack and Surplus Binding Constraint Surplus Slack If a constraint forms the optimal corner point of the feasible solution space, it is binding It effectively limits the value of the objective function If the constraint could be relaxed, the objective function could be improved Surplus When the value of decision variables are substituted into a ≥ constraint the amount by which the resulting value exceeds the right-hand side value Slack When the values of decision variables are substituted into a ≤ constraint, the amount by which the resulting value is less than the right-hand side 19-37 Instructor Slides

Linear Programming Example

The Simplex Method Simplex method A general purpose linear programming algorithm that can be used to solve problems having more than two decision variables Instructor Slides 19-39

Computer Solutions MS Excel can be used to solve LP problems using its Solver routine Enter the problem into a worksheet Where there is a zero in Figure 19.15, a formula was entered Solver automatically places a value of zero after you input the formula You must designate the cells where you want the optimal values for the decision variables Instructor Slides 19-40

Computer Solutions Instructor Slides 19-41

Computer Solutions In Excel 2010, click on Tools on the top of the worksheet, and in that menu, click on Solver Begin by setting the Target Cell This is where you want the optimal objective function value to be recorded Highlight Max (if the objective is to maximize) The changing cells are the cells where the optimal values of the decision variables will appear Instructor Slides 19-42

Computer Solutions Add a constraint, by clicking add For each constraint, enter the cell that contains the left-hand side for the constraint Select the appropriate relationship sign (≤, ≥, or =) Enter the RHS value or click on the cell containing the value Repeat the process for each system constraint Instructor Slides 19-43

Computer Solutions For the nonnegativity constraints, enter the range of cells designated for the optimal values of the decision variables Click OK, rather than Add You will be returned to the Solver menu Click on Options In the Options menu, Click on Assume Linear Model Click OK; you will be returned to the solver menu Click Solve Instructor Slides 19-44

Computer Solutions 19-45 Instructor Slides

Solver Results The Solver Results menu will appear You will have one of two results A Solution In the Solver Results menu Reports box Highlight both Answer and Sensitivity Click OK An Error message Make corrections and click solve 19-46 Instructor Slides

Solver Results Solver will incorporate the optimal values of the decision variables and the objective function into your original layout on your worksheets 19-47 Instructor Slides

Answer Report 19-48 Instructor Slides

Sensitivity Report 19-49 Instructor Slides

Sensitivity Analysis Sensitivity Analysis Assessing the impact of potential changes to the numerical values of an LP model Three types of changes Objective function coefficients Right-hand values of constraints Constraint coefficients We will consider these 19-50 Instructor Slides

O.F. Coefficient Changes A change in the value of an O.F. coefficient can cause a change in the optimal solution of a problem Not every change will result in a changed solution Range of Optimality The range of O.F. coefficient values for which the optimal values of the decision variables will not change 19-51 Instructor Slides

Basic and Non-Basic Variables Decision variables whose optimal values are non-zero Non-basic variables Decision variables whose optimal values are zero Reduced cost Unless the non-basic variable’s coefficient increases by more than its reduced cost, it will continue to be non-basic Instructor Slides 19-52

RHS Value Changes Shadow price Amount by which the value of the objective function would change with a one-unit change in the RHS value of a constraint Range of feasibility Range of values for the RHS of a constraint over which the shadow price remains the same Instructor Slides 19-53

Binding vs. Non-binding Constraints have shadow price values that are equal to zero have slack (≤ constraint) or surplus (≥ constraint) Changing the RHS value of a non-binding constraint (over its range of feasibility) will have no effect on the optimal solution Binding constraint have shadow price values that are non-zero have no slack (≤ constraint) or surplus (≥ constraint) Changing the RHS value of a binding constraint will lead to a change in the optimal decision values and to a change in the value of the objective function Instructor Slides 19-54