ArticleslgStudy

computer science

Variable neighborhood search

Variable neighborhood search is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Variable neighborhood search rather than just read about it. In short: Variable neighborhood search (VNS), proposed by Mladenović & Hansen in 1997, is a metaheuristic method for solving a set of combinatorial optimization and global optimization problems. It explores distant neighborhoods of the current incumbent solution, and moves from there to a new one if and only if an improvement was made.

Key takeaways

  • Variable neighborhood search belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Variable neighborhood search to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Variable neighborhood search from memory before moving on to harder problems.

Reference excerpt

Variable neighborhood search (VNS), proposed by Mladenović & Hansen in 1997, is a metaheuristic method for solving a set of combinatorial optimization and global optimization problems. It explores distant neighborhoods of the current incumbent solution, and moves from there to a new one if and only if an improvement was made. The local search method is applied repeatedly to get from solutions in the neighborhood to local optima. VNS was designed for approximating solutions of discrete and continuous optimization problems and according to these, it is aimed for solving linear program problems, integer program problems, mixed integer program problems, nonlinear program problems, etc.

Introduction VNS systematically changes the neighborhood in two phases: firstly, descent to find a local optimum and finally, a perturbation phase to get out of the corresponding valley. Applications are rapidly increasing in number and pertain to many fields: location theory, cluster analysis, scheduling, vehicle routing, network design, lot-sizing, artificial intelligence, engineering, pooling problems, biology, phylogeny, reliability, geometry, telecommunication design, etc. There are several books important for understanding VNS, such as: Handbook of Metaheuristics, 2010, Handbook of Metaheuristics, 2003 and Search methodologies, 2005. Earlier work that motivated this approach can be found in

Davidon, W.C. Fletcher, R., Powell, M.J.D. Mladenović, N. and Brimberg, J., Mladenović, N. Recent surveys on VNS methodology as well as numerous applications can be found in 4OR, 2008 and Annals of OR, 2010.

Definition of the problem Define one deterministic optimization problem with

where S, X, x, and f are the solution space, the feasible set, a feasible solution, and a real-valued objective function, respectively. If S is a finite but large set, a combinatorial optimization problem is defined. If S = R n {\displaystyle {S=R^{n}}} , there is continuous optimization model. A solution x ∗ ∈ X {\displaystyle {x^{*}\in X}} is optimal if

Exact algorithm for problem (1) is to be found an optimal solution x*, with the validation of its optimal structure, or if it is unrealizable, in procedure have to be shown that there is no achievable solution, i.e., X = ∅ {\displaystyle X=\varnothing } , or the solution is unbounded. CPU time has to be finite and short. For continuous optimization, it is reasonable to allow for some degree of tolerance, i.e., to stop when a feasible solution x ∗ {\displaystyle x^{*}} has been found such that

Some heuristics speedily accept an approximate solution, or optimal solution but one with no validation of its optimality. Some of them have an incorrect certificate, i.e., the solution x h {\displaystyle x_{h}} obtained satisfies

for some ε, though this is rarely small. Heuristics are faced with the problem of local optima as a result of avoiding boundless computing time. A local optimum x L {\displaystyle x_{L}} of problem is such that

where N ( x L ) {\displaystyle N(x_{L})} denotes a neighborhood of x L {\displaystyle x_{L}}

Description According to (Mladenović, 1995), VNS is a metaheuristic which systematically performs the procedure of neighborhood change, both in descent to local minima and in escape from the valleys which contain them. VNS is built upon the following perceptions:

A local minimum with respect to one neighborhood structure is not necessarily a local minimum for another neighborhood structure. A global minimum is a local minimum with respect to all possible neighborhood structures. For many problems, local minima with respect to one or several neighborhoods are relatively close to each other. Unlike many other metaheuristics, the basic schemes of VNS and its extensions are simple and require few, and sometimes no parameters. Therefore, in addition to providing very good solutions, often in simpler ways than other methods, VNS gives insight into the reasons for such a performance, which, in turn, can lead to more efficient and sophisticated implementations. There are several papers where it could be studied among recently mentioned, such as (Hansen and Mladenović 1999, 2001a, 2003, 2005; Moreno-Pérez et al.;)

Local search

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Variable neighborhood search

Start with the simplest possible case. Write down what Variable neighborhood search claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Variable neighborhood search before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Variable neighborhood search ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Variable neighborhood search

In research
Variable neighborhood search appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Variable neighborhood search in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Variable neighborhood search is common in secondary-school and first-year university syllabi. It links to neighbouring topics Search algorithms, Travelling salesman problem, so understanding it makes those chapters shorter.
In everyday life
Look for Variable neighborhood search outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Variable neighborhood search” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Variable neighborhood search in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Variable neighborhood search means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Variable neighborhood search out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Variable neighborhood search in simple terms?

Variable neighborhood search (VNS), proposed by Mladenović & Hansen in 1997, is a metaheuristic method for solving a set of combinatorial optimization and global optimization problems. It explores distant neighborhoods of the current incumbent solution, and moves from there to a new one if and only…

Why does Variable neighborhood search matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Variable neighborhood search?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Variable neighborhood search.

Tags

  • Search algorithms
  • Travelling salesman problem

Keep exploring