simanneal icon indicating copy to clipboard operation
simanneal copied to clipboard

Pass current temperature to move function

Open andryr opened this issue 3 years ago • 2 comments

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

andryr avatar May 03 '21 13:05 andryr

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.

FlorinAndrei avatar Oct 15 '21 01:10 FlorinAndrei