Supplementary Chapter A Nonlinear and Non-Smooth Optimization

Slides:



Advertisements
Similar presentations
Optimization problems using excel solver
Advertisements

BU Decision Models Integer_LP1 Integer Optimization Summer 2013.
Lesson 08 Linear Programming
10-1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Nonlinear Programming Chapter 10.
Linear Programming Problem
6 | 1 Copyright © Cengage Learning. All rights reserved. Independent Demand Inventory Materials Management OPS 370.
Chapter 11, Part A Inventory Models: Deterministic Demand
Introduction to Management Science
© 2007 Pearson Education Chapter 14: Solving and Analyzing Optimization Models.
Inventory Control Models
Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter.
Non Linear Programming 1
Optimization using Calculus
Calculus-Based Solutions Procedures
Math443/543 Mathematical Modeling and Optimization
Nonlinear Programming and Inventory Control (Multiple Items)
Example 7.1 Pricing Models | 7.3 | 7.4 | 7.5 | 7.6 | 7.7 | 7.8 | 7.9 | 7.10 | Background Information n The Madison.
An Inventory-Location Model: Formulation, Solution Algorithm and Computational Results Mark S. Daskin, Collete R. Coullard and Zuo-Jun Max Shen presented.
Inventory Management for Independent Demand
MNG221- Management Science –
Chapter 3 Introduction to Optimization Modeling
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
Roman Keeney AGEC  In many situations, economic equations are not linear  We are usually relying on the fact that a linear equation.
Chapter 12 Inventory Models
Classifying optimization problems By the independent variables: –Integer optimization --- integer variables –Continuous optimization – real variables By.
Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter 7.
CHAPTER 12 Inventory Control.
1 ENM 503 Block 1 Algebraic Systems Lesson 5 – Algebraic Models Relive those old college algebra days when solving an equation was child’s play …
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents CD Chapter 18 (Inventory Management with Known Demand) A Case Study—The.
1 Slides used in class may be different from slides in student pack Chapter 17 Inventory Control  Inventory System Defined  Inventory Costs  Independent.
Nonlinear Programming (NLP) Operation Research December 29, 2014 RS and GISc, IST, Karachi.
Business Analytics with Nonlinear Programming
Spreadsheet Modeling & Decision Analysis:
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Strategic Production Planning Now showing at your local university.
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
Principles of Engineering Economic Analysis, 5th edition Chapter 15 Capital Budgeting.
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 Chapter 6 –Inventory Management Policies Operations Management by R. Dan Reid & Nada R. Sanders 4th Edition © Wiley 2010.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
© The McGraw-Hill Companies, Inc., Chapter 14 Inventory Control.
Math Programming Concept of Optimization (L.O. a ) Linear Programming Managerial Value of Information (L.O. d) Theory (L.O. b) Example Applications (L.O.
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
Inventory Management for Independent Demand Chapter 12.
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.
CDAE Class 23 Nov. 14 Last class: Result of Quiz 6 4. Queuing analysis and applications Project 3 Today: 4. Queuing analysis and applications Problem.
Chapter 17 Inventory Control
Inventory Management for Independent Demand Chapter 12, Part 1.
EMGT 5412 Operations Management Science Nonlinear Programming: Introduction Dincer Konur Engineering Management and Systems Engineering 1.
Linear Programming Applications
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Appendix A with Woodruff Edits Linear Programming Using the Excel Solver Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Homework 1- Gateway.
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.
A Multiperiod Production Problem
Solver & Optimization Problems
Algorithm Design Methods
Calculus-Based Solutions Procedures MT 235.
CHAPTER 8 Operations Scheduling
Stevenson 5 Capacity Planning.
Linear Programming Introduction.
Algorithm Design Methods
Algorithm Design Methods
Linear Programming Introduction.
Algorithm Design Methods
Integer Linear Programming
Linear Programming.
Inventory Models Dr. Titus Bitek Watmon.
Presentation transcript:

Supplementary Chapter A Nonlinear and Non-Smooth Optimization

Modeling and Solving Nonlinear Optimization Problems The objective and constraint functions for nonlinear optimization models do not have a linear structure like linear and integer optimization models. Building models relies on fundamental modeling principles, business logic, functional relationships, and data-fitting techniques. Nonlinear models are generally more difficult to solve. Solver provides efficient solution procedures.

A Nonlinear Pricing Decision Model Sales = -2.9485 × price + 3240.9 Total revenue = (price)(sales) = price × (-2.9485 × price + 3240.9) = 22.9485 × price2 + 3240.9 × price Identify the price that maximizes total revenue, subject to any constraints that might exist.

Example A.1: Solving the Pricing Decision Model Spreadsheet and Solver model Premium Solver solution algorithm

Example A.2: A Hotel Pricing Model The Marquis Hotel is considering a major remodeling effort and needs to determine the best combination of rates and room sizes to maximize revenues while keeping the number of rooms at or below the current capacity of 450.

Example A.2 Continued For example, using a standard room: Projected number of rooms sold for a given room type = For example, using a standard room: [250 – 1.5(S – 85)(250)]/85 = 625 – 4.41176(S) where S = new Standard room price

Example 16.2 Continued Model

Example A.2 Continued Spreadsheet model

Example A.2 Continued Solver model

Interpreting Solver Reports for Nonlinear Optimization Models Solver provides Answer, Sensitivity, and Limits reports for nonlinear optimization models. However, the Sensitivity report is quite different from that for linear models.

Example A.3: Interpreting Solver Reports for the Hotel Pricing Model Answer Report

Example A.3 Continued Sensitivity Report Lagrange multipliers are similar to shadow prices but are only approximations. If the number of rooms increased by 1, the approximate revenue increase would be $12.08 (the actual increase found by re-solving is $11.87).

Locating Central Facilities A common problem in designing service systems is to locate a facility in a “central” location with respect to other facilities to minimize some measure of distance from the central location to each of the other facilities. Distance measures: Straight line (Euclidean) distance is the hypotenuse of the triangle. Rectilinear distance is the sum of the left and bottom sides of the triangle.

Example A.4: Finding the Best Location for a Medical Laboratory A medical testing laboratory collects blood samples from 5 local hospitals. Managers want to determine the best location for a new testing facility, taking into consideration both distance and number of trips per month.

Example A.4 Continued Distance between each hospital and the new facility is assumed to be straight line Define (Xi , Yi) as the coordinates of hospital i (Xc ,Yc) as the coordinates of the laboratory

Example A.4 Continued Spreadsheet model The Solver model minimizes the total distance in cell C20 by changing the decision variables in cells B23 and C23.

Example A.4 Continued Bubble chart of hospital and optimal laboratory (star) locations. Size of bubbles correspond to the number of trips/month.

The Economic Order-Quantity (EOQ) Model The EOQ model is used to optimize inventories of retail goods such as groceries and commodities that have stable demand over time. Inventory costs: Purchase costs—unit costs per item to purchase from suppliers Order preparation costs—costs involve the time spent preparing and placing orders, such as clerical, telephone, receiving, and inspection time Inventory-holding cost—all expenses associated with carrying inventory, such as rent on storage space, utilities, insurance, taxes, and the cost of capital Shortage costs—additional costs for shipping, invoicing, and labor for back orders or lost profit opportunities and possible future loss of revenues because of lost sales The economic order quantity is the amount to order that minimizes the total cost of ordering and holding.

EOQ Model Assumptions 1. Only a single inventory item is considered. 2. The entire quantity arrives at one time. 3. The demand for the item is constant over time. 4. No shortages are allowed.

EOQ Model Development Q = order quantity D = annual demand C = unit cost of the item C0 = cost per order placed i = inventory carrying charge per unit

Example A.5: Solving the EOQ Model Annual demand = 15,000 units. Ordering costs = $200 per order. Purchase cost = $22 per item. Carrying charge rate = 20%.

Example A.5 Continued Spreadsheet and Solver model

Example A.5 Continued Spreadsheet model formulas

The When-to-Order Decision The EOQ model does not specify when to order. The reorder point is the inventory level when a new order is placed. Lead time is how long it takes to receive an item once the order is placed. Set the reorder point to be the inventory level that provides enough stock to satisfy all demand during the lead time.

Reorder Point Example In the previous example, suppose lead time is t = 1 week (1/52 = 0.0192 years). D =15,000/year Reorder point = Demand during lead time = Dt = (15,000 units/year)(0.0192 years) = 288 units If we place an order when the inventory level reaches 288, then the order will arrive when the stock level falls to zero.

Using Empirical Data for Nonlinear Optimization Modeling For many applications of nonlinear optimization, the form of the objective or constraint functions are derived from empirical data. We can use line-fitting techniques to establish the functions.

Example A.6: A Model for Advertising Strategy DTP Corporation produces two major products. The total budget for advertising is $500,000. Experimental data has been collected on profits resulting from various advertising expenditures. How should DTP allocate the $500,000 between the two products, assuming that at least $50,000 must be spent on each product?

Example A.6 Continued Using Trendlines, logarithmic functions fit the data:

Example A.6 Continued Optimization model

Example A.6 Continued Spreadsheet and Solver model

Practical Issues Using Solver for Nonlinear Optimization Solver cannot guarantee finding the absolute best solution (global optimal solution) to nonlinear problems. A local optimal solution is one for which all points close by are no better than the solution The message, “Solver has found a solution” indicates at least a local optimum. If you get the message “Solver has converged to the current solution. All constraints are satisfied.” then you should run Solver again from the current solution to try to find a better solution.

Quadratic Optimization A quadratic optimization model is one that has a quadratic objective and all linear constraints. Recall from algebra that a quadratic function is f(x) = ax2 + bx + c. In other words, a quadratic function has only constant, linear, and squared terms. Quadratic optimization models can be solved using the Standard LP/Quadratic solving method within Solver.

The Markowitz Portfolio Model The Markowitz portfolio model is a classic quadratic optimization model in finance that seeks to minimize risk of an investment portfolio subject to a constraint on the portfolio’s expected return. Risk is measured using variances and covariances of the individual investments.

Model Development xi = fraction of the portfolio invested in stock i The risk of a portfolio is weighted sum of the variances and covariances

Example A.7: An Example of the Markowitz Model An investor is considering 3 stock investments. Variance-covariance matrix

Spreadsheet Model

Solver Model

Sensitivity Report The Lagrange multiplier predicts that the minimum variance will increase by 63.2% if the target return is increased from 10% to 11%. If you re-solve the model, you will find that the minimum variance increases to 0.020, a 66.67% increase.

Parameter Analysis Using spreadsheet models and Solver, it is easy to systematically vary a parameter of a model and investigate its impact on the solution. For example, in the Markowitz model, we might be interested in understanding the relationship between the minimum risk and the target return.

Example A.8: Analyzing Risk versus Reward Solver Parameter Analysis Results

Example A.8 Continued Alternative modeling approach – maximize the return subject to a constraint on risk. For example, suppose the investor wants to maximize expected return subject to a risk (variance) no greater than 1%:

Evolutionary Solver for Non-Smooth Optimization Excel functions IF, ABS, MAX, MIN lead to non- smooth models (that violate linearity conditions). Solver’s Standard Evolutionary algorithm can be used to solve non-smooth models using a heuristic solution approach. Heuristics are intelligent rules to search among solutions and find better solutions.

Spreadsheet Models with Non-Smooth Excel Functions Alternate spreadsheet model for K&L Designs example with fixed costs (Chapter 15) In this way, there is no need for the binary variables and the additional constraints that involve them, which are more difficult to logically understand and model. Pi ≥ 0 Ij ≥ 0

Example A.9: Using Evolutionary Solver for the K&L Design Fixed-Cost Problem The Evolutionary Solver algorithm requires that all variables have simple upper and lower bounds to restrict the search space to a manageable region. Thus, we set upper bounds of 600 (the total demand) and lower bounds of 0 for each of them.

Example A.10: A Rectilinear Location Model Edwards Manufacturing is studying where to locate a tool bin on the factory floor. X,Y coordinates of the 5 production areas and demand for tools are shown below. Distances to the tool bin are rectilinear (parallel to the coordinate system).

Example A.10 Continued Optimization model: For Evolutionary Solver, set bounds to restrict the search space. X ≥ 0 Y ≥ 0 X ≤ 5 Y ≤ 5

Example A.10 Continued Spreadsheet and Solver model

Optimization Models for Sequencing and Scheduling Job-sequencing problems involve finding an optimal sequence by which to process jobs. Lateness (Li) is the difference between completion time (Ci) and due date (Di): Li = Ci – Di (A.10) Tardiness (Ti) is the amount of time by which completion time exceeds due date: Ti = max {0, Li} (A.11)

Sequencing Rules Shortest processing time (SPT) sequencing of jobs minimizes the average completion time for all jobs. Earliest due date (EDD) sequencing of jobs minimizes the maximum number of tardy jobs. Other criteria such as average tardiness, total tardiness, or total lateness are also of interest. Evolutionary Solver can be used for such problems.

Example A.11: Finding Optimal Job Sequences A custom manufacturing company has 10 jobs waiting to be processed. Processing times and due dates are shown below. A sequence of integers for the job ordering is called a permutation. The objective is to find the permutation that optimizes the chosen criteria.

Example A.11 Continued Spreadsheet model

Example A.11 Continued Solver model Minimize total tardiness

The Traveling Salesperson Problem (TSP) A salesperson needs to visit n different cities and return home in the minimum total distance. A tour is a route that visits each city once and returns to the start. Applications include FedEx, UPS, and soft drink vendors that deliver goods to customers. With n customers or cities, there are (n−1)! tours. If n = 14, more than 6 billion tours are possible.

Example A.12: Touring American Baseball League Cities A baseball fan living in Detroit wants to visit 14 ballparks of American League teams.

Example A.12 Continued Number the cities from 0 to 13. City 0 will be the starting/ending point and any city can be assigned this position. The 13 decision variables are the city to visit next (from cities 0 to 12). City 13 is assigned to return to city 0. Use the alldifferent constraint for 13 decision variables so that each city is visited only once.

Example A.12 Continued Spreadsheet formulas

Example A.12 Continued Solver model and solution