If there is a shipment which is bound. i.e
Shipment shipment1 = Shipment.Builder.newInstance("wheelchair_1").addSizeDimension(WHEELCHAIRSPACE_INDEX, 1).setPickupLocation(loc(Coordinate.newInstance(5, 7))).setDeliveryLocation(loc(Coordinate.newInstance(6, 9))).build();
Say you have a couple of these.
And now you have a cost matrix, in what order would the distances be read from the matrix? Typically a service type way of entering this data in, it can be in the order the services are defined. But here you have two items.
If it doesn’t simply matter it would be good to understand how Jsprit references and matches locations and distances with the cost matrixes given.