Skip to content

Solve open traveling salesperson problem (TSP) with PyConcorde

Notifications You must be signed in to change notification settings

aquapapaya/open-tsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solve Open TSP (not required to go back to the origin)

Package

PyConcorde

Input

testData10.txt with x and y coordinates at every line

Run

python3 pyconcorde_EXPLICIT.py

Output

Tour and distance

Comment

It will create a distance matrix from a input file. To solve open TSP, a pseudo city whose distance to all the others is zero is added to the matrix.

About

Solve open traveling salesperson problem (TSP) with PyConcorde

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages