Simulated annealing (SA) is a probabilistic technique for approximating the global optimum of a given function. Here, I've tried solving the Traveling Salesperson Problem using Simulated Annealing Algorithm.
- Clone the repository
- Download zip
- Install the dependencies:
yarn install
- Run dev mode:
yarn dev
const sa = new SA({
cityCount: 25 // Any arbitrary value
});