ILOG CPLEX .NET Reference Manual

ILPMatrix.SetNZs Method 

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

void SetNZs(
   int[] rowind,
   int[] colind,
   double[] val
);

Parameters

rowind
An array containing the row indices of the matrix coefficients to be set.
colind
An array containing the column indices of the matrix coefficients to be set.
val
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.

See Also

ILPMatrix Interface | ILOG.Concert Namespace