<div dir="ltr"><div><div><div><div>Hi Jesse,<br><br></div><div>In order to use parallel, you need to do this while configuring during installation of Cbc.<br><br></div><div>The right step then would be (supposing you are in the build directory, within the directory where CBC has been downloaded using SVN)<br><br></div><div>../configure --enable-cbc-parallel</div><div>make<br></div><div>make install<br><br></div>It might help if you look at the fourth option on the following: <a href="https://projects.coin-or.org/Cbc/wiki/FYI">https://projects.coin-or.org/Cbc/wiki/FYI</a><br><br></div>Then you can use the parallel version within C++.<br><br>JuMP has it pre-configured to run parallel, so you did not need to do it there.<br><br></div>Regards,<br><br></div>Sam<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 February 2017 at 22:56, Jesse Jaanila <span dir="ltr"><<a href="mailto:jessejaanila@gmail.com" target="_blank">jessejaanila@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>In the past, I have used CBC though Julia JuMP library, where running parallel branch & bound can be done easily by specifying the Threads=N argument for the solver. I'm now transferring some of my code to C++ and I'm not sure how to run the B&B parallel using C++. Is it trivial?<br></div><div><br></div><div>What's worrisome is that <font color="#000000"><span style="background-color:rgb(255,255,255)"><font style="font-size:10.5pt" face="source code pro">model.<wbr>haveMultiThreadSupport() </font><font face="arial, helvetica, sans-serif">retur<wbr>ns false which suggest I don't even have the prerequisites for parallel B&B. I guess the quick start guide for Unix-like systems in </font></span></font><font color="#000000" face="arial, helvetica, sans-serif"><a href="https://projects.coin-or.org/Cbc" target="_blank">https://projects.coin-or.<wbr>org/Cbc</a> doesn't include the necessary option for building CBC with parallel support. What actions should I take? I'm fine with rebuilding the whole set of libraries and dependencies.</font></div><div><br></div><div><font color="#000000" face="arial, helvetica, sans-serif">Thanks!</font></div><span class="HOEnZb"><font color="#888888"><div><font color="#000000" face="arial, helvetica, sans-serif">Jesse</font></div></font></span></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://list.coin-or.org/<wbr>mailman/listinfo/cbc</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#888888">Consultant</font><font style="font-family:times new roman,serif" color="#888888"><br><i>Gyan Data Pvt. Ltd.<br></i></font></div><font style="font-family:times new roman,serif" color="#888888"><i>IITM Research Park</i></font><br></div></div></div></div></div></div></div></div>
</div>