This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: test release gsl-1.8.90.tar.gz


At Fri, 16 Feb 2007 00:09:34 -0800,
Tim Fenn wrote:
> I've been testing the bfgs2 minimizer, and it works well until/if it
> nears a point in which the interpolator stops progressing - I've
> noticed there is a check against this in the linear_minimize code near
> line 209:
> 
>       if ((a-alpha)*fpa <= GSL_DBL_EPSILON) {
>         /* roundoff prevents progress */
>       };
> 
> perhaps there should be a break statement to prevent futile
> iterations?  Or use this as a stopping criteria test?

Thanks, there should be a 

        return GSL_ENOPROG;

in there.  You might want to try that and see if it stops at an
acceptable place.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]