For a study, I need to make runs to evaluate and compare performance of various models. To evaluate them I need to obtain their running times. I wonder if there is a rule to when to start and end timing. For instance, for the problems I also generate data randomly. Should I start prior to that random data generation, should I start timing between the time after generating data and defining the model, or should I only time how fast is the
.solve() command? Or any other time?
I am using CPLEX on Python 3.10. For timing, I use