Thread: November 2019
View Single Post
Old 2019-11-17, 14:05   #54
yae9911
 
yae9911's Avatar
 
"Hugo"
Jul 2019
Germany

3110 Posts
Default

I am really happy that you have a little fun with the problem. I can give you a simple tip on random exchanges of matrix entries: Instead of just greedily looking for improvements to the determinants, it's worth accepting also reductions of the determinant value at the beginning. The acceptance probability of moves in the "wrong" direction is governed by a decaying threshold similar to the cooling down of a melt in a furnace. One can embed this in a framework program that performs a temperature control. The keyword to look for is simulated annealing.


If implemented properly (not more than 5 lines of code ) it will give you a dramatic increase in search progress and much more fun than just watching the awful performance of pure random swaps.
yae9911 is offline   Reply With Quote