com.opttek.optquest
Class COptQuestGEConstraint

java.lang.Object
  extended bycom.opttek.optquest.COptQuestConstraint
      extended bycom.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


Constructor Summary
COptQuestGEConstraint()
          Default constructor
COptQuestGEConstraint(double rhs)
          Constructor that sets the right hand side value.
COptQuestGEConstraint(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, GetCoefficientAt, GetName, GetNumberOfVariables, GetRHS, GetVariableAt, SetName, SetRHS
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

Method Detail

GetType

public int GetType()
Overrides:
GetType in class COptQuestConstraint