org.ojalgo.optimisation.linear.mps
Enum RowType

java.lang.Object
  extended by java.lang.Enum<RowType>
      extended by org.ojalgo.optimisation.linear.mps.RowType
All Implemented Interfaces:
Serializable, Comparable<RowType>

public enum RowType
extends Enum<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

Author:
apete

Enum Constant Summary
E
           
G
           
L
           
N
           
 
Method Summary
static RowType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RowType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

E

public static final RowType E

G

public static final RowType G

L

public static final RowType L

N

public static final RowType N
Method Detail

values

public static RowType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RowType c : RowType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RowType 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