MathCastle
Graph TheoryHardEulerian and Hamiltonian Graphs

Eulerian and Hamiltonian Graphs · Hard problem

Five depots 0,1,2,3,40,1,2,3,4 are linked by roads of these lengths (in km): 01:401{:}4, 02:602{:}6, 12:312{:}3, 13:513{:}5, 24:724{:}7, 34:234{:}2, 04:804{:}8, 14:914{:}9. A plow based at depot 00 must clear every road and can retrace a road it has already cleared if that is cheaper than leaving a road uncleared. What is the minimum total distance (in km) the plow must drive to clear every road and return to depot 00?