.. _sphx_glr_api_gallery_optimization_tsp:
The travelling salesman problem
---------------------------------
Nearest-neighbour and 2-opt heuristics against the exact Held-Karp
algorithm.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/optimization/tsp/images/thumb/sphx_glr_plot_01_held_karp_travelling_salesman_thumb.png
:alt:
:doc:`/api/gallery/optimization/tsp/plot_01_held_karp_travelling_salesman`
.. raw:: html
The travelling salesman: Held and Karp's exact algorithm
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/optimization/tsp/plot_01_held_karp_travelling_salesman