Minimizing time spent by each passenger in vehicle as objective function #1388
Labels
Help Needed
Modeling/Usage problem
Solver: Routing
Uses the Routing library and the original CP solver
Milestone
I searched around for this, but couldn't find an answer.
In the CVRPTW, from my understanding, the objective function being minimized is the distance/time and number of vehicles used. Is it possible to change the objective function so that we're trying to minimize the amount of time each passenger spends in the vehicle?
I would like to do this because in my current implementation, there are cases where the vehicle is "waiting" with a passenger on board before picking another passenger up, leading to a passenger spending too long to reach their destination.
Any help appreciated!
The text was updated successfully, but these errors were encountered: