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

https://github.com/ahuth/evolved-salesman

Traveling salesman problem solved by a genetic algorithm
https://github.com/ahuth/evolved-salesman

es6 genetic-algorithm javascript react traveling-salesman

Last synced: 7 months ago
JSON representation

Traveling salesman problem solved by a genetic algorithm

Awesome Lists containing this project

README

          

# Evolved Salesman

Genetic algorithm to solve the [traveling salesman problem](https://en.wikipedia.org/wiki/Travelling_salesman_problem) in React.

Based off of [a solution of mine from a long time ago](https://gist.github.com/ahuth/5900126).

![Traveling salesman problem](https://user-images.githubusercontent.com/2503289/42614596-6d55dc68-855b-11e8-8031-5e6e1ced726c.gif)

## Setup

1. Clone the repo with `git clone git@github.com:ahuth/evolved-salesman.git`
2. Install dependencies with `npm install`
3. Start with `npm start`