@mathforge Python's itertools.permutations has a lovely algorithm for generating tours of every permutation like this. If you haven't seen it, there's an explanation on stackoverflow: stackoverflow.com/questions/2565…
@mathforge Python's itertools.permutations has a lovely algorithm for generating tours of every permutation like this. If you haven't seen it, there's an explanation on stackoverflow: stackoverflow.com/questions/2565…