Skip to content

Commit 37656d1

Browse files
Merge pull request #781 from SciML/Vaibhavdixit02-patch-1
Add another lbfgsb stopping criteria for retcode handling
2 parents 0007a01 + 7658f14 commit 37656d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ const STOP_REASON_MAP = Dict(
7676
r"Delta fitness .* below tolerance .*" => ReturnCode.Success,
7777
r"Fitness .* within tolerance .* of optimum" => ReturnCode.Success,
7878
r"CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL" => ReturnCode.Success,
79+
r"Unrecognized stop reason: CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH" => ReturnCode.Success,
7980
r"Terminated" => ReturnCode.Terminated,
8081
r"MaxIters|MAXITERS_EXCEED|Max number of steps .* reached" => ReturnCode.MaxIters,
8182
r"MaxTime|TIME_LIMIT" => ReturnCode.MaxTime,

0 commit comments

Comments
 (0)