Local Search
Last updated
Was this helpful?
Last updated
Was this helpful?
The local search metaheuristic is an iterative improvement heuristic, since every move is only applied if the result is better than the current solution. The algorithm stops as soon as it finds a local minimum.
GenerateInitialSolution
while(improvement possible)
Improve the solution until no possible improvement is found
The traveling salesman problem: A salesman has to go to N doors to sell his goods. What is the shortest path that he can take?