Research Article

Algorithms for Pallet Building and Truck Loading in an Interdepot Transportation Problem

Algorithm 1

ReactiveGRASP.
Require: , set of values for
(1); ;
(2), number of iterations with each value
(3), sum of the volumes of the solutions obtained using
(4), , probability of using value
(5),
(6), quality threshold
(7)while numIter maxIter do
(8) Choose a value, , with probability
(9) 
(10)  
(11)   )
(12)   if    then
(13)  
(14)  
(15)   else
(16)  
(17)  if    then
(18)    
(19)    
(20)  end if
(21)   end if
(22)  if    then    end if
(23)  if    then    end if
(24)  
(25)  
(26)  if    then
(27)  ,  
(28)  ,  
(29) end if
(30) end while