NO FRAMES

CPXgetcovcnt

int CPXPUBLIC CPXgetcovcnt(CPXCENVptr env, CPXCLPptr lp)
Definition file: cplex.h
Include files: cplex.h

The routine CPXgetcovcnt is used to access the number of cover cuts added to the problem object during mixed integer optimization.

Example

 cover_cuts = CPXgetcovcnt (env, lp);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

Example

 cover_cuts = CPXgetcovcnt (env, lp);

Returns:

The routine returns zero if no solution, problem, or environment exists. Otherwise, the number of cover cuts added is returned.