# 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 16999 ●21 ●151 ●335 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 16999 ●21 ●151 ●335 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 27203 ●31 ●198 ●511 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 27203 ●31 ●198 ●511 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])