Pyomo parallel proc...
Clear all

Pyomo parallel processing to solve an instance  


Ganesh A
Noble Member
Joined: 4 months ago
Posts: 1170
31/03/2021 10:53 am  

I'm following the steps here in order to use all my computing power (10-core Intel i9 CPU) and solve a one-instance abstract Pyomo model. However, it seems that the solver is just using one CPU core and it takes more than 2 days to return a solution for a 50-node input (with 10 nodes it just takes seconds.) any help about making Pyomo model run in all available CPU cores?

Noble Member
Joined: 4 months ago
Posts: 1179
31/03/2021 10:54 am  

Depends on the solver and the model. Some solvers are single threaded others operate in parallel. Typically, MIP models can benefit a lot from parallel processing. LPs not as much (some interior point methods do a reasonable job). Beware that you need a ton of memory to allow the solver to run the model in parallel on many cores.