Void IOptimizationMethod.AddConstraint(String bsVariableID, enumConstraintType dblImportance, Object type, Object vbStrictConstraint, Double vntConstraintValue1, Boolean vntConstraintValue2)

Adds a constraint associated with a variable.

Parameters

  • bsVariableID
    Type: String
    Variable identifier.
  • dblImportance
    Importance of the constraint with respect to other constraints.
  • type
    Type: Object
    Constraint type.
  • vbStrictConstraint
    Type: Object
    True if the constraint handling is Strict (determines if a point is feasible or not), False if Relaxed.
  • vntConstraintValue1
    Type: Double
    First constraint value, used for all constraint values but the upper bound of the eCT_InsideBounds constraint.
  • vntConstraintValue2
    Type: Boolean
    Second constraint value, used for the upper bound of the eCT_InsideBounds constraint.