Journal of Combinatorial Optimization

, Volume 31, Issue 1, pp 95–117 | Cite as

Algorithms for randomized time-varying knapsack problems

  • Yichao He
  • Xinlu Zhang
  • Wenbin Li
  • Xiang Li
  • Weili Wu
  • Suogang Gao
Article

Abstract

In this paper, we first give the definition of randomized time-varying knapsack problems (\(\textit{RTVKP}\)) and its mathematic model, and analyze the character about the various forms of \(\textit{RTVKP}\). Next, we propose three algorithms for \(\textit{RTVKP}\): (1) an exact algorithm with pseudo-polynomial time based on dynamic programming; (2) a 2-approximation algorithm for \(\textit{RTVKP}\) based on greedy algorithm; (3) a heuristic algorithm by using elitists model based on genetic algorithms. Finally, we advance an evaluation criterion for the algorithm which is used for solving dynamic combinational optimization problems, and analyze the virtue and shortage of three algorithms above by using the criterion. For the given three instances of \(\textit{RTVKP}\), the simulation computation results coincide with the theory analysis.

Keywords

Knapsack problem Exact algorithm Approximations Heuristics 

Notes

Acknowledgments

Support in part by NSF of China (No. 11271257), the Specialized Research Fund for the Doctoral Program of Higher Education of China (No. 20121303110005), the NSF of Hebei Province (No. A2013205021).

