Hi Stefan,<div><br></div><div>Thanks a lot for your answer.</div><div><br></div><div>Regards,</div><div>Luiz<br><br><div class="gmail_quote">On 16 April 2012 12:54, Stefan Vigerske <span dir="ltr"><<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
the output of Xpress is redirected by OsiXpr through the registered CoinMessageHandler. The default handler just writes to stdout.<br>
You can register your own message handler via OsiXprSolverInterface::<u></u>passInMessageHandler().<br>
If you just want to disable output, then osixpr->messageHandler()-><u></u>setLogLevel(0) should do it.<br>
I think there is no finegrained control of verbosity levels implemented in the OsiXpr interface so far.<br>
<br>
Stefan<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi all,<br>
<br>
I'am using OsiXprSolverInterface and, at the "loadProblem" and<br>
"initialSolve" methods, Xpress prints the problem statistics and solution<br>
summary at the stdout, as follows:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
XPRS0000<br>
XPRS0000 Reading Problem Prob1<br>
XPRS0000 Problem Statistics<br>
XPRS0000 2 ( 50 spare) rows<br>
XPRS0000 7 ( 0 spare) structural columns<br>
XPRS0000 8 ( 100 spare) non-zero elements<br>
XPRS0000 Global Statistics<br>
XPRS0000 0 entities 0 sets 0 set members<br>
XPRS0000 Minimizing LP Prob1<br>
XPRS0000 Original problem has:<br>
XPRS0000 2 rows 7 cols 8 elements<br>
XPRS0000 Presolved problem has:<br>
XPRS0000 1 rows 3 cols 3 elements<br>
XPRS0000<br>
XPRS0000 Its Obj Value S Ninf Nneg Sum Inf Time<br>
XPRS0000 0 .000000 D 1 0 2976.000000 0<br>
XPRS0000 1 23808.00000 D 0 0 .000000 0<br>
XPRS0000 Uncrunching matrix<br>
XPRS0000 1 23808.00000 D 0 0 .000000 0<br>
XPRS0000 Optimal solution found<br>
</blockquote>
<br>
<br>
Is there any way to change the verbose level or redirect the Xpress output<br>
to somewhere else? I tried to use setLogFile, but it didn't work.<br>
<br>
Thanks in advance,<br>
Luiz<br>
<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Coin-discuss mailing list<br>
<a href="mailto:Coin-discuss@list.coin-or.org" target="_blank">Coin-discuss@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/coin-discuss" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/coin-discuss</a><br>
</blockquote>
<br>
</blockquote></div><br></div>