Gurobi thread parametr with multiple environments
ユーザーの入力を待っています。I'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?
-
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
サインインしてコメントを残してください。
コメント
2件のコメント