Skip to content

In efforts to solve a dynamic travelling salesman problem

Notifications You must be signed in to change notification settings

addejans/Dynamic-TSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Solving the Dynamic Travelling Salesman Problem (DTSP) via Ant Colony Optimization (June 2018)

Description

An abundance of literature on vehicle routing problems is available. Most of the known work deals with static problems, where all data are known in advance (i.e. before the optimization has started). However, in practice, not all data is known in advance, or data changes as applicable to the situation. In vehicle routing, orders may be received as time progresses and must be dynamically incorporated into the routes.

In this project, I give a full Python implementation to quickly optimize the Dynamic Travelling Salesman Problem (DTSP) by using Ant Colony Systems. The idea is to use the original route to quickly build a new route for the added nodes without restarting the optimization process. There is a clear advantage when compared to linear programming when the amount of nodes is large and similarly runtime.

Visualizations

The next two images show what happens when we add another stop to the problem (in this example, we add the "Factory"). First Solve

Second Solve

Releases

No releases published

Packages

No packages published