[Cbc] Forcing output to be line buffered?

Jack Dunn jack.dunn.nz at gmail.com
Sat Oct 3 21:39:55 EDT 2015


Thanks for your help John, I got it working by adding the fflush line to
CoinMessageHandler::print() as suggested.

On Sat, 3 Oct 2015 at 15:58 John Forrest <john.forrest at fastercoin.com>
wrote:

> Jack,
>
> Then it sounds as if my first reply would be what you want.  Then you can
> pass in an option to load the alternative message handler.
>
> John Forrest
>
>
> On 03/10/15 19:18, Jack Dunn wrote:
>
> John,
>
> It would be great if it could be an option without us (OpenSolver) having
> to modify anything. For ease and simplicity, we use the binaries from the
> AMPL website for all the COIN solvers, and redistribute these with our
> install files. The ideal case for us would be to have a flag to disable
> buffering at run-time, e.g. like Python's -u flag, but a configure option
> would be good too if a flag wasn't feasible.
>
> Thanks,
> Jack
>
>
> _______________________________________________
> Cbc mailing listCbc at list.coin-or.orghttp://list.coin-or.org/mailman/listinfo/cbc
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20151004/90054f51/attachment.html>


More information about the Cbc mailing list