Gurobi thread parametr with multiple environments
Awaiting user inputI'm using the threads, parameter to limit the number of threads to one when multiple environments are used in parallel, solving different problems.
However, based on the CPU utilization on the part of the algorithm that uses Gurobi, it seems that the parameter limits the number of threads among all Gurobi environments to 1, not to one thread per environment. Is it possible, or should I instead look elsewhere for the cause of the low CPU utilization?
-
Official comment
This post is more than three 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. -
Each environment should have its own settings, i.e., different environments can use a different number of threads. Could you show a minimal working example which reproduces this issue? Could you also double check whether there are any other limitations given by your setup which might lead to this behavior?
0 -
Ok, thank you for confirming that it works as I expected. I will run some profiling tests to check whether there are no other reasons for low CPU utilization, like memory starving at allocation.
0
Post is closed for comments.
Comments
3 comments