Usage
Mixed Integer Users OnlyDescription
The routine CPXgetmipobjval() is used to access the mixed integer solution objective value. Return Value
The routine returns a zero on success, and a nonzero if an error occurs. If no integer solution exists, the value CPXERR_NO_INT_SOLUTION is returned.Synopsis
int CPXgetmipobjval (CPXENVptr env
CPXLPptr lp,
double *objval_p);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
double *objval_pA pointer to the location where the mixed integer objective value is stored.
status = CPXgetmipobjval (env, lp, &objval);