Home / Computer science / Traveling salesman problem (TSP) / Computation: Python, SAT + NN, permutation
Constraints: Permutation
Each city must be visited exactly once.
model.add_all_different(x)
Home / Computer science / Traveling salesman problem (TSP) / Computation: Python, SAT + NN, permutation
Each city must be visited exactly once.
model.add_all_different(x)