temp_function: A temperature function that returns the annealing temperature for a certain cycle k
Returns
A function that takes parameters (current_score, best_score, iteration) for an optimization step and return a Boolean indicating whether the current solution should be accepted or dismissed. Acceptance probability of a worse solution decreases with annealing temperature.