|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opttek.optquest.COptQuestVariable
com.opttek.optquest.COptQuestDiscreteVariable
com.opttek.optquest.COptQuestBinaryVariable
The COptQuestBinaryVariable class defines a binary decision variable which is a discrete variable that can have a value of 0 or 1.
| Constructor Summary | |
COptQuestBinaryVariable()
Default constructor. |
|
COptQuestBinaryVariable(java.lang.String name)
Constructor that assigns a name to the binary variable. |
|
| Method Summary | |
void |
SetExclusiveRange(double low,
double high)
Illegal method for binary variables. |
void |
SetLowerBound(double val)
Illegal method for binary variables. |
void |
SetUpperBound(double val)
Illegal method for binary variables. |
| Methods inherited from class com.opttek.optquest.COptQuestDiscreteVariable |
GetStepSize, GetType, SetStepSize |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public COptQuestBinaryVariable(java.lang.String name)
name - alphanumeric name. Note: The name can contain blanks or special
characters. If the variable name is used in a COptQuestConstraintString
equation and it contains non-alphanumeric characters, the name should be
enclosed in square brackets []public COptQuestBinaryVariable()
| Method Detail |
public void SetLowerBound(double val)
throws COptQuestException
SetLowerBound in class COptQuestVariableval - a value between -pow(2,31) and +pow(2,31)-1
COptQuestException
public void SetUpperBound(double val)
throws COptQuestException
SetUpperBound in class COptQuestVariableval - a value between -pow(2,31) and +pow(2,31)-1
COptQuestException
public void SetExclusiveRange(double low,
double high)
throws COptQuestException
SetExclusiveRange in class COptQuestVariablelow - - any value > low will be excludedhigh - - any value < high will be exluded
COptQuestException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||