GitHub - PiotrZakrzewski/julia-tsp: Simple Traveling Salesman Problem implementation in Julia

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

This repository was archived by the owner on Feb 11, 2026. It is now read-only.

/ julia-tsp Public archive

Repository files navigation

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

About

Simple Traveling Salesman Problem implementation in Julia

Topics

Resources

Readme

License

MIT license

Activity

Stars

21 stars

Watchers

1 watching

Forks

3 forks