Route Optimization

New to route optimization?Read the route optimization guide
Purpose

Model route and tour problems where one path visits every stop using provided pairwise distances.

Inputs

Enter pairwise distances manually or import a matrix, then optionally choose start and stop nodes.

Outputs

Review route length, elapsed time, raw path, directed visualization, errors, and step details.

Related terms

TSP, traveling salesman problem, metric TSP, route optimization, tour planning.

Modeling & constraints

Set the node count, enter pairwise distances, and choose optional endpoints.

Nodes

Distance data?Enter up to 20 nodes manually, or import a CSV matrix for larger route instances.

6 x 6

15 distances required. Fill the upper half of the symmetric distance matrix.

ABCDEF
A
B-
C--
D---
E----
F-----

Validation

Problem definition is ready to solve.

Results

Summary, visualization, error messages, and details.

Run the solver to see route optimization preview.