Mathematical modeling and improved memetic algorithm for the extended simplified discounted {0-1} knapsack problem with randomness

Zhouxi Qin , Dazhi Pan , Ke Yang , Dapeng Gao

AIMS Mathematics ›› 2025, Vol. 10 ›› Issue (10) : 23306 -23336.

PDF (826KB)
AIMS Mathematics ›› 2025, Vol. 10 ›› Issue (10) :23306 -23336. DOI: 10.3934/math.20251034
research-article
Mathematical modeling and improved memetic algorithm for the extended simplified discounted {0-1} knapsack problem with randomness
Author information +
History +
PDF (826KB)

Abstract

In this paper, we first extended the extended simplified discount {0-1} backpack problem (ESD {0-1} KP) and proposed the extended simplified discounted {0-1} knapsack problem with randomness (ESD {0-1} KP-R) model. Compared with the ordinary ESD {0-1} KP model, it increases the size and randomness of the term set, which is more suitable for the actual concept of "discount" and has stronger generalization. Then we used the improved memetic algorithm to solve the ESD {0-1} KP-R model. First, a greedy strategy with a relax variable was first designed to obtain the initial solution. Second, designed a crossover strategy with fuzzy sets to generate a good offspring population. Third, in order to overcome the shortcoming of memetic algorithms falling into local optimization, we designed a population diversity adjustment strategy with an information vector. This strategy combines the parent and child populations into a set of candidate solutions, and then divides all the solutions in the set into four categories according to the fitness and diversity of the solutions. Different selection methods can be used to adjust the diversity of the population while ensuring the quality of the solutions selected. In addition, based on the profit density for combinations of terms, three kinds of neighborhood structures were designed. They were used to improve the algorithm's searching ability, explore the neighborhood of local solutions, and jump out of the local optimum, respectively. The local search was performed by the variable neighborhood search algorithm. Finally, the effectiveness of the proposed improvement strategy and the feasibility of the proposed algorithm for solving the ESD {0-1} KP-R were demonstrated through experimental analysis on four types of instances.

Keywords

ESD {0-1} KP-R / memetic algorithm / population diversity adjustment strategy / relaxed greedy initialization / fuzzy crossover strategy / local search

Cite this article

Download citation ▾
Zhouxi Qin, Dazhi Pan, Ke Yang, Dapeng Gao. Mathematical modeling and improved memetic algorithm for the extended simplified discounted {0-1} knapsack problem with randomness. AIMS Mathematics, 2025, 10 (10) : 23306-23336 DOI:10.3934/math.20251034

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

H. Kellerer, U. Pferschy, D. Pisinger, Knapsack problems, Berlin, Heidelberg: Springer, 2004. https://doi.org/10.1007/978-3-540-24777-7

[2]

J. Guder, Discounted knapsack problems for pairs of items, Nuremberg: University of Erlangen-Nurnberg, 2005.

[3]

Rong A., Figueira J. R., Klamroth K. (2012) Dynamic programming based algorithms for the discounted {0–1} knapsack problem. Appl. Math. Comput. 218: 6921-6933. https://doi.org/10.1016/j.amc.2011.12.068

[4]

He Y. C., Wang X. Z., Li W. B., Zhang X. L., Chen Y. Y. (2016) Research on genetic algorithms for the discounted {0–1} knapsack problem. Chin. J. Comput. 39: 2614-2630. https://doi.org/10.11897/SP.J.1016.2016.02614

[5]

Dai Z., Zhou B., Long Y., Wang Z. (2022) Greedy repair strategy of particle swarm optimization for discounted {0–1} knapsack problem. Appl. Res. Comput. 29: 2363-2368. https://doi.org/10.19734/j.issn.1001-3695.2021.12.0701

[6]

Yang Y., Pan D. Z., Li Y., Tan D. L. (2019) New simplified model of discounted {0–1} knapsack problem and solution by genetic algorithm. J. Comput. Appl. 39: 656-662. https://doi.org/10.11772/j.issn.1001-9081.2018071580

[7]

Zhang Q., Pan D. Z. (2020) Modeling of extended SD {0–1} KP backpack problem and solution of genetic algorithm. J. China West Norm. Univ. Nat. Sci. 42: 214-220. https://doi.org/10.16246/j.issn.1673-5072.2020.02.015

[8]

Lin H., Deng Y. (2022) Improved greedy algorithm to solve extended simplified discounted {0–1} knapsack problem. J. Southwest China Norm. Univ. Nat. Sci. Ed. 47: 63-71. https://doi.org/10.13718/j.cnki.xsxb.2022.11.009

[9]

Schmitt L. M. (2001) Theory of genetic algorithms. Theor. Comput. Sci. 259: 1-61. https://doi.org/10.1016/S0304-3975(00)00406-0

[10]

Rudolph G. (1994) Convergence analysis of canonical genetic algorithms. IEEE Trans. Neural Netw. 5: 96-101. https://doi.org/10.1109/72.265964

[11]

Moscato P. (1989) On evolution, search, optimization, genetic algorithms and martial arts: Towards memetic algorithms. Caltech Concurrent Comput. Program C3P Rep. 826: 37.

[12]

H. Duan, X. Zhang, C. Xu, Biomimetic intelligent computing, Science Press, 2011.

[13]

Peng B., Lü Z., Cheng T. C. E. (2015) A tabu search/path relinking algorithm to solve the job shop scheduling problem. Comput. Oper. Res. 53: 154-164. https://doi.org/10.1016/j.cor.2014.08.006

[14]

Wilbaut C., Todosijević R., Hanafi S., Fréville A. (2022) Variable neighborhood search for the discounted {0–1} knapsack problem. Appl. Soft Comput. 131: 109821. https://doi.org/10.1016/j.asoc.2022.109821

