Enum Class HxSolutionStatus

java.lang.Object
java.lang.Enum<HxSolutionStatus>
com.hexaly.optimizer.HxSolutionStatus
All Implemented Interfaces:
Serializable, Comparable<HxSolutionStatus>, Constable

public enum HxSolutionStatus extends Enum<HxSolutionStatus>
Solution status: Optimal, Feasible, Infeasible or Inconsistent.
See Also:
  • Enum Constant Details

    • Inconsistent

      public static final HxSolutionStatus 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

      public static final HxSolutionStatus Infeasible
      Solution is infeasible (some constraints are violated).
    • Feasible

      public static final HxSolutionStatus Feasible
      Solution is feasible but optimality was not proven.
    • Optimal

      public static final HxSolutionStatus Optimal
      Solution is optimal (all objective bounds are reached).
  • Method Details

    • values

      public static HxSolutionStatus[] 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

      public static HxSolutionStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null