np.matrix('12 19 6 14 4 9; 8 17 1 24 22 16; 21 3 23 2 20 11; 15 10 5 13 18 7')
which has a score of 376.899. This was produced in 20K swaps with the line: best, score = anneal(n=10000)
which was then further refined with: best, score = anneal(start_temp=0.2, advent=best, n=10000)
where anneal() is defined here: https://pastebin.com/xBVGJfQdThe score() function is a bit slow at the moment. If I get some time later, I might see if I can speed it up a bit, which will allow for some faster experimentation.
EDIT: replaced code with pastebin link to save space in comments