Skip to main content

Got Stuck in Constructing Routes in a periodic vehicle routing model

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • Gurobi Staff

    Hi Benay,

    In addition to what Maliheh already said in your first post, you could write the solution point and the model file via

    [...]
    '''Solve'''

    mdl.optimize()
    mdl.write("myLP.lp")
    mdl.write("solution.sol")

    and then analyze by hand why the optimal solution you get result in partial visits. For this, you should especially check the constraints responsible for complete tours and try to find out why the optimal solution using partial tours is feasible in your model.

    Best regards,
    Jaromił

    0

Post is closed for comments.