Skip to content

ngandng/fstsp_heuristic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛩️ The Flying Sidekick Traveling Salesman Problem (FSTSP)

This repository is my implementation of several heuristic algorithms solving the truck-drone delivery problem:

🧪 How to Run

python3 main.py --algorithm="algorithm_name" --test_instance="test_folder_name"

where algorithm_name can be either 'fstsp_heuristic' or 'cp_aco'

🔧 Configuration

  • Algorithm parameters can be adjusted in the algorithm_name.py file.

🧾 Test Cases

  • 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.

Results


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

📦 Requirements

  • python (>=3.6)
  • osmnx
  • networkx
  • numpy
  • pandas
  • ortools

👩‍💻 Author

Thi Thuy Ngan Duong

Releases

No releases published

Packages

No packages published

Languages