Skip to main content

Got Stuck in Constructing Routes in a periodic vehicle routing model

Answered

Comments

1 comment

  • Jaromił Najman
    Gurobi Staff 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

Please sign in to leave a comment.