Skip to content

LinyeLyuNeo/GeneticAlgorithm_TSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeneticAlgorithm_TSP

Build an advanced genetic algorithm with Python to solve different sizes of traveling sales problems. The algorithm includes the following components of genetic algorithm:

  • Initialization: hybrid random and simple greedy initalization for the first population
  • Selection: k-tournament selection to choose the parents for recombination
  • Mutation: hybrid mutation scheme including swap, inversion, and scramble mutation
  • Recombination: hybrid recombination scheme including PMX and HGrex crossover
  • Elimination: (\lambda+\mu) elimination
  • Local search operator: hybrid local search scheme including inversion local search and adjacent swap local search
  • Diversity promotion scheme: fitness sharing using normalzied hamming distance

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages