Initializing help system before first use

XSLPsetlogfile

Purpose
Define an output file to be used to receive messages from Xpress NonLinear
Topic areas
Synopsis
int XPRS_CC XSLPsetlogfile(XSLPprob prob, char *Filename, int option);
Arguments
prob 
The current SLP problem.
filename 
Character string containing the name of the file to be used for output.
option 
option to indicate whether the output is directed to the file only ( option=0) or (in console mode) to the console as well ( option=1).
Example
The following example defines a log file "MyLog1" and directs output to the file and to the console:
XSLPsetlogfile(prob, "MyLog1", 1);
Further information
If Filename is NULL, the current log file (if any) will be closed, and message handling will revert to the default mechanism.
Related topics

© 2001-2025 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.