learngraphtheory.org

Interactive Graph Theory Learning

Guest User

Using app without sign in

Algorithm Selection

Fleet Dispatching (mTSP)

Partitions graph into fleets and calculates delivery routes

Time: O(V²)
Space: O(V)
Use Case: Fleet management, delivery circuits
Auto10

Algorithm Execution

Select an algorithm and generate steps to begin visualization

About Fleet Dispatching (mTSP)

The multi-vehicle routing problem (VRP) extends the traveling salesman problem to a fleet: several vehicles start from a depot and must jointly visit all customers at minimum total cost. It is one of the most economically important NP-hard problems.

How it works

Classical constructive methods include the Clarke-Wright savings algorithm, which starts with one route per customer and merges routes in order of the distance saved, and cluster-first route-second approaches that group customers geographically before solving a TSP per cluster. Improvement phases apply 2-opt and or-opt moves within and between routes, and metaheuristics such as tabu search and large neighborhood search close most of the remaining gap to optimal.

Applications

VRP plans parcel delivery for postal and courier fleets, school bus routes, field service technician schedules, and waste collection circuits. Commercial routing engines solve VRP variants millions of times daily, making it a core skill for logistics and operations research engineers.

Read the full article: The Vehicle Routing Problem

Related algorithms: Traveling Salesman Problem, Capacitated Vehicle Routing (CVRP), K-Means Logistics Clustering

Interactive Controls
Basic Actions
Double Click → Add Node
Drag → Move Nodes
Shift + Click → Connect Nodes
Right Click → Context Menu
Advanced
Ctrl + Click → Multi-Select
Delete Key → Remove Selected
Double Click Edge → Edit Weight
Ctrl + Drag → Pan View

Zoom Controls

100%
Nodes: 4
Edges: 4