I'm trying to calculate fastest route through 8 points with different travel times between them. You can start at any point, and you have to travel through all of the points once. You do not have to finish at the same point where you started.
I'm trying to do it with lists in a list (sort of a matrix including all the possible travel times), and figure out a proper recursive function to loop through all the possibilities and check if the current solution is faster than the fastest one and if, then save it as a new fastest route. But I can't quite manage to find out the proper way to loop through all the possibilities.