The routine returns a zero on success, and a nonzero if an error occurs.
int CPXgetcoef (CPXCENVptr env, CPXCLPptr lp, int i, int j, double *coef_p); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
An integer indicating the numerical index of the row.
An integer indicating the numerical index of the column.
A pointer to a double to contain the specified matrix coefficient.
status = CPXgetcoef (env, lp, 10, 20, &coef); |