Research Article

TPA: A Two-Phase Approach Using Simulated Annealing for the Optimization of Census Taker Routes in Mexico

Algorithm 1

TPA algorithm.
(1)  TPA (,  ,  )
(2)  begin
(3)  generate a random initial solution
(4)  
(5)  
(6)  repeat
(7)   
(8)   while  nbIter < maxIter  do
(9)     
    / generate a neighboring solution
    /
(10)   
(11)   
(12)   generate a random real number
       
(13)   if () or () then
(14)      
(15)      if    then  
(16)   end
(17)  end
(18)  
(19) until stopCondition( )
(20)  repairCrossings()
(21) return
(22)end