MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Optimization trouble

This is a discussion on Optimization trouble within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi to all, I use Mappoint under VB to get Km for shorter trip. I have surely a START point ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2006
Junior Member
Yellow Belt
 
Join Date: Feb 2003
Posts: 12
Send a message via MSN to Maverick
Optimization trouble

Hi to all,
I use Mappoint under VB to get Km for shorter trip.

I have surely a START point and more Waypoint.
I need to optimize the route from start to other waypoints, but this is problem.

In VB I can insert waypoints with method add, but first waypoint I insert Mappoint take it as START, secondwaypoint I insert Mappoints take as END, other points I insert it take as STOP , But I don't know what is END point, I need only give START point and let Mappoint find the optimized trip without knowing what is END point.

Example:
I need start in New york and go in Filadelphia, los angeles and in Boston.
What is shortest way? I don't matter if trip end in Los angeles or in boston, I only need shorter trip.

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-28-2006
Junior Member
Yellow Belt
 
Join Date: Feb 2003
Posts: 12
Send a message via MSN to Maverick
Possible solution

I try this solution:

I have n waypoints, for example: A, B,C,D,E

A is START

1) I search all distances from A to other (only geodetic distance, not road)
2) find the waypoint with major distance. (and for example I find C)

3) I create new waypoints "Z" near C a little far away from A (I create a Line passing in A and C and create waypoints along this line near C but in direction inverse from A).

4) I optimize waypoints , delete Z and take KM of trip

5) I Create new waypoints "Z2" on A
6) I optimize waypoints, delete Z2 and take KM of trip

7) I choose minor km from 2 trips

Anyone have some ideas about?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 03-28-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

The first point is start, the last one is end. If I understeand you clear you wants to optimize the sequence of the waypoints ?

I do recall someone wrote something for it using mappoint and it was on this forum, but it seems I lost the URL. However I'm not 100% sure, could be I confusing with multiple routes..

Please try a search on this forum. If I find the url of his demo I come back to you I promize
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 03-29-2006
Junior Member
Yellow Belt
 
Join Date: Feb 2003
Posts: 12
Send a message via MSN to Maverick
Hi Wilfred,

I have first point at start, but I don't know End point. I have only other point and I need optimize the trip.

No multiple routes, only 1 route, but I don't know what is the end point.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-29-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

I understeand. But does the Optimize method not do exacly what you wants ? According to the help it reorders the waypoints for the best optimization. If it does not taken into account the first and last one, you can make an extra last one very near to your first.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 03-29-2006
Junior Member
Yellow Belt
 
Join Date: Feb 2003
Posts: 12
Send a message via MSN to Maverick
Yes, I add one Last point, but in some situation if "added" point is near first or near last change the optimization of points.

Example: if all waypoints are linear is good add one point near waypoint more far away from first.
Example2: if all waypoints are randomly located in country, is better insert new point near "start" point.

In some case make only one of 2 example can result in wrong optimization from mappoint.

I ask if someone have already try a similar solution and if can be good.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
optimization, trouble


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
In using Optimization for a route, is there any wa.... Anonymous MapPoint 2006/2009 Discussion 3 4 Days Ago 03:38 AM
What's the order criterion without the optimization of the s pileggi MapPoint 2006/2009 Discussion 0 08-24-2005 12:07 PM
Route Optimization Jeff Smith MapPoint 2006/2009 Discussion 0 03-23-2005 03:06 PM
Small Fleet Optimization Help, Please rberger MapPoint 2006/2009 Discussion 3 01-16-2003 09:09 PM
Can optimization for routes be modified so it look.... Anonymous MapPoint 2006/2009 Discussion 1 06-21-2002 10:02 AM


All times are GMT -5. The time now is 01:14 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54