localsolver
public enum LSSolutionStatus extends java.lang.Enum<LSSolutionStatus>
LSSolution| Enum Constant and Description |
|---|
Feasible
Solution is feasible but optimality was not proven.
|
Inconsistent
Solution and model are inconsistent.
|
Infeasible
Solution is infeasible (some constraints are violated).
|
Optimal
Solution is optimal (all objective bounds are reached).
|
| Modifier and Type | Method and Description |
|---|---|
static LSSolutionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LSSolutionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LSSolutionStatus Inconsistent
public static final LSSolutionStatus Infeasible
public static final LSSolutionStatus Feasible
public static final LSSolutionStatus Optimal
public static LSSolutionStatus[] values()
for (LSSolutionStatus c : LSSolutionStatus.values()) System.out.println(c);
public static LSSolutionStatus 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 null