The routine returns a zero on success; and a nonzero if an error occurs.
int CPXgetbestobjval (CPXCENVptr env, CPXCLPptr lp, double *objval_p); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
status = CPXgetbestobjval (env, lp, &objval); |