Skip to main content
Log in

A faster, more reliable solver of regular-grid TSPs: single value threshold accepting

  • Original Article
  • Published:
The International Journal of Advanced Manufacturing Technology Aims and scope Submit manuscript

Abstract

The main point of this paper is to provide a simple and efficient threshold value for the threshold accepting (TA) algorithm to attempt an optimal solution for the regular grid travelling salesman problems (TSPs) in a reliable way. This new algorithm is named the single value threshold accepting algorithm (SVTA). The number of the threshold value is one and its value is: \(\left\lceil {\left( {2 - \sqrt 2 } \right)g*10,000} \right\rceil /10,000\) where g is the grid size and \(\left\lceil x \right\rceil\) is the smallest integer not less than a real number x. For the regular-grid TSPs, g can be set as \(1/\sqrt n\) where n is the problem size. It is shown empirically, with 100 independent simulations performed with 441 cities, in 16 different cases, that the SVTA is far superior to (at least five times faster on average than) the previous double threshold accepting (DTA) with respect to the speed of finding a global optimal reliably. Particularly in the case of the 441 cities, the proposed algorithm is at least 21 times faster and rises up to 96 times on average and optimistically 284 times faster than the previous one. Important insight is provided that reveals how the formula works and why it works successfully.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Abbreviations

Ω={ω}:

State space of the tours in TSP

L(ω):

The length of a tour ω

L opt :

The optimal tour length

TH :

Threshold

g :

Grid size in a square regular-grid TSP

n :

Number of points in TSP

L :

Lid value of a "pocket" around a good suboptimal solution x min

N(L) :

Volume (= number of tours) of the "pocket" around a good suboptimal solution x min with lid value L

M(L) :

Number of local minimum in the pocket with lid value L

K(n) :

Number of experienced local minima in a simulation by the SVTA

References

  1. Pizzolato ND, Canen AG (1998) Case study: improving industrial competitiveness: a TSP approach. Logist Info Manage 11(3):188–191

    Article  Google Scholar 

  2. Su CT, Ho LH, Fu HP (1998) A novel tabu search approach to find the best placement sequence and magazine assignment in dynamic robotics assembly. Integ Manufact Sys 9(6):366–376

    Article  Google Scholar 

  3. Johnson DS, McGeoch LA (1996) Local search in combinatorial optimization. In: The traveling salesman problem: A case study in local optimization, Wiley, New York

  4. Applegate D, Bixby R, Chvatal V, Cook W (1998) On the solution of traveling salesman problems. Documenta Mathematica: Proc Int Congr Mathemat 3:645–656

    Google Scholar 

  5. Kirkpatrick S, Gelatt CD, Vecchi MP (1983) Optimization by simulated annealing. Science 220(4598):671–680

    Google Scholar 

  6. Dueck G, Scheuer T (1990) Threshold accepting: a general purpose optimization algorithm appeared superior to simulated annealing. J Comput Phys 90:161–175

    Google Scholar 

  7. Jaszkiewicz A (2002) Genetic local search for multi-objective combinatorial optimization. Europ J Oper Res 137(1):50–71

    Article  Google Scholar 

  8. Hwang HS (2002) An improved model for vehicle routing problem with time constraint based on genetic algorithms. Comp Indust Engin 42(2–4):361–369

    Google Scholar 

  9. Rudolph G (1994) Convergence analysis of canonical genetic algorithms. IEEE Trans Neur Netwk 5(1):96–101

    Article  Google Scholar 

  10. Jiao L, Wang L (2000) A novel genetic algorithm based on immunity. IEEE Trans Sys Man Cybern—Part A: Sys Hum 30(5):552–561

    Google Scholar 

  11. Dorigo M, Maniezzo V, Colorni A (1996) Ant systems: optimization by a colony of cooperating agents. IEEE Trans Sys Man Cybern—Part B: Cybern 26(1):29–41

    Google Scholar 

  12. Dorigo M, Gambardella LM (1997) Ant colony system: a cooperative learning approach to the traveling salesman problem. IEEE Trans Evolut Comput 1(1):53–66

    Article  Google Scholar 

  13. Dorigo M, Caro GD, Gambardella LM (1999) Ant algorithms for discrete optimization. Art Life 5(3):137–172

    Article  CAS  Google Scholar 

  14. Glover F (1989) Tabu search—part I. ORSA J Comput 1(3):190–206

    Google Scholar 

  15. Glover F (1990) Tabu search—part II. ORSA J Comput 2(1):4–32

    Google Scholar 

  16. Hasegawa M, Ikeguchi T, Aihara K (2002) Solving large scale traveling salesman problems by chaotic neurodynamics. Neur Netwk 15:271–283

    Article  Google Scholar 

  17. Rattiti R, Tecchiolli G (1994) The reactive tabu search. ORSA J Comput 6(2):126–140

    Google Scholar 

  18. Hopfield JJ, Tank DW (1985) Neural computation of decisions in optimization problems. Biolog Cybern 52:1–25

    Google Scholar 

  19. Althofer I, Koschnick KU (1991) On the convergence of "threshold accepting". Appl Math Optimiz 24:183–195

    Google Scholar 

  20. Talavan PM, Yanez J (2002) Parameter setting of the Hopfield network applied to TSP. Neur Netwk 15:363–373

    Article  Google Scholar 

  21. Deng JJ, Chen LH, Chen SH, Chen MH (2003) A reliable solver of regular-grid TSPs: double threshold accepting with unified pattern of normalized threshold values. Int J Adv Manufact Technol (in press)

  22. Tian P, Ma J, Zhang DM (1999) Application of the simulated annealing algorithm to the combinatorial optimization problem with permutation property: an investigation of generation mechanism. Europ J Oper Res 118:81–94

    Article  Google Scholar 

  23. Righini G (1995) A double annealing algorithm for discrete location/allocation problems. Europ J Oper Res 86:452–468

    Article  Google Scholar 

  24. Lin S, Kernighan BW (1972) An effective heuristic algorithm for the traveling salesman problem. Oper Res 21:498–516

    Google Scholar 

  25. Cerny V (1985) Thermodynamical approach to the traveling salesman problem: an efficient simulation algorithm. J Optim Theory Appl 45:41–51

    Google Scholar 

  26. Sibani P, Schon JC, Salamon P, Andersson JO (1993) Emergent hierarchical structures in complex-system dynamics. Euro Phys Lett 22(7):479–485

    CAS  Google Scholar 

  27. Schon JC (1997) Preferential trapping on energy landscapes in regions containing deep-lying minima: the reason for the success of simulated annealing? J Phys A 30:2367–2389

    Google Scholar 

