Pyomo parallel processing to solve an instance

0 votes

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?

Thanks

Sep 21, 2018 in Python by bug_seeker
• 15,510 points
2,137 views

1 answer to this question.

0 votes

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.

answered Sep 21, 2018 by Priyaj
• 58,020 points

Related Questions In Python

+4 votes
7 answers
0 votes
1 answer
+1 vote
1 answer

How to append an integer to a string?

You can not directly concatenate two different ...READ MORE

answered Aug 16, 2018 in Python by Omkar
• 69,220 points
1,537 views
0 votes
1 answer

How to create transaction in GnuCash in response to an email?

Here's a template, along with a couple ...READ MORE

answered Sep 5, 2018 in Python by Priyaj
• 58,020 points
1,088 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,466 views
0 votes
1 answer
0 votes
1 answer

Pyomo parallel processing to solve an instance

Depends on the solver and the model. ...READ MORE

answered Sep 11, 2018 in Python by Priyaj
• 58,020 points
851 views
+1 vote
1 answer

How to print an error in Python?

For Python 2.6 and later and Python ...READ MORE

answered Aug 23, 2018 in Python by Priyaj
• 58,020 points
1,457 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP