I think I have problem with routing algorithm. I am using code snippet from your example for traveling salesman’s problem :
Dim routingResult As RoutingResult = routingEngine.GetRoute(routingLayer.StartPoint, routingLayer.StopPoints, ITERATIONS_COUNT)
After this method call, I can often see in debugger that routingResult.OrderedStops collection is shorter than routingLayer.StopPoints (specially for longer points-lists), though I expect them to be same length. Am I missing something here ? Is there a reason for routing algorithm to ignore some points ?
Maybe some points are too close to each other ? (I can not see this by hand, because it usually happens in bigger point-sets.)