public static enum Optimisation.ConstraintType extends Enum<Optimisation.ConstraintType> implements Optimisation
Optimisation.Constraint, Optimisation.ConstraintType, Optimisation.Integration<M extends Optimisation.Model,S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.Result, Optimisation.Solver, Optimisation.State
Enum Constant and Description |
---|
EQUALITY
Constrained at both ends with the same value
|
LOWER |
NONE
free, unconstrained, open
|
RANGE
Constrained at both ends, but with different values
|
UPPER |
Modifier and Type | Method and Description |
---|---|
static Optimisation.ConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Optimisation.ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Optimisation.ConstraintType EQUALITY
public static final Optimisation.ConstraintType LOWER
public static final Optimisation.ConstraintType NONE
public static final Optimisation.ConstraintType RANGE
public static final Optimisation.ConstraintType UPPER
public static Optimisation.ConstraintType[] values()
for (Optimisation.ConstraintType c : Optimisation.ConstraintType.values()) System.out.println(c);
public static Optimisation.ConstraintType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null