com.opttek.optquest
Class COptQuestGEConstraint
java.lang.Object
com.opttek.optquest.COptQuestConstraint
com.opttek.optquest.COptQuestGEConstraint
- public class COptQuestGEConstraint
- extends COptQuestConstraint
The COptQuestGEConstraint class defines a greater than or equal linear constraint
of the form 2*Var1 + 3*Var2 + 1.5*Var3 >= 100
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COptQuestGEConstraint
public COptQuestGEConstraint(java.lang.String name,
double rhs)
- Constructor that assigns a name to the constraint and sets the right
hand side value.
- Parameters:
rhs - value of the right hand side
COptQuestGEConstraint
public COptQuestGEConstraint(double rhs)
- Constructor that sets the right hand side value.
- Parameters:
rhs - value of the right hand side
COptQuestGEConstraint
public COptQuestGEConstraint()
- Default constructor
GetType
public int GetType()
- Overrides:
GetType in class COptQuestConstraint