[Cbc] Threadsafe usage of Cbc

mg giunto.cardanico at gmail.com
Fri Feb 14 03:45:20 EST 2014


Hi Ted and John,
thank you very much for this fix !

You've just made my day ! Thread safety is really really crucial for our
application :)

Just a couple of questions about the 2.8.9 release...
do we need to compile with the -DCBC_THREAD_SAFE -DCBC_NO_INTERRUPT
switches or they're already enable by default ?

Also, I've read, in one of the past mails of this thread, that maybe some
cut generators could be not thread safe...
is it still true ? If so, which one ?

Thanks a lot
Marco



2014-02-07 5:31 GMT+01:00 Ted Ralphs <ted at lehigh.edu>:

> Sorry for the delay in making and announcing a new release. There is a
> version 2.8.9 now, which contains this fix.
>
> Cheers,
>
> Ted
>
>
> On Tue, Jan 14, 2014 at 1:08 PM, John Forrest <john.forrest at fastercoin.com
> > wrote:
>
>> Cornelius,
>>
>> It would be more work to enable CBC_THREAD_SAFE by default as the
>> standalone solver normally can read commands from stdin and environment
>> variables.  CBC_THREAD_SAFE switches that ability off.  To make Cbc
>> threadsafe out of box AND still allow parsing commands would be boring work
>> - maybe a week.
>>
>> I never plan - especially releases and I never fiddle too much with
>> configuration.  So until next release you could just use svn and then no
>> patches are needed - just svn checkout ...../2.8 and add
>>
>> -DCBC_THREAD_SAFE -DCBC_NO_INTERRUPT
>>
>> to configure.
>>
>> John
>>
>>  Great,
>>> that exactly what I needed!
>>> My preliminary tests show that cbc works as intended :-)
>>> When do you plan to make a new 2.8 release?
>>> And could you either include a configure option for thread safety, or,
>>> even better, just enable CBC_THREAD_SAFE by default?
>>> Or do you need more testing for that?
>>> Ideally, we'd like to use our framework without any patches, and I think
>>> that would be the easiest if cbc was threadsafe out of the box.
>>>
>>>
>> _______________________________________________
>> Cbc mailing list
>> Cbc at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/cbc
>>
>
>
>
> --
> Dr. Ted Ralphs
> Associate Professor, Lehigh University
> (610) 628-1280
> ted 'at' lehigh 'dot' edu
> coral.ie.lehigh.edu/~ted
>
> _______________________________________________
> 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/20140214/f171d447/attachment-0001.html>


More information about the Cbc mailing list