IRowVariableModel Interface
Solver Foundation 3.0
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines a basic optimization model that consists of decision variables and rows.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
The IRowVariableModel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Indices | Gets the collection of variable indexes, inclusive of rows. |
![]() | IntegerIndexCount | Gets the number of integer variables in a model. |
![]() | KeyComparer | Gets an object that is used to compare rows or variables. |
![]() | KeyCount | Gets the number of keys in a model, inclusive of rows and variables. |
![]() | Keys | Gets the variable and row key collection. |
![]() | RowCount | Gets the number of rows in a model. |
![]() | RowIndices | Gets the collection of row indexes in a model. |
![]() | RowKeys | Gets the collection of row keys. |
![]() | VariableCount | Gets the number of variables in a model. |
![]() | VariableIndices | Gets the collection of variable indexes. |
![]() | VariableKeys | Gets the collection of variable keys. |
| Name | Description | |
|---|---|---|
![]() | AddRow | Adds a row to a model. |
![]() | AddVariable | Adds a user variable to a model. |
![]() | GetBounds | Returns the bounds for a variable. |
![]() | GetIgnoreBounds | Returns a value that indicates whether the bounds of a variable are ignored. |
![]() | GetIndexFromKey | Returns the index that is associated with a key. |
![]() | GetIntegrality | Returns a value that indicates whether a variable is an integer variable. |
![]() | GetKeyFromIndex | Returns the key that is associated with a variable index. |
![]() | GetValue | Returns the value that is associated with a variable index. |
![]() | IsRow | Returns a value that indicates whether a variable index is a row. |
![]() | SetBounds | Sets the bounds for a variable. |
![]() | SetIgnoreBounds | Specifies whether the bounds of a variable index should be respected or ignored during a solve process. |
![]() | SetIntegrality | Specifies that a variable is an integer variable. |
![]() | SetLowerBound | Sets the lower bound of a variable. |
![]() | SetUpperBound | Sets the upper bound of a variable |
![]() | SetValue | Sets the value for the specified variable index. |
![]() | TryGetIndexFromKey | Attempts to return the variable index associated with a key. |
Show:
