Teeline TSP Solver

Find the shortest route through your cities — one of computing's oldest hard problems, solved live in your browser with 17 algorithms, from exact search to genetic algorithms and swarm intelligence.

Load Data

Drag a .tsp file here

or

Drag a .opt.tour file here

or

optional reference tour

Example datasets

Features

WebMCP

Solve TSP problems directly from an AI agent in the browser — no server, no API key, just a page an agent can call.

Tools

A command-line binary for scripts and pipelines, plus a graphical desktop app built with Qt.

WebAssembly

Every solver is compiled to WebAssembly and runs client-side at near-native speed — no install, nothing sent to a server.

Explore the algorithms

Read how each solver works, with pseudocode and references: