solve nonlinear optimization problems
nonlinear programming (np) involves minimizing or maximizing a nonlinear objective function subject to bound constraints, linear constraints, or nonlinear constraints, where the constraints can be inequalities or equalities. example problems in engineering include analyzing design tradeoffs, selecting optimal designs, computing optimal trajectories, and portfolio optimization and model calibration in computational finance.
unconstrained nonlinear programming is the mathematical problem of finding a vector \(x\) that is a local minimum to the nonlinear scalar function \(f(x)\). unconstrained means that there are no restrictions placed on the range of \(x\)
\[\min_x f(x)\]
the following algorithms are commonly used for unconstrained nonlinear programming:
- quasi-newton: uses a mixed quadratic and cubic line search procedure and the broyden-fletcher-goldfarb-shanno (bfgs) formula for updating the approximation of the hessian matrix
- nelder-mead: uses a direct-search algorithm that uses only function values (does not require derivatives) and handles nonsmooth objective functions
- trust-region: used for unconstrained nonlinear optimization problems and is especially useful for large-scale problems where sparsity or structure can be exploited
constrained nonlinear programming is the mathematical problem of finding a vector \(x\) that minimizes a nonlinear function \(f(x)\) subject to one or more constraints.
algorithms for solving constrained nonlinear programming problems include:
- interior-point: is especially useful for large-scale nonlinear optimization problems that have sparsity or structure
- sequential quadratic programming (sqp): solves general nonlinear problems and honors bounds at all iterations
- trust-region reflective: solves bound constrained nonlinear optimization problems or linear equalities only
for more information on nonlinear programming, see optimization toolbox™.
the algorithms listed above find a local minimum when the problem is nonconvex; all except nelder-mead require smooth functions. global optimization toolbox has derivative-free optimization algorithms that search for a global minimum and work with both smooth and nonsmooth functions.
examples and how to
software reference
see also: optimization toolbox, global optimization toolbox, linear programming, quadratic programming, integer programming, multiobjective optimization, genetic algorithm, simulated annealing, design optimization, prescriptive analytics, convex optimization