An open API service indexing awesome lists of open source software.

https://github.com/globalpolicy/tsp_with_ga_module

Implementation of a Genetic Algorithm module to solve the Traveling Salesman Problem
https://github.com/globalpolicy/tsp_with_ga_module

algorithm ga genetic traveling-salesman-problem tsp

Last synced: about 1 month ago
JSON representation

Implementation of a Genetic Algorithm module to solve the Traveling Salesman Problem

Awesome Lists containing this project

README

          

# TSP_with_GA_module
This is an implementation of Genetic Algorithm to approximate solutions to the Traveling Salesman Problem


GA.js is a simple JavaScript module that supplies general Genetic Algorithm functionality, which in this case, is used to solve the Traveling Salesman Problem.



sketch.js is the script that uses p5js to draw the outcomes and it contains the implementations of cross-over, fitness and mutation functions for the Genetic Algorithm.


Videos by The Coding Train on the topic were the bulk of the source of my knowledge, hence the terminologies and the general code organization has been hugely influenced by them.