|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OptimisationModel.State> org.ojalgo.optimisation.OptimisationModel.State
public static enum OptimisationModel.State
Enum Constant Summary | |
---|---|
FAILED
Failed |
|
FEASIBLE
Solved - a solution that complies with all constraints |
|
INFEASIBLE
No solution that complies with all constraints exists |
|
ITERATION
Approximate and/or Intermediate solution - Iteration point |
|
NEW
New/changed problem |
|
OPTIMAL
Optimal solution - there is no better |
|
UNBOUNDED
There's an infinite number of feasible solutions and no bound on the objective function value |
|
UNIQUE
Unique (and optimal) solution - there is no other solution that is equal or better |
Method Summary | |
---|---|
boolean |
isExactly(OptimisationModel.State aState)
|
boolean |
isLessThan(OptimisationModel.State aState)
|
boolean |
isMoreThan(OptimisationModel.State aState)
|
boolean |
isNotLessThan(OptimisationModel.State aState)
|
boolean |
isNotMoreThan(OptimisationModel.State aState)
|
static OptimisationModel.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OptimisationModel.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OptimisationModel.State FAILED
public static final OptimisationModel.State INFEASIBLE
public static final OptimisationModel.State UNBOUNDED
public static final OptimisationModel.State NEW
public static final OptimisationModel.State ITERATION
public static final OptimisationModel.State FEASIBLE
public static final OptimisationModel.State OPTIMAL
public static final OptimisationModel.State UNIQUE
Method Detail |
---|
public static OptimisationModel.State[] values()
for (OptimisationModel.State c : OptimisationModel.State.values()) System.out.println(c);
public static OptimisationModel.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isExactly(OptimisationModel.State aState)
public boolean isLessThan(OptimisationModel.State aState)
public boolean isMoreThan(OptimisationModel.State aState)
public boolean isNotLessThan(OptimisationModel.State aState)
public boolean isNotMoreThan(OptimisationModel.State aState)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |