[Cbc] thread safety
Alon Shapira
ashapira at tower-research.com
Wed May 14 18:33:04 EDT 2014
Thank you :)
Alon
Sent from my Verizon Wireless 4G LTE DROID
Ted Ralphs <ted at lehigh.edu> wrote:
The answer is a qualified "yes". We have been successfully using Cbc to simultaneously solve multiple different problems in different threads by creating a CbcModel object and calling the branchAndBound() method. Using the wrappers in CbcSolver.cpp does not seem to be thread-safe. Calling Cbc this way only works for solving one MILP at a time (though it is possible to use multiple threads to solve that single MILP). I don't recall the precise reason for this.
Cheers,
Ted
On Wed, May 14, 2014 at 12:18 PM, Alon Shapira <ashapira at tower-research.com<mailto:ashapira at tower-research.com>> wrote:
Hi,
Is the cbc library (and the clp) thread safe ?
What I mean is : Can two different threads solve (two different problems) simultaneously ?
Thanks,
Alon
_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org<mailto: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<http://coral.ie.lehigh.edu/~ted>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20140514/aae13fb2/attachment.html>
More information about the Cbc
mailing list