Sensitivity analysis continued… BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12 th edition – some slides are directly.

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

Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Linear Programming Problem
Introduction to Sensitivity Analysis Graphical Sensitivity Analysis
Notes 4IE 3121 Why Sensitivity Analysis So far: find an optimium solution given certain constant parameters (costs, demand, etc) How well do we know these.
Sensitivity Analysis Sensitivity analysis examines how the optimal solution will be impacted by changes in the model coefficients due to uncertainty, error.
1/53 Slide Linear Programming: Sensitivity Analysis and Interpretation of Solution n Introduction to Sensitivity Analysis n Graphical Sensitivity Analysis.
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.
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
19 Linear Programming CHAPTER
Chapter 3 Linear Programming: Sensitivity Analysis and Interpretation of Solution MT 235.
Sensitivity analysis BSAD 30 Dave Novak
Chapter 2: Introduction to Linear Programming
An Introduction to Linear Programming : Graphical and Computer Methods
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
Chapter 3 An Introduction to Linear Programming
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 Slides by John Loucks St. Edward’s University Modifications by A. Asef-Vaziri.
Readings Readings Chapter 2 An Introduction to Linear Programming.
John Loucks Modifications by A. Asef-Vaziri Slides by St. Edward’s
Linear Programming.
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Kerimcan OzcanMNGT 379 Operations Research1 LP: Sensitivity Analysis and Interpretation of Solution Chapter 3.
LINEAR PROGRAMMING SIMPLEX METHOD.
Chapter 19 Linear Programming McGraw-Hill/Irwin
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 Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
Managerial Decision Making and Problem Solving
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
L4 Graphical Solution Homework See new Revised Schedule Review Graphical Solution Process Special conditions Summary 1 Read for W for.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Chapter 6 Supplement Linear Programming.
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.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
Linear Programming: Sensitivity Analysis and Interpretation of Solution Pertemuan 5 Matakuliah: K0442-Metode Kuantitatif Tahun: 2009.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
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.
Professional software packages such as The WinQSB and LINDO provide the following LP information: Information about the objective function: –its optimal.
1 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
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.
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.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
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.
1 Introduction to Linear Programming Linear Programming Problem Linear Programming Problem Problem Formulation Problem Formulation A Simple Maximization.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
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
St. Edward’s University
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:

Sensitivity analysis continued… BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12 th edition – some slides are directly from J. Loucks © 2013 Cengage Learning

Overview Special case LP problems Alternative optimal solutions Infeasibility Unbounded problems Sensitivity analysis continued Non-intuitive shadow prices Example

Feasible region Recall – using a graphical solution procedure, the optimal solution to an LP is found at the extreme points to the feasible region The feasible region for a two-variable LP problem (x 1, x 2 ) can be nonexistent, a single point, a line, a polygon, or an unbounded area

Feasible region Any linear program falls in one of four categories: 1. has a unique optimal solution 2. has alternative optimal solutions 3. is infeasible 4. has an objective function that can be increased without bound (unbounded) A feasible region may be unbounded and yet still have optimal solutions This is common in minimization problems and is possible in maximization problems

Alternative optimal solution In some cases, an LP can have more than one optimal solution – this is referred to alternative optimal solutions There is more than one extreme point that minimizes or maximizes the OF value

Alternative optimal solution In the graphical method, if the objective function line is parallel to a boundary constraint in the direction of optimization, there are alternate optimal solutions All points on this line segment are optimal

Alternative optimal solution Consider the following LP Max 4x 1 + 6x 2 s.t. x 1 < 6 2x 1 + 3x 2 < 18 2x 1 + 3x 2 < 18 x 1 + x 2 < 7 x 1 + x 2 < 7 x 1 > 0 and x 2 > 0 x 1 > 0 and x 2 > 0

