Built a pathfinding engine that finds obstacle-avoiding shortest paths between waypoints on a grid, and assembled the pairwise distance matrix that forms the input to the Traveling Salesman Problem.

Problem statement

Given multiple waypoints scattered among obstacles, find shortest point-to-point routes and prepare the data needed to optimize a full visiting tour (TSP).

Approach

Technical Details

View the notebook on GitHub →