liveBook · Manning

Local neighborhood

As explained in Optimization Algorithms: AI techniques for design, planning, and control problems

The set of candidate solutions reachable from a current solution by permitted local moves.

A local neighborhood is the set of candidate solutions reachable from a current solution through permitted local moves. Search algorithms inspect this nearby set rather than the entire solution space. In tabu search, the neighborhood changes dynamically as memory and exploration rules guide which candidates remain available. section 6.2

The permitted move determines the neighborhood. For assembly-line balancing, represent a solution as a task permutation and define neighbors by exchanging any pair of tasks. With six tasks, this produces C(6,2) = 15 possible neighbors before precedence and cycle-time feasibility are considered. section 6.6

A practical neighborhood-search iteration proceeds as follows:

  • Generate neighboring solutions from the current task sequence. section 6.6
  • Discard moves prohibited by the tabu structure, while allowing aspiration to reconsider a tabu move that improves the best-known solution. section 6.2
  • Evaluate feasible candidates using the chosen objective, such as smoothing index, while respecting precedence and cycle-time constraints. section 6.6

Six-task assembly line

Starting with [1 2 3 4 5 6], exchange two task positions to create candidate sequences. Evaluate each assignment without exceeding a four-minute cycle time or violating precedence. Select the best permitted candidate, update the tabu list, and repeat; the resulting workloads and smoothing index quantify the balance. section 6.6

Algorithm 6.2 Tabu search
Input: an initial feasible solution
Output: optimal solution
Begin
    While termination criteria not met do
        Choose the best: s’∈N(s) ← N(s)-T(s)+A(s)
        Memorize s’ if it improves the best known solution
        s←s’
        Update Tab list T(S) and Aspiration criterion A(s)

Use the algorithm listing to trace how neighborhood candidates, tabu restrictions, aspiration, memory updates, and termination fit together. section 6.2

How Optimization Algorithms: AI techniques for design, planning, and control problems covers it

How deep it goes
Defines neighborhoods through pairwise exchanges and counts candidates, then applies feasibility and objective evaluation.
Examples
Uses six-task permutations, pairwise exchanges, precedence diagrams, cycle time, workloads, and smoothing-index evaluations.
What it assumes
Assumes a feasible current solution, permitted moves, an objective measure, and any problem constraints such as precedence.
What you can do after
Apply it via tabu-search procedures to generate, filter, and evaluate candidate solutions for assembly-line balancing.
How it connects
Connects tabu search with local search, local optima, aspiration criteria, smoothing index, and precedence constraints.

Also explained in

Compare how 4 books explain local neighborhood →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Optimization Algorithms: AI techniques for design, planning, and control problems. The section links point to the parts of the book it draws on.