1 | initial version |

The function (`func`

argument) of `minimize_constrained`

can be either a symbolic function,

```
sage: x = var('x')
sage: minimize_constrained(x^2, [None], [99.6])
(0.0)
```

or a Python function whose argument is a tuple,

```
sage: minimize_constrained(lambda x: x[0]^2, [None], [99.6])
(0.0)
```

The type error in the OP is avoided passing the initial point as a list.

2 | No.2 Revision |

The function (`func`

argument) ~~of ~~passed to `minimize_constrained`

can be either a symbolic function,

```
sage: x = var('x')
sage: minimize_constrained(x^2, [None], [99.6])
(0.0)
```

or a Python function whose argument is a tuple,

```
sage: minimize_constrained(lambda x: x[0]^2, [None], [99.6])
(0.0)
```

The type error in the OP is avoided passing the initial point as a list.

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.