Sets one nonzero 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 SetNZ( int rowind, int colind, double val ) |
| Visual Basic |
|---|
Sub SetNZ ( _ rowind As Integer, _ colind As Integer, _ val As Double _ ) |
Parameters
- rowind
- Type: System..::..Int32
The row index of the matrix coefficient to be set.
- colind
- Type: System..::..Int32
The column index of the matrix coefficient to be set.
- val
- Type: System..::..Double
The value of the matrix coefficient to be set.
Remarks
By doing this, you are implicitly changing the expression of the range constraint corresponding to the row index of the affected nonzero element.