Community of VE/MapPoint Users and Developers
This is a discussion on Optimizing a lot of stops within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am using MapPoint Europe 2004. I have approx 470 points in germany that i need to optimize. I have ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Optimizing a lot of stops Any help would be appreciated, Thanks, Mundiz |
| |||
|
Hi, How many times do you calculate a route? What kind of algorithm are you using? If you calculate X airport possibilities for 470 points, in a linear way, it will be a slow programm. I don't know how Mappoint optimize the routes, but I use it with my own algorithms when I have more than one calculation to do in my Home delivery system. To have an idea, how would you, programmatically solve this Albert Einstein's enigma : Five men live in five houses of five different color. They smoke five different brands of cigar,drink five different beverages,and keep five different pets. We know that: * The Norwegian lives in the first house. * The brit lives in the red house. * The Swede keeps dogs as pets. * The Dane drinks tea. * The green house is just on the left of the white house. * The green house owner drinks coffee. * The man who smokes Blend lives next to the one who keeps cats. * The person who smokes Pall Mall rears birds. * The owner of the yellow house smokes Dunhill. * The man living in the house right in the center drinks milk. * The German smokes Prince. * The man who smokes Blend has a neighbor who drinks water. * The Norwegian lives next to the blue house. * The man who keeps horses lives next to the man who smokes Dunhill. * The owner who smokes Blue Master drinks beer. The question is ... Who keeps a fish? May be there are other reasons of slowing your programm: - Check if in your programm Mappoint is not laoded too many times - In your programm make the necessary initialization of your objects and variables. Bye |
| |||
|
Yeh, thanks for that. There are no algorithms, no multiple airports.# 1) You open MapPoint Europe 2004. 2) You import data for each stop from an access database. 3) You decide which airport a surveyor is to fly to/from. 4) You pick a stop closest to that airport and make it your Start. 5) You pick another stop close to the same airport and make it your End. 6) You click on a little button that says "Optimize Stops" I am trying to find out whether there is a quicker way of doing all this without the optimization of stops taking 18+ hours, or whether i will just have to wait until this optimization runs through in its own sweet time. Maybe i didn't state this question as clearly in my first post, for which i apologise. However i am genuinely trying to find an answer to my problem, and sarcastic emails about 5 guys in 5 houses do not help my cause, so if you'd kindly keep your sarcasm to yourself and to your friends i would appreciate it. Please, only sensible answers to my question as i'm sure if you are in a position where you need help, sarcasm doesn't help you find an answer. Thanks Mundiz |
| |||
|
Hey man, Cooooooooool, I think if I take some time to give you an answer, this is not sarcasm. This forum is not yours to have only the answers you want. May be other people enjoy to try to solve Einstein's Enigma. I think your machine is also sarcastic because she doesn't solve your request in 5 minutes. So, take it easy and have fun with your problem. |
| |||
|
Although this website is not only mine, neither is it an einstein's enigma website. You may find this website useful: http://submoon.freeshell.org/en/sphinx/einstein.html However, if i had misread your post as a sarcastic answer then i do apologise, although i'd much prefer an answer to my question (as it is not a personal project, it is for my work). Thank you for your time. Mundiz |
| |||
|
As you have now a positive attitude, I will explain why I was talking about Einstein. If I was talking about that, it's because that also relates to the subject of Optimization, like your problem. There are 6 400 000 000 combination to analyze if you want to find the enigma solution in a linear manner. The optimization in GeoMarketing is a science. And Solving some problems like yours can take a lot of time if the objective and methods are not very well defined. Mappoint has his own algorithms to solve that optimization by reordering waypoints. But sometimes you have to add more programming tasks to custom your solutions. But now I think that your request is simpler than I was thinking and If you send me your database I can test it and find a solution for you ( but in a week, when your remarks of this morning are forgotten) Auf wiedersehen |
| ||||
|
This is a "Travelling Salesman Problem". 470 stops in one route??? That's an awful lot. To guarantee that the best route has been found, the record is currently just under 100 stops I think!! The problem is that it is a "NP complete" problem and takes exponential time to compute. So 470 would take longer than the age of the universe with the fastest supercomputers in the world. And 2/3rds overnight is pretty damned good. Luckily if "almost the best" is good enough then the problem becomes easier, and I bet this is what MapPoint is doing. I could get you a solution quicker than "overnight" but it is harder to guarantee that it would be better than MapPoint's. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
![]() |
| Tags |
| lot, optimizing, stops |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Route Optimizing Software Question | getgo | MapPoint 2006/2009 Discussion | 1 | 06-09-2006 07:21 PM |
| Route Optimizing with 2 identical stops | cwrude | MapPoint 2006/2009 Discussion | 0 | 01-19-2005 01:28 PM |
| Multiple Stops | Anonymous | MapPoint 2006/2009 Discussion | 2 | 01-23-2004 07:57 AM |
| can't prevent MP from optimizing stops ??? | Anonymous | MapPoint 2006/2009 Discussion | 0 | 12-01-2003 11:10 PM |
| Optimizing Stops | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-14-2003 03:16 PM |
Cheapest Ski Holidays
Trying to book the cheapest ski holidays around? Holiday Hypermarket lets you search for cheap ski holidays from the top travel agents.
Travelcounselors
TravelCounsellors are a Queens award winning Travel Agent. Have a personal Travel Counselor help with your travel plans.
Flights Canada
Our search results will show you a selection of airlines, travel agents and tour operators offering cheap flights to Canada. See for yourself who has the cheapest deals.
Holidays to Dominican Republic
Holidays to Dominican Republic offer a wealth of natural beauty and magnificent views. Come alive in the splendor of the Dominican Republic!
Greece
Greece covers a large area and as a result there is an abundance of things to do, see and taste. You can relax on a beach, visit ancient sites or make a trip to one of the islands like Corfu, Crete or Rhodes.
Family package holidays
Save a lot of time and opt for one of the great family package holidays at Travel.co.uk
Goa Holidays
Enjoy the warm and sunny climate of Western India. Visit On The Beach for information on Goa holidays.