[SciPy-user] Optimization fmin_tnc with equality constraint
Mon Apr 20 09:53:13 CDT 2009
2009/4/20 Dave Hirschfeld <firstname.lastname@example.org>
> Adrien Aulagnier <aaulagnier <at> gmail.com> writes:
> > HelloSorry to disturb you. My question might be simple:The function to
> minimize is simply f (w) = w' * Sigma * wwith w a vector and Sigma a
> matrixThe constraints are : 0 <= w <= 1
> > sum(w) = 1This last constraint is my problem.Could you give me some clue
> ?Thanks for your help
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-user <at> scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-user
> This discussion may help:
> SciPy-user mailing list
Thank you for the help but my description was not complet:
The function to minimize is simply f (w) = w' * Sigma * w
with w a vector and Sigma a square matrix
The constraints are :
0 <= w <= 1
sum(w) = 1
R' * w = a constant
and R a vector of the same size as w
Sorry for the missing information.
I think that the Aitchison transformation won't work in this case...
Do you have an idea to solve this system ?
Thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user