Simulated Annealing: A Pedestrian Review of the Theory and Some Applications