The routine returns a zero on success, and a nonzero if an error occurs.
int CPXchgqpcoef (CPXCENVptr env, CPXLPptr lp, int i, int j, double newvalue); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
An integer that indicates the first variable number (row number in Q
).
An integer that indicates the second variable number (column number in Q
).
status = CPXchgqpcoef (env, lp, 10, 12, 82.5); |