XPRBsetmsglevel
XPRBsetmsglevel |
Purpose
Synopsis
int XPRBsetmsglevel(XPRBprob prob, int level);
Arguments
prob
|
Reference to a problem.
|
||||||||||
level
|
The message level,
i.e. the type of messages printed by BCL. This may be one of:
|
Return value
0 if function executed successfully, 1 otherwise.
Example
The following statement switches to printing error messages only.
XPRBprob prob; ... XPRBsetmsglevel(prob, 1);
Further information
1. BCL can produce different types of messages; status information, warnings and errors. This function controls which of these are output. For settings
1 or higher, the corresponding Optimizer output is also displayed. In addition to this setting, the amount of Optimizer output can be modified through several Optimizer printing control parameters (see the ``Xpress Optimizer Reference Manual'').
2. This function may be used before any problem has been created and even before BCL has been initialized (with first argument NULL). In this case the setting applies to all problems that are created subsequently.
Related topics