Bing Maps Trip Optimizer

Bing Maps Trip Optimizer is a C++ ActiveX control that uses the ant colony optimization algorithm to solve the traveling salesman problem. It collects locations from the user and displays the shortest route among all locations on a Bing Maps control.

C++ (1.6 MB)
5 Star
3,785 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Bing Maps Trip Otimizer
    2 Posts | Last post September 07, 2012
    • Dear Thomas Petchel ,
      I came to know 1st time about this and i like it very much.
      Is it open source?
      Is there any licensed version or its free to use?
      I want to use this in our company for tavelling optimization.
      Best Regards,
    • Hi Zaib,
      Thanks for your interest in this sample!
      The spirit of this developer sample is that it's open for others to learn from and use. To best answer your question, please review the License above to make sure that your use of the sources fall within the guidelines.
      Happy coding!
  • Check out Bing Maps Trip Optimizer as a Windows 8 Metro style app!
    1 Posts | Last post March 02, 2012
    • If you liked this sample, be sure to check out the Windows 8 version that runs as a Metro style app! We also have documentation that explains how the app works and how we used Visual Studio to create it. It also explains how we migrated this sample for use as a Metro style app.
      As always, your feedback is greatly appreciated!
  • Feedback = this demo is really interesting and innovative, thanks Thomas!
    2 Posts | Last post October 19, 2011
    • Hi Thomas, I was working on innovation Fridays here at SAP in Vancouver and came across your demo. I think this is a really innovative use of the Bing Maps API, Concurrency, and the very cool Ant Colony Algorithm. Thanks a lot for putting it together!
      Geoff Peters
      Vancouver BC Canada 
    • Hi Geoff, thanks for the feedback and for trying it out! I'm glad you found it to be useful.
  • Error Report
    3 Posts | Last post October 12, 2011
      "An error occured in file c:\users\xxx\downloads\tripoptimizer\tripoptimizer\optimizercontrol.cpp near line 302. Error code was 0x80020003."
      Hard for me to provide any further info, I even had to grab a full version of Visual studio (surely theres an easier way)
      Looking forward to a competitor to google's Travelling Salesman solver.
    • Hi Chris,
      Thanks for trying this out and for your feedback! I'm sorry that you encountered this error. By chance, are you using Internet Explorer 9? (I mention in the Description tab that it only supports Internet Explorer 8, but it is certainly easy enough to miss). IE9 appears to marshal arrays differently, and I yet haven't taken the time to diagnose the issue further. If you figure it out, please let me know! :D
      If you're seeing this error in Internet Explorer 8, please let me know if any other details come to mind or you're able to debug the issue further! Thanks!
    • Scott Densmore from the patterns & practices team here at Microsoft came up with a fix for this (thanks, Scott!). The fix uses IDispatch to access the length property and to index individual items in the array of waypoints. See COptimizerControl::CollectWayPoints in the source code for more details.
      The fix is available now from the Download section. I tested the fix on Internet Explorer 8, IE9, and the latest IE10 Developer Preview. Looking forward to any feedback you have on this!