|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<State> org.ojalgo.optimisation.State
public enum 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(State aState)
|
boolean |
isLessThan(State aState)
|
boolean |
isMoreThan(State aState)
|
boolean |
isNotLessThan(State aState)
|
boolean |
isNotMoreThan(State aState)
|
static State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static 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 State FAILED
public static final State INFEASIBLE
public static final State UNBOUNDED
public static final State NEW
public static final State ITERATION
public static final State FEASIBLE
public static final State OPTIMAL
public static final State UNIQUE
Method Detail |
---|
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static 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(State aState)
public boolean isLessThan(State aState)
public boolean isMoreThan(State aState)
public boolean isNotLessThan(State aState)
public boolean isNotMoreThan(State aState)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |