TSP (seller issue) Solver Using GoogleMap

We are developing an application in which we show some available houses for sale on google map. The user can select any houses from the map and find the shortest route between all the houses that he has chosen.

Can someone tell me how we can find the shortest route and show it on the map? Is there any TSP PHP library that can help us achieve what we are trying to do?

+5
source share
3 answers

If the problem satisfies the triangle inequality, you can try the Christofides algorithm.

0
source

All Articles