public enum SolverReturnStatus extends java.lang.Enum<SolverReturnStatus>
Enum Constant and Description |
---|
MODEL_CREATION_FAILURE |
NOT_SOLVED |
OPTIMAL_SOLUTION_FOUND |
OPTIMAL_SOLUTION_NOT_FOUND |
UNKNOWN_ERROR |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStatusDescription() |
static SolverReturnStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SolverReturnStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolverReturnStatus NOT_SOLVED
public static final SolverReturnStatus MODEL_CREATION_FAILURE
public static final SolverReturnStatus OPTIMAL_SOLUTION_FOUND
public static final SolverReturnStatus OPTIMAL_SOLUTION_NOT_FOUND
public static final SolverReturnStatus UNKNOWN_ERROR
public static SolverReturnStatus[] values()
for (SolverReturnStatus c : SolverReturnStatus.values()) System.out.println(c);
public static SolverReturnStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getStatusDescription()