Imagine you are hiking in thick fog, trying to reach the highest peak. You walk uphill until every direction goes down â but you might be standing on a foothill, not the summit. That is the dilemma facing every local search algorithm.
Local search is one of the oldest tricks in optimization: start with any solution, look at nearby alternatives, move to a better one, and repeat until no neighbor is an improvement. It is fast and simple, but it stops the moment it hits a local optimum â a solution that is better than all its neighbors yet far from the global best.
Iterated Local Search (ILS), formalized by Helena Lourenço, Olivier Martin and Thomas Stßtzle in 2002, adds one elegant idea: when you are stuck, perturb the current best solution to jump to a different region of the search space, then run local search again from there. Keep the best result you have seen so far and repeat. The loop is:
- Build an initial solution and run local search to a local optimum.
- Perturb â make a structured random move that is larger than a single local-search step.
- Run local search again from the perturbed solution.
- Accept or reject the new local optimum as the new baseline (often: keep it if it is better, or use a mild acceptance criterion).
- Go to step 2.
Despite its simplicity, ILS consistently matches or beats far more elaborate algorithms on hard problems like the Traveling Salesman Problem. The power lies in exploring multiple basins of attraction in the solution landscape, guided by memory of the best solution found so far.
Comments
Loading comments...