Skip to main content

How can I speed up the running time?

Ongoing

Comments

4 comments

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    This is a cross-post to Speed up Gurobi to solve an MILP.

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi,

    As mattmilten already mentioned in the post at Stackoverflow, you should not increase the feasibility tolerance that much, because it deteriorates the quality of your solution. Did you have a look at the documentation on most important parameters for MIP models?

    Best regards,
    Jaromił

    0
  • Seyedeharmaghan Bahreini
    Gurobi-versary
    First Comment
    First Question

    Hi Jaromil,

    Yes, I almost tried different parameters for the MILP model. I could reduce the running time to 99.71 seconds by changing the NodeMethod to 0, the Method to 1 and using the maximum feasibility tolerance but still, I need a faster solution. 

    Regarding the feasibility tolerance, I understand your point. However, if I reduce the feasibility tolerance, it becomes really slow. So, I'm looking for a way to reaching a reasonable solution in a short time.

    Thank you!

    Armaghan

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Armaghan,

    You could also try the Gurobi tuning tool.

    Best regards,
    Jaromił

    0

Please sign in to leave a comment.