What-If Analysis for Linear Programming

Slides:



Advertisements
Similar presentations
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
Advertisements

Introduction to Sensitivity Analysis Graphical Sensitivity Analysis
Introduction to Management Science
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.
Linear and Integer Programming Models
Operations Management Linear Programming Module B - Part 2
Chapter 3 Linear Programming: Sensitivity Analysis and Interpretation of Solution MT 235.
Sensitivity analysis BSAD 30 Dave Novak
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.
Chapter 4: Linear Programming Sensitivity Analysis
1 Linear Programming Using the software that comes with the book.
Linear Programming: Computer Solution and Sensitivity Analysis
3-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Computer Solution and Sensitivity Analysis Chapter 3.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
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: THE GRAPHICAL METHOD
Spreadsheet Modeling & Decision Analysis:
John Loucks Modifications by A. Asef-Vaziri Slides by St. Edward’s
Solver Linear Problem Solving MAN Micro-computers & Their Applications.
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 Sensitivity of the Objective Function Coefficients.
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.
Special Conditions in LP Models (sambungan BAB 1)
Introduction to Management Science
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.
The Theory of the Simplex Method
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Chapter Topics Computer Solution Sensitivity Analysis
Linear Programming: Basic Concepts
Linear and Integer Programming Models 1 Chapter 2.
Managerial Decision Making and Problem Solving
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 5 (What-If Analysis for Linear Programming) Continuing the Wyndor.
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Table of Contents Chapter 5 (What-If Analysis for Linear Programming) Continuing the Wyndor Case Study (Section 5.2)5.2 Changes in One Objective Function.
Table of Contents Chapter 6.8 (Sensitivity Analysis with Solver Table) Continuing the Wyndor Case Study Changes in One Objective Function Coefficient Simultaneous.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
5-1 Wyndor (Before What-If Analysis). 5-2 Using the Spreadsheet to do Sensitivity Analysis The profit per door has been revised from $300 to $200. No.
Solving Linear Programming Problems: The Simplex Method
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.
Sensitivity Analysis Consider the CrossChek hockey stick production problem:   Management believes that CrossChek might only receive $120 profit from the.
3-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Computer Solution and Sensitivity Analysis Chapter 3.
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.
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 © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Professional software packages such as The WinQSB and LINDO provide the following LP information: Information about the objective function: –its optimal.
Sensitivity Analysis Consider the CrossChek hockey stick production problem: Management believes that CrossChek might only receive $120 profit from the.
1 Sensitivity Analysis (II). 2 Sensitivity Report.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Lecture 6 Linear Programming Sensitivity Analysis
Chapter 8 of Quantitative Methods for Business by Anderson, Sweeney and Williams Read sections 8.1, , 8.4 (omitting “Simultaneous Changes”), 8.5,
Sensitivity Analysis Introduction to Sensitivity Analysis
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 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Practice: Given the following Sensitivity Analysis Report
Linear Programming: Sensitivity Analysis and Duality
St. Edward’s University
Table of Contents Chapter 5 (What-If Analysis for Linear Programming)
Sensitivity Analysis and
Sensitivity.
Linear Programming Excel Solver.
Section 3.4 Sensitivity Analysis.
Applied Statistical and Optimization Models
Presentation transcript:

What-If Analysis for Linear Programming Chapter 5: Hillier and Hillier

Agenda Define What is What-If Analysis The Importance of What-If Analysis Discuss the Effect of Changing One Coefficient in the Objective Function Discuss the Effect of Changing Two Coefficients in the Objective Function Discuss the Effect of Single Changes in a Constraint

What-If Analysis Its an analysis that examines what happens to your optimal decision when the assumptions of your model change or are different. In practice, what-if analysis consists of changing a particular set of parameters in the objective function or the constraints to see what happens to the optimal solution.

Importance of What-If Analysis In application, many aspects of the model are based on estimations which cannot be determined precisely. What-if analysis is used to examine the model to understand how sensitive it is to the parameters in the model. By knowing how sensitive the model is to the parameters, you will know which parameters you should spend the most time on trying to estimate correctly.

