This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
 BUILT-IN MATHEMATICA SYMBOL See Also »| More About »

# NMaxValue

 NMaxValuegives the maximum value of f with respect to x. NMaxValuegives the maximum value of f with respect to x, y, .... NMaxValuegives the maximum value of f subject to the constraints cons.
• cons can contain equations, inequalities or logical combinations of these.
• NMaxValue 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, NMaxValue can always find global maxima, over both real and integer values.
• Otherwise, NMaxValue may sometimes find only a local maximum.
• If NMaxValue determines that the constraints cannot be satisfied, it returns Infinity.
Find the maximum value of a univariate function:
Find the maximum value of a multivariate function:
Find the maximum value of a function subject to constraints:
Find the maximum value of a univariate function:
 Out[1]=

Find the maximum value of a multivariate function:
 Out[1]=

Find the maximum value of a function subject to constraints:
 Out[1]=
 Applications   (1)
Find the maximal area among rectangles with a unit perimeter:
NMaximize gives both the value of the maximum and the maximizer point:
NMaxValue gives the maximum:
NArgMax gives the maximizer point:
NMaxValue can solve linear programming problems:
LinearProgramming can be used to solve the same problem given in matrix notation:
New in 7