11"""
2- ` SciML.ReturnCode`
2+ SciML.ReturnCode
33
44`SciML.ReturnCode` is the standard return code enum interface for the SciML interface.
55Return codes are notes given by the solvers to indicate the state of the solution, for
@@ -31,7 +31,7 @@ did not error.
3131"""
3232EnumX. @enumx ReturnCode begin
3333 """
34- ` ReturnCode.Default`
34+ ReturnCode.Default
3535
3636 The default state of the solver. If this return code is given, then the solving
3737 process is either still in process or the solver library has not been setup
@@ -54,7 +54,7 @@ EnumX.@enumx ReturnCode begin
5454 Default
5555
5656 """
57- ` ReturnCode.Success`
57+ ReturnCode.Success
5858
5959 The success state of the solver. If this return code is given, then the solving
6060 process was successful, but no extra information about that success is given.
@@ -71,7 +71,7 @@ EnumX.@enumx ReturnCode begin
7171 Success
7272
7373 """
74- ` ReturnCode.Terminated`
74+ ReturnCode.Terminated
7575
7676 The successful termination state of the solver. If this return code is given,
7777 then the solving process was successful at terminating the solve, usually
@@ -95,7 +95,7 @@ EnumX.@enumx ReturnCode begin
9595 Terminated
9696
9797 """
98- ` ReturnCode.DtNaN`
98+ ReturnCode.DtNaN
9999
100100 A failure exit state of the solver. If this return code is given, then the
101101 solving process was unsuccessful and exited early because the `dt` of the
@@ -118,7 +118,7 @@ EnumX.@enumx ReturnCode begin
118118 DtNaN
119119
120120 """
121- ` ReturnCode.MaxIters`
121+ ReturnCode.MaxIters
122122
123123 A failure exit state of the solver. If this return code is given, then the
124124 solving process was unsuccessful and exited early because the solver's
@@ -150,7 +150,7 @@ EnumX.@enumx ReturnCode begin
150150 MaxIters
151151
152152 """
153- ` ReturnCode.DtLessThanMin`
153+ ReturnCode.DtLessThanMin
154154
155155 A failure exit state of the solver. If this return code is given, then the
156156 solving process was unsuccessful and exited early because the `dt` of the
@@ -180,7 +180,7 @@ EnumX.@enumx ReturnCode begin
180180 DtLessThanMin
181181
182182 """
183- ` ReturnCode.Unstable`
183+ ReturnCode.Unstable
184184
185185 A failure exit state of the solver. If this return code is given, then the
186186 solving process was unsuccessful and exited early because the `unstable_check`
@@ -199,7 +199,7 @@ EnumX.@enumx ReturnCode begin
199199 Unstable
200200
201201 """
202- ` ReturnCode.InitialFailure`
202+ ReturnCode.InitialFailure
203203
204204 A failure exit state of the solver. If this return code is given, then the
205205 solving process was unsuccessful because the initialization process failed.
@@ -224,7 +224,7 @@ EnumX.@enumx ReturnCode begin
224224 InitialFailure
225225
226226 """
227- ` ReturnCode.ConvergenceFailure`
227+ ReturnCode.ConvergenceFailure
228228
229229 A failure exit state of the solver. If this return code is given, then the
230230 solving process was unsuccessful because internal nonlinear solver iterations
@@ -247,7 +247,7 @@ EnumX.@enumx ReturnCode begin
247247 ConvergenceFailure
248248
249249 """
250- ` ReturnCode.Failure`
250+ ReturnCode.Failure
251251
252252 A failure exit state of the solver. If this return code is given, then the
253253 solving process was unsuccessful but no extra information is given.
@@ -265,7 +265,7 @@ EnumX.@enumx ReturnCode begin
265265 Failure
266266
267267 """
268- ` ReturnCode.ExactSolutionLeft`
268+ ReturnCode.ExactSolutionLeft
269269
270270 The success state of the solver. If this return code is given, then the solving
271271 process was successful, and the left solution was given.
@@ -284,7 +284,7 @@ EnumX.@enumx ReturnCode begin
284284 ExactSolutionLeft
285285
286286 """
287- ` ReturnCode.ExactSolutionRight`
287+ ReturnCode.ExactSolutionRight
288288
289289 The success state of the solver. If this return code is given, then the solving
290290 process was successful, and the right solution was given.
@@ -303,7 +303,7 @@ EnumX.@enumx ReturnCode begin
303303 ExactSolutionRight
304304
305305 """
306- ` ReturnCode.FloatingPointLimit`
306+ ReturnCode.FloatingPointLimit
307307
308308 The success state of the solver. If this return code is given, then the solving
309309 process was successful, and the closest floating point value to the solution was given.
@@ -322,7 +322,7 @@ EnumX.@enumx ReturnCode begin
322322 FloatingPointLimit
323323
324324 """
325- ` ReturnCode.Infeasible`
325+ ReturnCode.Infeasible
326326
327327 The optimization problem was proven to be infeasible by the solver.
328328
@@ -333,7 +333,7 @@ EnumX.@enumx ReturnCode begin
333333 Infeasible
334334
335335 """
336- ` ReturnCode.MaxTime`
336+ ReturnCode.MaxTime
337337
338338 A failure exit state of the solver. If this return code is given, then the
339339 solving process was unsuccessful and exited early because the solver's
@@ -347,7 +347,7 @@ EnumX.@enumx ReturnCode begin
347347 MaxTime
348348
349349 """
350- ` ReturnCode.InternalLineSearchFailed`
350+ ReturnCode.InternalLineSearchFailed
351351
352352 Internal Line Search used by the algorithm has failed.
353353
@@ -358,7 +358,7 @@ EnumX.@enumx ReturnCode begin
358358 InternalLineSearchFailed
359359
360360 """
361- ` ReturnCode.ShrinkThresholdExceeded`
361+ ReturnCode.ShrinkThresholdExceeded
362362
363363 The trust region radius was shrunk more times than the provided threshold.
364364
@@ -369,7 +369,7 @@ EnumX.@enumx ReturnCode begin
369369 ShrinkThresholdExceeded
370370
371371 """
372- ` ReturnCode.Stalled`
372+ ReturnCode.Stalled
373373
374374 The solution has stalled. This is only returned by algorithms for which stalling is a
375375 failure mode. Certain solvers like Nonlinear Least Squares solvers are considered
@@ -382,7 +382,7 @@ EnumX.@enumx ReturnCode begin
382382 Stalled
383383
384384 """
385- ` ReturnCode.InternalLinearSolveFailed`
385+ ReturnCode.InternalLinearSolveFailed
386386
387387 The linear problem inside another problem (for example inside a NonlinearProblem)
388388 could not be solved.
@@ -477,8 +477,8 @@ function Base.convert(::Type{ReturnCode.T}, bool::Bool)
477477end
478478
479479"""
480- ` successful_retcode(retcode::ReturnCode.T)::Bool`
481- ` successful_retcode(sol::AbstractSciMLSolution)::Bool`
480+ successful_retcode(retcode::ReturnCode.T)::Bool
481+ successful_retcode(sol::AbstractSciMLSolution)::Bool
482482
483483Returns a boolean for whether a return code should be interpreted as a form of success.
484484"""
0 commit comments