Previous Up Next

6.53.1  Global extrema: minimize maximize

The minimize command finds the smallest value of an expression, possibly restricted to a specific domain.

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


Examples.


Previous Up Next