Outline Unconstrained Optimization Functions of One Variable

Slides:



Advertisements
Similar presentations
Chapter 17 Multivariable Calculus.
Advertisements

Fin500J: Mathematical Foundations in Finance
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Nonlinear Programming McCarl and Spreen Chapter 12.
Page 1 Page 1 ENGINEERING OPTIMIZATION Methods and Applications A. Ravindran, K. M. Ragsdell, G. V. Reklaitis Book Review.
Lecture 8 – Nonlinear Programming Models Topics General formulations Local vs. global solutions Solution characteristics Convexity and convex programming.
1. 2 Local maximum Local minimum 3 Saddle point.
Optimization in Engineering Design 1 Lagrange Multipliers.
Optimization using Calculus
Maximization without Calculus Not all economic maximization problems can be solved using calculus –If a manager does not know the profit function, but.
Constrained Maximization
Constrained Optimization Economics 214 Lecture 41.
MAE 552 – Heuristic Optimization Lecture 1 January 23, 2002.
Partial Differentiation & Application
D Nagesh Kumar, IIScOptimization Methods: M2L5 1 Optimization using Calculus Kuhn-Tucker Conditions.
Finding a free maximum Derivatives and extreme points Using second derivatives to identify a maximum/minimum.
D Nagesh Kumar, IIScOptimization Methods: M2L3 1 Optimization using Calculus Optimization of Functions of Multiple Variables: Unconstrained Optimization.
1 Optimization. 2 General Problem 3 One Independent Variable x y (Local) maximum Slope = 0.
THE MATHEMATICS OF OPTIMIZATION
Introduction to Optimization (Part 1)
Applied Economics for Business Management
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
1. Problem Formulation. General Structure Objective Function: The objective function is usually formulated on the basis of economic criterion, e.g. profit,
Chapter 11 Nonlinear Programming
Fin500J: Mathematical Foundations in Finance
Consider minimizing and/or maximizing a function z = f(x,y) subject to a constraint g(x,y) = c. y z x z = f(x,y) Parametrize the curve defined by g(x,y)
Nonlinear Programming Models
Slide 1  2002 South-Western Publishing Web Chapter A Optimization Techniques Overview Unconstrained & Constrained Optimization Calculus of one variable.
D Nagesh Kumar, IIScOptimization Methods: M2L4 1 Optimization using Calculus Optimization of Functions of Multiple Variables subject to Equality Constraints.
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.
(iii) Lagrange Multipliers and Kuhn-tucker Conditions D Nagesh Kumar, IISc Introduction to Optimization Water Resources Systems Planning and Management:
Introduction to Optimization
Calculus-Based Optimization AGEC 317 Economic Analysis for Agribusiness and Management.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
MAXIMA AND MINIMA. ARTICLE -1 Definite,Semi-Definite and Indefinite Function.
Calculus III Hughes-Hallett Chapter 15 Optimization.
Section 15.3 Constrained Optimization: Lagrange Multipliers.
Inequality Constraints Lecture 7. Inequality Contraints (I) n A Review of Lagrange Multipliers –As we discussed last time, the first order necessary conditions.
1 Unconstrained and Constrained Optimization. 2 Agenda General Ideas of Optimization Interpreting the First Derivative Interpreting the Second Derivative.
D Nagesh Kumar, IISc Water Resources Systems Planning and Management: M2L2 Introduction to Optimization (ii) Constrained and Unconstrained Optimization.
Optimal Control.
OBJECTIVE Find relative extrema of a function of two variables.
Chapter 14 Partial Derivatives
Another sufficient condition of local minima/maxima
deterministic operations research
Chapter 11 Optimization with Equality Constraints
Calculus-Based Solutions Procedures MT 235.
MK. OPTMIMASI BAGIAN 2 Kuliah 1: 12 NOVEMBER 2017.
Lecture 8 – Nonlinear Programming Models
Constrained Optimization
Unconstrained and Constrained Optimization
1. Problem Formulation.
L5 Optimal Design concepts pt A
Constrained Optimization
Constrained Optimization – Part 1
Linear Programming I: Simplex method
PRELIMINARY MATHEMATICS
PRELIMINARY MATHEMATICS
7.5 – Constrained Optimization: The Method of Lagrange Multipliers
Shivangi’s Questions z = x3+ 3x2y + 7y +9 What is
Derivatives in Action Chapter 7.
Chapter 7 Functions of Several Variables
Constrained Optimization – Part 1
CS5321 Numerical Optimization
Constrained Optimization
Calculus-Based Optimization AGEC 317
Convex and Concave Functions
Multivariable optimization with no constraints
Analyzing Multivariable Change: Optimization
Presentation transcript:

