Local search algortihms for optimization problems