A RNN-Based Hyper-heuristic for Combinatorial Problems

  • Conference paper
  • First Online:
Evolutionary Computation in Combinatorial Optimization (EvoCOP 2022)

Abstract

Designing efficient heuristics is a laborious and tedious task that generally requires a full understanding and knowledge of a given optimization problem. Hyper-heuristics have been mainly introduced to tackle this issue and are mostly relying on Genetic Programming and its variants. Many attempts in the literature have shown that an automatic training mechanism for heuristic learning is possible and can challenge human-based heuristics in terms of gap to optimality. In this work, we introduce a novel approach based on a recent work on Deep Symbolic Regression. We demonstrate that scoring functions can be trained using Recurrent Neural Networks to tackle a well-know combinatorial problem, i.e., the Multi-dimensional Knapsack. Experiments have been conducted on instances from the OR-Library and results show that the proposed modus operandi is an alternative and promising approach to human-based heuristics and classical heuristic generation approaches.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
EUR 29.95
Price includes VAT (Germany)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
EUR 85.59
Price includes VAT (Germany)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
EUR 106.99
Price includes VAT (Germany)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    http://people.brunel.ac.uk/mastjjb/jeb/orlib/mknapinfo.html.

References

  1. Akçay, Y., Li, H., Xu, S.H.: Greedy algorithm for the general multidimensional knapsack problem. Ann. Oper. Res. 150(1), 17–29 (2006). https://doi.org/10.1007/s10479-006-0150-4

    Article  MathSciNet  MATH  Google Scholar 

  2. Allen, S., Burke, E.K., Hyde, M., Kendall, G.: Evolving reusable 3D packing heuristics with genetic programming. In: Proceedings of the 11th Annual Conference on Genetic and Evolutionary Computation - GECCO 2009. ACM Press (2009). https://doi.org/10.1145/1569901.1570029

  3. Azad, M.A.K., Rocha, A.M.A.C., Fernandes, E.M.G.P.: Solving large 0–1 multidimensional knapsack problems by a new simplified binary artificial fish swarm algorithm. J. Math. Model. Algorithms Oper. Res. 14(3), 313–330 (2015). https://doi.org/10.1007/s10852-015-9275-2

    Article  MathSciNet  MATH  Google Scholar 

  4. Bader-El-Den, M., Poli, R.: Generating SAT local-search heuristics using a GP hyper-heuristic framework. In: Monmarché, N., Talbi, E.-G., Collet, P., Schoenauer, M., Lutton, E. (eds.) EA 2007. LNCS, vol. 4926, pp. 37–49. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-79305-2_4

    Chapter  Google Scholar 

  5. Bai, R., Burke, E.K., Kendall, G.: Heuristic, meta-heuristic and hyper-heuristic approaches for fresh produce inventory control and shelf space allocation. J. Oper. Res. Soc. 59(10), 1387–1397 (2008). https://doi.org/10.1057/palgrave.jors.2602463

    Article  MATH  Google Scholar 

  6. Bai, R., Blazewicz, J., Burke, E.K., Kendall, G., McCollum, B.: A simulated annealing hyper-heuristic methodology for flexible decision support. 4OR-Q J. Oper. Res. 10(1), 43–66 (2011). https://doi.org/10.1007/s10288-011-0182-8

    Article  MATH  Google Scholar 

  7. Brabazon, A., O’Neill, M., McGarraghy, S.: Grammar-based and developmental genetic programming. In: Natural Computing Algorithms. NCS, pp. 345–356. Springer, Heidelberg (2015). https://doi.org/10.1007/978-3-662-43631-8_18

    Chapter  MATH  Google Scholar 

  8. Burke, E.K., et al.: Hyper-heuristics: a survey of the state of the art. J. Oper. Res. Soc. 64(12), 1695–1724 (2013). https://doi.org/10.1057/jors.2013.71

    Article  Google Scholar 

  9. Burke, E.K., Hyde, M.R., Kendall, G., Ochoa, G., Ozcan, E., Woodward, J.R.: Exploring hyper-heuristic methodologies with genetic programming. In: Mumford, C.L., Jain, L.C. (eds.) Computational Intelligence. ISRL, vol. 1, pp. 177–201. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-01799-5_6

    Chapter  Google Scholar 

  10. Burke, E.K., Hyde, M.R., Kendall, G.: Grammatical evolution of local search heuristics. IEEE Trans. Evol. Comput. 16(3), 406–417 (2012). https://doi.org/10.1109/tevc.2011.2160401

    Article  Google Scholar 

  11. Charon, I., Hudry, O.: The noising method: a new method for combinatorial optimization. Oper. Res. Lett. 14(3), 133–137 (1993). https://doi.org/10.1016/0167-6377(93)90023-a

    Article  MathSciNet  MATH  Google Scholar 

  12. Chu, P., Beasley, J.: A genetic algorithm for the multidimensional knapsack problem. J. Heuristics 4(1), 63–86 (1998). https://doi.org/10.1023/A:1009642405419

    Article  MATH  Google Scholar 

  13. Cowling, P., Kendall, G., Soubeiga, E.: A hyperheuristic approach to scheduling a sales summit. In: Burke, E., Erben, W. (eds.) PATAT 2000. LNCS, vol. 2079, pp. 176–190. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44629-x_11

    Chapter  Google Scholar 

  14. Drake, J.H., Hyde, M., Khaled, I., Özcan, E.: A genetic programming hyper-heuristic for the multidimensional knapsack problem. Kybernetes 43(9/10), 1500–1511 (2014). https://doi.org/10.1108/k-09-2013-0201

    Article  Google Scholar 

  15. Drake, J.H., Özcan, E., Burke, E.K.: A case study of controlling crossover in a selection hyper-heuristic framework using the multidimensional knapsack problem. Evol. Comput. 24(1), 113–141 (2016). https://doi.org/10.1162/evco_a_00145

    Article  Google Scholar 

  16. Drexl, A.: A simulated annealing approach to the multiconstraint zero-one knapsack problem. Computing 40(1), 1–8 (1988). https://doi.org/10.1007/bf02242185

    Article  MathSciNet  MATH  Google Scholar 

  17. Dueck, G., Scheuer, T.: Threshold accepting: a general purpose optimization algorithm appearing superior to simulated annealing. J. Comput. Phys. 90(1), 161–175 (1990). https://doi.org/10.1016/0021-9991(90)90201-b

    Article  MathSciNet  MATH  Google Scholar 

  18. Elyasaf, A., Hauptman, A., Sipper, M.: Evolutionary design of FreeCell solvers. IEEE Trans. Comput. Intell. AI Games 4(4), 270–281 (2012). https://doi.org/10.1109/tciaig.2012.2210423

    Article  Google Scholar 

  19. Fingler, H., Cáceres, E.N., Mongelli, H., Song, S.W.: A CUDA based solution to the multidimensional knapsack problem using the ant colony optimization. Procedia Comput. Sci. 29, 84–94 (2014). https://doi.org/10.1016/j.procs.2014.05.008

    Article  Google Scholar 

  20. Fréville, A.: The multidimensional 0–1 knapsack problem: an overview. Eur. J. Oper. Res. 155(1), 1–21 (2004). https://doi.org/10.1016/s0377-2217(03)00274-1

    Article  MathSciNet  MATH  Google Scholar 

  21. Freville, A., Plateau, G.: An efficient preprocessing procedure for the multidimensional 0–1 knapsack problem. Discrete Appl. Math. 49(1–3), 189–212 (1994). https://doi.org/10.1016/0166-218x(94)90209-7

    Article  MathSciNet  MATH  Google Scholar 

  22. García-Villoria, A., Salhi, S., Corominas, A., Pastor, R.: Hyper-heuristic approaches for the response time variability problem. Eur. J. Oper. Res. 211(1), 160–169 (2011). https://doi.org/10.1016/j.ejor.2010.12.005

    Article  MATH  Google Scholar 

  23. Garrido, P., Riff, M.C.: DVRP: a hard dynamic combinatorial optimisation problem tackled by an evolutionary hyper-heuristic. J. Heuristics 16(6), 795–834 (2010). https://doi.org/10.1007/s10732-010-9126-2

    Article  MATH  Google Scholar 

  24. Hembecker, F., Lopes, H.S., Godoy, W.: Particle swarm optimization for the multidimensional knapsack problem. In: Beliczynski, B., Dzielinski, A., Iwanowski, M., Ribeiro, B. (eds.) ICANNGA 2007. LNCS, vol. 4431, pp. 358–365. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-71618-1_40

    Chapter  Google Scholar 

  25. Kendall, G.: Scheduling English football fixtures over holiday periods. J. Oper. Res. Soc. 59(6), 743–755 (2008). https://doi.org/10.1057/palgrave.jors.2602382

    Article  MATH  Google Scholar 

  26. Kusner, M.J., Paige, B., Hernández-Lobato, J.M.: Grammar variational autoencoder. In: Precup, D., Teh, Y.W. (eds.) Proceedings of the 34th International Conference on Machine Learning. Proceedings of Machine Learning Research, vol. 70, pp. 1945–1954. PMLR, 06–11 August 2017

    Google Scholar 

  27. Lai, G., Yuan, D., Yang, S.: A new hybrid combinatorial genetic algorithm for multidimensional knapsack problems. J. Supercomput. 70(2), 930–945 (2014). https://doi.org/10.1007/s11227-014-1268-9

    Article  Google Scholar 

  28. López-Camacho, E., Terashima-Marín, H., Ross, P., Valenzuela-Rendón, M.: Problem-state representations in a hyper-heuristic approach for the 2D irregular BPP. In: Proceedings of the 12th Annual Conference on Genetic and Evolutionary Computation - GECCO 2010. ACM Press (2010). https://doi.org/10.1145/1830483.1830539

  29. Magazine, M., Oguz, O.: A heuristic algorithm for the multidimensional zero-one knapsack problem. Eur. J. Oper. Res. 16(3), 319–326 (1984). https://doi.org/10.1016/0377-2217(84)90286-8

    Article  MathSciNet  MATH  Google Scholar 

  30. Nguyen, S., Zhang, M., Johnston, M.: A genetic programming based hyper-heuristic approach for combinatorial optimisation. In: Proceedings of the 13th Annual Conference on Genetic and Evolutionary Computation, GECCO 2011, pp. 1299–1306. ACM, New York (2011). https://doi.org/10.1145/2001576.2001752

  31. Oltean, M.: Evolving evolutionary algorithms using linear genetic programming. Evol. Comput. 13(3), 387–410 (2005). https://doi.org/10.1162/1063656054794815

    Article  Google Scholar 

  32. Ortiz-Bayliss, J.C., Ozcan, E., Parkes, A.J., Terashima-Marin, H.: Map** the performance of heuristics for constraint satisfaction. In: IEEE Congress on Evolutionary Computation. IEEE, July 2010. https://doi.org/10.1109/cec.2010.5585965

  33. Petersen, B.K.: Deep symbolic regression: recovering mathematical expressions from data via policy gradients. ar**v abs/1912.04871 (2019). http://arxiv.org/abs/1912.04871

  34. Pirkul, H.: A heuristic solution procedure for the multiconstraint zero-one knapsack problem. Nav. Res. Logist. 34(2), 161–172 (1987)

    Article  MathSciNet  Google Scholar 

  35. Qian, F., Ding, R.: Simulated annealing for the 0/1 multidimensional knapsack problem. Numer. Math.-Engl. Ser. 16(10201026), 1–7 (2007)

    MathSciNet  MATH  Google Scholar 

  36. Sahoo, S., Lampert, C., Martius, G.: Learning equations for extrapolation and control. In: Dy, J., Krause, A. (eds.) Proceedings of the 35th International Conference on Machine Learning. Proceedings of Machine Learning Research, vol. 80, pp. 4442–4450. PMLR, 10–15 July 2018

    Google Scholar 

  37. Senju, S., Toyoda, Y.: An approach to linear programming with 0–1 variables. Manag. Sci. 15(4), B-196-B-207 (1968). https://doi.org/10.1287/mnsc.15.4.b196

    Article  Google Scholar 

  38. Sundar, S., Singh, A., Rossi, A.: An artificial bee colony algorithm for the 0–1 multidimensional knapsack problem. In: Ranka, S., et al. (eds.) IC3 2010. CCIS, vol. 94, pp. 141–151. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-14834-7_14

    Chapter  Google Scholar 

  39. Udrescu, S.M., Tegmark, M.: AI Feynman: a physics-inspired method for symbolic regression. Sci. Adv. 6(16), eaay2631 (2020). https://doi.org/10.1126/sciadv.aay2631

    Article  Google Scholar 

  40. Van Lon, R.R., Holvoet, T., Vanden Berghe, G., Wenseleers, T., Branke, J.: Evolutionary synthesis of multi-agent systems for dynamic dial-a-ride problems. In: Proceedings of the 14th Annual Conference Companion on Genetic and Evolutionary Computation, GECCO 2012, pp. 331–336. ACM, New York (2012). https://doi.org/10.1145/2330784.2330832

  41. Volgenant, A., Zoon, J.A.: An improved heuristic for multidimensional 0-1 knapsack problems. J. Oper. Res. Soc. 41(10), 963–970 (1990). https://doi.org/10.2307/2583274. http://www.palgrave-journals.com/doifinder/10.1057/jors.1990.148

  42. Özcan, E., Başaran, C.: A case study of memetic algorithms for constraint optimization. Soft. Comput. 13(8–9), 871–882 (2008). https://doi.org/10.1007/s00500-008-0354-4

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Emmanuel Kieffer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kieffer, E., Duflo, G., Danoy, G., Varrette, S., Bouvry, P. (2022). A RNN-Based Hyper-heuristic for Combinatorial Problems. In: Pérez Cáceres, L., Verel, S. (eds) Evolutionary Computation in Combinatorial Optimization. EvoCOP 2022. Lecture Notes in Computer Science, vol 13222. Springer, Cham. https://doi.org/10.1007/978-3-031-04148-8_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-04148-8_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-04147-1

  • Online ISBN: 978-3-031-04148-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics

Navigation