/julia-tsp

Simple Traveling Salesman Problem implementation in Julia

Primary LanguageJupyter NotebookMIT LicenseMIT

TSP in Julia

Traveling Salesman Problem TSP is a classic combinatorial optimization problem. Given set of points on a plane problem

Find a path that visitis each point exactly once, minimize the total distance.

solution

TSP.ipynb notebook implements Miller–Tucker–Zemlin method in Julia with JuMP lib for modeling optimization problems. Two great blog posts that helped me along the way:

Dependancies

In order to run this notebook you need Julia 1.7, julia kernel for Jupyter and following Julia libs (available by pkg)

  • Plots
  • GLPK
  • JuMP