Skip to main content

The order of variables may affect the feasibility of the model

Awaiting user input

Comments

1 comment

  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Xinyi,

    To model the TSP, you usually use callbacks to handle the subtours because a complete description of the problem is exponentially large. Please refer to our TSP example for a good starting point on how to do that: tsp.py

    I hope that helps.

    Cheers,
    Matthias

    0

Please sign in to leave a comment.