7Optimization

Chapter Outline

Optimization involves finding the minimum/maximum of an objective (or cost) function f(x) subject to some constraint x ∈ S. If there is no constraint for x to satisfy, or equivalently, S is the universe, it is called an unconstrained optimization and otherwise, it is a constrained optimization. In this chapter, we will cover several unconstrained optimization techniques such as the golden search method, the quadratic approximation method, Nelder‐Mead method, the steepest descent method, Newton method, simulated‐annealing (SA) method, and genetic algorithm (GA). As for constrained optimization, we will only introduce the MATLAB built‐in functions together with the functions for unconstrained optimization. Note that we do not have to distinguish maximization and minimization because maximizing f(x) is equivalent ...

Get Applied Numerical Methods Using MATLAB, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.