Simulated annealing Algorithm

I would prefer code as explanation, for copy&paste.
I have to guess that

log_temperature(t) = 1 / log(t)

and how you call simulated_annealing now. Please a MWE: Please read: make it easier to help you!