XPRSgetcoef
XPRSgetcoef |
Purpose
Returns a single coefficient in the constraint matrix.
Synopsis
int XPRS_CC XPRSgetcoef(XPRSprob prob, int irow, int icol, double *dval);
Arguments
prob
|
The current problem.
|
irow
|
Row of the constraint matrix.
|
icol
|
Column of the constraint matrix.
|
dval
|
Pointer to a double where the coefficient will be returned.
|
Further information
It is quite inefficient to get several coefficients with the
XPRSgetcoef function. It is better to use
XPRSgetcols or
XPRSgetrows.
Related topics