Package com.hexaly.optimizer
Enum Class HxSolutionStatus
- All Implemented Interfaces:
Serializable,Comparable<HxSolutionStatus>,Constable
Solution status: Optimal, Feasible, Infeasible or Inconsistent.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSolution is feasible but optimality was not proven.Solution and model are inconsistent.Solution is infeasible (some constraints are violated).Solution is optimal (all objective bounds are reached). -
Method Summary
Modifier and TypeMethodDescriptionstatic HxSolutionStatusReturns the enum constant of this class with the specified name.static HxSolutionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Inconsistent
Solution and model are inconsistent. The optimizer was able to prove that the model admits no feasible solution. Note that even a model without any constraint can be inconsistent, because some computations can yield undefined results. For instance, computing sqrt(x) with negative x yields an undefined value, which causes the solution to be invalid if it is used in an objective or a constraint (directly or indirectly). -
Infeasible
Solution is infeasible (some constraints are violated). -
Feasible
Solution is feasible but optimality was not proven. -
Optimal
Solution is optimal (all objective bounds are reached).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-