Research Article

Modification of the Clarke and Wright Algorithm with a Dynamic Savings Matrix

Algorithm 3

Calculation of the saving matrix.
(1)function do
(2)A = 
(3)for each do
(4)  for each do
(5)   if
(6)    
(7)   end
(8)  end
(9)end
(10)return A
(11)end