Previous Page: CPXgetnumcolsFirst PageNext Page: CPXgetnumnz

CPXgetnumint


Usage

(Mixed Integer Users Only)

Description

The CPXgetnumint() routine is used to access the number of general integer variables in the CPLEX LP problem object.

Return Value

If the LP problem object or environment does not exist, CPXgetnumint() returns the value 0, otherwise it returns the number of general integer variables in the problem object.

Synopsis

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

numint = CPXgetnumint (env, lp);
Previous Page: CPXgetnumcolsFirst PageNext Page: CPXgetnumnz