messages to screen switch

Decides whether or not results are displayed on screen in an application of the C API, MATLAB API, or MATLAB Toolbox.

Purpose

Messages to screen switch

API Parameter Name Name prior to V12.6.0
C CPXPARAM_ScreenOutput CPX_PARAM_SCRIND
Identifier 1035 1035

Description

Decides whether or not results are displayed on screen in a application of the Callable Library (C API), MATLAB API, or MATLAB Toolbox.

To turn off output to the screen, in a C++ application, where cplex is an instance of the class IloCplex and env is an instance of the class IloEnv , the environment, use cplex.setOut(env.getNullStream()) .

Table 1. Values
Value Symbol Meaning
0 CPX_OFF Turn off display of messages to screen; default
1 CPX_ON Display messages on screen