Welcome

This applet implements some simple, but effective heuristics for the Traveling Salesman Problem with Euclidian distances - i.e. in a 2D plane.

Directions

In the applet below, add points to the graph by clicking anywhere besides where the buttons are. You must enter three or more points.

When you are done entering points, click on a button to solve the TSP problem.

When the solver is done, the optimal tour will be drawn. You can see the length of this tour in the "status area" at the bottom of the Netscape window.






For more info on the Traveling Saleman Problem, check out the following: