Skip to main content

Degeneracy Reduction or Duplicate Elimination? An Analysis on the Performance of Attributed Grammatical Evolution with Lookahead to Solve the Multiple Knapsack Problem

  • Chapter

Part of the book series: Studies in Computational Intelligence ((SCI,volume 387))

Abstract

This paper analyzes the impact of having degenerate code and duplicate elimination in an attribute grammar with lookahead (AG+LA) approach, a recently proposed mapping process for Grammatical Evolution (GE) using attribute grammar (AG) with a lookahead feature to solve heavily constrained multiple knapsack problems (MKP). Degenerate code, as used in DNA, is code in which different codons can represent the same thing. Many developmental systems, such as (GE), use a degenerate encoding to help promote neutral mutations, that is, minor genetic changes that do not result in a phenotypic change. Early work on GE suggested that at least some level of degeneracy has a significant impact on the quality of search when compared to the system with none. Duplicate elimination techniques, as opposed to degenerate encoding, are employed in decoder-based Evolutionary Algorithms (EAs) to ensure that the newly generated solutions are not already contained in the current population. The results and analysis show that it is crucial to incorporate duplicate elimination to improve the performance of AG+LA. Reducing level of degeneracy is also important to improve search performance, specially for the large instances of the MKP.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Cleary, R.: Extending grammatical evolution with attribute grammars: An application to knapsack problems. Master of science thesis in computer science, University of Limerick, Ireland (2005)

    Google Scholar 

  2. Cotta, C., Troya, J.M.: A hybrid genetic algorithm for the 0-1 multiple knapsack problem. In: Artificial Neural Nets and Genetic Algorithms, vol. 3, pp. 250–254. Springer, New York (1998)

    Google Scholar 

  3. Heitktter, J.: Sac-94 suite of 0/1-multiple-knapsack problem instances (2001), http://elib.zib.de/pub/Packages/mp-testdata/ip/sac94-suite

  4. Karim, M.R., Ryan, C.: A new approach to solving 0-1 multiconstraint knapsack problems using attribute grammar with lookahead. In: Silva, S., Foster, J.A., Nicolau, M., Giacobini, M., Machado, P. (eds.) EuroGP 2011. LNCS, vol. 6621, pp. 250–261. Springer, Heidelberg (2011)

    Google Scholar 

  5. Khuri, S., Back, T., Heitkotter, J.: The zero/one multiple knapsack problem and genetic algorithms. In: Proceedings of the 1994 ACM Symposium on Applied Computing, pp. 188–193. ACM Press, New York (1994)

    Chapter  Google Scholar 

  6. Kimbrough, S.O., Lu, M., Wood, D.H., Wu, D.J.: Exploring a two-market genetic algorithm. In: Proceedings of the Genetic and Evolutionary Computation Conference, pp. 415–421. Morgan Kaufmann, New York (2002)

    Google Scholar 

  7. Knuth, D.E.: Semantics of context-free languages. Theory of Computing Systems 2(2), 127–145 (1968)

    MathSciNet  MATH  Google Scholar 

  8. Kumar, V.: Algorithms for constraint satisfaction problems: A survey. AI Magazine 13(1), 32–44 (1992)

    Google Scholar 

  9. Nicolau, M., Auger, A., Ryan, C.: Functional dependency and degeneracy: Detailed analysis of the gAuGE system. In: Liardet, P., Collet, P., Fonlupt, C., Lutton, E., Schoenauer, M. (eds.) EA 2003. LNCS, vol. 2936, pp. 15–26. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  10. O’Neill, M., Ryan, C.: Genetic code degeneracy: Implications for grammatical evolution and beyond. In: Floreano, D., Mondada, F. (eds.) ECAL 1999. LNCS, vol. 1674, pp. 149–153. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  11. Raidl, G.R., Gottlieb, J.: On the importance of phenotypic duplicate elimination in decoder-based evolutionary algorithms. In: Brave, S., Wu, A.S. (eds.) Late Breaking Papers at the 1999 Genetic and Evolutionary Computation Conference, Orlando, Florida, USA, pp. 204–211 (1999)

    Google Scholar 

  12. Rohlfshagen, P., Bullinaria, J.A.: Exga ii: an improved exonic genetic algorithm for the multiple knapsack problem. In: Proceedings of the 9th Annual Conference on Genetic and Evolutionary Computation, pp. 1357–1364. ACM, New York (2007)

    Chapter  Google Scholar 

  13. Ryan, C., Azad, R.M.A.: Sensible initialisation in grammatical evolution. In: Proceedings of the Bird of a Feather Workshops, Genetic and Evolutionary Computation Conference, Chigaco, pp. 142–145 (2003)

    Google Scholar 

  14. Ryan, C., Collins, J., O’Neill, M.: Grammatical evolution: Evolving programs for an arbitrary language. In: Proceedings of the First European Workshop on Genetic Programming, pp. 83–95. Springer, Heidelberg (1998)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Karim, M.R., Ryan, C. (2011). Degeneracy Reduction or Duplicate Elimination? An Analysis on the Performance of Attributed Grammatical Evolution with Lookahead to Solve the Multiple Knapsack Problem. In: Pelta, D.A., Krasnogor, N., Dumitrescu, D., Chira, C., Lung, R. (eds) Nature Inspired Cooperative Strategies for Optimization (NICSO 2011). Studies in Computational Intelligence, vol 387. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-24094-2_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-24094-2_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-24093-5

  • Online ISBN: 978-3-642-24094-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics