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.
Similar content being viewed by others
References
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
Bahdanau D, Cho K, Bengio Y (2014) Neural machine translation by jointly learning to align and translate
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
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
Bello I, Pham H, Le QV, Norouzi M, Bengio S (2016) Neural combinatorial optimization with reinforcement learning
Bengio Y, Lodi A, Prouvost A (2018) Machine learning for combinatorial optimization: a methodological tour d’horizon
Chu Paul C, Beasley John E (1998) A genetic algorithm for the multidimensional knapsack problem. J Heurist 4(1):63–86
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
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
Emami P, Ranka S (2018) Learning permutations with sinkhorn policy gradient
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
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
Joshi CK, Laurent T, Bresson X (2019) An efficient graph convolutional network technique for the travelling salesman problem
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
Kipf TN, Welling M (2016) Semi-supervised classification with graph convolutional networks
Kool W, Hoof HV, Welling M (2018) Attention solves your tsp, approximately. Statistics 1050:22
Kool W, Van Hoof H, Welling M (2018) Attention, learn to solve routing problems!
Kool W, van Hoof H, Welling M (2019) Buy 4 reinforce samples, get a baseline for free! 2019
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
Lombardi M, Milano M (2018) Boosting combinatorial problem modeling with machine learning
Mazyavkina N, Sviridov S, Ivanov S, Burnaev E (2020) Reinforcement learning for combinatorial optimization: a survey
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
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
Nachum O, Gu SS, Lee H, Levine S (2018) Data-efficient hierarchical reinforcement learning. In: Advances in Neural Information Processing Systems, pp. 3303–3313,
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
Puchinger Jakob, Raidl Günther R, Pferschy Ulrich (2010) The multidimensional knapsack problem: Structure and algorithms. Inform J Comput 22(2):250–265
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
Senju S, Toyoda Y (1968) An approach to linear programming with 0-1 variables. Management Science, pages B196–B207
Talbi E-G (2020) Machine learning into metaheuristics: a survey and taxonomy of data-driven metaheuristics
Vinyals O, Fortunato M, Jaitly N (2015) Pointer networks. In: Advances in neural information processing systems, pp. 2692–2700
Author information
Authors and Affiliations
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
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
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11063-021-10662-z