This repository is my implementation of several heuristic algorithms solving the truck-drone delivery problem:
-
FSTSP_heuristic described in the paper Murray and Chu. "The flying sidekick traveling salesman problem: Optimization of drone-assisted parcel delivery", in Transportation Research Part C: Emerging Technologies. 2015.
- In this implementation, I use Google OR-Tools as the TSP solver.
-
CP-ACO implemented based on the proposed heuristic on D. N. Das, R. Sewani, J. Wang and M. K. Tiwari, "Synchronized Truck and Drone Routing in Package Delivery Logistics," in IEEE Transactions on Intelligent Transportation Systems. 2021
-
Comming soon...
python3 main.py --algorithm="algorithm_name" --test_instance="test_folder_name"
where algorithm_name
can be either 'fstsp_heuristic' or 'cp_aco'
- Algorithm parameters can be adjusted in the
algorithm_name.py
file.
- Test datasets are adapted from https://github.com/optimatorlab/mFSTSP.
- You may also run the algorithm with a custom list of latitude, longitude, and parcel weight inputs. Refer to the folder
my_test
for example.
![]() Figure 1: Results of TSP in 25 customers test |
![]() Figure 3: Results of FSTSP_heuristic in 25 customers test |
![]() Figure 2: Results of CP-ACO in 25 customers test |
python
(>=3.6)osmnx
networkx
numpy
pandas
ortools
Thi Thuy Ngan Duong