Sets nonzero elements of the coefficient matrix of the invoking LP matrix.
Namespace: ILOG.Concert
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
void SetNZs( int[] rowind, int[] colind, double[] val ) |
| Visual Basic |
|---|
Sub SetNZs ( _ rowind As Integer(), _ colind As Integer(), _ val As Double() _ ) |
Parameters
- rowind
- Type: array<System..::..Int32>[]()[][]
An array containing the row indices of the matrix coefficients to be set.
- colind
- Type: array<System..::..Int32>[]()[][]
An array containing the column indices of the matrix coefficients to be set.
- val
- Type: array<System..::..Double>[]()[][]
An array containing the values of the new matrix coefficients to be set.
Remarks
By doing this, you are implicitly changing the expressions of the range constraints corresponding to the row indices of the affected nonzero elements.