Parallelization in Java
AnsweredHello,
we would like to generate and solve a large number of similar MIP-models in parallel on the different processor cores using Java. Can anybody provide a simple coding example?
Thank you and kind regards
Achim
0
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Achim,
There are multiple different packages for multi-processing in Java. I think it is best to ask in a Java dedicated forum for which of these package to use.
Regarding Gurobi, you have to define a separate Environment for each MIP model you want to solve in paralell. It is not safe to solve models in parallel within the same Environment.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments