The nonlinear programming (NLP) problem with one objective function f and m constraint functions , which are continuously differentiable, is defined as follows:
In the preceding notation, n is the dimension of the function , and is the number of equality constraints. The linear combination of objective and constraint functions
is the Lagrange function, and the coefficients are the Lagrange multipliers.
If the functions f and are twice differentiable, the point is an isolated local minimizer of the NLP problem, if there exists a vector that meets the following conditions:
Kuhn-Tucker conditions
second-order condition
Each nonzero vector with
satisfies
In practice, you cannot expect the constraint functions to vanish within machine precision, and determining the set of active constraints at the solution might not be simple.