Previous Up Next

6.53.1  Global extrema: minimize maximize

minimize attempts to find, using analytical methods, the exact smallest value of a differentiable expression on a compact domain specified by (in)equality constraints.

The maximize command takes the same parameters as minimize, but returns the global maximum of obj on the specified domain.


Examples.


Previous Up Next