My question is less about code and more conceptual. Right now, one has the option of specifying the distance matrix in the shipment model. As I understand it, the route optimizer will then try to find the minimum distance (cost) path through all points according to the values in this matrix. My question is, are the latitude and longitude values specified in the shipments object irrelevant then since the optimizer wouldn’t use them to compute the distances? Put another way, could I put in random coordinates for my locations in different tour optimizations and expect to get essentially the same solution as long as I’m using the same distance matrix each time? Thanks!
I haven’t attempted to verify this with code yet because the process seems somewhat tedious. Would be great if a dev or someone else who has knowledge could answer.
Sam Estes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.