[SciPy-dev] f2py vector valued functions and optimize.fmin_slsqp
Rob Falck
robfalck at gmail.com
Sun May 17 19:53:00 EDT 2009
>
>>
> Thanks for the response.
>
> I have wrapped the function to return the performance index. Don't know if
> this is another symptom or the problem itself, but the soln terminates with:
>
> Optimization terminated successfully. (Exit mode 0)
> Current function value: 6.45723021956
> Iterations: 1
> Function evaluations: 20
> Gradient evaluations: 1
>
> If the generating routine for the performance index is coded in straight
> python I get:
>
> Optimization terminated successfully. (Exit mode 0)
> Current function value: 0.858946186765
> Iterations: 12
> Function evaluations: 245
> Gradient evaluations: 12
>
> For some reason, the iterations stops at 1 when I try to use the f2py
> imported libraries. Is it possible that it is getting hung up on the
> Gradient evaluations??
>
> --
> Leon Adams
I wish I could help. I havent tried to use SLSQP with F2PY.
--
- Rob Falck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20090517/7f685d19/attachment.html>
More information about the SciPy-Dev
mailing list