If the problem is the lack of memory, evaluating the score of every permutation with the brute force could shift the bottleneck to the time required to evaluate all the permutations.
I hope I’m wrong
Good luck!
If the problem is the lack of memory, evaluating the score of every permutation with the brute force could shift the bottleneck to the time required to evaluate all the permutations.
I hope I’m wrong
Good luck!