The routine returns a zero on success, and a nonzero if an error occurs.
int CPXchgrhs (CPXCENVptr env, CPXLPptr lp, int cnt, const int *indices, const double *values); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
status = CPXchgrhs (env, lp, cnt, indices, values); |