A SA function which computed the temperature of the next temperature stage
T_next = temp_law_default(T,step_mean,step_var,temp_stage,n,param)
:T the temperature applied during the last temperature stage : :step_mean the mean of the objective function values computed during
the last temperature stage
: :temp_stage the index of the current temperature stage : :n the dimension of the decision variable (the x in f(x)) : :param a float between 0 and 1. Corresponds to the decrease in
temperature of the geometric law (0.9 by default)
:
// This function implements the simple geometric temperature law
function T=temp_law_default(T, step_mean, step_var)
_alpha = 0.9;
T = _alpha*T;
endfunction