n
<p><table><tr><td bgcolor=black>&nbsp;</td><td><pre class='sample'>
    r &lt; exp(-(new value - old value)/scaled temperature)
</pre></td></tr></table></p>
is true.
</ul>

The &quot;temperature&quot; is reduced by a constant factor after a given number
of iterations, thus making the second case more and more improbable. If
there are no new estimates, the iteration stops.

<p>
Theoretically, <em>simulated annealing</em> is able to find the global
minimum of a function, but it would require in