[15]

Črepinšek M., Liu S. H., Mernik M. (2013) Exploration and exploitation in evolutionary algorithms: A survey. ACM Comput. Surv. 45: 1-33. https://doi.org/10.1145/2480741.2480752

[16]

Tian X., Ouyang D., Wang Y., Zhou H., Jiang L., Zhang L. (2023) Combinatorial optimization and local search: A case study of the discount knapsack problem. Comput. Electr. Eng. 105: 108551. https://doi.org/10.1016/J.COMPELECENG.2022.108551

[17]

Zhu H., He Y., Wang X., Tsang E. C. (2017) Discrete differential evolutions for the discounted {0–1} knapsack problem. Int. J. Bio-Inspired Comput. 10: 219-238. https://doi.org/10.1504/IJBIC.2017.087924

[18]

Feng Y., Wang G. G., Deb S., Lu M., Zhao X. J. (2017) Solving 0–1 knapsack problem by a novel binary monarch butterfly optimization. Neural Comput. Appl. 28: 1619-1634. https://doi.org/10.1007/s00521-015-2135-1

[19]

Yang Y., Pan D. Z., He Y. C. (2018) Improved repair strategy genetic algorithm solve discount {0–1} knapsack problem. Comput. Eng. Appl. 54: 37-42. https://doi.org/10.3778/j.issn.1002-8331.1711-0255

[20]

Liu X. J., He Y. C., Lu F. J., Wu C. C., Cai X. F. (2018) Chaotic crow search algorithm based on differential evolution strategy for solving discount {0–1} knapsack problem. J. Comput. Appl. 38: 137-145. https://doi.org/10.11772/j.issn.1001-9081.2017061445

[21]

He Y. C., Wang X. Z., Gao S. G. (2019) Ring theory-based evolutionary algorithm and its application to D{0–1} KP. Appl. Soft Comput. J. 77: 714-722. https://doi.org/10.1016/j.asoc.2019.01.049

[22]

Xu X. P., Xu L., Wang F., Liu L. (2020) Learning monkey algorithm based on lagrange interpolation to solve discounted {0–1} knapsack problem. J. Comput. Appl. 40: 3113-3118. https://doi.org/10.11772/j.issn.1001-9081.2020040482

[23]

Wu C. C., Zhao J. L., Feng Y. H., Lee M. (2020) Solving discounted {0–1} knapsack problems by a discrete hybrid teaching-learning-based optimization algorithm. Appl. Intell. 50: 1872-1888. https://doi.org/10.1007/s10489-020-01652-0

[24]

Truong T. K. (2021) A new moth-flame optimization algorithm for discounted {0–1} knapsack problem. Math. Probl. Eng. 2021: 5092480. https://doi.org/10.1155/2021/5092480

[25]

Hao X., He Y. C., Zhu X. B., Zhai Q. L. (2021) Discrete hybrid multi-verse optimization algorithm for solving discounted {0–1} knapsack problem. Comput. Eng. Appl. 57: 103-113. https://doi.org/10.3778/j.issn.1002-8331.2008-0454

[26]

Zhang M., Deng W. H., Li J., Zhong Y. W. (2021) Modified ant colony optimization algorithm for discounted {0–1} knapsack problem. Comput. Eng. Appl. 57: 85-95. https://doi.org/10.3778/j.issn.1002-8331.2006-0278

[27]

Sulaiman A., Sadiq M., Mehmood Y., Akram M., Ali G. A. (2022) Fitness-based acceleration coefficients binary particle swarm optimization (FACBPSO) to solve the discounted knapsack problem. Symmetry 14: 1208. https://doi.org/10.3390/SYM14061208

[28]

Zhang H. S., He Y. C., Wang J. H., Sun F., Li M. L. (2024) Enhanced group theory-based optimization algorithm for solving discounted {0–1} knapsack problem. J. Front. Comput. Sci. Technol. 18: 1526-1542. https://doi.org/10.3778/j.issn.1673-9418.2305055

[29]

Zhao J. T., Luo X. C. (2025) A population-based simulated annealing approach with adaptive mutation operator for solving the discounted {0–1} knapsack problem. Appl. Soft Comput. 181: 113480. https://doi.org/10.1016/j.asoc.2025.113480

[30]

Dai Z., Zhang Y. (2025) DJAYA-RL: Discrete JAYA algorithm integrating reinforcement learning for the discounted {0–1} knapsack problem. Swarm Evol. Comput. 95: 101927. https://doi.org/10.1016/j.swevo.2025.101927

[31]

Coello C. A. C. (2002) Theoretical and numerical constraint-handling techniques used with evolutionary algorithms: A survey of the state of the art. Comput. Methods Appl. Mech. Eng. 191: 1245-1287. https://doi.org/10.1016/S0045-7825(01)00323-1

[32]

Michalewicz Z., Schoenauer M. (1996) Evolutionary algorithms for constrained parameter optimization problems. Evol. Comput. 4: 1-32. https://doi.org/10.1162/evco.1996.4.1.1

[33]

Pisinger D. (2005) Where are the hard knapsack problems?. Comput. Oper. Res. 32: 2271-2284. https://doi.org/10.1016/j.cor.2004.03.002

[34]

Á. E. Eiben, R. Hinterding, Z. Michalewicz, Parameter control in evolutionary algorithms, IEEE Trans. Evol. Comput., 3 (1999), 124–141. https://doi.org/10.1109/4235.771166

[35]

He Y., Wang X., Li W., Zhang X., Chen Y. (2016) Research on solving discounted {0–1} knapsack problem based on genetic algorithm. Chin. J. Comput. 39: 2614-2630. https://doi.org/10.11897/SP.J.1016.2016.02614

PDF (826KB)

0

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