I would like to seek some advice on the following:
I am currently using Pyomo to generate my MILP model in Pyomo and solve it using Gurobi, respectively.
As the solution process is iterative, I would like to enquire on how to obtain the following timings for each iteration:
- the time to build the Pyomo model
- the time to translate the Pyomo model into the format used by the solver
- the time spent inside the solver, i.e., the solution time
- the time spent loading the solver solution back into Pyomo.