Docsity

Artificial Inteligence, Lecture notes of Artificial Intelligence

Partial preview of the text

Download Artificial Inteligence and more Lecture notes Artificial Intelligence in PDF only on Docsity!

Statistioal Science 1998, Vol. &, No. 1, 10-15 Simulated Annealing Dimitris Bertsimas and John Tsitsiklis Abstract. Simulated annealing is a probabilistic method proposed in Kirkpatrick, Gelett and Vecchi (1983) and Cerny (1985) for finding the global minimum of a cost function that may possess several local minima. It works by emulating the physical process whereby a solid is slowly cooled so that when eventually its structure is “frozen,” this happens at a minimum energy configuration. We restrict ourselves to the case of a cost function defined on a finite set. Extensions of simulated annealing to the case of functions defined on continuous sets have also been introduced in the literature (e.g., Geman and Hwang, 1986; Gidas, 1985a; Holley, Kusuoka and Stroock, 1989; Jeng and Woods, 1990; Kushner, 1985). Our goal in this review is to describe the method, its convergence and its behavior in applications. Key words and phrases: Markov chains, randomized algorithms, simu- lated annealing. 1, THE METHOD The basic elements of simulated annealing (SA) are the following: 1. A finite set S. 2, A real-valued cost function J defined on S. Let S* c Sbethe set of global minima of the function J, assumed to be a proper subset of S. 3. For eachi eS, a set S{i) C S — {i}, called the set of neighbors of i. 4. For every i, a collection of positive coefficients ay, 7 € Sti), such that Yjsw gy = 1. It is assumed that j ¢ Sti) if and only if i € S(y). 5. A nonincreasing function T: N > (0, «), called the cooling schedule. Here N is the set of positive integers, and Tit) is called the temperature at time ¢. 6. An initial “state” x(0) eS. Given the above elements, the SA algorithm consists of a discrete-time inhomogeneous Markov chain x(t), whose evolution we now describe. If the current state x(t) is ‘equal to i, choose a neighbor j of i at random; the probability that any particular j ¢ S(i) is selected is equal to qi. Once j is chosen, the next state x(t + 1) is determined as follows: Dimitris Bertsimas is Associate Professor at the Sloan School of Management and John Tsitsiklis is Associate Professor in the Electrical Engineering and Computer Science Department, Massachusetts Institute of Tech- nology, Cambridge, Massachusetts 02139. 10 If) = Jti), then a(t + 1) =j. IfJ (j) > Ji), then alt t+ 1=7 with probability exp[— (J(j) — 7@)/T(#)] alt + 1) =z otherwise. Formally, Pixlt + 1) = jlate) = i (ly =a oxo) max{0, JU) — Jud} iff # i,j SQ. Ifj # i andj ¢ Si), then Pix(t + 1) =j| x() = ] = 0. The rationale behind the SA algorithm is best under- stood by considering a homogeneous Markov chain xr(t) in which the temperature 7(¢) is held at a constant. value 7. Let us assume that the Markov chain x;(¢) is irreducible and aperiodic and that gy = qj for all i, 7. Then x7(t) is a reversible Markov chain, and its invari- ant probability distribution is given by ari) = 2 exp [- Fh T Zz 7 ieS, (2) where Zr is a normalizing constant. (This is easily shown by verifying that the detailed balance equations hold.) It is then evident that as 740, the probability distribution 77 is concentrated on the set S* of global minima of J. This latter property remains valid if the condition 9 = 9, is relaxed (Faigle and Kern, 1989). The probability distribution (2), known as the Gibbs distribution, plays an important role in statistical me- chanics. In fact, statistical physicists have been inter- ested in generating a sample element of S, drawn