Class COptQuestDualRequirement

java.lang.Object
com.opttek.optquest.COptQuestRequirement
com.opttek.optquest.COptQuestDualRequirement

public class COptQuestDualRequirement extends COptQuestRequirement
The COptQuestDualRequirement defines a requirement that has both a lower bound and an upper bound. The OptQuest Engine considers the COptQuestDualRequirement to be feasible if lower bound ≤ requirement value ≤ upper bound
  • Constructor Details

    • COptQuestDualRequirement

      public COptQuestDualRequirement(double lower, double upper)
      Constructor that sets the lower and upper bound of the requirement.
      Parameters:
      lower - a value between -pow(2,31) and +pow(2,31)-1
      upper - a value between -pow(2,31) and +pow(2,31)-1
    • COptQuestDualRequirement

      public COptQuestDualRequirement(String name, double lower, double upper)
      Constructor that assigns a name to the requirement and sets the lower and upper bound of the requirement.
      Parameters:
      name - - alphanumeric name
      lower - a value between -pow(2,31) and +pow(2,31)-1
      upper - a value between -pow(2,31) and +pow(2,31)-1
    • COptQuestDualRequirement

      public COptQuestDualRequirement()
      Default constructor