Previous Page: CPXhybnetoptFirst PageNext Page: CPXinfodblparam

CPXiiswrite


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);

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

char *filename
A character string containing the name of the file to which the IIS should be written.

Example

status = CPXiiswrite (env, lp, "myprob.iis");
Previous Page: CPXhybnetoptFirst PageNext Page: CPXinfodblparam