Optimization. Next: Curve Fitting Up: Numerical Analysis for Chemical Previous: Linear Algebraic and Equations. Subsections

Similar documents
Optimization. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Optimization 1 / 30

Gradient Descent. Dr. Xiaowei Huang

Nonlinear Optimization: What s important?

Optimization: Nonlinear Optimization without Constraints. Nonlinear Optimization without Constraints 1 / 23

Lecture 18: Optimization Programming

Scientific Computing: Optimization

IE 5531: Engineering Optimization I

E5295/5B5749 Convex optimization with engineering applications. Lecture 8. Smooth convex unconstrained and equality-constrained minimization

Optimization. Totally not complete this is...don't use it yet...

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

Numerical Optimization. Review: Unconstrained Optimization

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey

Numerical optimization

Optimization Concepts and Applications in Engineering

Numerical optimization. Numerical optimization. Longest Shortest where Maximal Minimal. Fastest. Largest. Optimization problems

Motivation: We have already seen an example of a system of nonlinear equations when we studied Gaussian integration (p.8 of integration notes)

Contents. Preface. 1 Introduction Optimization view on mathematical models NLP models, black-box versus explicit expression 3

Roots of equations, minimization, numerical integration

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

8 Numerical methods for unconstrained problems

Introduction to unconstrained optimization - direct search methods

Outline. Scientific Computing: An Introductory Survey. Optimization. Optimization Problems. Examples: Optimization Problems

IE 5531: Engineering Optimization I

Numerical Optimization Professor Horst Cerjak, Horst Bischof, Thomas Pock Mat Vis-Gra SS09

Practical Optimization: Basic Multidimensional Gradient Methods

Fitting The Unknown 1/28. Joshua Lande. September 1, Stanford

GENG2140, S2, 2012 Week 7: Curve fitting

Optimization Methods

Chapter 4. Unconstrained optimization

MVE165/MMG631 Linear and integer optimization with applications Lecture 13 Overview of nonlinear programming. Ann-Brith Strömberg

Constrained optimization. Unconstrained optimization. One-dimensional. Multi-dimensional. Newton with equality constraints. Active-set method.

ISM206 Lecture Optimization of Nonlinear Objective with Linear Constraints

MATH 4211/6211 Optimization Basics of Optimization Problems

CoE 3SK3 Computer Aided Engineering Tutorial: Unconstrained Optimization

LECTURE 22: SWARM INTELLIGENCE 3 / CLASSICAL OPTIMIZATION

ECE 595, Section 10 Numerical Simulations Lecture 7: Optimization and Eigenvalues. Prof. Peter Bermel January 23, 2013

Nonlinear Optimization for Optimal Control

Numerical Optimization of Partial Differential Equations

LINEAR AND NONLINEAR PROGRAMMING

2.098/6.255/ Optimization Methods Practice True/False Questions

Review for Exam 2 Ben Wang and Mark Styczynski

Introduction to Nonlinear Optimization Paul J. Atzberger

Optimization Tutorial 1. Basic Gradient Descent

IE 5531: Engineering Optimization I

Lecture 3: Basics of set-constrained and unconstrained optimization

Multidisciplinary System Design Optimization (MSDO)

Lecture 8 Optimization

NUMERICAL MATHEMATICS AND COMPUTING

Constrained optimization: direct methods (cont.)

Numerical Optimization

17 Solution of Nonlinear Systems

Nonlinear Equations and Continuous Optimization

Lecture 7: Minimization or maximization of functions (Recipes Chapter 10)

Line Search Methods. Shefali Kulkarni-Thaker

OPER 627: Nonlinear Optimization Lecture 14: Mid-term Review

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20

Numerical Optimization

NonlinearOptimization

Optimization and Root Finding. Kurt Hornik

Constrained Optimization

Optimality conditions for Equality Constrained Optimization Problems

Trajectory-based optimization

Computer Aided Design of Thermal Systems (ME648)

MULTI VARIABLE OPTIMIZATION

Numerical Optimization Techniques

1 Computing with constraints

Numerical Methods I Solving Nonlinear Equations

UNCONSTRAINED OPTIMIZATION

Introduction to Unconstrained Optimization: Part 2

ECS550NFB Introduction to Numerical Methods using Matlab Day 2

FALL 2018 MATH 4211/6211 Optimization Homework 4

MA/OR/ST 706: Nonlinear Programming Midterm Exam Instructor: Dr. Kartik Sivaramakrishnan INSTRUCTIONS

Optimization Methods

Quasi-Newton Methods

Mathematical optimization

Numerical Optimization: Basic Concepts and Algorithms

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

Chapter III. Unconstrained Univariate Optimization

ECE580 Partial Solution to Problem Set 3

Trust Region Methods. Lecturer: Pradeep Ravikumar Co-instructor: Aarti Singh. Convex Optimization /36-725

