|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract interface to decision variables.
Field Summary | |
static byte |
BOOLEAN
The variable is boolean valued. |
static byte |
FREE
The variable is free. |
static byte |
INTEGER
The variable is integer valued. |
static byte |
REAL
The variable is real valued. |
Method Summary | |
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. |
Field Detail |
public static final byte FREE
public static final byte REAL
public static final byte INTEGER
public static final byte BOOLEAN
Method Detail |
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |