メインコンテンツへスキップ

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

回答済み

コメント

1件のコメント

  • Mario Ruthmair
    • 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,
    Mario

    0

サインインしてコメントを残してください。