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

1 | initial version | Anonymous |

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

~~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`

.

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 |

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 |

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

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.