Route Maker

Return to the Math APIs page.
creator:  Peter Knipp

Background:
This API provides an exact solution to the traveling-salesperson problem, using the Held-Karp algorithm.. In addition to the classic problem that optimizes a closed ("Hamiltonian") path, this algorithm also optimizes open paths (for which the starting/ending locations may or may not be specified) or paths which are subject to certain constraints (e.g., Town-A must be visited prior to Town-B).

Instructions: (General)

Endpoints:

NOTE: Type /api before any of these url fragments listed above if you want the results in json rather than in html.