Overview | Group | Index | Concepts |
The routine CPXgetnumindconstrs
accesses the number of
indicator constraints in a CPLEX problem object.
Example
cur_numindconstrs = CPXgetnumindconstrs (env, lp);
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
If the problem object or environment does not exist, CPXgetnumindconstrs
returns the value 0 (zero); otherwise, it returns the number of indicator constraints.