Package org.ojalgo.optimisation.linear
Enum SimplexStore.ColumnState
- java.lang.Object
-
- java.lang.Enum<SimplexStore.ColumnState>
-
- org.ojalgo.optimisation.linear.SimplexStore.ColumnState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SimplexStore.ColumnState>
- Enclosing class:
- SimplexStore
static enum SimplexStore.ColumnState extends java.lang.Enum<SimplexStore.ColumnState>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
myKey
-
Constructor Summary
Constructors Modifier Constructor Description private
ColumnState(char key)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
key()
static SimplexStore.ColumnState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SimplexStore.ColumnState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIS
public static final SimplexStore.ColumnState BASIS
Basic variables
-
LOWER
public static final SimplexStore.ColumnState LOWER
Variables at their lower bound - may increase
-
UNBOUNDED
public static final SimplexStore.ColumnState UNBOUNDED
Used for unbounded variables that are not (yet) in the basis. Assigned value 0.0 and may either increase or decrease.
-
UPPER
public static final SimplexStore.ColumnState UPPER
Variables at their upper bound – may decrease
-
-
Method Detail
-
values
public static SimplexStore.ColumnState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SimplexStore.ColumnState c : SimplexStore.ColumnState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimplexStore.ColumnState valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
key
java.lang.String key()
-
-