Adding previousActivity to the VehicleRoutingActivityCosts function set, so that I am able to access a bit more of the context around which activities were performed before the currentActivity which may influence cost or Duration.
Current Tests are passing.
I have noticed that other constraints on my Vehicles (setEarliestDeparture and setLatestArrival) were not honored, and I needed to create a custom constraint to check them.
Adding previousActivity to the VehicleRoutingActivityCosts function set, so that I am able to access a bit more of the context around which activities were performed before the currentActivity which may influence cost or Duration.
Current Tests are passing.
I have noticed that other constraints on my Vehicles (setEarliestDeparture and setLatestArrival) were not honored, and I needed to create a custom constraint to check them.