Read your messages
Introduces warning and error messages.
CPLEX detects many different kinds of errors and generates exception, warnings, or error messages about them.
To query exceptions in Concert Technology, use the methods:
IloInt
getStatus
()
const; const char* IloException::getMessage() const;
To view warnings and error messages in the Callable Library, you must direct them either to your screen or to a log file.
-
To direct all messages to your screen, use the routine
CPXsetintparamto set the messages to screen switchCPX_PARAM_SCRIND. -
To direct all messages to a log file, use the routine
CPXXsetlogfilename.