/traveling_salesman_demo

A Kotlin implementation of the TSP problem, with TornadoFX Visualization

Primary LanguageKotlinApache License 2.0Apache-2.0

Traveling Salesman Demo

Built with JavaFX/TornadoFX and Kotlin

This is a Kotlin application (built with TornadoFX visuals) to demonstrate multiple algorithms to solve the Traveling Salesman Problem.

I found this problem interesting due to its simple objective, and yet astronomically large permutations (60 cities = more tour combinations than there are atoms in the universe) that must be pruned and searched through.

Current Algorithms

  • RANDOM
  • GREEDY
  • OVERLAP ELIMINATION
  • 2-OPT
  • SIMULATED ANNEALING

YouTube Walkthrough

Featured at KotlinConf 2018 in Amsterdam