This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# NArgMax

 NArgMaxgives a position at which f is numerically maximized. NArgMaxgives a position at which f is numerically maximized. NArgMaxgives a position at which f is numerically maximized subject to the constraints cons.
• NArgMax returns a list of the form .
• 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.
• xIntegers 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.
Find a maximizer point for a univariate function:
Find a maximizer point for a multivariate function:
Find a maximizer point for a function subject to constraints:
Find a maximizer point for a univariate function:
 Out[1]=

Find a maximizer point for a multivariate function:
 Out[1]=

Find a maximizer point for a function subject to constraints:
 Out[1]=
 Applications   (1)
Find the lengths of sides of a unit perimeter rectangle with the maximal area:
NMaximize gives both the value of the maximum and the maximizer point:
NArgMax gives the maximizer point:
NMaxValue gives the maximum:
The objective function may be unbounded:
There may be no points satisfying the constraints:
New in 7