Variable neighborhood search


Variable neighborhood search, 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,, 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
  1. Davidon, W.C.
  2. Fletcher, R., Powell, M.J.D.
  3. Mladenović, N. and
  4. 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, there is continuous optimization model.
A solution is optimal if
Exact algorithm for problem 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.,, 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 has been found such that
or
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 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 of problem is such that
where denotes a neighborhood of

Description

According to, 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:
  1. A local minimum with respect to one neighbourhood structure is not necessarily a local minimum for another neighbourhood structure.
  2. A global minimum is a local minimum with respect to all possible neighborhood structures.
  3. 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

Local search

A local search heuristic is performed through choosing an initial solution x, discovering a direction of descent from x, within a neighbourhood N, and proceeding to the minimum of f within N in the same direction. If there is no direction of descent, the heuristic stops; otherwise, it is iterated. Usually the highest direction of descent, also related to as best improvement, is used. This set of rules is summarized in Algorithm 1, where we assume that an initial solution x is given. The output consists of a local minimum, denoted by x', and its value. Observe that a neighbourhood structure N is defined for all x ∈ X. At each step, the neighbourhood N of x is explored completely. As this may be timeconsuming, an alternative is to use the first descent heuristic. Vectors are then enumerated systematically and a move is made as soon as a direction for the descent is found. This is summarized in Algorithm 2.

Algorithm 1: Best improvement (highest descent) heuristic


Function BestImprovement
1: repeat
2: x' ← x
3: x ← argmin_, y∈N
4: until ≥ f )
5: return x'

Algorithm 2: First improvement (first descent) heuristic


Function FirstImprovement
1: repeat
2: x' ← x; i←0
3: repeat
4: i ← i+1
5: x ← argmin, x^i ∈ N
6: until < f or i = |N
7: until ≥ f )
8: return x'

Let one denote, a finite set of pre-selected neighborhood structures, and with the set of solutions in the kth neighborhood of x.
One will also use the notation when describing local descent. Neighborhoods or may be induced from one or more metric functions introduced into a solution space S.
An optimal solution is a feasible solution where a minimum of problem is reached. We call x' ∈ X a local minimum of problem with respect to, if there is no solution such that.
In order to solve problem by using several neighbourhoods, facts 1–3 can be used in three different ways: deterministic; stochastic; both deterministic and stochastic. We first give in Algorithm 3 the steps of the neighbourhood change function which will be used later. Function NeighbourhoodChange compares the new value f with the incumbent value f obtained in the neighbourhood k. If an improvement is obtained, k is returned to its initial value and the new incumbent updated. Otherwise, the next neighbourhood is considered.

Algorithm 3:&nbsp;– Neighborhood change


Function NeighborhoodChange
1: if f < f then
2: x ← x' // Make a move
3: k ← 1 // Initial neighborhood
4: else
5: k ← k+1 // Next neighborhood

When VNS does not render a good solution, there are several steps which could be helped in process, such as comparing first and best improvement strategies in local search, reducing neighborhood, intensifying shaking, adopting VND, adopting FSS, and experimenting with parameter settings.
The Basic VNS method combines deterministic and stochastic changes of neighbourhood. Its steps are given in Algorithm 4. Often successive neighbourhoods will be nested. Observe that point x' is generated at random in Step 4 in order to avoid cycling, which might occur if a deterministic rule were applied. In Step 5, the best improvement local search is usually
adopted. However, it can be replaced with first improvement.

Algorithm 4: Basic VNS


Function VNS ;
1: repeat
2: k ← 1;
3: repeat
4: x' ← Shake /* Shaking */;
5: x'' ← BestImprovement /* Local search */;
6: x ← NeighbourhoodChange /* Change neighbourhood */;
7: until k = kmax ;
8: t ← CpuTime
9: until t > tmax ;

VNS variants

The basic VNS is a best improvement descent method with randomization. Without much additional effort, it can be transformed into a descent-ascent method: in NeighbourhoodChange function, replace also x by x" with some probability, even if the solution is worse than the incumbent. It can also be changed into a first improvement method.
Another variant of the basic VNS can be to find a solution x' in the “Shaking” step as the best among b randomly generated solutions from the kth neighbourhood. There are two possible variants of this extension: to perform only one local search from the best among b points; to perform all b local searches and then choose the best. In paper could be found algorithm.

Extensions

Applications of VNS, or of varieties of VNS are very abundant and numerous. Some fields where it could be found collections of scientific papers:
VNS implies several features which are presented in Hansen and Mladenović and some are presented here:
  1. Simplicity: VNS is simple, clear and universally applicable
  2. Precision: VNS is formulated in precise mathematical definitions
  3. Coherence: all actions of the heuristics for solving problems follow from the VNS principles
  4. Effectiveness: VNS supplies optimal or near-optimal solutions for all or at least most realistic instances
  5. Efficiency: VNS takes a moderate computing time to generate optimal or near-optimal solutions
  6. Robustness: the functioning of the VNS is coherent over a variety of instances
  7. User friendliness: VNS has no parameters, so it is easy for understanding, expressing and using
  8. Innovation: VNS is generating new types of application
  9. Generality: VNS is inducing to good results for a wide variety of problems
  10. Interactivity: VNS allows the user to incorporate his knowledge to improve the resolution process
  11. Multiplicity: VNS is able to produce a certain near-optimal solutions from which the user can choose;
Interest in VNS is growing quickly, evidenced by the increasing number of papers published each year on this topic.
Moreover, the 18th EURO mini-conference held in Tenerife in November 2005 was entirely devoted to VNS. It led to special issues of IMA Journal of Management Mathematics in 2007, European Journal of Operational Research, and Journal of Heuristics in 2008.