public static enum Optimisation.State extends Enum<Optimisation.State> implements Optimisation
Optimisation.Constraint, 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 |
---|
APPROXIMATE
Approximate and/or Intermediate solution - Iteration point Probably infeasible, but still "good"
|
DISTINCT
Unique (and optimal) solution - there is no other solution that is equal or better
|
FAILED
Unexpected failure or exception
|
FEASIBLE
Solved - a solution that complies with all constraints
|
INFEASIBLE
No solution that complies with all constraints exists
|
INVALID
The problem/model is infeasible, unbounded or otherwise invalid.
|
OPTIMAL
Optimal solution - there is no better
|
UNBOUNDED
There's an infinite number of feasible solutions and no bound on the objective function value.
|
UNEXPLORED
New/changed problem
|
VALID
Model entities and solver components (matrices) are valid
|
Modifier and Type | Method and Description |
---|---|
boolean |
isApproximate() |
boolean |
isDistinct() |
boolean |
isFailure()
FAILED, INVALID, INFEASIBLE or UNBOUNDED
|
boolean |
isFeasible() |
boolean |
isOptimal() |
boolean |
isSuccess()
VALID, APPROXIMATE, FEASIBLE, OPTIMAL or DISTINCT
|
boolean |
isUnexplored()
UNEXPLORED
|
boolean |
isValid() |
static Optimisation.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Optimisation.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Optimisation.State APPROXIMATE
public static final Optimisation.State DISTINCT
public static final Optimisation.State FAILED
public static final Optimisation.State FEASIBLE
public static final Optimisation.State INFEASIBLE
public static final Optimisation.State INVALID
public static final Optimisation.State OPTIMAL
public static final Optimisation.State UNBOUNDED
INFEASIBLE
or INVALID
.public static final Optimisation.State UNEXPLORED
public static final Optimisation.State VALID
public static Optimisation.State[] values()
for (Optimisation.State c : Optimisation.State.values()) System.out.println(c);
public static Optimisation.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 nameNullPointerException
- if the argument is nullpublic boolean isApproximate()
public boolean isDistinct()
public boolean isFailure()
public boolean isFeasible()
public boolean isOptimal()
public boolean isSuccess()
public boolean isUnexplored()
public boolean isValid()
Copyright © 2019 Optimatika. All rights reserved.