Importance of What-If Analysis What-if analysis can be broken-up into two major types. Sensitivity analysis is when you examine the changes in the parameters of the model to see what happens to the optimal solution. The second type of analysis examines when you look at different assumptions that affect more than just the parameters. This is usually done by changing the objective function and constraints in fundamental ways beyond changing the parameters.

Effect of Changing One Coefficient in the Objective Function By changing a parameter in the objective function, you are affecting the slope of the objective function which has the possibility of changing your optimal solution. What-if analysis examines how much of a parameter shift can be sustained before changing the optimal solution.

Effect of Changing One Coefficient in the Objective Function Cont. There are two ways to examine how the change in the parameter will affect the optimal solution. The first way is to solve the problem with the new parameter multiple times. The second method is to use Solver’s Sensitivity Report to understand what parameter changes would affect the optimal solution.

Solving the Excel Model Multiple Times with Multiple Parameters Whenever you change a parameter in the model you must tell Excel to resolve the problem by going to Solver. When doing this type of sensitivity analysis, you want to change the parameters in a way that will allow you to find the key points quickly. You could use some form of divide and conquer to find the key changing points. You could establish a particular interval to help find the sensitive points.

Solver Table Solver Table is a tool developed by the textbook authors to solve the model multiple times using different parameters. The current version on your disk may not be operable. How would you go about finding an operable version?

Solver Table Cont. Solver Table can change up to two parameters at a time. In class activity: Build a sensitivity chart for changing the prices of windows. Examine prices that range from $100 to $1000. Use the Solver Table to find the price of windows that changes the optimal solution from 2,6 to 4,3.

Solver’s Sensitivity Report Solver has another way of finding the parameters that will change the optimal solution. This is done by using Solver’s Sensitivity Report. To get the Sensitivity Report, you need to highlight the report after you have used Solver.

Solver’s Sensitivity Report Cont.

Analyzing the Sensitivity Report To find the range of the variable before the optimal solution will change, you can use the Solver information in the following way. The bottom end of the range on the coefficient is: Objective coefficient – Allowable Decrease The upper end of the range of the coefficient is: Objective coefficient + Allowable Increase

Analyzing the Sensitivity Report Cont. In the Wyndor example the price of the doors could increase to $750 or decrease to $0 before the optimal solution would change. In the Wyndor example the price of the windows could increase an infinite amount or decrease to $200 before the optimal solution would change.

Sensitive Parameters A parameter is considered a sensitive parameter if small changes lead to a change in the optimal solution. These parameters are the ones you will focus on to make sure you have them as close to correct as possible.

Effect of Simultaneous Changes in the Objective Function Coefficients In many cases, more than one parameter is uncertain. In this case you would like to know what would happen to your optimal solution when multiple parameters are different than what you expected. Typically, this analysis can be done by changing multiple parameters at once and seeing what happens to the optimal solution.

Excel Side Note You can represent a solution set in a single cell by placing an & in front of the variable you want to add. For example:="("&C12&", "&D12&")” gives (2, 6) in the same cell.

The 100 Percent Rule for Simultaneous changes in Objective Function Coefficients This is a rule that tells you how much of each constraint is allowed to change simultaneously before the optimal might change. This rule says that if the sum of the proportions of parameter change divided by allowable changes in absolute value terms of all the coefficients does not exceed 100%, then the original optimal solution was still be optimal. If it changes by more than 100%, you cannot be sure.

Calculating a Percentage Change The percentage change for a value from the 100% rule can be calculated as: (New Value – Old Value) / Allowable Change For example: when 300 changes to 600 and the allowable change is 900 you get a proportional change of (600-300)/900 which equals approximately 33.33%.

The Effect of Single Changes in a Constraint This type of what-if analysis examines what happens to the optimal decision when a constraint coefficient changes. To examine this issue, you can methodically change the parameter on the coefficient or you could use the Sensitivity Report from Solver.

Solver’s Sensitivity Report

Shadow Price The shadow price for a constraint is the rate at which the value of the objective function can be increased by increasing the right-hand side of the constraint by a small amount. This amount tells you what effect a change in the constraint will have on the objective function.

Allowable Range The allowable range of a functional constraint is the range of values for this right-hand side over which this constraint’s shadow price remains valid. The bottom end of the range is calculated by: Constraint RH Side – Allowable Decrease The upper end of the range is calculated by: Constraint RH Side + Allowable Increase