[SciPy-user] constrained optimization

Emanuele Olivetti emanuele at relativita.com
Tue Apr 29 03:58:53 EDT 2008


John Hunter wrote:
> I need to do a N dimensional constrained optimization over a weight w
> vector with the constraints:
>
>   * w[i] >=0
>
>   * w.sum() == 1.0
>
> ....
>
> Is there a better approach?
>
>   

I guess OpenOpt should handle easily this kind of constraint.

Emanuele




More information about the SciPy-User mailing list