IVarConstraints

Description

The IVarConstraints interface contains properties and methods that are used to work with the collection of non-linear optimization variable constraints.

Properties

  Property name Brief description
Count The Count property returns the number of constraints in the collection.
Item The Item property returns the constraint from the collection by its index.

Methods

  Method name Brief description
Add The Add method adds a constraint to the collection.
Clear The Clear method removes all constraints from the collection.
Remove The Remove method removes the constraint from the collection by its index.

See also:

Cp Assembly Interfaces