I am faced with some real-world VRP optimization problems and would like to kick the tires of jsprit. I have a set of jobs with associated skill constraints; a set of users to service those jobs with skill constraints and time windows; and lat-lon based coordinates on all of the above.
I have been running some examples like the VRPWithBackhaulsExample, so I can see that I need to set up a set of ConstraintManagers but I am having trouble mapping my domain to jsprit concepts in these areas:
- How do I express lat-lons in terms of JSprit inputs? It seems like the examples use points in two-dimensional space. It appears that I need to use VehicleRoutingTransportCosts, but I am unclear on how to do that.
- Are there examples of using time windows in non-delivery models? I am aware of this post, but it does not seem like the same model as what I describe above.
I'm just looking to get pointed in the right direction, any guidance welcome.