<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Have tried CbcModel::passInMessageHandler(msgNew) with msgNEw
defined either as<br>
<br>
CoinMessageHandler msgNew1(stderr);<br>
<br>
or<br>
<br>
class StderrCoinMessageHandler : public CoinMessageHandler {<br>
int print() {<br>
cerr << messageBuffer_ << endl;<br>
}<br>
void checkSeverity() {<br>
}<br>
} msgNew2;<br>
<br>
Without preprocessing, the linked code says<br>
<br>
<blockquote>Welcome to the CBC MILP Solver <br>
Version: 2.9 <br>
Build Date: Jan 28 2016 <br>
Revision Number: 2244 <br>
<br>
command line - cbc -preprocess off -solve -quit -quit (default
strategy 1)<br>
Option for preprocess changed from sos to off<br>
</blockquote>
<br>
and nothing more. With preprocessing,<br>
<br>
<blockquote>Welcome to the CBC MILP Solver <br>
Version: 2.9 <br>
Build Date: Jan 28 2016 <br>
Revision Number: 2244 <br>
<br>
command line - cbc -solve -quit -quit (default strategy 1)<br>
4 fixed, 144 tightened bounds, 987 strengthened rows, 0
substitutions<br>
0 fixed, 44 tightened bounds, 0 strengthened rows, 0 substitutions<br>
0 fixed, 0 tightened bounds, 1095 strengthened rows, 0
substitutions<br>
0 fixed, 0 tightened bounds, 846 strengthened rows, 0
substitutions<br>
0 fixed, 0 tightened bounds, 790 strengthened rows, 0
substitutions<br>
0 fixed, 0 tightened bounds, 610 strengthened rows, 0
substitutions<br>
0 fixed, 0 tightened bounds, 448 strengthened rows, 0
substitutions<br>
0 fixed, 0 tightened bounds, 366 strengthened rows, 0
substitutions<br>
0 fixed, 0 tightened bounds, 384 strengthened rows, 0
substitutions<br>
0 fixed, 0 tightened bounds, 354 strengthened rows, 0
substitutions<br>
processed model has 1437 rows, 765 columns (765 integer (535 of
which binary)) and 9676 elements<br>
Cutoff increment increased from 1e-05 to 0.9999<br>
</blockquote>
<br>
and again nothing more... Unmodified output used to have normal
progress log.<br>
<br>
Gleb<br>
<br>
</body>
</html>