Package com.opttek.optquest
Class COptQuestLEConstraint
java.lang.Object
com.opttek.optquest.COptQuestConstraint
com.opttek.optquest.COptQuestLEConstraint
- All Implemented Interfaces:
Cloneable
The COptQuestLEConstraint class defines a less than or equal linear constraint of
the form 2*Var1 + 3*Var2 + 1.5*Var3 ≤ 100
-
Constructor Summary
ConstructorDescriptionDefault constructorCOptQuestLEConstraint
(double rhs) Constructor that sets the right hand side value.COptQuestLEConstraint
(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
-
COptQuestLEConstraint
Constructor that assigns a name to the constraint and sets the right hand side value.- Parameters:
name
- alphanumeric name.rhs
- value of the right hand side
-
COptQuestLEConstraint
public COptQuestLEConstraint(double rhs) Constructor that sets the right hand side value.- Parameters:
rhs
- value of the right hand side
-
COptQuestLEConstraint
public COptQuestLEConstraint()Default constructor
-