If you are looking for a simple, powerful but fast open source library that solves not only simple but real world TSPs (with time windows etc) and the more complex vehicle routing problems then have a look into jsprit: <a href="https:&#x2F;&#x2F;github.com&#x2F;graphhopper&#x2F;jsprit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;graphhopper&#x2F;jsprit</a><p>(note: I&#x27;m one of the GraphHopper founders)