Chapter 3 Numerical Methods

446 CHAP. 8 NUMERICAL OPTIMIZATION. Newton's Search for a Minimum of f(x,y) Newton s Method

Unconstrained Multivariate Optimization

AM 205: lecture 18. Last time: optimization methods Today: conditions for optimality

CS 323: Numerical Analysis and Computing

CHAPTER 2: QUADRATIC PROGRAMMING

Generalization to inequality constrained problem. Maximize

Multivariate Newton Minimanization

The Steepest Descent Algorithm for Unconstrained Optimization

On prediction. Jussi Hakanen Post-doctoral researcher. TIES445 Data mining (guest lecture)

Optimization. Yuh-Jye Lee. March 21, Data Science and Machine Intelligence Lab National Chiao Tung University 1 / 29

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that

Appendix A Taylor Approximations and Definite Matrices

Optimization Methods. Lecture 18: Optimality Conditions and. Gradient Methods. for Unconstrained Optimization

CS 323: Numerical Analysis and Computing

Structural and Multidisciplinary Optimization. P. Duysinx and P. Tossings

Today. Introduction to optimization Definition and motivation 1-dimensional methods. Multi-dimensional methods. General strategies, value-only methods

AM 205: lecture 19. Last time: Conditions for optimality Today: Newton s method for optimization, survey of optimization methods

Optimization with Scipy (2)

Transcription:

Next: Curve Fitting Up: Numerical Analysis for Chemical Previous: Linear Algebraic and Equations Subsections One-dimensional Unconstrained Optimization Golden-Section Search Quadratic Interpolation Newton's Method Multidimensional Unconstrained Optimization Direct Methods Gradient Methods Contrained Optimization Linear Programming Optimization with Packages Engineering Applications: Optimization Optimization Figure 4.1: The illustation of the difference between roots and optima. An optimization or mathematical programming problem Find, which minimizes or maximizes subject to (4.1) (4.2)

where is an n-dimensional design vector, is the objective function, are inequality constraints, are equality constraints. Classification of optimization problem The form of : If and the constraints are linear, linear programming. If is quadratic and the constraints are linear, quadratic programming. If is not linear or quadratic and/or the constraints are nonlinear, nonlinear programming. For constrained problem Unconstained optimization Constrained optimization Dimensionality One-dimensional problem Multi-dimensional problem One-dimensional Unconstrained Optimization Golden-Section Search Figure 4.2: The illustation of the Golden-section search method. Golden-section search method is similar to the bisection method in solving for the root of a single nonlinear equation. Golden-section search method can be achived by specifying that the following two conditions hold: (4.3) (4.4) Defining (4.5)

This value is called the golden ratio. Disadvantages Many evaluation Time-consuming evaluation Quadratic Interpolation Quadratic interpolation takes advantages of the fact that a second-order polynomial often provides a good approximation to the shape of near an optimum. An estimate of the optimal (4.6) Newton's Method At an optimum, the optimal value satisfy (4.7) With a second-order Taylor series of, we can find the following equations for an estimate of the optimal (4.8) Multidimensional Unconstrained Optimization Classification of unconstrained optimization problems Nongradient or direct methods Gradient or descent methods Direct Methods

Figure 4.3: Conjugate directions. These methods vary from simple brute force approaches to more elegant techniques that attempt to exploit the nature of the function. random search : repeatedly evaluates the function at randomly selected values of the independent variables. univariate search : change one variable at a time to improve the approximation while the other variables are held constant. Since only one variable is changed, the problem reduces to a sequence of one-dimensional searches. Gradient Methods Gradient methods use derivative information to generate efficient algorithms to locate optima. The gradient is defined as (4.9) Derivative information First derivative: a steepest trajectory of the function whether it is a optima Second derivative: called as Hessian, If, it is a local minimum If, it is a local maximum If, it is a saddle point The quantity is equal to the determinant of a matrix made up of the second derivatives and, for example, the Hessian of a twodimensional system is

The steepest-descent algorithm is summaried as Determine the best direction Determine the best value along the search direction. 1. Calculate the partial derivatives 2. Calculate the search vector 3. Use the relation to obtain the value of. To get use the following equations To get the minimum, differentiate with respect to and equate the derivative to zero with the result Contrained Optimization Linear Programming Four general outcome from linear programming Unique solution Alternate solutions

No feasible solution Unbounded problems Optimization with Packages Matlab: fmin : Minimize function of one variable fmins : Minimiza function of several varaibles fsolve : Solve nonlinear equations by a least squares method IMSL : various routines are exist to solve optimization problems Engineering Applications: Optimization See the textbook Next: Curve Fitting Up: Numerical Analysis for Chemical Previous: Linear Algebraic and Equations Taechul Lee 2001-11-29