Skip to main content

Graphical Algorithm for the Knapsack Problems

  • Conference paper
Parallel Computing Technologies (PaCT 2011)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6873))

Included in the following conference series:

Abstract

We consider a modification of dynamic programming algorithm (DPA), which is called as graphical algorithm (GA). For the knapsack problem (KP) it is shown that the time complexity of GA is less than the time complexity of DPA. Moreover, the running time of GA is often essentially reduced. GA can also solve big scale instances and instances, where the parameters are not only positive integer. The paper outlines different methods of parallelizing GA taking into account its main features and advantages to various parallel architectures, in particular by using OpenCL and MPI framework. Experiments show that ”hard” instances of KP for GA have correlation p j  ≃ kw j for all j, where p j and w j are utility and capacity of item j = 1, 2, …, n.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bellman, R.: Dynamic Programming. Princeton Univ. Press, Princeton (1957)

    MATH  Google Scholar 

  2. Gafarov, E.R., Lazarev, A.A., Werner, F.: Algorithms for Some Maximization Scheduling Problems on a Single Machine. Automation and Remote Control 71(10), 2070–2084 (2010)

    Article  MATH  Google Scholar 

  3. Keller, H., Pferschy, U., Pisinger, D.: Knapsack Problems. Springer, Hidelberg (2010)

    Google Scholar 

  4. Lawler, E.L., Moore, J.M.: A Functional Equation and its Application to Resource Allocation and Sequencing Problems. Management Science 16(1), 77–84 (1969)

    Article  MATH  Google Scholar 

  5. Lazarev, A.A., Werner, F.: A Graphical Realization of the Dynamic Programming Method for Solving NP-Hard Combinatorial Problems. Computers and Mathematics with Applications 58(4), 619–631 (2009)

    Article  MATH  Google Scholar 

  6. Lazarev, A.A., Werner, F.: Algorithms for Special Cases of the Single Machine Total Tardiness Problem and an Application to the Even-Odd Partition Problem. Mathematical and Computer Modelling 49(9-10), 2061–2072 (2009)

    Article  MATH  Google Scholar 

  7. Papadimitrou, C., Steiglitz, K.: Combinatorial Optimization: Algorithms and Complexity. Dover Publications, INC., New York (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 paper

Cite this paper

Lazarev, A., Salnikov, A., Baranov, A. (2011). Graphical Algorithm for the Knapsack Problems. In: Malyshkin, V. (eds) Parallel Computing Technologies. PaCT 2011. Lecture Notes in Computer Science, vol 6873. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-23178-0_41

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-23178-0_41

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-23177-3

  • Online ISBN: 978-3-642-23178-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics