Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/thomasnield/traveling_salesman_demo

A Kotlin implementation of the TSP problem, with TornadoFX Visualization
https://github.com/thomasnield/traveling_salesman_demo

javafx kotlin optimization traveling-salesman-problem

Last synced: 2 months ago
JSON representation

A Kotlin implementation of the TSP problem, with TornadoFX Visualization

Awesome Lists containing this project

README

        

# Traveling Salesman Demo

### Built with JavaFX/TornadoFX and Kotlin

This is a Kotlin application (built with [TornadoFX](https://github.com/edvin/tornadofx) visuals) to demonstrate multiple algorithms to solve the [Traveling Salesman Problem](https://en.wikipedia.org/wiki/Travelling_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

[![](https://img.youtube.com/vi/j1s69yf4a9Y/hqdefault.jpg)](https://youtu.be/j1s69yf4a9Y)

## Featured at KotlinConf 2018 in Amsterdam

[![](https://img.youtube.com/vi/-zTqtEcnM7A/hqdefault.jpg)](https://youtu.be/-zTqtEcnM7A)