org.ojalgo.optimisation
Enum State

java.lang.Object
  extended by java.lang.Enum<State>
      extended by org.ojalgo.optimisation.State
All Implemented Interfaces:
Serializable, Comparable<State>

public enum State
extends 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

FAILED

public static final State FAILED
Failed


INFEASIBLE

public static final State INFEASIBLE
No solution that complies with all constraints exists


UNBOUNDED

public static final State UNBOUNDED
There's an infinite number of feasible solutions and no bound on the objective function value


NEW

public static final State NEW
New/changed problem


ITERATION

public static final State ITERATION
Approximate and/or Intermediate solution - Iteration point


FEASIBLE

public static final State FEASIBLE
Solved - a solution that complies with all constraints


OPTIMAL

public static final State OPTIMAL
Optimal solution - there is no better


UNIQUE

public static final State UNIQUE
Unique (and optimal) solution - there is no other solution that is equal or better

Method Detail

values

public static State[] 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 (State c : State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static State 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 name
NullPointerException - if the argument is null

isExactly

public boolean isExactly(State aState)

isLessThan

public boolean isLessThan(State aState)

isMoreThan

public boolean isMoreThan(State aState)

isNotLessThan

public boolean isNotLessThan(State aState)

isNotMoreThan

public boolean isNotMoreThan(State aState)