DarwinFernandez
DarwinFernandez

Reputation: 364

Optaplanner support MDVRP (Multiple Depot VRP)?

How can I implement vrp when different vehicles are initially in a different place?

Upvotes: 0

Views: 427

Answers (1)

Geoffrey De Smet
Geoffrey De Smet

Reputation: 27312

There's a good reason why Vehicle and Depot are separate classes in the vehicle routing example. Just have multipe depots, one per starting location of a set of vehicles. Or remove the depot class entirely and just give every Vehicle a starting Location.

Upvotes: 1

Related Questions