Originally posted by: Xiaopihai
Hi folks,
I'm trying to let cplex only use one thread using python API.
Here's the code
cplex_model = cplex.Cplex("file.lp")
cplex_model.parameters.threads = 1
cplex_model.solve()
But it seems that cplex is still using all the 24 threads that I have on my server when I check the process using htop.
Does anyone know if i'm doing it correctly?
Thanks!
#CPLEXOptimizers#DecisionOptimization