Stochastic Local Search : Foundations