Previous Page: CPXgetcolsFirst PageNext Page: CPXgetcrossdexchcnt

CPXgetcovcnt


Usage

Mixed Integer Users Only

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

Return Value

If no solution, problem, or environment exists, CPXgetcovcnt() returns 0. Otherwise the number of cover cuts added is returned.

Synopsis

int CPXgetcovcnt (CPXENVptr env,
                  CPXLPptr lp);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXLPptr lp
A pointer to a CPLEX LP problem object as returned by CPXcreateprob().

Example

cover_cuts = CPXgetcovcnt (env, lp);
Previous Page: CPXgetcolsFirst PageNext Page: CPXgetcrossdexchcnt