Maximize[f, x, y, ... ] maximizes f with respect to x, y, ... .
Maximize[f, cons, x, y, ... ] maximizes f subject to the constraints cons.
Maximize returns a list of the form , x -> , y -> , ... .
cons can contain equations, inequalities or logical combinations of these.
If f and cons are linear or polynomial, Maximize will always find a global maximum.
Maximize will return exact results if given exact input.
If the maximum is achieved only infinitesimally outside the region defined by the constraints, or only asymptotically, Maximize will return the supremum and the closest specifiable point.
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 the constraints cannot be satisfied, Maximize returns -Infinity, x -> Indeterminate, ... .
See Section 1.5.8 and Section 3.4.12.
Implementation Notes: see Section A.9.5.
See also: Minimize, NMaximize, FindMaximum, Max, D, LinearProgramming.
New in Version 5.0.