Initializing help system before first use

XPRBsetmsglevel

XPRBsetmsglevel


Purpose
Set the message print level.
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:
no messages printed;
error messages only printed;
warnings and errors printed;
warnings, errors, and Optimizer log printed (default);
all messages printed.
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

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.