Enum SimplexTable.LabelType
- java.lang.Object
-
- java.lang.Enum<SimplexTable.LabelType>
-
- dev.nm.solver.multivariate.constrained.convex.sdp.socp.qp.lp.simplex.SimplexTable.LabelType
-
- All Implemented Interfaces:
Serializable
,Comparable<SimplexTable.LabelType>
- Enclosing class:
- SimplexTable
public static enum SimplexTable.LabelType extends Enum<SimplexTable.LabelType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARTIFICIAL
the artificial variable, x0, pp.ARTIFICIAL_COST
the artificial objective, z0, pp.B
the constraint values (the last column)BASIC
the basic variables, i.e., constraintsCOST
the cost function (the last row)DELETED
the deleted rows and columnsEQUALITY
the equality constraintsFREE
the free variablesNON_BASIC
the non-basic variables, i.e., original variables in the cost functionUNDEFINED
an undefined label
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimplexTable.LabelType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SimplexTable.LabelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NON_BASIC
public static final SimplexTable.LabelType NON_BASIC
the non-basic variables, i.e., original variables in the cost function
-
B
public static final SimplexTable.LabelType B
the constraint values (the last column)
-
BASIC
public static final SimplexTable.LabelType BASIC
the basic variables, i.e., constraints
-
COST
public static final SimplexTable.LabelType COST
the cost function (the last row)
-
EQUALITY
public static final SimplexTable.LabelType EQUALITY
the equality constraints
-
FREE
public static final SimplexTable.LabelType FREE
the free variables
-
ARTIFICIAL
public static final SimplexTable.LabelType ARTIFICIAL
the artificial variable, x0, pp. 61
-
ARTIFICIAL_COST
public static final SimplexTable.LabelType ARTIFICIAL_COST
the artificial objective, z0, pp. 61
-
DELETED
public static final SimplexTable.LabelType DELETED
the deleted rows and columns
-
UNDEFINED
public static final SimplexTable.LabelType UNDEFINED
an undefined label
-
-
Method Detail
-
values
public static SimplexTable.LabelType[] 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 (SimplexTable.LabelType c : SimplexTable.LabelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimplexTable.LabelType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-