[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #45: Cbc multithreading support for Windows

COIN-OR Branch-and-Cut MIP Solver coin-trac at coin-or.org
Fri Mar 7 07:17:41 EST 2008


#45: Cbc multithreading support for Windows
--------------------------------+-------------------------------------------
 Reporter:  Rolf Steenge        |       Owner:  somebody
     Type:  enhancement         |      Status:  new     
 Priority:  minor               |   Milestone:          
Component:  component1          |     Version:          
 Keywords:  Cbc multithreading  |  
--------------------------------+-------------------------------------------
 Cbc multithreading support is already available for Unix/Linux users.
 In order to have this support for Windows users as well these steps are
 necessary:

 1.Download the following from http://sourceware.org/pthreads-win32/ (an
 opensource project for a pthreads Windows implementation):
 sched.h semaphore.h, pthread.h, phThreadVSE2.lib, pthreadVSE.dll

 2.Place the headers in Cbc src, add the lib to the libCBC solution and
 place the dll in the CbcSolve directory

 3.The clock_gettime function is missing in pthreads and a very basic
 version is created (see attached files clocktime.cpp and clocktime.hpp).
 Add these files to CBC src

 4.Add the following line to CbcConfig.h:
 #define CBC_THREAD 1

 5.A portable solution for changes to CbcModel.cpp has been proposed and
 will be reviewed.

 All tests have been successful sofar and with substantial performance
 gains (on multi-core pc’s)

-- 
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/45>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.



More information about the Cbc-tickets mailing list