Research Article

Heuristics for Synthesizing Robust Networks with a Diameter Constraint

Algorithm 2

Tabu search heuristic.
Let be the best optimal solution found by the algorithm and let be the algebraic connectivity of . Let denote the
number of edges in the initial feasible solution (i.e., ). Also, let represent the maximum number
of iterations allowed in the tabu heuristic.
(1) Initial feasible solution satisfying diameter constraints
(2) , , , is an empty tabu list which can store at most solutions.
(3)for   to   do
(4)for  edge in   do
(5)   Construct the set of edges
(6)end for
(7)for  any spanning tree such that contains exactly one edge from each of the sets in   do
(8)   if   is feasible  then
(9)    if     then
(10)     
(11)      ; only stores at most solutions from iterations
(12)      ,
(13)     break
(14)    else
(15)     if   is not in   then
(16)      
(17)       ; only stores at most solutions from iterations
(18)      break
(19)     end if
(20)    end if
(21)   end if
(22)  end for
(23)  if   then
(24)   break //The heuristic terminates here if there is no feasible tree in the neighborhood of or if every feasible
  with a lower algebraic connectivity (< ) is already in the tabu list.
(25)  end if
(26) end for
(27) output and