Jump to content

Shortest Route between Waypoints


Recommended Posts

In Canada I use Microsoft Streets & Trips as well as Garmin's City Select. I'm sure there are a number of others for North America but I don't know what there may be in Aussie-land.

 

Cheers, Olar

 

"You are only young once but you can stay immature forever"

Link to comment

The problem you describe is the famous "Traveling Salesman" problem. There is no known way to find the optimal solution faster than brute force, which could take a long time for that many waypoints; however, a technique called "simulated annealing" can give you a solution that is close to optimal. Do a web search on "simulated annealing" and "traveling salesman" and you might find what you are looking for.

 

It's not too hard to take a general solution to the problem that uses X-Y coordinates and use it for waypoints; you just have to convert the waypoints to UTM, and there you go.

Link to comment

Click *HERE* if you'd like to try an MS-Excel workbook/spreadsheet that will compute a traveling salesman problem (TSP) solution for up to 200 Lat/Lon Geocache locations.

 

The user has to paste the content of the GPSbabel-created Comma-Separated-Value (CSV) files into a specific Input worksheet of the MS-Excel workbook.

 

If the above link doesn't work, try this one.

<http://briefcase.yahoo.com/bc/paulstratton/lst?&.dir=/Geocache_Stuff&.src=bc&.view=l>

 

It is located in a public folder called "Geocache_Stuff" in the Yahoo! public access folder I created at http://briefcase.yahoo.com/bc/paulstratton

 

Enjoy!

 

paul_stratton

And to think that I once had trouble finding my own "@@@" with both hands...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...