localsearch
Local search is a class of heuristic optimization techniques that seek high-quality solutions by iteratively improving a current candidate. Starting from an initial solution, the method examines the set of neighboring solutions produced by small modifications to the solution representation, collectively called the neighborhood. If a neighboring solution with a better objective value is found, the algorithm moves to that solution and repeats. The search typically terminates when no improving move is available, or when a predefined limit on time, iterations, or evaluations is reached. Local search does not guarantee a global optimum.
Common strategies include hill climbing, which accepts only improving moves; simulated annealing, which probabilistically accepts worse
Applications include combinatorial optimization problems such as the traveling salesman problem, vehicle routing, scheduling, graph coloring,
Limitations and considerations include sensitivity to the representation and neighborhood, potential for getting stuck in local