TSP (Traveling Salesman Problem) solver Using GoogleMap?

A Google search shows many results. scrivna.com/blog/travelling-salesman-pro... - Brute force PHP implementation guaranteed to get the optimal answer. Only suitable for a limited number of nodes.

renownedmedia.com/blog/genetic-algorithm... - Genetic algorithm PHP implementation which will approximate the answer. Suitable for large numbers of nodes. You could probably combine the two, choosing which to run based on the size of the graph.As @Barbar points out in the comments, there is an existing app that does what you're attempting.

There is a blog post explaining how it works.

If you want the cost of the solution produced by the algorithm is within 3/2 of the optimum then you want the Christofides algorithm. ACO and GA don't have a guaranteed cost.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions