simanneal
simanneal copied to clipboard
Pass current temperature to move function
Hi I think it would be a good thing to have access to the current temperature in the move function, either by passing it as a parameter or by making it a class member. It would allow for smaller changes in the state when the temperature is small for example
This is a great idea. This would be closer to the idea of Adaptive Simulated Annealing:
https://en.wikipedia.org/wiki/Adaptive_simulated_annealing
When looking for the minimum of a continuous function, and while doing a move at each step, I would like to be able to adjust the size of the step based on temperature. As it gets closer to the end, the size of the step should decrease.
Generally speaking, I want access to temperature, somehow, from the move function. Also, ideally, access to the min and max values of temperature. This way, I could vary the size of the gaussian jump at each step, based on temperature.