Revision history [back]

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])

 2 None slelievre 17654 ●22 ●160 ●348 http://carva.org/samue...

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])

 3 None slelievre 17654 ●22 ●160 ●348 http://carva.org/samue...

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])

 4 retagged tmonteil 27333 ●31 ●203 ●514 http://wiki.sagemath.o...

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])

 5 retagged tmonteil 27333 ●31 ●203 ●514 http://wiki.sagemath.o...

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])