comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » TNMIN from mpfit library
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: TNMIN from mpfit library [message #90256 is a reply to message #90215] Sat, 14 February 2015 15:08 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Wednesday, February 11, 2015 at 2:39:50 PM UTC-5, rrya...@gmail.com wrote:
> I'm using TNMIN to minimize a very complicated function, which for reasons I cannot use MPFIT. Everything seems to be running smoothly, but after a handful of iterations it gives me
>
> status=-18
> errmsg="ERROR: Line search failed to converge"
>
> While I understand what that means, I'm not sure how to massage the inputs to TNMIN to get passed this error (or perhaps this isn't a true error but rather just another stopping condition?). Does anyone have any advice? Craig, are you out there?

TNMIN never really got the love that MPFIT got. I spent some time looking at the code (which is translated from FORTRAN that I didn't write), and I didn't get exactly why this condition would occur from a purely hypothetical standpoint.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: mpfitfun and complex data
Next Topic: Help - generate bell shaped function

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:26:40 PDT 2025

Total time taken to generate the page: 0.00441 seconds