Skip to content

Commit

Permalink
Merge pull request #781 from SciML/Vaibhavdixit02-patch-1
Browse files Browse the repository at this point in the history
Add another lbfgsb stopping criteria for retcode handling
  • Loading branch information
ChrisRackauckas authored Jun 19, 2024
2 parents 0007a01 + 7658f14 commit 37656d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const STOP_REASON_MAP = Dict(
r"Delta fitness .* below tolerance .*" => ReturnCode.Success,
r"Fitness .* within tolerance .* of optimum" => ReturnCode.Success,
r"CONVERGENCE: NORM_OF_PROJECTED_GRADIENT_<=_PGTOL" => ReturnCode.Success,
r"Unrecognized stop reason: CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH" => ReturnCode.Success,
r"Terminated" => ReturnCode.Terminated,
r"MaxIters|MAXITERS_EXCEED|Max number of steps .* reached" => ReturnCode.MaxIters,
r"MaxTime|TIME_LIMIT" => ReturnCode.MaxTime,
Expand Down

0 comments on commit 37656d1

Please sign in to comment.