Outline Unconstrained Optimization Functions of One Variable General Ideas of Optimization First and Second Order Conditions Local v.s. Global Extremum Functions of Several Variables Constrained Optimization Kuhn-Tucker Conditions Sensitivity Analysis Second Order Conditions Fin500J Topic 4 Fall 2010 Olin Business School

Unconstrained Optimization An unconstrained optimization problem is one where you only have to be concerned with the objective function you are trying to optimize. An objective function is a function that you are trying to optimize. None of the variables in the objective function are constrained. Fin500J Topic 4 Fall 2010 Olin Business School

General Ideas of Optimization There are two ways of examining optimization. Maximization (example: maximize profit) In this case you are looking for the highest point on the function. Minimization (example: minimize cost) In this case you are looking for the lowest point on the function. Maximization f(x) is equivalent to minimization –f(x) Fin500J Topic 4 Fall 2010 Olin Business School

Graphical Representation of a Maximum y 16 y = f(x) = -x2 + 8x x 4 8 Fin500J Topic 4 Fall 2010 Olin Business School

Questions Regarding the Maximum What is the sign of f '(x) when x < x*? Note: x* denotes the point where the function is at a maximum. What is the sign of f '(x) when x > x*? What is f '(x) when x = x*? Definition: A point x* on a function is said to be a critical point if f ' (x*) = 0. This is the first order condition for x* to be a maximum/minimum. Fin500J Topic 4 Fall 2010 Olin Business School

Second Order Conditions If x* is a critical point of function f(x), can we decide whether it is a max, a min or neither? Yes! Examine the second derivative of f(x) at x*, f ' '(x*); x* is a maximum of f(x) if f ' '(x*) < 0; x* is a minimum of f(x) if f ' '(x*) > 0; x* can be a maximum, a minimum or neither if f ' '(x*) = 0; Fin500J Topic 4 Fall 2010 Olin Business School

An Example of f''(x*)=0 Suppose y = f(x) = x3, then f '(x) = 3x2 and f ''(x) =6x, This implies that x* = 0 and f ''(x*=0) = 0. y=f(x)=x3 y x x*=0 is a saddle point where the point is neither a maximum nor a minimum Fin500J Topic 4 Fall 2010 Olin Business School

Example of Using First and Second Order Conditions Suppose you have the following function: f(x) = x3 – 6x2 + 9x Then the first order condition to find the critical points is: f’(x) = 3x2 - 12x + 9 = 0 This implies that the critical points are at x = 1 and x = 3. Fin500J Topic 4 Fall 2010 Olin Business School

Example of Using First and Second Order Conditions (Cont.) The next step is to determine whether the critical points are maximums or minimums. These can be found by using the second order condition. f ' '(x) = 6x – 12 = 6(x-2) Testing x = 1 implies: f ' '(1) = 6(1-2) = -6 < 0. Hence at x =1, we have a maximum. Testing x = 3 implies: f ' '(3) = 6(3-2) = 6 > 0. Hence at x =3, we have a minimum. Are these the ultimate maximum and minimum of the function f(x)? Fin500J Topic 4 Fall 2010 Olin Business School

Local Vs. Global Maxima/Minima A local maximum is a point that f(x*) ≥ f(x) for all x in some open interval containing x* and a local minimum is a point that f(x*) ≤ f(x) for all x in some open interval containing x*; A global maximum is a point that f(x*) ≥ f(x) for all x in the domain of f and a global minimum is a point that f(x*) ≤ f(x) for all x in the domain of f. For the previous example, f(x)   as x   and f(x)  - as x  -. Neither critical point is a global max or min of f(x). Fin500J Topic 4 Fall 2010 Olin Business School

Local Vs. Global Maxima/Minima (Cont.) When f ''(x)≥0 for all x, i.e., f(x) is a convex function, then the local minimum x* is the global minimum of f(x) When f ''(x)≤0 for all x, i.e., f(x) is a concave function, then the local maximum x* is the global maximum of f(x) Fin500J Topic 4 Fall 2010 Olin Business School

