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 | |
| The Count property returns the number of linear constraints. | ||
| The Item property determines linear constraint parameters. |
| Method name | Brief description | |
| The Add method adds a constraint to collection. | ||
| The Clear method clears the collection. | ||
| The Remove method deletes a constraint based on a specified index. |
See also: