One Dimensional Search

Slides:



Advertisements
Similar presentations
Part 2 Chapter 6 Roots: Open Methods
Advertisements

Chapter 6: Roots: Open Methods
Lecture 5 Newton-Raphson Method
Part 2 Chapter 6 Roots: Open Methods
Line Search.
Yunfei duan Hui Pan.  A parabola through three points f(a) f(b) f(c)  for the derivation of this formula is from  denominator should not be zero.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 One-Dimensional Unconstrained Optimization Chapter.
Optimization 吳育德.
Optimization Introduction & 1-D Unconstrained Optimization
Nonlinear programming: One dimensional minimization methods
MIT and James Orlin © Nonlinear Programming Theory.
PHYS2020 NUMERICAL ALGORITHM NOTES ROOTS OF EQUATIONS.
CSCE Review—Fortran. CSCE Review—I/O Patterns: Read until a sentinel value is found Read n, then read n things Read until EOF encountered.
Curve-Fitting Interpolation
Engineering Optimization
Revision.
Optimization Mechanics of the Simplex Method
Optimization Methods One-Dimensional Unconstrained Optimization
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 181 Interpolation Chapter 18 Estimation of intermediate.
Open Methods Chapter 6 The Islamic University of Gaza
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 181 Interpolation.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Interpolation Chapter 18.
Optimization Methods One-Dimensional Unconstrained Optimization
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 171 Least.
Tier I: Mathematical Methods of Optimization
Chapter 3 Root Finding.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
UNCONSTRAINED MULTIVARIABLE
Chapter 2 Single Variable Optimization
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.
Solving Non-Linear Equations (Root Finding)
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 Roots of Equations Why? But.
Chapter 17 Boundary Value Problems. Standard Form of Two-Point Boundary Value Problem In total, there are n 1 +n 2 =N boundary conditions.
84 b Unidimensional Search Methods Most algorithms for unconstrained and constrained optimisation use an efficient unidimensional optimisation technique.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Chapter 7 Optimization. Content Introduction One dimensional unconstrained Multidimensional unconstrained Example.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Numerical Methods.
Newton’s Method, Root Finding with MATLAB and Excel
Today’s class Roots of equation Finish up incremental search
Solving Non-Linear Equations (Root Finding)
L22 Numerical Methods part 2 Homework Review Alternate Equal Interval Golden Section Summary Test 4 1.
1 Chapter 6 General Strategy for Gradient methods (1) Calculate a search direction (2) Select a step length in that direction to reduce f(x) Steepest Descent.
4 Numerical Methods Root Finding Secant Method Modified Secant
SOLVING NONLINEAR EQUATIONS. SECANT METHOD MATH-415 Numerical Analysis 1.
INTRO TO OPTIMIZATION MATH-415 Numerical Analysis 1.
Exam 1 Oct 3, closed book Place ITE 119, Time:12:30-1:45pm One double-sided cheat sheet (8.5in x 11in) allowed Bring your calculator to the exam Chapters.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 - Chapter 7 Optimization.
MATH342: Numerical Analysis Sunjae Kim.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 / Chapter 5.
Announcements Topics: Work On:
Chapter 7 Numerical Differentiation and Integration
Numerical Methods and Analysis
Interpolation Estimation of intermediate values between precise data points. The most common method is: Although there is one and only one nth-order.
Chapter 18.
Multiplicity of a Root First Modified Newton’s Method
Chapter 18.
Numerical Analysis Lecture 7.
Numerical Analysis Lecture 45.
Computers in Civil Engineering 53:081 Spring 2003
Chapter 10. Numerical Solutions of Nonlinear Systems of Equations
Chapter 7 Optimization.
Optimization Part II G.Anuradha.
Numerical Analysis Lecture 26.
Part 4 - Chapter 13.
Simultaneous equations and graphs
L23 Numerical Methods part 3
Bracketing.
Presentation transcript:

One Dimensional Search Chapter 5 One Dimensional Search Chapter 5

Chapter 5 Unidimensional Search If have a search direction, want to minimize in that direction by numerical methods Chapter 5 Search Methods in General 2.1. Non Sequential – Simultaneous evaluation of f at n points – no good (unless on parallel computer). 2.2. Sequential – One evaluation follows the other.

Chapter 5 Types of search that are better or best is often problem dependent. Some of the types are: a. Newton, Quasi-Newton, and Secant methods. b. Region Elimination Methods (Fibonacci, Golden Section, etc.). c. Polynomial Approximation (Quadratic Interpolation, etc.). d. Random Search Most methods assume (a) a unimodal function, (b) that the min is bracketed at the start and (c) also you start in a direction that reduces f. Chapter 5

To Bracket the Minimum Chapter 5

Chapter 5

Chapter 5 1. Newton’s Method Newton’s method for an equation is Application to Minimization The necessary condition for f(x) to have a local minimum is f′(x) = 0. Apply Newton’s method.

Examples Minimize Chapter 5 Minimize

Chapter 5 Advantages of Newton’s Method (1) Locally quadratically convergent (as long as f′(x) is positive – for a minimum). For a quadratic function, get min in one step. Disadvantages Need to calculate both f′(x) and f″(x) If f″(x)→0, method converges slowly If function has multiple extrema, may not converge to global optimum. Chapter 5

Chapter 5 2. Finite-Difference Newton Method Replace derivatives with finite differences Chapter 5 Disadvantage Now need additional function evals (3 here vs. 2 for Newton)

Chapter 5 3. Secant(Quasi-Newton) Method Analogous equation to (A) is The secant approximates f″(x) as a straight line Chapter 5

Chapter 5 Start the Secant method by using 2 points spanning x at which first derivatives are of opposite sign. For next stage, retain either x(q) or x(p) so that the pair of derivatives still have opposite sign. Chapter 5

Chapter 5 Order of Convergence Can be expressed in various ways. Want to consider how Chapter 5 usually slow in practice

Chapter 5 Fastest in practice If p = 2, quadratic convergence Usually fast in practice Some methods can show theoretically what the order is.

Chapter 5

Chapter 5

Chapter 5

Chapter 5

Chapter 5

Chapter 5 Quadratic Interpolation Approximate f(x) by a quadratic function. Use 3 points Chapter 5

Chapter 5 (or use Gaussian elimination)

Chapter 5

Chapter 5

Chapter 5

Chapter 5

Chapter 5

Chapter 5

Chapter 5

Chapter 5