I am using pyomo for mixed-integer linear programming model. I call cplex in pyomo to solve the model. The problem I am solving is large, which require parallel computing.
Should I set parallel in pyomo or in cplex?
In pyomo, I found this syntax, but seems not working.
solver_manager = SolverManagerFactory('pyro')
If set parallel in cplex, how to modify this syntax? To add something calling parallel computing?
result = opt.solve(inst, tee=True, warmstart=True)
I have no idea which way to proceed..Thanks for your help!
Best, Lei