MDVRP ========= The Multi-Depot Vehicle Routing Problem (MDVRP) is a variant of the CVRP in which vehicles are based in different depots. Instance formats ---------------------------- The demo reads instances in the standard "Cordeaux" format. See `this repository `_ for details. The first line contains the following information: type m n t * **type**: it's equal to 2 for the MDVRP * **m**: number of vehicles * **n**: number of customers * **t**: number of depots The next *t* lines contain, for each depot , the following information: D Q: * **D**: maximum duration of a route (not supported in this demo) * **Q**: maximum load of a vehicle The next lines contain, for each customer, the following information: i x y d q f a list e l * **i**: customer id * **x**: x coordinate * **y**: y coordinate * **d**: service duration (not supported in this demo) * **q**: demand * **f**: frequency of visit (not used in MDVRP) * **a**: number of possible visit combinations (not used in MDVRP) * **list**: list of all possible visit combinations (not used in MDVRP) * **e**: beginning of time window (not supported in this demo) * **l**: end of time window (not supported in this demo) Run instances ---------------------------- There are two ways to run a specific instance: Command line ^^^^^^^^^^^^^^^^^^^^^^ You can solve an instance by specifying different parameters directly in the command line, like this:: python MDVRP.py -i -t