Skip to content

Travelling Salesman Problem: a Genetic Programming solution

License

Notifications You must be signed in to change notification settings

GuillaumeMougeot/tsp_gp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travelling Salesman Problem: a Genetic Programming solution

Description

This repo presents three different solutions to the travelling salesman problem:

  • A genetic programming solution mainly defined in the introduction of the great book of Julian F. Miller, Cartesian Genetic Programming
  • Two solutions based on convex hull detection:
  • A recursive solution defined in pseudo_tsp.pseudo_tsp
  • A iterative solution defined in pseudo_tsp.pseudo_tsp_2

Requirements

  • python 3
  • numpy
  • matplotlib.pyplot
  • tqdm

Execution

To execute this code simple run:

python genetic_programming_TSP.py

About

Travelling Salesman Problem: a Genetic Programming solution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages