From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 752 invoked by alias); 16 Feb 2007 21:25:40 -0000 Received: (qmail 729 invoked by uid 22791); 16 Feb 2007 21:25:39 -0000 X-Spam-Check-By: sourceware.org Received: from network-theory.com (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 Feb 2007 21:25:33 +0000 Date: Fri, 16 Feb 2007 21:25:00 -0000 Message-ID: <87y7mxpzg5.wl%bjg@network-theory.co.uk> From: Brian Gough To: gsl-discuss@sourceware.org Subject: Re: test release gsl-1.8.90.tar.gz In-Reply-To: <20070216080934.GA28153@stanford.edu> References: <873b57h9dg.wl%bjg@network-theory.co.uk> <20070216080934.GA28153@stanford.edu> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Message-Mac: 3c663d569d6c55eab5a22c137fbd38c0 Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00030.txt.bz2 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.