Skip to main content

Advertisement

Log in

Application of Supervised Machine Learning Methods on the Multidimensional Knapsack Problem

  • Published:
Neural Processing Letters Aims and scope Submit manuscript

Abstract

Machine Learning (ML) has gained much importance in recent years as many of its effective applications are involved in different fields, healthcare, banking, trading, gaming, etc. Similarly, Combinatorial Optimisation (CO) keeps challenging researchers by new problems with more complex constraints. Merging both fields opens new horizons for development in many areas. This study investigates how effective is to solve CO problems by ML methods. The work considers the Multidimensional Knapsack Problem (MKP) as a study case, which is an np-hard CO problem well-known for its multiple applications. The proposed approach suggests to use solutions of small-size MKP to build models with different ML methods; then, to apply the obtained models on large-size MKP to predict their solutions. The features consist of scores calculated based on information about items while the labels consist of decision variables of optimal solutions calculated from applying CPLEX Solver on small-size MKP. Supervised ML methods build models that help to predict structures of large-size MKP solutions and build them accordingly. A comparison of five ML methods is conducted on standard data set. The experiments showed that the tested methods were able to reach encouraging results. In addition, the study proposes a Genetic Algorithm (GA) that exploits ML outputs essentially in initialisation operator and to repair unfeasible solutions. The algorithm denoted GaPR explores the ML solution neighbourhood as a way of intensification to approach optimal solutions. The carried out experiments indicated that the approach was effective and competitive.

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

Similar content being viewed by others

Notes

  1. https://scikit-learn.org/stable/

References

  1. Abdel-Basset Mohamed, El-Shahat Doaa, Faris Hossam, Mirjalili Seyedali (2019) A binary multi-verse optimizer for 0–1 multidimensional knapsack problems with application in interactive multimedia systems. Comput Ind Eng 132:187–206

    Article  Google Scholar 

  2. Bahdanau D, Cho K, Bengio Y (2014) Neural machine translation by jointly learning to align and translate

  3. Baroni MDV and Varejão FM (2016) A shuffled complex evolution algorithm for the multidimensional knapsack problem using core concept. In: 2016 IEEE Congress on Evolutionary Computation (CEC), pages 2718–2723. IEEE

  4. Beaujon George J, Marin Samuel P, McDonald Gary C (2001) Balancing and optimizing a portfolio of r&d projects. Naval Res Logist (NRL) 48(1):18–40

    Article  MathSciNet  Google Scholar 

  5. Bello I, Pham H, Le QV, Norouzi M, Bengio S (2016) Neural combinatorial optimization with reinforcement learning

  6. Bengio Y, Lodi A, Prouvost A (2018) Machine learning for combinatorial optimization: a methodological tour d’horizon

  7. Chu Paul C, Beasley John E (1998) A genetic algorithm for the multidimensional knapsack problem. J Heurist 4(1):63–86

    Article  Google Scholar 

  8. Dantas BDA, Cáceres EN (2016) A parallelization of a simulated annealing approach for 0-1 multidimensional knapsack problem using gpgpu. In: 2016 28th international symposium on computer architecture and high performance computing (SBAC-PAD), pages 134–140. IEEE

  9. Drake John H, Ender Ö, Burke Edmund K (2015) Modified choice function heuristic selection for the multidimensional knapsack problem. In: Genetic and Evolutionary Computing, pages 225–234. Springer

  10. Emami P, Ranka S (2018) Learning permutations with sinkhorn policy gradient

  11. Henrique F, Edson NC, Henrique M, Siang WS (2014) A cuda based solution to the multidimensional knapsack problem using the ant colony optimization. In: ICCS, pages 84–94

  12. Jihad S, Chen X, Shi B, Aiman S (2019) Multidimensional knapsack problem for resource allocation in a distributed competitive environment based on genetic algorithm. In: 2019 international conference on computer, control, electrical, and electronics engineering (ICCCEEE), pp. 1–5. IEEE

  13. Joshi CK, Laurent T, Bresson X (2019) An efficient graph convolutional network technique for the travelling salesman problem

  14. Khalil E, Dai H, Zhang Y, Dilkina B, Song L (2017) Learning combinatorial optimization algorithms over graphs. In: Advances in neural information processing systems, pp. 6348–6358

  15. Kipf TN, Welling M (2016) Semi-supervised classification with graph convolutional networks

  16. Kool W, Hoof HV, Welling M (2018) Attention solves your tsp, approximately. Statistics 1050:22

    Google Scholar 

  17. Kool W, Van Hoof H, Welling M (2018) Attention, learn to solve routing problems!

  18. Kool W, van Hoof H, Welling M (2019) Buy 4 reinforce samples, get a baseline for free! 2019

  19. Li Z, Chen Q, Koltun V (2018) Combinatorial optimization with graph convolutional networks and guided tree search. In: Advances in Neural Information Processing Systems, pp. 539–548

  20. Lombardi M, Milano M (2018) Boosting combinatorial problem modeling with machine learning

  21. Mazyavkina N, Sviridov S, Ivanov S, Burnaev E (2020) Reinforcement learning for combinatorial optimization: a survey

  22. Meier H, Christofides N, Salkin G (2001) Capital budgeting under uncertainty-an integrated approach using contingent claims analysis and integer programming. Op Res 49(2):196–206

    Article  Google Scholar 

  23. Mnih V, Badia AP, Mirza M, Graves A, Lillicrap T, Harley T, Silver D, Kavukcuoglu K(2016) Asynchronous methods for deep reinforcement learning. In: International conference on machine learning, pp. 1928–1937

  24. Nachum O, Gu SS, Lee H, Levine S (2018) Data-efficient hierarchical reinforcement learning. In: Advances in Neural Information Processing Systems, pp. 3303–3313,

  25. Nazari M, Oroojlooy A, Snyder L, Takác M (2018) Reinforcement learning for solving the vehicle routing problem. In: Advances in Neural Information Processing Systems, pages 9839–9849

  26. Puchinger Jakob, Raidl Günther R, Pferschy Ulrich (2010) The multidimensional knapsack problem: Structure and algorithms. Inform J Comput 22(2):250–265

    Article  MathSciNet  Google Scholar 

  27. Rezoug A, Bader-El-Den M, Boughaci D (2017) Knowledge-based genetic algorithm for the 0–1 multidimensional knapsack problem. In: 2017 IEEE Congress on Evolutionary Computation (CEC), pages 2030–2037. IEEE

  28. Senju S, Toyoda Y (1968) An approach to linear programming with 0-1 variables. Management Science, pages B196–B207

  29. Talbi E-G (2020) Machine learning into metaheuristics: a survey and taxonomy of data-driven metaheuristics

  30. Vinyals O, Fortunato M, Jaitly N (2015) Pointer networks. In: Advances in neural information processing systems, pp. 2692–2700

Download references

Author information

Authors and Affiliations

Authors

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rezoug, A., Bader-el-den, M. & Boughaci, D. Application of Supervised Machine Learning Methods on the Multidimensional Knapsack Problem. Neural Process Lett 54, 871–890 (2022). https://doi.org/10.1007/s11063-021-10662-z

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11063-021-10662-z

Keywords

Navigation