CPXXgetconflictnumgroups and CPXgetconflictnumgroups
The routine CPXXgetconflictnumgroups/CPXgetconflictnumgroups accesses the number of constraint groups given, or automatically created, in the last call to the routine
CPXXrefineconflictext/CPXrefineconflictext.
CPXNNZ CPXXgetconflictnumgroups( CPXCENVptr env, CPXCLPptr lp )
int CPXgetconflictnumgroups( CPXCENVptr env, CPXCLPptr lp )
Description
The routine CPXXgetconflictnumgroups/CPXgetconflictnumgroups accesses the number of constraint groups given, or automatically created, in the last call to the routine
CPXXrefineconflictext/CPXrefineconflictext.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX problem object as returned by
CPXXcreateprob/CPXcreateprob.
Return
If the problem object or environment does not exist,CPXXgetconflictnumgroups/CPXgetconflictnumgroups returns the value 0 (zero); otherwise, it returns the number of constraint groups.
Example
cur_numgroups = CPXgetconflictnumgroups (env, lp);