[SciPy-dev] scipy.optimize.nonlin.broyden2

Ondrej Certik ondrej@certik...
Wed Mar 19 11:25:39 CDT 2008


Hi Alex,

On Wed, Mar 19, 2008 at 12:56 AM, argriffi <argriffi@ncsu.edu> wrote:
> This function solved my problem when I used 20 iterations, but when I
>  used 40 iterations I got (nan, nan, nan).  I logged the successive
>  points for which my function was evaluated, and the process seemed to
>  have converged to the correct answer before suddenly deciding to give
>  nans.  My current solution is to just use 20 iterations, but I would be
>  interested to hear a safer solution.

I wrote this code. Could you please send here your code with instructions
how to run it to get the above results? Maybe I'll find why it doesn't
work for you.

Ondrej


More information about the Scipy-dev mailing list