Skip to main content

A problem with the solution printing and objective value, please help!



1 comment

  • Mario Ruthmair
    Gurobi Staff Gurobi Staff

    Hi Jordi,

    In the flow conservation constraints (last set of constraints above), you do not consider the arcs from and to the depot. You need to include them here. If this results in infeasible solutions, then there is an issue somewhere else.

    Here are Python notebooks that show different VRP formulations and might help in your case.

    Best regards,


Please sign in to leave a comment.