[SciPy-user] Bug in optimize.leastsq when Jacobian matrix is
strawman at astraw.com
Thu Jun 23 10:59:28 CDT 2005
Can you provide a simple script which demonstrates the problem? People
will be able to help you much more easily this way.
On Jun 23, 2005, at 7:26 AM, Abhiman Chatra wrote:
> I am new to Python, SciPy and optimization. So excuse me if I have
> make mistakes.
> My Problem :
> I want to use optimize.leastsq function of scipy to find a least
> square fit. But my function in the parametric form is quite
> complicated. Hence I want to provide the Jacobian matrix to the
> leastsquare optimizer to improve its performance. But when I provide
> the function for calculating the Jacobian matrix, I get a windows
> error saying "python.exe has generated errors and will be closed by
> Windows. You will need to restart the program. An error log is being
> created <OK>"
> Since this error cannot be caught I cannot trace the cause of this
> error. But my feeling is that this is some memory error. This error is
> not reproducible if I do not provide the function for calculating the
> Jacobian matrix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 1077 bytes
Desc: not available
Url : http://www.scipy.net/pipermail/scipy-user/attachments/20050623/f60cacb9/attachment.bin
More information about the SciPy-user