[Coin-discuss] Multi-threaded mode for Cbc/Clp

John J Forrest jjforre at us.ibm.com
Tue Mar 27 05:09:47 EDT 2007


As far as I know Clp is threadsafe with one minor caveat.  If you use
ClpSimplex::initialSolve then that can use signal_handler to trap ctrl-c
for a graceful exit.  You can set an option to stop this happening.  I
think the worst that would happen anyway is that a random process would
stop each time you hit ctrl-c.

John Forrest


                                                                           
             "yang yuan"                                                   
             <erry.yuan at gmail.                                             
             com>                                                       To 
             Sent by:                  Coin-discuss at list.coin-or.org       
             coin-discuss-boun                                          cc 
             ces at list.coin-or.                                             
             org                                                   Subject 
                                       [Coin-discuss] Multi-threaded mode  
                                       for Cbc/Clp                         
             03/23/07 01:36 PM                                             
                                                                           
                                                                           
             Please respond to                                             
             Discussions about                                             
                open source                                                
               software for                                                
                Operations                                                 
                 Research                                                  
             <coin-discuss at lis                                             
              t.coin-or.org>                                               
                                                                           
                                                                           





Hi all,

I am trying to run a shared-memory parallel experiment with OpenMP, and Cbc
and Clp are the selected MIP/LP solver, and are compiled with default
setting. However, i am not so sure that the Cbc/Clp is running in a
multi-threaded mode as expected. If i remember it correct, SYMPHONY has an
option for compilation in a shared-memory based environment. Does Cbc have
the same option? and what should i do to compile Cbc for shared-memory use,
if it hasn't been done automatically?

Many thanks!  -- yang_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss





More information about the Coin-discuss mailing list