[Scip] SCIPsetMessagehdlr(NULL) question

gamrath@zib.de gamrath at zib.de
Mon Dec 21 09:10:45 MET 2009


Hi Nikolaj,

you can control the amount of output by the parameter "display/verblevel";
it ranges from SCIP_VERBLEVEL_NONE (=0) to SCIP_VERBLEVEL_FULL (=5), per
default it is SCIP_VERBLEVEL_HIGH (=4). So, you can set this parameter in
your sub-SCIP to SCIP_VERBLEVEL_NONE (or 0) in order to get no messages
other than error and warning messages.

You can do this by the following command for the instance of SCIP named
subscip:

/* disable output to console */
SCIP_CALL( SCIPsetIntParam(subscip, "display/verblevel",
SCIP_VERBLEVEL_NONE) );

Best, Gerald


> Hello all,
>
> I have a question on how to control the level of messages (output) for two
> (different) instances of SCIP.
>
> I'm using SCIP inside SCIP itself. I have a main Branch and Cut coded with
> SCIP. To generate some cuts I'm using a small IP also coded with SCIP.
> This works great. I would like to be able to see the messages of the main
> Branch and Cut but not the ones of the small IPs.
>
> Using SCIPsetMessagehdlr(NULL) avoids all the messages but how could I
> differentiate the output ?
>
> My version is SCIP-1.2.0 and I'm coding in C++.
>
> Thank you very much,
>
> Nikolaj
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>



More information about the Scip mailing list