NO FRAMES

CPXfindiis

int CPXPUBLIC CPXfindiis(CPXCENVptr env, CPXLPptr lp, int * iisnumrows_p, int * iisnumcols_p)
Definition file: cplex.h
Include files: cplex.h

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

Example

 status = CPXfindiis (env, lp, &iisnumrows, &iisnumcols);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

iisnumrows_p

A pointer to an integer to contain the number of rows in the IIS.

iisnumcols_p

A pointer to an integer to contain the number of columns in the IIS.

Returns:

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