Set a global parameter. The parameter names are the same as described in lp_get/2.
In addition, lp_set/2 is used to control the output from the external solver:
By default, error_channel is directed to ECLiPSe's error stream, warning_channel to warning_output while result_channel and log_channel are suppressed. To see the output on these channels, do
:- lp_set(result_channel, +output). :- lp_set(log_channel, +log_output).
Similarly, to create a log file:
:- open('mylog.log', write, logstream), lp_set(log_channel, +logstream).
and to stop logging:
:- lp_set(log_channel, -logstream), close(logstream).