CPXgetcovcnt


Description

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

Return Value

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

Synopsis

  int CPXgetcovcnt (CPXCENVptr env, CPXCLPptr lp);

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXCLPptr lp

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

Example

  cover_cuts = CPXgetcovcnt (env, lp);


Previous Page: CPXgetcols Return to Top Next Page: CPXgetcrossdexchcnt