The routine returns a zero on success, and a nonzero if an error occurs.
int CPXgetintquality (CPXCENVptr env, CPXCLPptr lp, int *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 pointer to an integer variable in which the requested quality value is to be stored.
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 = CPXgetintquality (env, lp, &max_x_ind, CPX_MAX_X); |