Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Minimize function

Dear all, how can I find the (approximate) minimum of a (polynomial) function f on [0,2]x[0,2]?

I tried with a simple example like f=x+y and

minimize(f, [0, 2], [0, 2])

but it does not work... I got (-2.42257561605609e+155, -2.42257561605609e+155)?!?

Thanks, N