CPXgetgenclqcnt


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

  gen_clique_cuts = CPXgetgenclqcnt (env, lp);


Previous Page: CPXgeterrorstring Return to Top Next Page: CPXgetgrad