Enum Class ExitStatus
- All Implemented Interfaces:
Serializable, Comparable<ExitStatus>, Constable
Solver exit status. Negative values indicate failure.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe solver returned its solution so far after the user requested a stop.The solver encountered diverging primal iterates xₖ and/or sₖ and gave up.The linear system factorization failed.The solver failed to reach the desired tolerance, and feasibility restoration failed to converge.The problem setup frontend determined the problem to have an empty feasible region.The backtracking line search failed, and the problem isn't locally infeasible.The solver determined the problem to be locally infeasible and gave up.The solver returned its solution so far after exceeding the maximum number of iterations.The solver encountered nonfinite initial cost, constraints, or derivatives and gave up.Solved the problem to the desired tolerance.The solver returned its solution so far after exceeding the maximum elapsed wall clock time.The solver determined the problem to be overconstrained and gave up. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ExitStatusfromInt(int x) Converts integer to its corresponding enum value.static ExitStatusReturns the enum constant of this class with the specified name.static ExitStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Solved the problem to the desired tolerance. -
CALLBACK_REQUESTED_STOP
The solver returned its solution so far after the user requested a stop. -
TOO_FEW_DOFS
The solver determined the problem to be overconstrained and gave up. -
LOCALLY_INFEASIBLE
The solver determined the problem to be locally infeasible and gave up. -
GLOBALLY_INFEASIBLE
The problem setup frontend determined the problem to have an empty feasible region. -
FACTORIZATION_FAILED
The linear system factorization failed. -
LINE_SEARCH_FAILED
The backtracking line search failed, and the problem isn't locally infeasible. -
FEASIBILITY_RESTORATION_FAILED
The solver failed to reach the desired tolerance, and feasibility restoration failed to converge. -
NONFINITE_INITIAL_GUESS
The solver encountered nonfinite initial cost, constraints, or derivatives and gave up. -
DIVERGING_ITERATES
The solver encountered diverging primal iterates xₖ and/or sₖ and gave up. -
MAX_ITERATIONS_EXCEEDED
The solver returned its solution so far after exceeding the maximum number of iterations. -
TIMEOUT
The solver returned its solution so far after exceeding the maximum elapsed wall clock time.
-
-
Field Details
-
value
ExitStatus value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromInt
Converts integer to its corresponding enum value.- Parameters:
x- The integer.- Returns:
- The enum value.
-