Multi-threading CBC Solver?

867 views
Skip to first unread message

Antonio Medrano

unread,
Apr 28, 2016, 2:09:56 PM4/28/16
to or-tools-discuss
I'm using the cbc solver and or-tools in the python environment. Is there a way to multi-thread the solver to use more than one processor core?

Berend Berendsen

unread,
Sep 22, 2016, 9:55:46 AM9/22/16
to or-tools-discuss
I am wondering the same thing. CBC does have an --enable parallel option in its code. 

Driss Lahlou

unread,
Sep 22, 2016, 11:31:23 AM9/22/16
to or-tools-discuss
Hi,

Or-tools doesn't implement a parallelism mechanism.

Regards.

Mark

unread,
Sep 22, 2016, 1:17:14 PM9/22/16
to or-tools-discuss
I think it would simply mean telling CBC to be compiled in parallel mode.  This has been on my wish list for a while now too.  In fact, I think compiling to run using multiple cores should be the default for CBC as it is the default for the commercial solvers.
I haven't looked closely, but I wouldn't expect it would mean much, if any, change to the actual ortools API.
Reply all
Reply to author
Forward
0 new messages