<div dir="ltr"><div>The answer is a qualified &quot;yes&quot;. 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&#39;t recall the precise reason for this.<br>

</div><br>Cheers,<br><br>Ted<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 12:18 PM, Alon Shapira <span dir="ltr">&lt;<a href="mailto:ashapira@tower-research.com" target="_blank">ashapira@tower-research.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi,<br>
Is the cbc library (and the clp) thread safe ?<br>
What I mean is :  Can two different threads solve (two different problems) simultaneously ?
<br>
Thanks,<br>
Alon<br>
</div>
</div>

<br>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>


</div>