Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ const STOP_REASON_MAP = Dict(
r"InitialFailure" => ReturnCode.InitialFailure,
r"ConvergenceFailure|ITERATION_LIMIT" => ReturnCode.ConvergenceFailure,
r"Infeasible|INFEASIBLE|DUAL_INFEASIBLE|LOCALLY_INFEASIBLE|INFEASIBLE_OR_UNBOUNDED" => ReturnCode.Infeasible,
r"STOP: TOTAL NO. of ITERATIONS REACHED LIMIT" => ReturnCode.MaxIters,
r"STOP: TOTAL NO. of f AND g EVALUATIONS EXCEEDS LIMIT" => ReturnCode.MaxIters,
r"STOP: ABNORMAL_TERMINATION_IN_LNSRCH" => ReturnCode.Unstable,
r"STOP: ERROR INPUT DATA" => ReturnCode.InitialFailure,
r"STOP: FTOL.TOO.SMALL" => ReturnCode.ConvergenceFailure,
r"STOP: GTOL.TOO.SMALL" => ReturnCode.ConvergenceFailure,
r"STOP: XTOL.TOO.SMALL" => ReturnCode.ConvergenceFailure,
r"TOTAL NO. of ITERATIONS REACHED LIMIT" => ReturnCode.MaxIters,
r"TOTAL NO. of f AND g EVALUATIONS EXCEEDS LIMIT" => ReturnCode.MaxIters,
r"ABNORMAL_TERMINATION_IN_LNSRCH" => ReturnCode.Unstable,
r"ERROR INPUT DATA" => ReturnCode.InitialFailure,
r"FTOL.TOO.SMALL" => ReturnCode.ConvergenceFailure,
r"GTOL.TOO.SMALL" => ReturnCode.ConvergenceFailure,
r"XTOL.TOO.SMALL" => ReturnCode.ConvergenceFailure,
r"STOP: TERMINATION" => ReturnCode.Terminated,
r"Optimization completed" => ReturnCode.Success,
r"Convergence achieved" => ReturnCode.Success,
Expand Down
Loading