WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Chinese Postman Problem

number of vertices
5
6
7
8
semi-Eulerian
non-Eulerian
A possible route: {AD,DB,BD,DE,EC,CB,BA}
Total distance: 63 meters.
The Chinese postman problem asks for the shortest route that covers all the edges in a graph, starting and ending at the same vertex. The route may repeat some edges. The total distance traversed is the sum of the lengths of all the edges in the route. There are many possibilities, which can be generated using random graphs or other techniques.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.