Numerical Recipes book, read online:good description of simulated annealing
apps.nrbook.com