Research Article

Exact and Heuristic Solutions to Minimize Total Waiting Time in the Blood Products Distribution Problem

Algorithm 2

Outline of the basic variable neighborhood search.
Input: Initial solution π‘₯ ;
Until the stopping criterion is met do
 Initialize: π‘˜ ← 1 ;
 Until   π‘˜ = π‘˜ m a x   repeat
  Shake: Generate ́ π‘₯ randomly from 𝑁 π‘˜ ( π‘₯ ) and set it as the incumbent solution;
  Local search: Apply some local search method on ́ π‘₯ ; Denote with π‘₯ the so obtained local
  optimum;
  If   π‘₯ is better than the π‘₯ then
   π‘₯ ← π‘₯ and set π‘˜ ← 1 ;
  Else
   π‘˜ ← π‘˜ + 1 (switch to another neighborhood);