public static enum SolverVariable.Type extends java.lang.Enum<SolverVariable.Type>
| Enum Constant and Description |
|---|
CONSTANT
The variable is actually not a variable :) , but a constant number
|
ERROR
The variable is restricted to positive values and represents an error
|
SLACK
The variable is restricted to positive values and represents a slack
|
UNKNOWN
Unknown (invalid) type.
|
UNRESTRICTED
The variable can take negative or positive values
|
| Modifier and Type | Method and Description |
|---|---|
static SolverVariable.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SolverVariable.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolverVariable.Type UNRESTRICTED
public static final SolverVariable.Type CONSTANT
public static final SolverVariable.Type SLACK
public static final SolverVariable.Type ERROR
public static final SolverVariable.Type UNKNOWN
public static SolverVariable.Type[] values()
for (SolverVariable.Type c : SolverVariable.Type.values()) System.out.println(c);
public static SolverVariable.Type 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