Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 976 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 976 Bytes

Genetic Traveller

Solving and Visualising the Travelling Salesman Problem with a Genetic Algorithm

demo


The travelling salesman problem (TSP) asks the following question: "Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city and returns to the origin city?" It is an NP-hard problem in combinatorial optimization, important in operations research and theoretical computer science. - Wikipedia

Features

  • Change parameters like No. of cities, Population Size and Mutation Rate
  • Compare Genetic Algorithm with Brute Force (Complete Search) that runs in O(N!) time

References