I use Gurobi 9.1.2 to solve a MIP problem and have a powerful machine (96 threads) at my disposal, but I want to execute many instances at the same time, so I chose to use docker with a CPU limit of 400% (i.e. 4 threads) to solve 24 instances at the same time. The CPU limit works generally, but still leads to a high load, because every instance spawned many threads that couldn't run at 100%.
Therefore, I set the Threads parameter to 4, but Gurobi still spawns more processes than that. The log states that it actually used 32 threads:
Thread count: 48 physical cores, 96 logical processors, using up to 4 threads
Thread count was 32 (of 96 available processors)
How can I get Gurobi to only use the 4 threads I specified using the parameter?
Thanks in advance
Please sign in to leave a comment.