Enum MPSolver.ResultStatus
- All Implemented Interfaces:
Serializable
,Comparable<MPSolver.ResultStatus>
,java.lang.constant.Constable
- Enclosing class:
MPSolver
The status of solving the problem. The straightforward translation to
homonymous enum values of MPSolverResponseStatus (see
./linear_solver.proto) is guaranteed by ./enum_consistency_test.cc, you may
rely on it.
homonymous enum values of MPSolverResponseStatus (see
./linear_solver.proto) is guaranteed by ./enum_consistency_test.cc, you may
rely on it.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionabnormal, i.e., error of some kind.feasible, or stopped by limit.proven infeasible.the model is trivially invalid (NaN coefficients, etc).not been solved yet.optimal.proven unbounded. -
Method Summary
Modifier and TypeMethodDescriptionstatic MPSolver.ResultStatus
swigToEnum
(int swigValue) final int
static MPSolver.ResultStatus
Returns the enum constant of this type with the specified name.static MPSolver.ResultStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPTIMAL
optimal. -
FEASIBLE
feasible, or stopped by limit. -
INFEASIBLE
proven infeasible. -
UNBOUNDED
proven unbounded. -
ABNORMAL
abnormal, i.e., error of some kind. -
MODEL_INVALID
the model is trivially invalid (NaN coefficients, etc). -
NOT_SOLVED
not been solved yet.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
swigValue
public final int swigValue() -
swigToEnum
-