FindMinimum
FindMinimum(f, {x, xstart})
searches for a local numerical minimum of
f
for the variablex
and the start valuexstart
.
FindMinimum(f, {x, xstart}, Method->methodName)
searches for a local numerical minimum of
f
for the variablex
and the start valuexstart
, with one of the following method names:
FindMinimum(f, {{x, xstart},{y, ystart},...})
searches for a local numerical minimum of the multivariate function
f
for the variablesx, y,...
and the corresponding start valuesxstart, ystart,...
.
See
Powell
Implements the Powell optimizer.
This is the default method, if no methodName
is given.
ConjugateGradient
Implements the ConjugateGradient optimizer.
This is a derivative based method and the functions must be symbolically differentiable.
SequentialQuadratic
Implements the sequentiel quadratic optimizer.
This is a derivative, multivariate based method and the functions must be symbolically differentiable.
Examples
>> FindMinimum(Sin(x), {x, 0.5}){-1.0,{x->-1.5708}}
>> FindMinimum(Sin(x)*Sin(2*y), {{x, 2}, {y, 2}}, Method -> "ConjugateGradient"){-1.0,{x->1.5708,y->2.35619}}