Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "© 2007 Pearson Education Chapter 14: Solving and Analyzing Optimization Models."— Presentation transcript:

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

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

3 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

4 Differences in Options Dialog Standard Premium

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

6 Add Constraint Dialog

7 Solver Results Dialog Select reports to save

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

9 Product Mix Model Solution

10 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

11 Answer Report

12 Sensitivity Report

13 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.

14 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.

15 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.

16 Example

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

18 Example Add constraint: G  400

19 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.

20 Solver Results Using Auxiliary Variable

21 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.

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

23 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

24 Hotel Pricing Example Sensitivity Report

25 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).

26 Example Population Report

27 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.

28 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.

29 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.


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

Similar presentations


Ads by Google