Back to heuristics for global optimisation
In SA a new solution is accepted automatically if it is better (according to the objective function) than the current configuration, if it is worse then acceptance is governed by a probability. The probability is dependent on a control parameter called temperature that is slowly decreased (cooled) as the algorithm proceeds. Cooling has the effect that the probability of a worse solution being accepted is reduced as time increases.
TA accepts a new solution if it is better than or 'not much worse` than the the existing configuration, formalised in the algorithm by a threshold parameter. In the case of minimisation, any new solution less than the current configuration quality plus the threshold is accepted as the new current solution. No stochastic test is required in the solution replacement procedure, acceptance is totally deterministic, although selection of a specific neighbourhood solution is stochastic. The greater simplicity of the algorithm leads to a claim of superiority of TA over SA made by Dueck and Scheuer [1]. The threshold is decreased with time so that fewer worse solutions are accepted as the algorithm proceeds. Given a problem structure with cost function f(x) and neighbourhood structure N(x,s) for a given configuration x and a neighbourhood generation operator s, the pseudo-algorithm for TA in the case of minimisation is given in figure 2.6.
It is easy to visualise the GDA, especially for maximisation. The quality of all solutions in the sample space together define a surface or a landscape of which the maximum or highest point is sought. By letting it `rain' continuously, the amount of water covering the landscape, the water level, increases. The algorithm `walks' around the fictitious landscape ensuring the solution never falls below this rising water level. At some point the algorithm will become trapped on a `peak' surround by water and the hope is that the algorithm has then found a peak that is nearly optimal. This analogy is formalised by the pseudo-algorithm given in figure 2.7, showing the minimisation variant of the GDA, with cost function f(x)and neighbourhood structure N(x,s) for a solution x.
Record-to-Record Travel is very similar to the GDA, the difference again lies in the acceptance rule. The RTRT algorithm accepts any new solution that has a quality not much worse than the best solution (or record) found so far. The pseudo-algorithm given in figure 2.8 shows this method implemented for minimisation, with the same problem structure as given for the GDA.
Dueck [2] makes several suggestions concerning the selection of appropriate parameter values. For the GDA the rain speed UP is proposed to be on average somewhat smaller than 1% of the average distance between the quality of the current solution and water level. This water level update is achieved by replacing the current LEVEL update procedure given in figure 2.7 with:
where UP now represents a fraction. In the RTRT algorithm the allowed deviation DEV is taken to be a fixed fraction of the quality of the current best solution (i.e. a fraction of RECORD), although a further suggestion is made that the size of the fraction should be reduced as the algorithm proceeds. This first proposal is achieved by replacing the RECORD update procedure in figure 2.8 with:
This page is under development. Last updated 17 January 1995
Grant Telfar
grant@isor.vuw.ac.nz