What is the process of Local Search optimization and what is its main limitation?
Local Search optimization starts with an initial solution and iteratively applies small changes, such as 2-Opt swaps, to find a better one. Its main limitation is that it can get trapped in a local minimum, a state where no immediate improvement can be found, even though a globally better solution may exist.
Conditions
- Requires an initial feasible solution.
- Requires a defined neighborhood of solutions (e.g., all solutions reachable by one 2-Opt swap).
- Iteratively moves to a better solution in the neighborhood until a local optimum is reached.
Reasoning, step by step
- Start with an initial solution (e.g., a random route).
- Apply a local change (e.g., a 2-Opt swap).
- If the change improves the solution, keep it; otherwise, discard it.
- Repeat the process until no further immediate improvements can be found.
- Recognize that the final solution is a local minimum, not necessarily the global optimum.
Example
The video demonstrates Local Search on a map with approximately 30 cities, starting from a random route of 44668 km and iteratively improving it to 16592 km, but notes that a better route of 14167 km exists, illustrating the local minimum limitation.
Common misconceptions
- Believing that Local Search always finds the global optimum.
- Assuming that if no immediate improvement can be found, the current solution is the best possible one.
Watch the explanation
0:33 – 1:23Watch this moment ↗
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.