Published August 5, 2023 | Version 1.1

The Electric Vehicle Travelling Salesman Problem on Digital Elevation Models for Traffic-Aware Urban Logistics Supplementary Material

Description

These files correspond to the supplementary material of the article The Electric Vehicle Travelling Salesman Problem on Digital Elevation Models for Traffic-Aware Urban Logistics. 

Code

  • algorithm.py corresponds to an implementation of the algorithm developed in the paper to solve the EV-TSP  for the city of Madrid. It takes as input a list of nodes from the graph of Madrid city madrid_elevation_energy.pckl and the output consists of an ordered list of all the nodes representing the solution to the TSP.
  • bellmanFord.py is a Python implementation of the Bellman-Ford algorithm. 
  • evaluation.py is the script that offers the evaluation of the algorithm offered in Tables 1 and 2 in the paper.
  • neuralNetworkTraining.py  is the script used to train and save the Neural Network model using the data generated by simulation.py.
  • nn_model_predictor.py is a script where the model trained in neuralNetworkTraining.py can be used to generate predictions.
  • simulation.py  is the script that simulated the routes through the months of October and November 2022 using the data in snapshots_2022.zip. It generates the routes in simulationOctober.csv and simulationNovember.csv
  • twoOptNearestNeighnors.py is a Pyhton implementation of the 2-Opt algorithm that uses Nearest Neighbors to generate the initial tour.

Files

  • Madrid{5,10,15}.pkl are the test instances for the city of Madrid. Correspond to Python list of list. Each list is a set of stops to visit in the city graph of Madrid (madrid_elevation_energy.pckl)   
  • energy_estimation_full.h5 is a Keras model trained using nn_model_predictor.py to estimate the energy.
  • scaler_full.pkl is the scaler needed to use the energy_estimation_full.h5 model.
  • simulation{October, November}.pkl are the routes generated for each month using simulation.py.
  • snapshots_2022.zip are the traffic data for the months of October and November 2022

Files

coords.csv

Files (93.3 MB)

Name Size
md5:50ac2c260d4d95b460a982748773d45f
1.3 kB Download
md5:d18e5ee9cf4140f1e441fd4571fe2ed4
634 Bytes Download
md5:7fd0a231b6fda1eaa8c2978a5788a422
977.1 kB Preview Download
md5:d873b349cd45f170bc2229a2bb59ef82
2.5 MB Preview Download
md5:2da50e2b2fadc182040df3b7e36b36b7
168.0 kB Download
md5:dd9dac65f0aa248f30fe4ff0f198d6d3
17.3 kB Download
md5:b9b4d10de0d05ac442f84207826143f3
1.4 kB Download
md5:022bcc9ebb04ae8b632cdcd4ce5bc875
2.1 kB Download
md5:b88c66aba323ab0c339806d85e052a75
771 Bytes Download
md5:710f9b3c2d1e981a8e396c66b1799b82
19.9 MB Download
md5:adb3ac54d4de915e0a5323759a8fb30c
25.0 MB Download
md5:41570c3f53b3b4b0081d50a16257e186
4.1 kB Download
md5:1668f17faf5e389156f72da8d4dca1b4
1.6 kB Download
md5:87eb4fa2eb14a782b416bf1854746b25
126 Bytes Preview Download
md5:374ebe520a47e8b7029409d9f6f451bd
2.5 kB Download
md5:730a34299d6ab02914b3ff9816c7f18c
5.8 kB Download
md5:343c21b1d937e10f38b173b24f8dcbcd
12.1 MB Preview Download
md5:cb1eefc067cd3e21015dc1015976fee1
12.5 MB Preview Download
md5:05dcd231b1ca4157cd253a0f9a32fec9
20.1 MB Preview Download
md5:e9249ba72d52e9e929b15ff00045f802
7.2 kB Download