CVRP ================ The Capacitated Vehicle Routing Problem (CVRP) is the most basic VRP, where a set of homogeneous vehicles of limited capacity serves a set of customers, located at different points in a geographic area. The objective of the problem is to minimize the total routing cost, i.e. the total distance traveled by vehicles. Instances format ---------------------------- The demo reads instances in the standard `CVRPLIB `_ format. * The first line indicates the name of the instance. * The second line gives a comment about the data, for example, the optimal value expected. * The third line gives the type of the instance. * The fourth line gives the dimension of the instance. * The fifth line indicates how distances are calculated. * the 6th line indicates the capacity of the vehicle. * After the keyword *NODE_COORD_SECTION*, the following information is given for each point: * Index of the point * X coordinate * Y coordinate After the keyword *DEMAND_SECTION*, the following information is given for each point : * Index of the point * Demand After the keyword *DEPOT_SECTION*, we retrieve the index of the depot. 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 CVRP.py -i -t