Nonlinear Optimization

Slides:



Advertisements
Similar presentations
Chapter 12 PowerPoint Non-smooth Models.
Advertisements

Chapter 1 PowerPoint INTRODUCTION.
Chapter 15 Creating Database Forms and Reports Introduction Forms Reports.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
By Edgar K. Browning & Mark A. Zupan John Wiley & Sons, Inc.
Systems Analysis and Design
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION CHAPTER.
MICROECONOMICS: Theory & Applications
MICROECONOMICS: Theory & Applications
1 - 1 Management Science: The Art of Modeling With Spreadsheets, 2e S.G. Powell K.R. Baker © John Wiley and Sons, Inc. PowerPoint Slides Prepared By: Alan.
MICROECONOMICS: Theory & Applications Chapter 7 Production By Edgar K. Browning & Mark A. Zupan John Wiley & Sons, Inc. 9 th Edition, copyright 2006 PowerPoint.
Management, 6e Schermerhorn Prepared by Cheryl Wyrick California State Polytechnic University Pomona John Wiley & Sons, Inc.
Chapter 6 – Analyzing Information for Business Decision Making
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION CHAPTER.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Systems.
Information Technology Project Management
Chapter 11 PowerPoint Integer Optimization.
Chapter 9 PowerPoint Linear Optimization.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Systems.
Supplement B Introduction to Optimization Operations Management by R. Dan Reid & Nada R. Sanders 3 rd Edition © Wiley 2005 PowerPoint Presentation by Roger.
Linear Programming Chapter 14 Supplement. Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
Systems Analysis and Design with UML Version 2
6 - 1 Chapter 6: Analysis Using Spreadsheets The Art of Modeling with Spreadsheets S.G. Powell and K.R. Baker © John Wiley and Sons, Inc. PowerPoint Slides.
4-1 Coding Complete COBOL Programs: The PROCEDURE DIVISION Chapter 4.
MICROECONOMICS: Theory & Applications By Edgar K. Browning & Mark A. Zupan John Wiley & Sons, Inc. 11th Edition, Copyright 2012 PowerPoint prepared by.
Chapter 8: Regression Analysis PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with Spreadsheets,
3 - 1 Chapter 3: Basic Excel Skills Management Science: The Art of Modeling With Spreadsheets, 2e PowerPoint Slides Prepared By: Alan Olinsky Bryant University.
Chapter 13 Operational Decision-Making Tools: Simulation.
Accounting Principles, Ninth Edition
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved.
7 - 1 Chapter 7: Data Analysis for Modeling PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Chapter 8 Charles P. Jones, Investments: Analysis and Management, Eleventh Edition, John Wiley & Sons 8- 1.
4 - 1 Chapter 4: Advanced Excel Skills Management Science: The Art of Modeling with Spreadsheets, 3e S.G. Powell K.R. Baker © John Wiley and Sons, Inc.
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
Wiley Supplement B Linear Programming Operations Management by R. Dan Reid & Nada R. Sanders 4th Edition © Wiley 2010.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved
Selecting an Optimal Portfolio
8 - 1 Optimization  Find the best set of decisions for a particular measure of performance  Includes: The goal of finding the best set The algorithms.
Slide 5-1 Chapter 5 Terms Applications Software for Business Introduction to Information Systems Judith C. Simon.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976.
Reid & Sanders, Operations Management © Wiley 2002 Facility Layout 10 C H A P T E R.
Chapter 1 Charles P. Jones, Investments: Analysis and Management, 12 th Edition, John Wiley & Sons 1- 1.
Prepared by Scott M. Shafer, Updated by William E. Matthews and Thomas G. Roberts, William Patterson University Copyright 2007 John Wiley & Sons, Inc.1-1.
Chapter 9: Short-Term Forecasting PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Slide 5-1 Chapter 5 Applications Software for Businesses Introduction to Information Systems Judith C. Simon.
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION OPTIMIZATION.
Slide 1 Systems Analysis and Design with UML Version 2.0 An Object-Oriented Approach, Second Edition Chapter 3: Project Initiation Alan Dennis, Barbara.
Slide 1 Systems Analysis and Design with UML Version 2.0 An Object-Oriented Approach, Second Edition Chapter 3: Project Initiation Alan Dennis, Barbara.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Operations Management - 5 th Edition Chapter 10 Supplement Roberta.
Chapter 13: Integer Programming PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Chapter 11: Linear Programming PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Project Management in Practice Fourth Edition Prepared by Scott M. Shafer, Updated by William E. Matthews and Thomas G. Roberts, William Paterson University.
Reid & Sanders, Operations Management © Wiley 2002 Linear Programming B SUPPLEMENT.
Chapter 10: Nonlinear Programming PowerPoint Slides Prepared By: Tony Ratcliffe James Madison University Management Science: The Art of Modeling.
6 - 1 Chapter 6: Analysis Using Spreadsheets PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
MICROECONOMICS: Theory & Applications By Edgar K. Browning & Mark A. Zupan John Wiley & Sons, Inc. 11 th Edition, Copyright 2012 PowerPoint prepared by.
Operational Decision-Making Tools: Simulation
1 Linear Programming 2 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear.
Transportation and Transshipment Models Chapter 11 Supplement Russell and Taylor Operations and Supply Chain Management, 8th Edition.
Chapter 3: Basic Excel Skills
Beni Asllani University of Tennessee at Chattanooga
Chapter 4 PowerPoint Spreadsheet Analysis.
Beni Asllani University of Tennessee at Chattanooga
Management Science: The Art of Modeling With Spreadsheets, 3e
Chapter 17: Optimization In Simulation
Beni Asllani University of Tennessee at Chattanooga
Transportation and Transshipment Models
Accounting Information Systems: Essential Concepts and Applications Fourth Edition by Wilkinson, Cerullo, Raval, and Wong-On-Wing Module 1: Decision Making,
Systems Analysis and Design with UML Version 2
Transportation and Transshipment Models
Presentation transcript:

