ILOG CPLEX .NET Reference Manual

ILPMatrix.SetNZ Method 

Sets one nonzero of the coefficient matrix of the invoking LP matrix.

void SetNZ(
   int rowind,
   int colind,
   double val
);

Parameters

rowind
The row index of the matrix coefficient to be set.
colind
The column index of the matrix coefficient to be set.
val
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.

See Also

ILPMatrix Interface | ILOG.Concert Namespace