The task I'm struggling with for the last three or four days looks like this: there is a depot. We load some goods in a truck, and this truck delivers goods to the clients. There is a route, which means that this truck has to deliver goods in some predefined order, and we know distances between "adjacent" customers (vertexes on the following picture).

So, what I need to find is some kind of metric or heuristic to find which client is the most profitless for us - which means that it costs too much to deliver the goods for him, or he is too far from us and our truck spends too much time to get to him. On the previous picture point G looks like very profitless - distances g and h are relatively long, but if we move point G to be near the F, and make the distance g relatively small, this point become profitable - because it costs very little to get to G from F, if g is small.
I've read an article about Savings algorithm, but understood that it doesn't fit here, because I don't have distances from Depot to every point, all I have are distances between adjacent points.
Does anybody have any ideas about possible ways to solve this issue? I don't need anybody to solve it for me - if you know a link to an article, or some good algorithm - just put it here, it'll be just perfect.
Tell me more
×
Theoretical Computer Science Stack Exchange is a question and answer site for
theoretical computer scientists and researchers in related fields. It's 100% free, no registration required.
|
|
|||||||||||
|