Research Article

A Water Flow-Like Algorithm for the Travelling Salesman Problem

Table 3

Results of the comparison between ACS and WFA-TSP algorithms in small and medium TSP datasets.

DatasetsACSWFA-TSP-valueImprovement %
BestWorstMeanStd.Avg. iterationAvg. time PDavgBestWorstMeanStd.Avg. iterationAvg. timePDavgTimeSolution qualityAccuracy Time

eil51427434428.802.825133.51.110.66426427426.400.52939.50.220.09~0.0270.5679.8
eil76538555545.706.115327.12.131.43538538538.000.001638.50.550.000.0060.0031.4174.0
kroA100212922225521,585.60311.514546.92.841.43212822128221,282.000.001057.70.560.000.0010.0131.8180.2
eil101638651642.303.655624.23.552.11629638630.702.832648.81.230.27~~1.2665.2
bier127118616121876119,965.101,134.085654.25.131.42118282118728118,451.40177.625616.93.560.140.0920.0032.0630.6
ch130618464476,263.0089.226720.36.612.50611062016,133.9029.294892.13.450.390.0110.0041.2347.8
ch150655667566,623.5059.137373.79.421.46652865596,542.2014.224204.43.530.22~0.0012.0462.5
kroA150268862743727,122.40170.317217.19.332.26265242671926,568.4058.454901.84.410.17~~1.9152.7
kroA200296913055630,011.90295.797299.716.062.19293682974429,438.20114.846774.99.810.240.001~2.6938.8
lin318431194408943,666.10313.438567.739.403.90422784294642,490.10208.547695.323.181.10~~2.0641.1
rat575719873987,293.6062.719712.4151.507.69697170427,000.8021.739090.879.433.36~~4.0147.5
rat783931994489,380.4035.499588.8287.106.52912692569,180.2040.799535147.654.25~~2.1348.5
u1060257839259794258944.30572.939398.3474.1015.55230481231887231401.50478.109608.6317.623.26~~10.6433.0
fl1400210142170521321.80254.239947.1879.605.94203652052320449.0050.469095.1571.011.60~~4.0935.0
d1655686027126370128.901058.699952.81217.3012.88643136540664878.60344.259673.3746.344.43~~7.4938.6
u1817702367102170520.00253.519400.91324.1023.28597136083960155.00339.219607.6980.085.16~~14.7025.9
d21038553910679392467.508141.669880.41883.4014.94817698454782769.70883.409472.11240.282.88~0.00610.4934.1
fl3795309913507332589.401139.279951.46204.0013.27294002980529578.80135.7093764971.052.80~~9.2419.8

The overall average improvement4.447.5

Note: minimum (Min), maximum (Max), standard deviation (std.), the percentage deviations of the average with the best-known solution (PDavg), ~ denotes to 0.000, accuracy % = ((meanACS  − meanWFA-tsp)/meanACS) * 100.