BUILT-IN MATHEMATICA SYMBOL

# NMinValue

NMinValue[f, x]
gives the minimum value of f with respect to x.

NMinValue[f, {x, y, ...}]
gives the minimum value of f with respect to x, y, ....

NMinValue[{f, cons}, {x, y, ...}]
gives the minimum value of f subject to the constraints cons.

## Details and OptionsDetails and Options

• NMinValue[...] is effectively equivalent to First[NMinimize[...]].
• cons can contain equations, inequalities or logical combinations of these.
• NMinValue always attempts to find a global minimum of f subject to the constraints given.
• By default, all variables are assumed to be real.
• can be used to specify that a variable can take on only integer values.
• If f and cons are linear, NMinValue can always find global minima, over both real and integer values.
• Otherwise, NMinValue may sometimes find only a local minimum.
• If NMinValue determines that the constraints cannot be satisfied, it returns Infinity.
• NMinValue takes the same options as NMinimize.

## ExamplesExamplesopen allclose all

### Basic Examples (3)Basic Examples (3)

Find the minimum value of a univariate function:

 Out[1]=

Find the minimum value of a multivariate function:

 Out[1]=

Find the minimum value of a function subject to constraints:

 Out[1]=