Previous Page: CPXfclose   First PageNext Page: CPXflushchannel

CPXfindiis


Description

The routine CPXfindiis() is used to determine an irreducibly inconsistent set (IIS) for an infeasible LP problem. Upon successful completion, CPXfindiis() returns the number of rows and columns in the IIS. To obtain information on the individual rows and columns, use the CPXgetiis(), CPXiiswrite() or CPXdisplayiis() routines.

Return Value

The routine returns a zero on success, and a nonzero if an error occurs.

Synopsis

int CPXfindiis (CPXENVptr env,
                CPXLPptr lp,
                int *iisnumrows_p,
                int *iisnumcols_p);

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

int *iisnumrows_p
A pointer to an integer that will contain the number of rows in the IIS.

int *iisnumcols_p
A pointer to an integer that will contain the number of columns in the IIS.

Example

status = CPXfindiis (env, lp, &iisnumrows, &iisnumcols);
Previous Page: CPXfclose   First PageNext Page: CPXflushchannel