Re: [eclipse-clp-users] Preventing bb_min from printing debug info

From: Joachim Schimpf <jschimpf_at_...311...>
Date: Sat, 05 May 2012 15:29:35 +0200
The messages does go to log_output.  Maybe you are redirecting too late?

Try placing
:- set_stream(log_output, null).
before
:- lib(eplex).
in your source file.


Sergey Dymchenko wrote:
> Hello!
> 
> What about suppressing "loading OSI clpcbc ... done" when using eplex?
> I tried set_stream(warning_output, null), set_stream(log_output, null)
> without any success.
> 
> Sergey.
> 
> On Tue, Nov 22, 2011 at 2:16 AM, Joachim Schimpf <jschimpf_at_...311...> wrote:
>> Sergey Dymchenko wrote:
>>> Hmm, but how to prevent "Branch-and-bound timeout!" message from
>>> printing in the case when timeout option is set?
>>> It looks like report_success and report_failure don't affect this message.
>> The easiest way to suppress this (and similar) messages is
>> to redirect the log_output stream, onto which these messages
>> are printed.
>>
>> You can for example redirect to the 'null' stream by calling
>> set_stream(log_output,null).  The messages are then lost.
>>
>> Or you can open a log file and redirect the messages there:
>> open("log.txt",write,S), set_stream(log_output,S).
>>
>>
>> -- Joachim
Received on Sat May 05 2012 - 17:29:44 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST