Enum Class FileFormatMPS.RowType

java.lang.Object
java.lang.Enum<FileFormatMPS.RowType>
org.ojalgo.optimisation.FileFormatMPS.RowType
All Implemented Interfaces:
Serializable, Comparable<FileFormatMPS.RowType>, Constable
Enclosing class:
FileFormatMPS

static enum FileFormatMPS.RowType extends Enum<FileFormatMPS.RowType>
RowType used with the ROWS and RANGES sections.
 type      meaning
 ---------------------------
  E    equality
  L    less than or equal
  G    greater than or equal
  N    objective
  N    no restriction

 row type       sign of r       h          u
 ----------------------------------------------
    G            + or -         b        b + |r|
    L            + or -       b - |r|      b
    E              +            b        b + |r|
    E              -          b - |r|      b
 
  • Enum Constant Details

  • Constructor Details

    • RowType

      private RowType()
  • Method Details

    • values

      public static FileFormatMPS.RowType[] 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 FileFormatMPS.RowType 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