[SciPy-user] Bug in minpack.leastsq() with Jacobian.
Travis Oliphant
oliphant.travis at ieee.org
Fri Apr 5 12:16:42 EST 2002
On Fri, 2002-04-05 at 07:55, Henk Jansen wrote:
> As the owner of this prpblem I did some homework. I guess I've found a
> bug in "scipy.minpack.leastsq.py" :
>
> When a Jacobian is given (i.e. Dfun != None) the Jacobian Dfun() should
> be tested in check_func(...) and not the residuals func().
Thanks, this is fixed. I don't know if it will sove the problem.
>
> Have a nice weekend,
>
> Henk Jansen
>
>
> Henk Jansen wrote:
>
> > Hi:
> >
> > I have a problem using the scipy.optimize.minpack.leastsq(...) routine
> > when a Jacobian is specified. Without Jacobian, I'm able to run the
> > tutorial example (fitting sinusiodal data), however, when I try to use
> > the Jacobian information, I get stuck.
> >
> > If anyone has been successful in using the leastsq(...) function
> > supplying it with a Jacobian function, can I share in an example?
> >
> > Thanks,
> >
> > Henk Jansen
> >
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-user at scipy.net
> > http://www.scipy.net/mailman/listinfo/scipy-user
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>
More information about the SciPy-User
mailing list