Conditions for a Minimum or a Maximum Value of a Function of Several Variables Correspondingly, for a function f(x) of several independent variables x Calculate and set it to zero. Solve the equation set to get a solution vector x*. Calculate . Evaluate it at x*. Inspect the Hessian matrix at point x*. Fin500J Topic 4 Fall 2010 Olin Business School

Hessian Matrix of f(x) Fin500J Topic 4 Fall 2010 Olin Business School

Conditions for a Minimum or a Maximum Value of a Function of Several Variables (cont.) Let f(x) be a C2 function in Rn. Suppose that x* is a critical point of f(x), i.e., . If the Hessian is a positive definite matrix, then x* is a local minimum of f(x); If the Hessian is a negative definite matrix, then x* is a local maximum of f(x). If the Hessian is an indefinite matrix, then x* is neither a local maximum nor a local minimum of f(x). Fin500J Topic 4 Fall 2010 Olin Business School

Example Find the local maxs and mins of f(x,y) Firstly, computing the first order partial derivatives (i.e., gradient of f(x,y)) and setting them to zero Fin500J Topic 4 Fall 2010 Olin Business School

Example (Cont.) We now compute the Hessian of f(x,y) The first order leading principal minor is 6x and the second order principal minor is -36xy-81. At (0,0), these two minors are 0 and -81, respectively. Since the second order leading principal minor is negative, (0,0) is a saddle of f(x, y), i.e., neither a max nor a min. At (3, -3), these two minors are 18 and 243. So, the Hessian is positive definite and (3,-3) is a local min of f(x,y). Is (3, -3) a global min? Fin500J Topic 4 Fall 2010 Olin Business School

Global Maxima and Minima of a Function of Several Variables Let f(x) be a C2 function in Rn, then When f(x) is a concave function, i.e., is negative semidefinite for all x and , then x* is a global max of f(x); When f(x) is a convex function, i.e., is positive semidefinite for all x and , then x* is a global min of f(x); Fin500J Topic 4 Fall 2010 Olin Business School

Example (Discriminating Monopolist) A monopolist producing a single output has two types of customers. If it produces q1 units for type 1, then these customers are willing to pay a price of 50-5q1 per unit. If it produces q2 units for type 2, then these customers are willing to pay a price of 100-10q2 per unit. The monopolist’s cost of manufacturing q units of output is 90+20q. In order to maximize profits, how much should the monopolist produce for each market? Profit is: Fin500J Topic 4 Fall 2010 Olin Business School

Constrained Optimization Examples: Individuals maximizing utility will be subject to a budget constraint Firms maximising output will be subject to a cost constraint The function we want to maximize/minimize is called the objective function The restriction is called the constraint Fin500J Topic 4 Fall 2010 Olin Business School 19

Constrained Optimization (General Form) A general mixed constrained multi-dimensional maximization problem is Fin500J Topic 4 Fall 2010 Olin Business School

Constrained Optimization (Lagrangian Form) The Lagrangian approach is to associate a Lagrange multiplier i with the i th inequality constraint and μi with the i th equality constraint. We then form the Lagrangian Fin500J Topic 4 Fall 2010 Olin Business School

Constrained Optimization (Kuhn-Tucker Conditions) If is a local maximum of f on the constraint set defined by the k inequalities and m equalities, then, there exists multipliers satisfying Fin500J Topic 4 Fin500J Topic 4 Fall 2010 Olin Business School Fall 2008 22

Constrained Optimization (Kuhn-Tucker Conditions) The first set of KT conditions generalizes the unconstrained critical point condition The second set of KT conditions says that x needs to satisfy the equality constraints The third set of KT conditions is That is to say Fin500J Topic 4 Fin500J Topic 4 Fall 2010 Olin Business School Fall 2008 23

Constrained Optimization (Kuhn-Tucker Conditions) This can be interpreted as follows: Additional units of the resource bi only have value if the available units are used fully in the optimal solution, i.e., if the constraint is not binding thus it does not make difference in the optimal solution and i*=0. Finally, note that increasing bi enlarges the feasible region, and therefore increases the objective value Therefore, i0 for all i Fin500J Topic 4 Fin500J Topic 4 Fall 2010 Olin Business School Fall 2008 24

Example 9 Fin500J Topic 4 Fin500J Topic 4 Fall 2010 Olin Business School Fall 2008 25

Example (cont.) Write (1) without minus signs as … Fin500J Topic 4 Fall 2010 Olin Business School Fall 2008 26