TNMIN from mpfit library [message #90215] |
Wed, 11 February 2015 11:39  |
Russell[1]
Messages: 101 Registered: August 2011
|
Senior Member |
|
|
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?
Thanks gang,
Russell
|
|
|
|
Re: TNMIN from mpfit library [message #90256 is a reply to message #90215] |
Sat, 14 February 2015 15:08  |
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
|
|
|