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

From: Joachim Schimpf <jschimpf_at_...311...>
Date: Sat, 12 Nov 2011 21:53:17 +0100
Sergey Dymchenko wrote:
> Hi!
> 
> I want to prevent bb_min from printing info like "Found a solution
> with cost", "Found no solution with cost".
> For now I've done this buy declaring
> empty_handler(_, _, _).
> and use it in the options to bb_min like
> bb_options{strategy: dichotomic, report_success: empty_handler,
> report_failure: empty_handler}.
> 
> Maybe there is a better way?

You can also write
bb_options{report_success:true/0, report_failure:true/0}

-- Joachim
Received on Sat Nov 12 2011 - 20:53:27 CET

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