# Documentation

### This is machine translation

Translated by
Mouse over text to see original. Click the button below to return to the English verison of the page.

## Optimization Theory Overview

Optimization techniques are used to find a set of design parameters, x = {x1,x2,...,xn}, that can in some way be defined as optimal. In a simple case this might be the minimization or maximization of some system characteristic that is dependent on x. In a more advanced formulation the objective function, f(x), to be minimized or maximized, might be subject to constraints in the form of equality constraints, Gi(x) = 0 ( i = 1,...,me); inequality constraints, Gi( x) ≤ 0 (i = me + 1,...,m); and/or parameter bounds, xl, xu.

A General Problem (GP) description is stated as

 $\underset{x}{\mathrm{min}}f\left(x\right),$ (2-1)

subject to

`$\begin{array}{cc}{G}_{i}\left(x\right)=0& i=1,...,{m}_{e},\\ {G}_{i}\left(x\right)\le 0& i={m}_{e}+1,...,m,\end{array}$`

where x is the vector of length n design parameters, f(x) is the objective function, which returns a scalar value, and the vector function G(x) returns a vector of length m containing the values of the equality and inequality constraints evaluated at x.

An efficient and accurate solution to this problem depends not only on the size of the problem in terms of the number of constraints and design variables but also on characteristics of the objective function and constraints. When both the objective function and the constraints are linear functions of the design variable, the problem is known as a Linear Programming (LP) problem. Quadratic Programming (QP) concerns the minimization or maximization of a quadratic objective function that is linearly constrained. For both the LP and QP problems, reliable solution procedures are readily available. More difficult to solve is the Nonlinear Programming (NP) problem in which the objective function and constraints can be nonlinear functions of the design variables. A solution of the NP problem generally requires an iterative procedure to establish a direction of search at each major iteration. This is usually achieved by the solution of an LP, a QP, or an unconstrained subproblem.

All optimization takes place in real numbers. However, unconstrained least squares problems and equation-solving can be formulated and solved using complex analytic functions. See Complex Numbers in Optimization Toolbox Solvers.