Class COptQuestEQConstraint

java.lang.Object
com.opttek.optquest.COptQuestConstraint
com.opttek.optquest.COptQuestEQConstraint
All Implemented Interfaces:
Cloneable

public class COptQuestEQConstraint extends COptQuestConstraint
The COptQuestEQConstraint class defines an equality linear constraint of the form 2*Var1 + 3*Var2 + 1.5*Var3 = 100
  • Constructor Details

    • COptQuestEQConstraint

      public COptQuestEQConstraint(String name, double rhs)
      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
    • COptQuestEQConstraint

      public COptQuestEQConstraint(double rhs)
      Constructor that sets the right hand side value.
      Parameters:
      rhs - value of the right hand side
    • COptQuestEQConstraint

      public COptQuestEQConstraint()
      Default constructor