[SciPy-user] Using fmin_slsqp

Husain, Kamran B kamran.husain at aramco.com
Tue Jan 6 14:21:52 EST 2009


Hello,

While attempting to use fmin_slsqp, I keep getting an error "Error imode = 6 Singular Matrix C in LSQ subproblem".

The same constraints (upper bound, lower bound) and a very simple sum(xvector) minimization function work well in Matlab using fmincon. I want to convince our users to use Scipy instead (for ease of programming in the future.
Unfortunately, even a small exercise such as this one is proving to be impossible

The results from the cobyla call for a similar try yielded results from a local minima other than found by fmincom.

I have seen the really trivial examples in the ticket #570, but does someone have a more concrete example or could point me in the right direction?

Thanks,
Kamran

________________________________
The contents of this email, including all related responses, files and attachments transmitted with it (collectively referred to as "this Email"), are intended solely for the use of the individual/entity to whom/which they are addressed, and may contain confidential and/or legally privileged information. This Email may not be disclosed or forwarded to anyone else without authorization from the originator of this Email. If you have received this Email in error, please notify the sender immediately and delete all copies from your system. Please note that the views or opinions presented in this Email are those of the author and may not necessarily represent those of Saudi Aramco. The recipient should check this Email and any attachments for the presence of any viruses. Saudi Aramco accepts no liability for any damage caused by any virus/error transmitted by this Email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20090106/195d9997/attachment.html>


More information about the SciPy-User mailing list