IMsTargetVarConstraints.Add

Syntax

Add: IMsTargetVarConstraint;

Description

The Add method adds constraint to the collection.

Comments

To remove constraints from the collection, use the IMsTargetVarConstraints.Clear and IMsTargetVarConstraints.Remove methods.

Example

The method use is given in the example for IMsBaseOptimizationProblem.CriterionFunction.

See also:

IMsTargetVarConstraints