<br><font size=2 face="sans-serif">Steven,</font>
<br>
<br><font size=2 face="sans-serif">I would think a cleaner approach would
be to override the standard message handler to do exactly what you want.
&nbsp;I would start with Clp as part of the unit test overrides the message
handler. &nbsp;Look in Clp/Test at MyMessageHandler.?pp and its use in
unitTest.cpp.</font>
<br>
<br><font size=2 face="sans-serif">John Forrest</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>steven.henderson@us.army.mil</b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-admin@www-124.southbury.usf.ibm.com</font>
<p><font size=1 face="sans-serif">02/20/2004 08:26 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
coin-discuss</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">coin-discuss@www-124.southbury.usf.ibm.com</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[Coin-discuss] Trouble Capturing
Sbb output with Linux redirect</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Folks,<br>
 <br>
I am writing a web interface for COIN, specifically for Clp and Sbb.<br>
I want to capture output from these, especially from Sbb. &nbsp;The idea<br>
being folks could &quot;check progress&quot; as the model runs.<br>
<br>
My first attempt was to pause Sbb every x nodes, use methods <br>
to get best solution and current objective, write these to a database,
<br>
then restart. &nbsp;Is it possible to restart sbb after it times out or
reaches<br>
node/solution count?<br>
 <br>
My next thought was to just dump all Sbb output to a file, then read and<br>
display the output as it runs. &nbsp;However, I am having major problems<br>
getting output. &nbsp; When I run my application in the backgroud, the<br>
output file is empty until Sbb terminates.<br>
 <br>
My app that invokes Sbb is wcSbb.<br>
 <br>
I invoke the process as follows:<br>
 <br>
nohup /COIN/webCOIN/wcSbb &gt; /COIN/webCOIN/outfiles/myoutfile &amp;<br>
 <br>
The process goes to background, but output file is empty until Sbb terminates.<br>
I am on a Redhat box (9.0)<br>
<br>
I get the same thing if I try:<br>
<br>
/COIN/webCOIN/wcSbb &gt; /COIN/webCOIN/outfiles/myoutfile <br>
 <br>
I apologize if this turns out to be some linux setting. &nbsp;I just thought
maybe <br>
someone else had encountered it as well.<br>
 <br>
Thank you,<br>
 <br>
Steve Henderson<br>
 <br>
 <br>
<br>
_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@www-124.ibm.com<br>
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss<br>
</tt></font>
<br>