Download references

Acknowledgements

This research was partly supported by the National Science Council, Taiwan (project no. NSC 91-2213-E-212-024). All optimisation runs were performed on IBM SMP workstation machines, model 3-II, 375 MH with 4 GB memory and a Compaq alpha station, model DS20E, 500 MHz with 2 GB memory at the National Center of High-Performance Computing (NCHC), Taiwan. The Center's generous support is greatly appreciated.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jyhjeng Deng.

Appendix A

Appendix A

Tian et al. [22] compared six perturbation schemes for generating random permutation solution in the SA algorithm. The six types are as follows:

PS1::

Two adjacent terms are interchanged

PS2::

Two terms are interchanged

PS3::

A single term is moved

PS4::

Subsequent terms are moved

PS5::

Subsequent terms are reversed

PS6::

Subsequent terms are reversed

For each instance of the experimental example, 100 runs were performed with different initial random solutions. The performance of the algorithm with the permutation schemes is quantified as:

$${\rm{Optimal}}\;{\rm{Ratio}}\left( {\rm{\% }} \right){\rm{ = }}{{Num_{opt} } \over {Num}} \times 100,$$
(A1)

where Num opt is the number of runs attained global optimum, Num is the total number of runs:

$${\rm{Offset}}\;{\rm{Global}}\;{\rm{Optimum}}\;\left( {\rm{\% }} \right){\rm{ = }}{{f\left( \bullet \right) - f_{opt} } \over {f_{opt} }} \times 100,$$
(A2)

where f (●) is the best objective function value by a run, and f opt is the exact global optimal value.

$${{\rm{Iter}}{\rm{.}}\;{\rm{Num}} = {\rm{the total iteration number of an evaluations}}{\rm{.}}}$$
(A3)

The results of the experimental evaluations for solving the regular grid TSPs with the SA algorithm with the perturbation schemes in the problem size of 16 through 100 cities are presented in Table 4. According to Tian et al., PS6 is the best of all schemes based on the abovementioned performance criteria. Based on the performance criteria of Tian et al., the performance of SVGA is also shown in Table 4. It is clear from Table 4 that SVTA is superior to Tian's perturbation schemes for all cases based on the criteria set up by Tian et al. The superiority of the SVTA over PS6 perturbation scheme in the SA is detailed as follows.

Table 4. The results of solving the regular-grid TSPs by the SA with the perturbation schemes and SVTA

Table 4 shows that except for the cases of both 16 and 100 cities, the SVTA always secures the global optimum within the specified iteration numbers. Thus, their optimal ratios are 100% and the means, variances and worst efforts of the offsets from the optimum are zeros. Whereas for the PS6 scheme, its optimal ratios are always less than 100% in the cases of 16 through 100 cities. In the 16 cities problem, the SVTA has an 99% optimal ratio, whereas the best of the six schemes, which is PS6, is 98%. The mean (0.0518) and variance (0.2681) of the SVTA are smaller than the ones (both 0.10 and 0.52 respectively) of PS6. In the worst case of the offset from the optimum, both the SVTA and PS6 are the same (5.18). Thus, the SVTA is better than PS6 in regard to the performance criteria of Tian et al. in the 16 cities problem. Meanwhile, in the 100 cities problem, the SVTA has a 98% optimal ratio, whereas the best of the six schemes, which is PS6, is 73%. The mean (0.0166) and variance (0.0136) of the SVTA are smaller than those (both 0.22 and 0.14 respectively) of PS6. In the worst case, both the SVTA and PS6 are the same (0.83). Thus, the SVTA is better than PS6 in regards to the performance criteria of Tian et al. in the 100 cities problem as well.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chen, L., Deng, J., Chen, H. et al. A faster, more reliable solver of regular-grid TSPs: single value threshold accepting. Int J Adv Manuf Technol 22, 1–11 (2003). https://doi.org/10.1007/s00170-003-1621-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00170-003-1621-2

Keywords

Navigation