fmincon

Matlab function fmincon: Find minimum of constrained nonlinear multivariable function. fmincon attempts to find a constrained minimum of a scalar function of several variables starting at an initial estimate. This is generally referred to as constrained nonlinear optimization or nonlinear programming.