public static enum NetworkSimplex.SolutionStatus extends java.lang.Enum<NetworkSimplex.SolutionStatus>
| Enum Constant and Description |
|---|
INFEASIBLE
The problem is infeasible, some of the supply/demand constraints
cannot be satisfied.
|
OPTIMAL
The problem is feasible and bounded.
|
UNBOUNDED
The problem is unbounded (this happens when the graph contains an
uncapacitated negative cost cycle).
|
UNDEFINED
The current solution is outdated.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkSimplex.SolutionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkSimplex.SolutionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkSimplex.SolutionStatus UNDEFINED
NetworkSimplex.compute()public static final NetworkSimplex.SolutionStatus OPTIMAL
public static final NetworkSimplex.SolutionStatus INFEASIBLE
public static final NetworkSimplex.SolutionStatus UNBOUNDED
public static NetworkSimplex.SolutionStatus[] values()
for (NetworkSimplex.SolutionStatus c : NetworkSimplex.SolutionStatus.values()) System.out.println(c);
public static NetworkSimplex.SolutionStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null