Hill climbing and simulated annealing examples