The ISlLinearConstraints interface contains properties and methods for working with the linear constraints collection.
Linear constraints are used when solving tasks of linear and quadratic programming and when optimizing a function of arbitrary form under nonlinear constraints. To get a collection of linear constraints, use the following properties:
Property name | Brief description | |
Count | The Count property returns the number of linear constraints. | |
Item | The Item property determines linear constraint parameters. |
Method name | Brief description | |
Add | The Add method adds a constraint to collection. | |
Clear | The Clear method clears the collection. | |
Remove | The Remove method deletes a constraint based on a specified index. |
See also: