Abstract
In this paper, we investigate the use of hyper-heuristics for the travelling thief problem (TTP). TTP is a multi-component problem, which means it has a composite structure. The problem is a combination between the travelling salesman problem and the knapsack problem. Many heuristics were proposed to deal with the two components of the problem separately. In this work, we investigate the use of automatic online heuristic selection in order to find the best combination of the different known heuristics. In order to achieve this, we propose a genetic programming based hyper-heuristic called GPHS*, and compare it to state-of-the-art algorithms. The experimental results show that the approach is competitive with those algorithms on small and mid-sized TTP instances.
Similar content being viewed by others
Notes
Our implementation of GPHS is available at https://bitbucket.org/yafrani/gphs-offline.
The GPHS* implementation is publically available at https://bitbucket.org/yafrani/gphs-online.
All TTP instances can be found in the website: http://cs.adelaide.edu.au/optlog/research/ttp.php.
Our GA source codes can be found at: https://bitbucket.org/yafrani/gahs-ttp.
References
M. Birattari, Z. Yuan, P. Balaprakash, T. Stützle, F-Race and Iterated F-Race: An Overview (Springer, Berlin, 2010)
A. Bölte, U.W. Thonemann, Optimizing simulated annealing schedules with genetic programming. Eur. J. Oper. Res. 92(2), 402–416 (1996)
M. R. Bonyadi, Z. Michalewicz, L. Barone, The travelling thief problem: the first step in the transition from theoretical problems to realistic problems, in Proceedings of the 2013 IEEE Congress on Evolutionary Computation, (2013), pp. 1037–1044
M. R. Bonyadi, Z. Michalewicz, M. R. Przybylek, A. Wierzbicki, Socially inspired algorithms for the travelling thief problem, in Proceedings of the 2014 Annual Conference on Genetic and Evolutionary Computation, GECCO’14, (ACM, 2014), pp. 421–428
E. K. Burke, M. R. Hyde, G. Kendall, J. Woodward, Automatic heuristic generation with genetic programming: evolving a jack-of-all-trades or a master of one, in Proceedings of the 9th Annual Conference on Genetic and Evolutionary Computation, GECCO’07, London, vol. 2 (ACM, 2007), pp. 1559–1565
E.K. Burke, M.R. Hyde, G. Kendall, G. Ochoa, E. Ozcan, J.R. Woodward, Exploring Hyper-Heuristic Methodologies with Genetic Programming (Springer, Berlin, 2009)
E.K. Burke, M. Hyde, G. Kendall, G. Ochoa, E. Özcan, J.R. Woodward, A Classification of Hyper-Heuristic Approaches (Springer, Boston, 2010)
E.K. Burke, G. Kendall, E. Soubeiga, A tabu-search hyperheuristic for timetabling and rostering. J. Heuristics 9(6), 451–470 (2003)
M. Castelli, L. Manzoni, L. Vanneschi, S. Silva, A. Popovič, Self-tuning geometric semantic genetic programming. Genet. Program. Evolvable Mach. 17(1), 55–74 (2016)
W.J. Conover, Practical Nonparametric Statistics (Wiley, Hoboken, 1999)
P. Cowling, G. Kendall, E. Soubeiga, A hyperheuristic approach to scheduling a sales summit, in Proceedings of the Third International Conference on Practice and Theory of Automated Timetabling, PATAT 2000, Konstanz, Germany (Springer, Berlin, 2000), pp. 176–190
P. Cowling, G. Kendall, E. Soubeiga, A parameter-free hyperheuristic for scheduling a sales summit, in Proceedings of the 4th Metaheuristic International Conference, MIC 2001 (2001), pp. 127–131
A. Cuesta-Cañada, L. Garrido, H. Terashima-Marín, Building hyper-heuristics through ant colony optimization for the 2D bin packing problem, in Proceedings of the 9th International Conference, KES 2005, Melbourne, Australia (Springer, Berlin, 2005), pp. 654–660
B. Delaunay, Sur la sphere vide. Izv. Akad. Nauk SSSR, Otdelenie Matematicheskii i Estestvennyka Nauk 7(793–800), 1–2 (1934)
K.A. Dowsland, E. Soubeiga, E. Burke, A simulated annealing based hyperheuristic for determining shipper sizes for storage and transportation. Eur. J. Oper. Res. 179(3), 759–774 (2007)
J.H. Drake, M. Hyde, K. Ibrahim, E. Ozcan, A genetic programming hyper-heuristic for the multidimensional knapsack problem. Kybernetes 43(9/10), 1500–1511 (2014)
M. El Yafrani, B. Ahiod, Cosolver2B: an efficient local search heuristic for the travelling thief problem, in Proceedings of the 2015 IEEE/ACS 12th International Conference of Computer Systems and Applications, AICCSA (2015), pp. 1–5. doi:10.1109/AICCSA.2015.7507099
M. El Yafrani, B. Ahiod, A local search based approach for solving the travelling thief problem. Appl. Soft Comput. (2016). ISSN 1568-4946. doi:10.1016/j.asoc.2016.09.047
M. El Yafrani, B. Ahiod, Population-based vs. single-solution heuristics for the travelling thief problem, in Proceedings of the Genetic and Evolutionary Computation Conference 2016, GECCO’16, Denver, Colorado, USA (ACM, 2016), pp. 317–324. ISBN 978-1-4503-4206-3
H. Faulkner, S. Polyakovskiy, T. Schultz, M. Wagner, Approximate approaches to the traveling thief problem, in Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation, GECCO’15, Madrid, Spain (2015), pp. 385–392. ISBN 978-1-4503-3472-3
A. S. Fukunaga, Automated discovery of local search heuristics for satisfiability testing. Evolut. Comput. 16(1), 31–61 (2008). ISSN 1063-6560
R. Hunt, K. Neshatian, M. Zhang, A genetic programming approach to hyper-heuristic feature selection, in Proceedings of the 9th International Conference on Simulated Evolution and Learning, SEAL 2012, Hanoi, Vietnam (Springer, Berlin, 2012), pp. 320–330
M. Kovačič, Modeling of total decarburization of spring steel with genetic programming. Mater. Manuf. Process. 30(4), 434–443 (2015)
M. Kovačič, F. Dolenc, Prediction of the natural gas consumption in chemical processing facilities with genetic programming. Genet. Program. Evolvable Mach. 17(3), 231–249 (2016)
J.R. Koza, Genetic Programming: On the Programming of Computers by Means of Natural Selection (MIT Press, Cambridge, 1992)
N. Krasnogor, J. Smith, Emergence of profitable search strategies based on a simple inheritance mechanism, in Proceedings of the 3rd Annual Conference on Genetic and Evolutionary Computation, GECCO’01, San Francisco, California (Morgan Kaufmann Publishers Inc., 2001), pp. 432–439. ISBN 1-55860-774-9
W.B. Langdon, R. Poli, N.F. McPhee, J.R. Koza, Genetic Programming: An Introduction and Tutorial, with a Survey of Techniques and Applications (Springer, Berlin, 2008)
S. Lin, B.W. Kernighan, An effective heuristic algorithm for the traveling-salesman problem. Oper. Res. 21(2), 498–516 (1973)
M. López-Ibáñez, J. Dubois-Lacoste, T. Stützle, M. Birattari, The irace Package: iterated racing for automatic algorithm configuration. IRIDIA Technical Report Series 2011-004, Université Libre de Bruxelles, Bruxelles, Belgium (2011)
S. Luke, L. Panait, Lexicographic parsimony pressure, in Proceedings of the Genetic and Evolutionary Computation Conference, GECCO’02, San Francisco, CA, USA (Morgan Kaufmann Publishers Inc., 2002), pp. 829–836. ISBN 1-55860-878-8
Y. Mei, X. Li, X. Yao, Improving efficiency of heuristics for the large scale traveling thief problem, in Proceedings of the Asia-Pacific Conference on Simulated Evolution and Learning (Springer, 2014), pp. 631–643
Y. Mei, X. Li, F. Salim, X. Yao, Heuristic evolution with genetic programming for traveling thief problem, in Proceedings of the 2015 IEEE Congress on Evolutionary Computation, CEC (IEEE, 2015), pp. 2753–2760
Y. Mei, X. Li, X. Yao, On investigation of interdependence between sub-problems of the travelling thief problem. Soft. Comput. 20(1), 157–172 (2016)
S. Nguyen, M. Zhang, M. Johnston, A genetic programming based hyper-heuristic approach for combinatorial optimisation, in Proceedings of the 13th Annual Conference on Genetic and Evolutionary Computation, GECCO’11, Dublin, Ireland (ACM, 2011), pp. 1299–1306. ISBN 978-1-4503-0557-0
S. Polyakovskiy, M. R. Bonyadi, M. Wagner, Z. Michalewicz, F. Neumann, A comprehensive benchmark set and heuristics for the traveling thief problem, in Proceedings of the 2014 Annual Conference on Genetic and Evolutionary Computation, GECCO’14, Vancouver, BC, Canada (ACM, 2014), pp. 477–484. ISBN 978-1-4503-2662-9
G. Reinelt, Tspliba traveling salesman problem library. ORSA J. Comput. 3(4), 376–384 (1991)
P. Ross, Hyper-Heuristics (Springer US, Boston, 2005)
P. Ross, J. G. Marín-Blázquez, S. Schulenburg, E. Hart, Learning a procedure that can solve hard bin-packing problems: a new GA-based approach to hyper-heuristics, in Proceedings of the Genetic and Evolutionary Computation 2003, GECCO’03, Chicago, IL, USA (Springer, Berlin, 2003), pp. 1295–1306
S. Silva, Gplaba genetic programming toolbox for matlab, version 4.0 (2015). University of Coimbra (2009). http://gplab.sourceforge.net/download.html
S. Silva, J. Almeida, Gplab-a genetic programming toolbox for matlab, in Proceedings of the Nordic MATLAB Conference (NMC-2003) (2005), pp. 273–278
A. Sosa-Ascencio, G. Ochoa, H. Terashima-Marin, S.E. Conant-Pablos, Grammar-based generation of variable-selection heuristics for constraint satisfaction problems. Genet. Program. Evolvable Mach. 17(2), 119–144 (2016)
A. Vargha, H.D. Delaney, A critique and improvement of the CL common language effect size statistics of McGraw and Wong. J. Educ. Behav. Stat. 25(2), 101–132 (2000)
M. Wagner, Stealing items more efficiently with ants: a swarm intelligence approach to the travelling thief problem, in Proceedings of the 10th International Conference on Swarm Intelligence, ANTS 2016, Brussels, Belgium (Springer International Publishing, 2016), pp. 273–281
M. Wagner, M. Lindauer, M. Mısır, S. Nallaperuma, F. Hutter, A case study of algorithm selection for the traveling thief problem. J. Heuristics, 1–26 (2017). ISSN 1572-9397. doi:10.1007/s10732-017-9328-y
J. Wu, S. Polyakovskiy, F. Neumann, On the impact of the renting rate for the unconstrained nonlinear knapsack problem, in Proceedings of the 2016 on Genetic and Evolutionary Computation Conference, GECCO’16 (ACM, 2016), pp. 413–419
Acknowledgements
M. Martins acknowledges CAPES/Brazil. M. Delgado acknowledges CNPq Grant Nos.: 309197/2014-7 (Brazil Government).
Author information
Authors and Affiliations
Corresponding author
A Appendix
A Appendix
In this appendix we provide a closer look of the average approximation ratio achieved in 10 independent runs (stated as trend lines in Sect. 5).
According to Figs. 3, 4, 5, 6, 7, 8, 9, for some instances, the average approximation ratios are close to \(100\%\), while the same achievement seems to be very difficult on others. For example, GPHS* regularly achieves better results than S5 on almost all instances of small size (eil51, berlin52, eil76 and kroA100), as can be seen in Figs. 3, 4, 5 and 6. Another example can be seen in Figs. 7 and 8, where GPHS* presents similar results as S5 for almost all instances of a280 and pr439 set. Finally, in Fig. 9 we observe that GPHS* presents similar results as MA2B and MATLS but worse than S5 for almost all instances of rat783 set.
Rights and permissions
About this article
Cite this article
El Yafrani, M., Martins, M., Wagner, M. et al. A hyperheuristic approach based on low-level heuristics for the travelling thief problem. Genet Program Evolvable Mach 19, 121–150 (2018). https://doi.org/10.1007/s10710-017-9308-x
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10710-017-9308-x