Alternative optimal solution example n Boundary constraint 2x 1 + 3x 2 < 18 (constraint #2) and OF line 4x 1 + 6x 2 are parallel. All points on line segment A – B are optimal solutions x1x1 x Constraint #2: 2x 1 + 3x 2 < 18 Constraint #3: x 1 + x 2 < 7 Constraint #1: x 1 < 6 OF: Max 4x 1 + 6x 2 A B

Infeasibility No solution to the LP problem satisfies all the constraints, including the non-negativity conditions Graphically, this means a feasible region does not exist Causes include A formulation error has been made Management’s expectations are too high Too many restrictions have been placed on the problem (i.e. the problem is over-constrained)

Infeasibility Consider the following LP Max 2x 1 + 6x 2 s.t. 4x 1 + 3x 2 < 12 2x 1 + x 2 > 8 x 1, x 2 > 0

Infeasibility x1x1 Constraint #1: 4x 1 + 3x 2 < 12 Constraint #2: 2x 1 + x 2 > x2x2 There are no points that satisfy both constraints, so there is no feasible region (and no feasible solution)

Unbounded The solution to a maximization LP problem is unbounded if the value of the solution may be made indefinitely large without violating any of the constraints This leads to an infinite production scenario For real problems, this is usually the result of improper formulation Quite likely, a constraint has been inadvertently omitted

Unbounded Consider the following LP Max 4x 1 + 5x 2 s.t. x 1 + x 2 > 5 3x 1 + x 2 > 8 x 1, x 2 > 0

Unbounded x1x1 Constraint #2: 3x 1 + x 2 > 8 Constraint #1: x 1 + x 2 > 5 Max 4x 1 + 5x x2x2

Standard form of an LP Involves formulating each constraint as a strict equality and: ADDING a slack variable to ≤ (less than or equal to) constraints SUBTRACTING a surplus variable from ≥ (greater than or equal to) constraints Equality constraints do not have a slack or surplus variable

Standard form of an LP Max 5x 1 + 6x 2 s.t. x 1 < 6 2x 1 + 3x 2 ≥ 5 x 1 + x 2 < 10 x 1 + 5x 2 ≥ 2 x 1 > 0 and x 2 > 0

Standard form of an LP

Sensitivity analysis Recall that last class we discussed: Changes in objective function coefficients Changes in RHS values How to interpret shadow prices Sensitivity analysis involves changing only one coefficient at a time! All other coefficients are held constant

Changes in OF coefficients Change in OF coefficient does not impact the feasible region or the existing extreme points in any way, although it impacts the value associated with the optimal solution In a two-decision variable graphical problem, a change in an OF coefficient changes the slope of the OF line Regardless of how many decision variables are considered, changes in OF coefficients do not change the feasible region

Changes in OF coefficients Here we identified the range of optimality The current solution remains optimal for all changes to OF coefficients within this range The allowable increase and allowable decrease provide the range of values each OF coefficient can take on where the current optimal solution remains optimal Outside of this range, the slope of the OF line changes enough that a different extreme point in the feasible region becomes the new optimal solution

Changes in RHS constraint coefficients Change in RHS coefficients are a bit more tricky to interpret because changing the RHS of a constraint can impact both the feasible region and change the extreme points for the problem In a two-decision variable graphical problem, a change in RHS coefficient can increase or decrease the area of the feasible region

Changes in RHS constraint coefficients Here we identified the range of feasibility The allowable increase and allowable decrease associated with the shadow price for each constraint provides the range of values that each RHS coefficient can take on where the: Current binding constraints remain binding AND Interpretation of the shadow price is valid

Changes in RHS constraint coefficients Outside of the range of feasibility the interpretation of the shadow price does not hold, AND a different set of constraints become binding When the RHS of a constraint changes outside of the range of feasibility, you must re-formulate and re-solve the LP

Changes in the LHS constraint coefficients Classical sensitivity analysis provides no information about changes resulting from a change in the LHS coefficients in a constraint We must change the coefficient and rerun the model to learn the impact the change will have on the solution

Non-intuitive shadow prices Constraints with variables naturally on both the left-hand (LHS) and right-hand (RHS) sides often lead to shadow prices that have a non-intuitive explanation

Example of non-intuitive shadow price Recall from last class that Olympic Bike is introducing two new lightweight bicycle frames, the Deluxe (x 1 ) and the Professional (x 2 ), to be made from special aluminum and steel alloys The objective was to maximize total profit, subject to limits on the availability of aluminum and steel

Olympic bike example Consider the problem from Lecture 16 Max 10x x 2 s.t. 2x 1 + 4x 2 < 100 3x 1 + 2x 2 < 80 3x 1 + 2x 2 < 80 x 1 > 0 and x 2 > 0 x 1 > 0 and x 2 > 0 ObjectiveFunctionObjectiveFunction “Regular”Constraints“Regular”Constraints Non-negativity Constraints ConstraintsNon-negativity

Olympic bike example Let’s introduce an additional constraint The number of Deluxe frames produced (x 1 ) must be greater than or equal to the number of Professional frames produced (x 2 )

Olympic bike example Max 10x x 2 s.t. 2x 1 + 4x 2 < 100 3x 1 + 2x 2 < 80 3x 1 + 2x 2 < 80 x 1 > x 2 x 1 > x 2 x 1 > 0 and x 2 > 0 x 1 > 0 and x 2 > 0 ObjectiveFunctionObjectiveFunction “Regular”Constraints“Regular”Constraints Non-negativity Constraints ConstraintsNon-negativity

Olympic answer report

Olympic sensitivity report

Olympic bike example Interpret the shadow prices of: Constraint #1

Olympic bike example Interpret the shadow prices of: Constraint #2

Olympic bike example Interpret the shadow prices of: Constraint #3

Olympic bike example Interpret the range of optimality for OF coefficient: c 1

Olympic bike example Interpret the range of optimality for OF coefficient: c 2

Reduced costs The reduced cost of a variable is typically the shadow price of the corresponding non- negativity constraint So most, variables have a reduced cost = 0 x 1, x 2, etc. ≥ 0 We will discuss a situation when the reduced costs ≠ 0 in a four decision variable problem before the final exam

Summary Special case LP problems Alternative optimal solutions Infeasibility Unbounded problems Sensitivity analysis continued Non-intuitive shadow prices Example