The routine returns a zero on success, and a nonzero if an error occurs.
int CPXgetdj (CPXCENVptr env, CPXCLPptr lp, double *dj, int begin, int end); |
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 beginning of the range of reduced-cost values to be returned.
An integer indicating the end of the range of reduced-costs values to be returned.
status = CPXgetdj (env, lp, dj, 0, CPXgetnumcols(env,lp)-1); |