Description
CPXiiswrite() is used to write an LP format file containing the rows and columns in the Irreducibly Inconsistent Set (IIS) of an infeasible LP. Note that the infeasibility must previously have been detected by a Simplex solver. If an IIS has already been obtained using the same method as is currently specified by the IIS algorithm indicator CPXPARAM_IISIND, CPXiiswrite() will simply write an LP format file containing the existing IIS. If no IIS has been computed, or the IIS algorithm differs from the one used to compute the available IIS, CPXiiswrite() will first compute an IIS, then write out its LP format representation.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXiiswrite (CPXENVptr env,
CPXLPptr lp,
char *filename);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
char *filenameA character string containing the name of the file to which the IIS should be written.
status = CPXiiswrite (env, lp, "myprob.iis");