Skip to main content

PuLP Model with Gurobi solver is very slow

Comments

4 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Sebastian Erik Løken Rindvoll
    • Gurobi-versary
    • Conversationalist
    • Curious

    It seems like it is all the "Time Constraints" (or especially the second one) that makes the solver more time consuming. Because when I comment them out the solver finds a solution after 30 sec.

     

    0
  • Sebastian Erik Løken Rindvoll
    • Gurobi-versary
    • Conversationalist
    • Curious

    Can it be because I have (4x7)! = 3*10ˆ(29) routes and the solver has to check this for every vessel?

    0
  • Shawn Helm
    • First Question
    • Gurobi-versary
    • First Comment

    You wrote out the MPS file.  How about you try running gurobi_cl.exe on the MPS file and see if you have similar performance?

    0

Post is closed for comments.