12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Concert Technology Message ChannelsIn the C++ API of Concert Technology, the class IloEnv initializes output streams forgeneral information, for error messages, and for warnings. The class IloAlgorithmsupports these communication streams, and the class IloCplex inherits its methods. Forgeneral output, there is the method IloAlgorithm::out. For warnings and nonfatalconditions, there is the method IloAlgorithm::warning. For errors, there is the methodIloAlgorithm::error.By default, an instance of IloEnv defines the output stream referenced by the method outas the system cout in the C++ API, but you can use the method setOut to redefine it as youprefer. For example, to suppress output to the screen in a C++ application, use this methodwith this argument:setOut(IloEnv::getNullStream)Likewise, you can use the methods IloAlgorithm::setWarning and setError toredefine those channels as you prefer.154 <strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!