Previous Page: CPXgeterrorstringFirst PageNext Page: CPXgetgrad

CPXgetgenclqcnt


Usage

Mixed Integer Users Only

Description

The routine CPXgetgenclqcnt() is used to access the number of clique inequalities in the "clique table", generated by CPLEX at the start of a mixed integer optimization.

Return Value

If no solution, problem, or environment exists, CPXgetgenclqcnt() returns 0. Otherwise, it returns the number of clique inequalities generated.

Synopsis

int CPXgetgenclqcnt (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

gen_clique_cuts = CPXgetgenclqcnt (env, lp);
Previous Page: CPXgeterrorstringFirst PageNext Page: CPXgetgrad