Enum MPSolver.BasisStatus

java.lang.Object
java.lang.Enum<MPSolver.BasisStatus>
com.google.ortools.linearsolver.MPSolver.BasisStatus
All Implemented Interfaces:
Serializable, Comparable<MPSolver.BasisStatus>, java.lang.constant.Constable
Enclosing class:
MPSolver

public static enum MPSolver.BasisStatus extends Enum<MPSolver.BasisStatus>
Advanced usage: possible basis status values for a variable and the slack
variable of a linear constraint.
  • Enum Constant Details

  • Method Details

    • values

      public static MPSolver.BasisStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MPSolver.BasisStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • swigValue

      public final int swigValue()
    • swigToEnum

      public static MPSolver.BasisStatus swigToEnum(int swigValue)