Nonlinear Optimization Chapter 8 PowerPoint Nonlinear Optimization

Copyright © 2013 John Wiley & Sons, Inc. Optimization Find the best set of decisions for a particular measure of performance Includes: The goal of finding the best set The algorithms (procedures) to accomplish this goal Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Excel Optimization Software Solver Standard with Excel Analytic Solver Platform Comes with text – install off text CD More advanced than standard solver Is preferred tool throughout text Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Decision Variables Levers used to improve performance Want to find the best values for the variables Finding these best values can be challenging Need Solver’s sophisticated software Still relatively easy to construct models beyond Solver’s capabilities Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Solver Window Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Formulation Decision variables What must be decided? Be explicit with units Objective function What measure compares decision variables? Use only one measure (as a “yardstick”) – put in target cell Constraints What restrictions limit our choice of decision variables? Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Constraints Left-hand-side (LHS) Usually a function Right-hand-side (RHS) Usually a number (i.e., a parameter) Three types of constraints LHS <= RHS (less-than [LT] constraint) LHS >= RHS (Greater than [GT] constraint) LHS = RHS (Equality [EQ] constraint) Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Types of Constraints LT constraints (LHS<RHS) Capacities or ceilings GT constraints (LHS>RHS) Commitments or thresholds EQ constraints (LHS=RHS) Material balance Define related variables consistently Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Layout Standard model template is advisable Enhances ability to communicate Provides common language Reinforces understanding how models shaped Improves ability to spot modeling errors Enables “scaling up” more easily Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Layout Organize worksheet in modules Decision variables, objective function, constraints Place decision variables in single row (or column) Use color or border highlighting Place objective in single highlighted cell Arrange constraints for visual comparison of LHS and RHS Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Solver Tip: Ranges for Decision Variables Arrange worksheet with all decision variables in adjacent cells Enables a single reference to their range Makes data entry efficient Reduces clutter in Solver interface Makes task pane description easier to interpret Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Interpreting Results Optimal values of decision variables Best course of action for the model Optimal value of objective function Best level of performance possible Constraint outcomes Constraint is tight or binding if LHS=RHS in LT or GT constraint Throughout optimization, generally only some constraints are binding Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Interpreting Results: Optimization Solution Tactical information Plan for decision variables Strategic information What factors could lead to better levels of performance? Binding constraints are economic factors that restrict the value of the objective. Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Model Classification and the Nonlinear Solver Linear optimization or linear programming Objective and all constraints are linear functions of the decision variables Nonlinear optimization or nonlinear programming Either objective or a constraint (or both) are nonlinear functions of the decision variables Techniques for solving linear models are more powerful Use wherever possible Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. “Hill Climbing” Technique used by Solver for nonlinear optimization Called LSGRG (Large-Scale Generalized Reduced Gradient) algorithm Hill climbing in a fog Try to follow steepest path going up After each step, or group of steps, again find steepest path and follow it Stop if no path leads up Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Local and Global Optimum The highest peak is the global optimum. What we want to find Any peak higher than all points around it is a local optimum. What the LSGRG algorithm locates Except in special circumstances, there is no way to guarantee that a local optimum is the global optimum. If multiple local optima, then which is found depends on starting point for decision variables – may want to run Solver starting from multiple points Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Programming Examples Facility location Revenue maximization Maximize revenue in the presence of a demand curve Curve fitting Fit a function to observed data points Economic Order Quantity Trade-off ordering and carrying costs for inventory Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Solver Tip: Solutions from the LSGRG Algorithm When the GRG algorithm concludes with the convergence message, “Solver has converged to the current solution, all constraints are satisfied”, the algorithm should be rerun from the stopping point. This message may then reappear, in which case Solver should be rerun once more. Eventually, the algorithm should conclude with the optimality message, “Solver found a solution, all constraints and optimality conditions are satisfied”, which signifies that it has found a local optimum. To help determine whether the local optimum is also a global optimum, Solver should be restarted at a different set of decision variables and rerun. If several widely differing starting solutions lead to the same local optimum, that is some evidence that the local optimum is likely to be a global optimum, but in general there is no way to know for sure. Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Solver Tip: Avoid Discontinuous Functions A number of functions familiar to experienced Excel programmers should be avoided when using the nonlinear solver. These include: Logical functions (e.g., IF or AND) Mathematical functions (e.g., ROUND or CEILING) Lookup and reference functions (e.g., CHOOSE or VLOOKUP) Statistical functions (e.g., RANK or COUNT). In general, avoid using any function that changes discontinuously. Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Sensitivity Analysis for Nonlinear Programs Tests our initial assumptions to see what impact they have on our conclusions. Analysis of one or two variables can lead to optimal values of those variables. E.g., using the Parametric Sensitivity tool. Solver tool for larger numbers of variables and constraints Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Solver Tip: What Kind of Sensitivity Analysis? Easy to confuse parametric sensitivity with optimization sensitivity, which answer different questions: Optimization sensitivity determines how the optimal solution changes with a change in parameter. Parametric sensitivity answers how specific outputs change with parameters. The Solver tool can answer questions about how specific outputs change with a change in one or two parameters. Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

The Portfolio Optimization Model The performance of a portfolio of stocks is measured in terms of return and risk. When we create a portfolio of stocks, our goals are usually to maximize the mean return and to minimize the risk. Both goals cannot be met simultaneously, but we can use optimization to explore the trade-offs involved. Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

*Excel Mini-Lesson: The COVAR Function The COVAR function in Excel calculates the covariance between two equal-sized sets of numbers representing observations of two variables. The covariance measures the extent to which one variable tends to rise or fall with increases and decreases in the other variable. If the two variables rise and fall in unison, their covariance is large and positive. If the two variables move in opposite directions, then their covariance is negative. If the two variables move independently, then their covariance is close to zero. Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Summary Optimization: Answers “What values of the decision variables lead to the best possible value of the objective?” Excel Solver: Collection of optimization procedures Nonlinear Solver is Solver’s default choice Steps: 1) formulating, 2) solving, and 3) interpreting optimization problems. Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Summary These guidelines for model builders are the craft skills typically exhibited by experts: Follow a standard form whenever possible. Enter cell references in the Solver windows; keep numerical values in cells. Try out some feasible (and infeasible) possibilities as a way of debugging the model and exploring the problem. Test intuition and suggest hypotheses before running Solver. Chapter 8 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information herein.