References

  1. Ashlock D (2006) Evolutionary computation for modeling and optimization. Springer, BerlinMATHGoogle Scholar
  2. Bansal JC, Deep K (2012) A modified binary particle swarm optimization for knapsack problems. Appl Math Comput 218(22):11042–11061MathSciNetCrossRefMATHGoogle Scholar
  3. Brassard G, Bratley P (2003) Fundamentals of algorithmics. Prentice Hall, Inc., LondonGoogle Scholar
  4. Cormen TH, Leiserson CE, Rivest RL et al (2001) Introduction to algorithms, 2nd edn. MIT Press, Cambridge, pp 370–399MATHGoogle Scholar
  5. Das S, Suganthan PN (2011) Differential evolution: a survey of the state-of-the-art. IEEE Trans Evol Comput 15(1):4–31CrossRefGoogle Scholar
  6. Dorigo M, Caro G (1999) The ant colony optimization meta-heuristic. In: Corne D, Dorigo M, Glover F (eds) New ideas in optimization. McGraw Hill, London, pp 11–32Google Scholar
  7. Du D-Z, Ko K-I (2000) Theory of computational complexity. Wiley-Interscience, New YorkCrossRefMATHGoogle Scholar
  8. Du D-Z, Ko K-I, Hu X (2012) Design and analysis of approximation algorithms. Springer Science Business Media LLC, BerlinGoogle Scholar
  9. Eiben AE, Arts EH, Van Hee KM (1991) Global convergence of genetic algorithm: an infinite Markov chain analysis. In: Schwefel HP, Manner R (eds) Parallel solving from nature (PPSN1). Springer, Berlin, pp 4–12Google Scholar
  10. Elsayed SM, Sarker RA, Essam DL (2014) A new genetic algorithm for solving optimization problems. Eng Appl Artif Intell 27:57–69CrossRefGoogle Scholar
  11. Ezziane Z (2002) Solving the 0/1 knapsack problem using an adaptive genetic algorithm. Artif Intell Eng Des Anal Manuf 16(1):23–30CrossRefGoogle Scholar
  12. Eusuff MM, Lansey KE (2003) Optimization of water distribution network design using the shuffled frog-leaping algorithm. J Water Resour Plan Manag 129(3):210–225CrossRefGoogle Scholar
  13. Geem ZW, Kim JH, Loganathan GV (2001) A new heuristic optimization algorithm: harmony search. Simulation 76(2):60–68CrossRefGoogle Scholar
  14. Goldberg DE, Smith RE (1987) Nonstationary function optimization using genetic algorithms with dominance and diploidy. In: International conference on genetic algorithms. L. Erlbaum Associates Inc, Hillsdale, pp 59–68Google Scholar
  15. Goldberg DE (1989) Genetic algorithms in search, optimization, and machine learning. Addison-Wesley, BostonMATHGoogle Scholar
  16. Gottlieb J, Marchiori E, Rossi C (2002) Evolutionary algorithms for the satisfiability problem. Evol Comput 10(1):35–50CrossRefGoogle Scholar
  17. Hembecker F, Lopes HS (2007) Godoy Jr W (2007) Particle swarm optimization for the multidimensional knapsack problem. In: Adaptive and natural computing algorithms, lecture notes in computer science vol 4431, pp 358–365Google Scholar
  18. Holland JH (1975) Adaptation in natural and artificial systems. The University of Michigan Press, Ann ArborGoogle Scholar
  19. Jun S, Jian L (2009) Solving 0-1 knapsack Problems via a hybrid differential evolution. In: Third international symposium on intelligent information technology application vol 3. IITA, pp 134–137Google Scholar
  20. Kang L, Zhou A, Bob M et al. (2004) Benchmarking algorithms for dynamic travelling salesman problems. In: The congress on evolutionary computation. Portland, OregonGoogle Scholar
  21. Kennedy J, Eberhart RC (1995) Particle swarm optimization. In: Proceedings of the IEEE international conference on neural networks (Perth), vol IV. IEEE Service Center, Piscataway, NJ, pp 1942–1948Google Scholar
  22. Krishnakumar K (1989) Micro-genetic algorithms for stationary and non-stationary function optimization. In: SPIE intelligent control and adaptive systems, pp 289–296Google Scholar
  23. Kumar R, Banerjeec N (2006) Analysis of a multiobjective evolutionary algorithm on the 0-1 knapsack problem. Theor Comput Sci 358(1):104–120CrossRefMATHGoogle Scholar
  24. Lee J, Shragowitz E, Sahni S (1988) A hypercube algorithm for the 0/1 knapsack problem. J Parallel Distrib Comput 5(4):438–456CrossRefGoogle Scholar
  25. Li C, Yang M, Kang L (2006) A new approach to solving dynamic traveling salesman problems. In: Simulated evolution and learning, lecture notes in computer science vol 4247, pp 236–243Google Scholar
  26. Li X, Yao X (2012) Cooperatively coevolving particle swarms for large scale optimization. IEEE Trans Evol Comput 16(2):210–224MathSciNetCrossRefGoogle Scholar
  27. Liao Y-F, Yau D-H, Chen C-L (2012) Evolutionary algorithm to traveling salesman problems. Comput Math Appl 64(5):788–797CrossRefGoogle Scholar
  28. Man KF, Tang KS, Kwong S (1996) Genetic algorithms: concepts and applications. IEEE Trans Ind Electron 43(5):519–534CrossRefGoogle Scholar
  29. Mori N, Kita H, Nishikawa Y (1996) Adaptation to a changing environment by means of the thermodynamical genetic algorithm vol 1141 of LNCS. Springer, Berlin, pp 513–522Google Scholar
  30. Rudolph G (1994) Convergence analysis of canonical genetic algorithms. IEEE Trans Neural Netw 5(1):86–101CrossRefGoogle Scholar
  31. Ryan C (1997) Diploidy without dominance. In: Alander JT (ed) Third nordic workshop on genetic algorithms, pp 63–70Google Scholar
  32. Simon D (2013) Evolutionary optimization algorithms. Wiley, New YorkMATHGoogle Scholar
  33. Storn R, Price K (1997) Differential evolution—a simple and efficient heuristic for global optimization over continuous spaces. J Glob Optim 11:341–359MathSciNetCrossRefMATHGoogle Scholar
  34. Tsai H-K, Yang J-M, Tsai Y-F et al (2004) An evolutionary algorithm for large traveling salesman problems. IEEE Trans Syst Man Cybern Part B 34(4):1718–1729CrossRefGoogle Scholar
  35. Uyar AS, Harmanci AE (2005) A new population based adaptive domination change mechanism for diploid genetic algorithms in dynamic environments. Soft Comput 9(11):803–814CrossRefMATHGoogle Scholar
  36. Yao X, Liu Y, Lin G (1999) Evolutionary programming made faster. IEEE Trans Evol Comput 3(2):82–102CrossRefGoogle Scholar
  37. Yuen SY, Chow CK (2009) A genetic algorithm that adaptively mutates and never revisits. IEEE Trans Evol Comput 13(2):454–472CrossRefGoogle Scholar

Copyright information

© Springer Science+Business Media New York 2014

Authors and Affiliations

  • Yichao He
    • 1
  • Xinlu Zhang
    • 2
  • Wenbin Li
    • 3
  • Xiang Li
    • 4
  • Weili Wu
    • 5
  • Suogang Gao
    • 2
  1. 1.College of Information EngineeringShijiazhuang University of EconomicsShijiazhuang China
  2. 2.College of Mathematics and Information ScienceHebei Normal UniversityShijiazhuang China
  3. 3.Laboratory of Network and Information SecurityShijiazhuang University of EconomicsShijiazhuang China
  4. 4.Department of Industrial and System EngineeringUniversity of FloridaGainesvilleUSA
  5. 5.Department of Computer ScienceUniversity of Texas at DallasRichardsonUSA

Personalised recommendations