© 2007 Pearson Education Chapter 14: Solving and Analyzing Optimization Models.

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

Understanding optimum solution
Introduction to Sensitivity Analysis Graphical Sensitivity Analysis
Sensitivity Analysis Sensitivity analysis examines how the optimal solution will be impacted by changes in the model coefficients due to uncertainty, error.
Linear and Integer Programming Models
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Operations Management Linear Programming Module B - Part 2
Chapter 3 Linear Programming: Sensitivity Analysis and Interpretation of Solution MT 235.
Introduction to Management Science
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.
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.
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.
 Explore the principles of cost-volume-profit relationships  Perform a basic what-if analysis  Use Goal Seek to calculate a solution  Create a one-variable.
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.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
John Loucks Modifications by A. Asef-Vaziri Slides by St. Edward’s
Linear Programming The Industrial Revolution resulted in (eventually) -- large companies, large problems How to optimize the utilization of scarce resources?
Linear Programming.
Solver Linear Problem Solving MAN Micro-computers & Their Applications.
Introduction to Mathematical Programming OR/MA 504 Chapter 3.
START EXCEL BUILD OR RETRIEVE YOUR OPTIMIZATION MODEL SAVE YOUR WORKBOOK!! CHOOSE “Solver…” IN THE “Tools” MENU SPECIFY IN SOLVER DIALOG BOX: 1.CELL TO.
1 The Role of Sensitivity Analysis of the Optimal Solution Is the optimal solution sensitive to changes in input parameters? Possible reasons for asking.
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
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)
Introduction to Management Science
Chapter Topics Computer Solution Sensitivity Analysis
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
Linear and Integer Programming Models 1 Chapter 2.
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.
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
Chapter 7 Introduction to Linear Programming
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Appendix B A BRIEF TOUR OF SOLVER Prescriptive Analytics
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Goal Seek and Solver. Goal seeking helps you n Find a specific value for a target cell by adjusting the value of one other cell whose value is allowed.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
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.
Highline Class, BI 348 Basic Business Analytics using Excel Chapter 08 & 09: Introduction to Linear Programing 1.
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.
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.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
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 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Supplementary Chapter B Optimization Models with Uncertainty
Excel’s Solver Use Excel’s Solver as a tool to assist the decision maker in identifying the optimal solution for a business decision. Business decisions.
Introduction to Optimization
DECISION MODELING WITH Prentice Hall Publishers and
Solver & Optimization Problems
Ch 11 Resource Constraints and Linear Programming
Wyndor Example; Enter data
Using WinQSB to solve Linear Programming Models
Excel: Solver Participation Project
Linear Programming Excel Solver.
Applied Statistical and Optimization Models
Presentation transcript:

© 2007 Pearson Education Chapter 14: Solving and Analyzing Optimization Models

Excel Solver Standard Solver (packaged with Excel) Premium Solver (available on CD-ROM) Can toggle between both versions

Premium Solver Solution procedures Standard GRG Nonlinear – used for solving nonlinear optimization problems Standard Simplex LP – used for solving linear and linear integer optimization problems Standard Evolutionary – used for solving complex nonlinear and nonlinear integer problems

Differences in Options Dialog Standard Premium

Click here to add constraints Set cell references for objective function and decision variables Product Mix Model Click Solve

Add Constraint Dialog

Solver Results Dialog Select reports to save

Possible Outcomes Unique optimal solution Alternate optimal solution Unbounded problem Infeasible problem

Product Mix Model Solution

Slack and Binding Constraints Slack is the difference between the left- and right- hand sides of a constraint when the optimal solution is substituted for the variables. A constraint is binding if the slack is zero. Example: Amount of Component Used  Amount Available Amount of Component Used + Amount of Component Unused = Amount Available Slack = Amount of Component Unused = Amount Available - Amount of Component Used

Answer Report

Sensitivity Report

Interpreting the Sensitivity Report Reduced cost – how much the objective coefficient needs to change for a variable to become positive in the optimal solution Allowable Increase/Decrease – how much an individual objective coefficient can change before the optimal values of the decision variables will change Shadow price – how much the value of the objective function will change as the right- hand-side of a constraint is increased by 1.

Solver Limits Report Shows the lower limit and upper limit that each variable can assume while satisfying all constraints and holding all of the other variables constant.

How Solver Creates Names in Reports How you design your spreadsheet model will affect on how Solver creates the names used in the output reports. Poor spreadsheet design can make it difficult or confusing to interpret the Answer and Sensitivity reports. Solver assigns names to target cells, changing cells, and constraint function cells by concatenating the text in the first cell containing text to the left of the cell with the first cell containing text above it.

Example

Models With Lower and Upper Bounds Bounded variables are listed in the Adjustable Cells section. Reduced costs may be interpreted as shadow prices.

Example Add constraint: G  400

Modeling Trick Using reduced costs as shadow prices can be a bit confusing. In your spreadsheet model, define a new set of cells for any decision variables that have upper or lower bound constraints by referencing (not copying) the original changing cells. In the Solver model, use this auxiliary variable cell to define the bound constraint; that is, B18  B8.

Solver Results Using Auxiliary Variable

Difficulties With Solver A poorly scaled model—one in which the parameters of the objective and constraint functions differ by several orders of magnitude — may cause round-off errors in internal computations or error messages such as “The conditions for Assume Linear Model are not satisfied.” The values of the coefficients in the objective function and constraints, as well as the right hand sides, should not differ from each other by a factor of more than 1,000 or 10,000. Remedies Keep the solution that Solver found and run Solver again starting from that solution. Solver also has a checkbox for Use Automatic Scaling that can be used, especially if solver gives an error message that linearity is not satisfied.

Solving Integer Models Define decision variables as either int or bin in the Add Constraint dialog Set tolerance to Zero in Integer Options

Solving Nonlinear Models Select Standard GRG Nonlinear in Premium Solver as the solution procedure Sensitivity report is different for nonlinear models Reduced gradient is analogous to reduced cost, but more difficult to interpret Lagrange multipliers are similar to shadow prices, but give only approximate rates of change

Hotel Pricing Example Sensitivity Report

Metaheuristics Used for difficult nonlinear problems Premium Solver “Standard Evolutionary” solution procedure Evolutionary Solver produces an Answer Report a Population Report, which provides statistics on the solutions encountered during the search process, showing the best value, mean, standard deviation, maximum, and minimum values for each variable and constraint function (excluding upper and lower bounds).

Example Population Report

Risk Analysis and Optimization Crystal Ball may be used to conduct post-optimality risk analysis to understand the impact of uncertainty of optimization model parameters.

OptQuest: Combining Optimization and Simulation OptQuest searches for optimal solutions within Crystal Ball simulation model spreadsheets. OptQuest is also designed to find solutions that satisfy a wide variety of constraints or a set of goals that you may define.

OptQuest Procedure 1. Create a Crystal Ball model of the decision problem. 2. Define the decision variables within Crystal Ball. 3. Invoke OptQuest from the Crystal Ball toolbar or the corresponding menu. 4. Create a new optimization file. 5. Select decision variables. 6. Specify constraints. 7. Select the forecast. 8. Modify OptQuest options. 9. Solve the optimization problem. 10. Save the optimization files. 11. Exit OptQuest.