|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
NArgMax
NArgMax[f, x]
gives a position
at which f is numerically maximized.
NArgMax[f, {x, y, ...}]
gives a position
at which f is numerically maximized.
NArgMax[{f, cons}, {x, y, ...}]
gives a position at which f is numerically maximized subject to the constraints cons.
Details and OptionsDetails and Options
- NArgMax returns a list of the form
. - NArgMax[..., {x, y, ...}] is effectively equivalent to {x, y, ...}/.Last[NMaximize[..., {x, y, ...}, ...].
- cons can contain equations, inequalities, or logical combinations of these.
- NArgMax always attempts to find a global maximum of f subject to the constraints given.
- By default, all variables are assumed to be real.
- x
Integers can be used to specify that a variable can take on only integer values. - If f and cons are linear, NArgMax can always find global maxima, over both real and integer values.
- Otherwise, NArgMax may sometimes find only a local maximum.
- If NArgMax determines that the constraints cannot be satisfied, it returns {Indeterminate, ...}.
- NArgMax takes the same options as NMaximize.
New in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
