|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.opttek.optquest.COptQuestConstraint
com.opttek.optquest.COptQuestLEConstraint
public class COptQuestLEConstraint
The COptQuestLEConstraint class defines a less than or equal linear constraint of the form 2*Var1 + 3*Var2 + 1.5*Var3 <= 100
| Constructor Summary | |
|---|---|
COptQuestLEConstraint()
Default constructor |
|
COptQuestLEConstraint(double rhs)
Constructor that sets the right hand side value. |
|
COptQuestLEConstraint(java.lang.String name,
double rhs)
Constructor that assigns a name to the constraint and sets the right hand side value. |
|
| Method Summary | |
|---|---|
int |
GetType()
|
| Methods inherited from class com.opttek.optquest.COptQuestConstraint |
|---|
AddVariable, ChangeVariableCoefficient, clone, GetCoefficientAt, GetLHSValue, GetName, GetNumberOfVariables, GetRHS, GetVariableAt, RemoveVariable, SetName, SetRHS |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public COptQuestLEConstraint(java.lang.String name,
double rhs)
name - alphanumeric name.rhs - value of the right hand sidepublic COptQuestLEConstraint(double rhs)
rhs - value of the right hand sidepublic COptQuestLEConstraint()
| Method Detail |
|---|
public int GetType()
GetType in class COptQuestConstraint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||