Mercurial > forge
changeset 6880:604e95e37fcb octave-forge
slacken default function convergence tolerance, it was too strict in comparison to gradient and param change tolerances
author | mcreel |
---|---|
date | Wed, 17 Mar 2010 13:06:55 +0000 |
parents | d2d3fbcb2142 |
children | cfea4a3c3c10 |
files | main/optim/inst/bfgsmin.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main/optim/inst/bfgsmin.m Wed Mar 17 13:05:36 2010 +0000 +++ b/main/optim/inst/bfgsmin.m Wed Mar 17 13:06:55 2010 +0000 @@ -81,7 +81,7 @@ if (length(control) == 2) control{3} = 1; endif # strong (function, gradient and parameter change) convergence required? if (length(control) == 3) control{4} = 1; endif # argument with respect to which minimization is done if (length(control) == 4) control{5} = 0; endif # memory for lbfgs: 0 uses ordinary bfgs - if (length(control) == 5) control{6} = 1e-12; endif # tolerance for function convergence + if (length(control) == 5) control{6} = 1e-10; endif # tolerance for function convergence if (length(control) == 6) control{7} = 1e-6; endif # tolerance for parameter convergence if (length(control) == 7) control{8} = 1e-5; endif # tolerance for gradient convergence