Research Article

Threshold Accepting Heuristic for Fair Flow Optimization in Wireless Mesh Networks

Algorithm 3

Simulated annealing.
Require: Initial solution
(1)   
(2)  for     to     do
(3)   for     to     do
(4)    
(5)    
(6)    if   or   then
(7)     
(8)    end if
(9)    if     then
(10)    
(11)   end if
(12)  end for
(13)  
(14) end for
(15) return