Nonlinear Programming (NLP) Operation Research December 29, 2014 RS and GISc, IST, Karachi.

Slides:



Advertisements
Similar presentations
3.4 Linear Programming 10/31/2008. Optimization: finding the solution that is either a minimum or maximum.
Advertisements

Nonlinear Programming McCarl and Spreen Chapter 12.
10-1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Nonlinear Programming Chapter 10.
Linear Programming Problem
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Page 1 Page 1 ENGINEERING OPTIMIZATION Methods and Applications A. Ravindran, K. M. Ragsdell, G. V. Reklaitis Book Review.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Introduction to Management Science
Lecture 8 – Nonlinear Programming Models Topics General formulations Local vs. global solutions Solution characteristics Convexity and convex programming.
Nonlinear Programming
Thursday, April 25 Nonlinear Programming Theory Separable programming Handouts: Lecture Notes.
MIT and James Orlin © Nonlinear Programming Theory.
Optimization using Calculus
ENGR 351 Numerical Methods Instructor: Dr. L.R. Chevalier
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 8-1 Introduction to Nonlinear Programming (NLP)
Finance 510: Microeconomic Analysis
Nonlinear Programming and Inventory Control (Multiple Items)
6s-1Linear Programming CHAPTER 6s Linear Programming.
Review of Reservoir Problem OR753 October 29, 2014 Remote Sensing and GISc, IST.
D Nagesh Kumar, IIScOptimization Methods: M2L3 1 Optimization using Calculus Optimization of Functions of Multiple Variables: Unconstrained Optimization.
Lecture 9 – Nonlinear Programming Models
Optimization of Linear Problems: Linear Programming (LP) © 2011 Daniel Kirschen and University of Washington 1.
Linear-Programming Applications
Introduction to Optimization (Part 1)
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Linear Programming Models: Graphical and Computer Methods
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Chapter 13 Supplement.
ENCI 303 Lecture PS-19 Optimization 2
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Nonlinear Programming.  A nonlinear program (NLP) is similar to a linear program in that it is composed of an objective function, general constraints,
Nonlinear Programming
L4 Graphical Solution Homework See new Revised Schedule Review Graphical Solution Process Special conditions Summary 1 Read for W for.
Ken YoussefiMechanical Engineering Dept. 1 Design Optimization Optimization is a component of design process The design of systems can be formulated as.
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
Graphing Linear Inequalities in Two Variables Chapter 4 – Section 1.
Linear Programming Data Structures and Algorithms A.G. Malamos References: Algorithms, 2006, S. Dasgupta, C. H. Papadimitriou, and U. V. Vazirani Introduction.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Systems of Inequalities in Two Variables Sec. 7.5a.
Managerial Economics Prof. M. El-Sakka CBA. Kuwait University Managerial Economics in a Global Economy Chapter 2 Optimization Techniques and New Management.
Linear Programming. Many mathematical models designed to solve problems in business, biology, and economics involve finding the optimum value (maximum.
Nonlinear Programming Models
Slide 1  2002 South-Western Publishing Web Chapter A Optimization Techniques Overview Unconstrained & Constrained Optimization Calculus of one variable.
Nonlinear Programming I Li Xiaolei. Introductory concepts A general nonlinear programming problem (NLP) can be expressed as follows: objective function.
Optimization unconstrained and constrained Calculus part II.
4.1 Extreme Values of Functions
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Chapter 7 Nonlinear Optimization Models. Introduction The objective and/or the constraints are nonlinear functions of the decision variables. Select GRG.
Introduction to Optimization
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Calculus-Based Optimization AGEC 317 Economic Analysis for Agribusiness and Management.
Nonlinear Programming In this handout Gradient Search for Multivariable Unconstrained Optimization KKT Conditions for Optimality of Constrained Optimization.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
1 Unconstrained and Constrained Optimization. 2 Agenda General Ideas of Optimization Interpreting the First Derivative Interpreting the Second Derivative.
3-5: Linear Programming. Learning Target I can solve linear programing problem.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
Department of Business Administration SPRING Management Science by Asst. Prof. Sami Fethi © 2007 Pearson Education.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
deterministic operations research
Business Department SPRING FINAL EXAM/REVISION.
3-3 Optimization with Linear Programming
Linear Programming.
Chapter 7 Optimization.
Outline Unconstrained Optimization Functions of One Variable
Calculus-Based Optimization AGEC 317
Presentation transcript:

Nonlinear Programming (NLP) Operation Research December 29, 2014 RS and GISc, IST, Karachi

Introduction In LP, the goal is to maximize or minimize a linear function subject to linear constraints But in many real-world problems, either –objective function may not be a linear function, or –some of the constraints may be nonlinear Functions having exponents, logarithms, square roots, products of variables, and so on are nonlinear

NLP Optimization problems that involve nonlinear functions are called nonlinear programming (NLP) optimization Solution methods are more complex than linear programming methods Solution techniques generally involve searching a solution surface for high or low points requiring the use of advanced mathematics NLPs that do not have any constraints are called unconstrained NLPs

Optimality Conditions: Unconstrained optimization Can be solved using calculus For Z=f(X), the optimum occurs at the point where f '(X) =0 and f’''(X) meets second order conditions –A relative minimum occurs where f '(X) =0 and f’''(X) >0 –A relative maximum occurs where f '(X) =0 and f’''(X) <0

Concavity and Second Derivative f’’(x) 0 local max and global max local max local min local min and global min

Solution process is straightforward using calculus: f'(x) = -2x + 9 Set this equal to zero and obtain x = 4.5 f''(x) = -2 which is negative at x = 4.5 (or at any other x-value) so we have indeed found a maximum rather than a minimum point So the function is maximized when x = 4.5, with a maximum value of (4.5) + 4 = Example: An unconstrained problem

Problem One problem is difficulty in distinguishing between a local and global minimum or maximum point Local maximum Global maximum This is trickier: a value x whose first derivative is zero and whose second derivative is negative is not necessarily the solution point! It could be a local maximum point rather than the desired global maximum point.

Feasible region Solution point In the case of this constrained optimization problem basic calculus is of no value, as the derivative at the solution point is not equal to zero 8

Problems Solutions to NLPs are found using search procedures Search can fail!!!

NLP Example: Searches Can Fail! Maximize f(x) = x x x  The correct answer is that the problem is unbounded. There is no solution point!  Solvers may converge to a local maximum

11 Profit function, Z, with volume independent of price: Z = vp - c f - vc v where v = sales volume p = price c f = unit fixed cost c v = unit variable cost Add volume/price relationship: v = 1, p Figure 1 Linear Relationship of Volume to Price Example

12 Profit, Z = 1,696.8p p ,000 Figure 2 The Nonlinear Profit Function With fixed cost (c f = $10,000) and variable cost (c v = $8):

13 The slope of a curve at any point is equal to the derivative of the curve’s function. The slope of a curve at its highest point equals zero. Figure 3 Maximum profit for the profit function Optimal Value of a Single Nonlinear Function= Maximum Point on a Curve

14 Z = 1,696.8p p 2 -22,000 dZ/dp = 1, p = 0 p = /49.2 = $34.49 v = 1, p v = pairs of jeans Z = $7, Figure 4 Maximum Profit, Optimal Price, and Optimal Volume Optimal Value of a Single Nonlinear Function Solution Using Calculus

15 If a nonlinear problem contains one or more constraints it becomes a constrained optimization model A nonlinear programming model has the same general form as the linear programming model except that the objective function and/or the constraint(s) are nonlinear. Solution procedures are much more complex and no guaranteed procedure exists for all NLP models. Constrained Optimization in Nonlinear Problems Definition

16 Effect of adding constraints to nonlinear problem: Figure 5 Nonlinear Profit Curve for the Profit Analysis Model Constrained Optimization in Nonlinear Problems Graphical Interpretation (1 of 3)

17 Figure 6 A Constrained Optimization Model Constrained Optimization in Nonlinear Problems Graphical Interpretation (2 of 3)- First constrained p<= 20

18 Figure 7 A Constrained Optimization Model with a Solution Point Not on the Constraint Boundary Constrained Optimization in Nonlinear Problems Graphical Interpretation (3 of 3) Second constrained p<= 40

19 Unlike linear programming, solution is often not on the boundary of the feasible solution space. Cannot simply look at points on the solution space boundary but must consider other points on the surface of the objective function. This greatly complicates solution approaches. Solution techniques can be very complex. Constrained Optimization in Nonlinear Problems Characteristics

20 Centrally locate a facility that serves several customers or other facilities in order to minimize distance or miles traveled (d) between facility and customers. d i = sqrt[(x i - x) 2 + (y i - y) 2 ] Where: (x,y) = coordinates of proposed facility (x i,y i ) = coordinates of customer or location facility i Minimize total miles d =  d i t i Where: d i = distance to town i t i =annual trips to town i Facility Location Example Problem Problem Definition and Data (1 of 2)

21 Facility Location Example Problem Problem Definition and Data (2 of 2)

Facility Location Example Problem: Using Excel Solver

Excel Solver

24 Figure 13 Facility Location Example Problem Solution Using Excel

25 Facility Location Example Problem Solution Map di = sqrt[(xi - x) 2 + (yi - y) 2 ] d A =sqrt[( ) 2 + ( ) 2 ] d A = d E =6.22 d =  diti d = 4.57(75) (13.02) d = total annual distance

26 Rescue Squad Facility Location Facility Location Example Problem Solution Map X = , Y =

More Examples