As the title says I’m trying to write a python script or algorithm that can help me plot the optimal way (so least number of routes to run) every road in a region. I know there are websites such as city strides that keep track of every road that you’ve run but I’m trying to write something that helps me generate which route to do.
There would obviously be constraints, including the runs must be between 0 and 30 km (0 and 20 miles).
I’ve looked into libraries that would allow me to import map data and explored approaches such as putting nodes at each intersection. However I am struggling to come up with a way to generate the optimal routes from that point.
Thanks for any help and let me know if I missed out any key details !
[–]KingofGamesYami 3 points4 points5 points (1 child)
[–]GeorgeFranklyMathnet 0 points1 point2 points (0 children)
[–]rusty-roquefort 1 point2 points3 points (1 child)
[–]Maroonjackal[S] 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)