[Python-modules-team] Bug#860063: fsolve docs should state that it cannot solve over- or under-determined problems
Julian Taylor
jtaylor.debian at googlemail.com
Wed Apr 12 00:09:14 UTC 2017
On 11.04.2017 03:07, James Van Zandt wrote:
> Package: python-scipy
> Version: 0.18.1
>
>
> I have a MATLAB program that uses fsolve() from the optimization
> toolbox. I found that scipy offers a similar function. I spent a fair
> amount of time translating my program into Python, only to discover that
> the scipy implementation (unlike the MATLAB one) requires that the
> number of functions and the number of variables be equal. The
> documentation for the underlying minpack programs (hybrd and hybrj)
> makes this clear, but the scipy documentation does not. It should. I
> suggest the attached patch.
>
> (It might also be a good idea to add a mention of leastsq, which can
> handle an over- or under-determined problem.)
>
> - Jim Van Zandt
>
hi,
this is an upstream issue.
Please report it here:
https://github.com/scipy/scipy/
cheers,
Julian
More information about the Python-modules-team
mailing list