We will discuss how statistical physics techniques developed for the study of stochastic optimization problems can be used to design efficient algorithms for analyzing, controlling and activating ex