Cp > Cp Assembly Interfaces > ITargetConstraints
Assembly: Cp;
Namespace: Prognoz.Platform.Interop.Cp;
The ITargetConstraints interface is used to work with the collection of non-linear optimization constraints.
ITargetConstraints
To get the collection of non-linear constraints, use the ICpTargetAdjustment.Constraints property.
Property name | Brief description | |
![]() |
The Count property returns the number of collection constraints. | |
![]() |
The Item property returns the constraint with the specified index from the collection. |
Method name | Brief description | |
![]() |
The Add method adds a constraint to the collection. | |
![]() |
Clear | The Clear method clears the constraints collection. |
![]() |
The Remove method removes the constraint with the specified index from the collection. |
See also: