Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, need help to understand why minimize_constrained works for f(x,y)=x+y but does not work for f(x,y)=x

var('x,y') f(x,y)=x+y c(x,y)=1-x^2-y^2 minimize_constrained(f(x,y), [c(x,y)], [0,0])

Hi, need help to understand why minimize_constrained works for f(x,y)=x+y but does not work for f(x,y)=x

var('x,y') f(x,y)=x+y c(x,y)=1-x^2-y^2 minimize_constrained(f(x,y), [c(x,y)], [0,0])Hi, need help to understand why minimize_constrained works for f(x, y) = x + y but does not work for f(x, y) = x.

Example:

var('x, y')
f(x, y) = x + y
c(x, y) = 1 - x^2 - y^2
minimize_constrained(f(x, y), [c(x, y)], [0, 0])

Hi, need help to understand why minimize_constrained works for f(x,y)=x+y but does not work for f(x,y)=x

Hi, need help to understand why minimize_constrained works for f(x, y) = x + y but does not work for f(x, y) = x.

Example:

var('x, y')
f(x, y) = x + y
c(x, y) = 1 - x^2 - y^2
minimize_constrained(f(x, y), [c(x, y)], [0, 0])

Hi, need help to understand why minimize_constrained works for f(x,y)=x+y but does not work for f(x,y)=x

Hi, need help to understand why minimize_constrained works for f(x, y) = x + y but does not work for f(x, y) = x.

Example:

var('x, y')
f(x, y) = x + y
c(x, y) = 1 - x^2 - y^2
minimize_constrained(f(x, y), [c(x, y)], [0, 0])

Hi, need help to understand why minimize_constrained works for f(x,y)=x+y but does not work for f(x,y)=x

Hi, need help to understand why minimize_constrained works for f(x, y) = x + y but does not work for f(x, y) = x.

Example:

var('x, y')
f(x, y) = x + y
c(x, y) = 1 - x^2 - y^2
minimize_constrained(f(x, y), [c(x, y)], [0, 0])