Description
The routine CPXgetcovcnt() is used to access the number of cover cuts added to the problem object during mixed integer optimization.
CPXgetcovcnt()
The routine returns zero if no solution, problem, or environment exists. Otherwise the number of cover cuts added is returned.
int CPXgetcovcnt (CPXCENVptr env, CPXCLPptr lp);
The pointer to the CPLEX environment as returned by CPXopenCPLEX().
CPXopenCPLEX()
A pointer to a CPLEX problem object as returned by CPXcreateprob().
CPXcreateprob()
cover_cuts = CPXgetcovcnt (env, lp);