Lably
Skip to content

Local search (optimization)

Method for problem solving in optimization

  • 4 min read
  • 2 chapters

Related on Lably

Through Computer science, Heuristic and Mathematical optimization

Local search algorithms are widely applied to numerous hard computational problems, including problems from computer science (particularly artificial intelligence), mathematics, operations research, engineering, and bioinformatics. Examples of local search algorithms are WalkSAT, the 2-opt algorithm for the traveling salesman problem and the Metropolis–Hastings algorithm.

While it is sometimes possible to substitute gradient descent for a local search algorithm, gradient descent is not in the same family: although it is an iterative method for local optimization, it relies on an objective function’s gradient rather than an explicit exploration of the solution space.

Examples

Some problems where local search has been applied are:

  1. The vertex cover problem, in which a solution is a vertex cover of a graph, and the target is to find a solution with a minimal number of nodes
  2. The traveling salesman problem, in which a solution is a cycle containing all nodes of the graph and the target is to minimize the total length of the cycle
  3. The Boolean satisfiability problem, in which a candidate solution is a truth assignment, and the target is to maximize the number of clauses satisfied by the assignment; in this case, the final solution is of use only if it satisfies all clauses
  4. The nurse scheduling problem where a solution is an assignment of nurses to shifts which satisfies all established constraints
  5. The k-medoid clustering problem and other related facility location problems for which local search offers the best known approximation ratios from a worst-case perspective
  6. The Hopfield Neural Networks problem involves finding stable configurations in Hopfield network.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Computing and communication