|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.mp.Variable
Decision variable implementation.
Fields inherited from interface drasys.or.mp.VariableI |
BOOLEAN,
FREE,
INTEGER,
REAL |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
int |
getColumnIndex()
Returns the column index of the variable. |
double |
getLowerBound()
Returns the lower bound. |
java.lang.String |
getName()
Returns the name of the variable. |
double |
getObjectiveCoefficient()
Returns the objective function coefficient. |
byte |
getType()
Returns the variable type. |
double |
getUpperBound()
Returns the upper bound. |
VariableI |
setLowerBound(double scaler)
Sets the lower bound. |
VariableI |
setObjectiveCoefficient(double scaler)
Sets the objective function coefficient. |
VariableI |
setType(byte type)
Sets the variable type. |
VariableI |
setUpperBound(double scaler)
Sets the upper bound. |
java.lang.String |
toString()
Returns a string representation of the variable. |
static java.lang.String |
typeToString(byte type)
Returns a String representation of a variable type. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public static java.lang.String typeToString(byte type)
public java.lang.String getName()
public int getColumnIndex()
public VariableI setType(byte type)
public byte getType()
public VariableI setObjectiveCoefficient(double scaler)
public double getObjectiveCoefficient()
public VariableI setUpperBound(double scaler)
public double getUpperBound()
public VariableI setLowerBound(double scaler)
public double getLowerBound()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |