public static enum NetworkSimplex.SolutionStatus extends 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(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(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 nullCopyright © 2015. All rights reserved.