Skip to main content

Runtime of Solver

Comments

4 comments

  • Sonja Mars
    Gurobi Staff Gurobi Staff

    Hi,

    Can you share complete log files for these runs? Without them it is tricky to say, why it needed 50 seconds and now needs 2 hours.

    Also please note, there is no way of predicting the run time of a MIP just from the size. It depends on so many factors. I have seen very large models that solve in a few minutes but I have also seen very small models that takes days to solve.

    Best regards,

      Sonja

    0
  • Katharina König
    Gurobi-versary
    First Comment
    First Question

    Hey Sonja,  

    thanks for your answer. I found some workarounds to make the solver faster. 

    But I have another question now and I hope you can help me with it. 

    Since yesterday I get shown the barrier log even though I don´t know what why. 

    What confuses me more ist that when I print my model statistics after finding the solution using

    m.printQuality()

    I get :

    Solution quality statistics for model 15 energy system_copy :
    Maximum violation (unscaled/scaled):
    Bound : 0.00000000e+00 / 0.00000000e+00
    Constraint : 7.26562500e-07 / 7.26562500e-07 (Speicher_min[278])
    Dual : 3.55271368e-15 / 3.55271368e-15 (EHU[91])

    My model is named '15 energy system'. Why is it showing me the statistics of a copy of my model?

    0
  • Katharina König
    Gurobi-versary
    First Comment
    First Question

    Before I always had the MIP logging.

    0
  • Sonja Mars
    Gurobi Staff Gurobi Staff

    Can you share the whole log? Do you have a copy of the model object around or is m the only Gurobi model?

     

    0

Please sign in to leave a comment.