Package com.opttek.optquest
Class COptQuestGEConstraint
java.lang.Object
com.opttek.optquest.COptQuestConstraint
com.opttek.optquest.COptQuestGEConstraint
- All Implemented Interfaces:
Cloneable
The COptQuestGEConstraint class defines a greater than or equal linear constraint
of the form 2*Var1 + 3*Var2 + 1.5*Var3 ≥ 100
-
Constructor Summary
ConstructorDescriptionDefault constructorCOptQuestGEConstraint
(double rhs) Constructor that sets the right hand side value.COptQuestGEConstraint
(String name, double rhs) Constructor that assigns a name to the constraint and sets the right hand side value. -
Method Summary
Methods inherited from class com.opttek.optquest.COptQuestConstraint
AddVariable, ChangeVariableCoefficient, clone, GetCoefficientAt, GetLHSValue, GetName, GetNumberOfVariables, GetRHS, GetVariableAt, RemoveVariable, SetName, SetRHS, SetTolerance
-
Constructor Details
-
COptQuestGEConstraint
Constructor that assigns a name to the constraint and sets the right hand side value. -
COptQuestGEConstraint
public COptQuestGEConstraint(double rhs) Constructor that sets the right hand side value. -
COptQuestGEConstraint
public COptQuestGEConstraint()Default constructor
-