The routine returns a zero on success, and a nonzero if an error occurs.
int CPXgetdblquality (CPXCENVptr env, CPXCLPptr lp, double *quality_p, int what); |
The pointer to the CPLEX environment as returned by the CPXopenCPLEX
routine.
A pointer to a CPLEX problem object as returned by CPXcreateprob()
.
A symbolic constant indicating the quality value to be retrieved. The possible quality values for a solution are listed in Appendix D, Solution Quality Values.
status = CPXgetdblquality (env, lp, &max_x, CPX_MAX_X); |