NO FRAMES

CPXdisplayiis

int CPXPUBLIC CPXdisplayiis(CPXCENVptr env, CPXCLPptr lp, CPXCHANNELptr channel, int display)
Definition file: cplex.h
Include files: cplex.h

The routine CPXdisplayiis is used to send IIS output to a CPLEX message channel. The IIS must already have been computed using a call to CPXfindiis or CPXiiswrite. Two different levels of output are available, corresponding to the output written to the log file and an IIS file in the CPLEX Interactive Optimizer. Thus, CPXdisplayiis enables the user to use CPLEX IIS output formats in a Callable Library application. If neither of these formats is appropriate, the information provided by the routine CPXgetiis can be used to create customized IIS output.

ValueSymbolic ConstantMeaning
1CPXIIS_TERSEDisplays the names of the rows and columns in the IIS
2CPXIIS_VERBOSEDisplays an LP format file containing the IIS

Example

 status = CPXdisplayiis (env, lp, mychannel, CPXIIS_TERSE);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

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

channel

The pointer to the message channel receiving the IIS output.

display

An integer indicating the type of output desired.

Returns:

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