<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Berlin Sans FB">John,<br>
<br>
Thank you for your prompt response.<br>
<br>
Solving a linear model with OsiClp, assuming that clpModelPtr is a
pointer to the Clp model, returned by getModelPtr():<br>
<br>
clpModelPtr-&gt;messagesPointer()-&gt;setDetailMessages(10, 0, 2999);<br>
<br>
effectively turns off informational messages from Clp, but does not
turn off messages from Coin (example Coin0506I Presolve).<br>
<br>
The following alternative to explicitly turn on the warning and error
messages seems to work fine:<br>
<br>
</font><font face="Berlin Sans FB">clpModelPtr</font><font
 face="Berlin Sans FB">-&gt;messageHandler()-&gt;setLogLevel(0);<br>
</font><font face="Berlin Sans FB">clpModelPtr-&gt;messagesPointer()-&gt;setDetailMessages(3,
3000, 9000);<br>
</font><br>
<font face="Berlin Sans FB">Although, it seems the newLevel values have
different meaning than the setLogLevel parameter. Where can I find the
possible values and their meanings for the </font><font
 face="Berlin Sans FB">newLevel&nbsp; parameter?<br>
<br>
Regards,<br>
Edgardo Fuchs<br>
</font><font face="Berlin Sans FB"><br>
</font><br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:coin-discuss-request@list.coin-or.org">coin-discuss-request@list.coin-or.org</a> wrote:
<blockquote cite="mid200512031700.jB3H0f6q006775@iol-e.informs.org"
 type="cite">
  <pre wrap="">Send Coin-discuss mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:coin-discuss@list.coin-or.org">coin-discuss@list.coin-or.org</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/coin-discuss">http://list.coin-or.org/mailman/listinfo/coin-discuss</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:coin-discuss-request@list.coin-or.org">coin-discuss-request@list.coin-or.org</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:coin-discuss-owner@list.coin-or.org">coin-discuss-owner@list.coin-or.org</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Coin-discuss digest..."


Today's Topics:

   1. Message control (Edgardo Fuchs)
   2. Re: Message control (John J Forrest)
   3. Re: Message control (John J Forrest)


----------------------------------------------------------------------

Message: 1
Date: Fri, 02 Dec 2005 21:19:23 -0300
From: Edgardo Fuchs <a class="moz-txt-link-rfc2396E" href="mailto:edgardo_fuchs@mi.cl">&lt;edgardo_fuchs@mi.cl&gt;</a>
Subject: [Coin-discuss] Message control
To: COIN <a class="moz-txt-link-rfc2396E" href="mailto:coin-discuss@list.coin-or.org">&lt;coin-discuss@list.coin-or.org&gt;</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:4390E48B.6060109@mi.cl">&lt;4390E48B.6060109@mi.cl&gt;</a>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://list.coin-or.org/pipermail/coin-discuss/attachments/20051202/76fb1aa4/attachment-0001.html">http://list.coin-or.org/pipermail/coin-discuss/attachments/20051202/76fb1aa4/attachment-0001.html</a>

------------------------------

Message: 2
Date: Sat, 3 Dec 2005 05:39:34 -0500
From: John J Forrest <a class="moz-txt-link-rfc2396E" href="mailto:jjforre@us.ibm.com">&lt;jjforre@us.ibm.com&gt;</a>
Subject: Re: [Coin-discuss] Message control
To: Discussions about open source software for Operations Research
        <a class="moz-txt-link-rfc2396E" href="mailto:coin-discuss@list.coin-or.org">&lt;coin-discuss@list.coin-or.org&gt;</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:OF2BF965AF.8A89BBEE-ON052570CC.0039C7E4-052570CC.003A81F9@us.ibm.com">&lt;OF2BF965AF.8A89BBEE-ON052570CC.0039C7E4-052570CC.003A81F9@us.ibm.com&gt;</a>
Content-Type: text/plain; charset="us-ascii"

Edgardo,

You can use setDetailMessages (examples in Cbc/Samples) to set the detail 
level for all messages &lt; 6000 to high.

At present the best way would be to use one form of setDetailMessages to 
switch off all messages and then switch back the &gt;= 6000 messages one by 
one.

As that seems inelegant I will add a new setDetailMessage to do by range. 
Then it would be

.messageHandler()-&gt;setDetailMessage(3,0,5999);

Should be in a few hours.

John Forrest



Edgardo Fuchs <a class="moz-txt-link-rfc2396E" href="mailto:edgardo_fuchs@mi.cl">&lt;edgardo_fuchs@mi.cl&gt;</a> 
Sent by: <a class="moz-txt-link-abbreviated" href="mailto:coin-discuss-bounces@list.coin-or.org">coin-discuss-bounces@list.coin-or.org</a>
12/02/2005 07:19 PM
Please respond to
edgardo_fuchs and Discussions about open source software for Operations 
Research 


To
COIN <a class="moz-txt-link-rfc2396E" href="mailto:coin-discuss@list.coin-or.org">&lt;coin-discuss@list.coin-or.org&gt;</a>
cc

Subject
[Coin-discuss] Message control






Dear COIN list,

I need to control the message output, prinitng only those messages with 
return code greater or equal than 6000 (ie warning or error).

I tried using setLogLevel, but even level 1 is too verbose, including 
informational messages.

Is there another option to control the output in that way, or do I need to 
write a message handler function?

Regards,
Edgardo Fuchs

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

Edgardo Fuchs

Santiago, Chile

Tel: +56 (2) 435 0090
Cel: +56 9837 8433
</pre>
</body>
</html>