Skip to main content

The Knapsack Problem with Special Neighbor Constraints on Directed Co-graphs

  • Conference paper
  • First Online:
  • 558 Accesses

Part of the book series: Lecture Notes in Operations Research ((LNOR))

Abstract

The knapsack problem is one of the best known and most fundamental NP-hard problems in combinatorial optimization. We consider two knapsack problems which contain additional constraints in the form of directed graphs whose vertex set corresponds to the item set. In the 1-neighbor knapsack problem, an item can be chosen only if at least one of its successors is chosen. In the all-neighbors knapsack problem, an item can be chosen only if all of its successors are chosen. For both problems, we consider uniform and general profits and weights. Since all these problems generalize the knapsack problem, they are NP-hard. This motivates us to consider the problem on special graph classes. Therefore, we restrict these problems to directed co-graphs, i.e., directed complement reducible graphs, that are precisely those digraphs which can be defined from the single vertex graph by applying the disjoint union, order and series composition. We show polynomial time solutions for the uniform problems on directed co-graphs and pseudo-polynomial time solutions for the general problems on directed co-graphs. These results improve known worst-case runtimes in comparison to constraints given by unrestricted digraphs.

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 EPUB and 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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Borradaile, G., Heeringa, B., Wilfong, G.: The 1-neighbour knapsack problem. In: Iliopoulos, C.S., Smyth, W.F. (eds.) IWOCA 2011. LNCS, vol. 7056, pp. 71–84. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-25011-8_6

    Chapter  Google Scholar 

  2. Borradaile, G., Heeringa, B., Wilfong, G.: The knapsack problem with neighbour constraints. J. Discrete Algorithms 16, 224–235 (2012)

    Article  Google Scholar 

  3. Courcelle, B., Olariu, S.: Upper bounds to the clique width of graphs. Discrete Appl. Math. 101(1–3), 77–114 (2000)

    Article  Google Scholar 

  4. Crespelle, C., Paul, C.: Fully dynamic recognition algorithm and certificate for directed cographs. Discrete Appl. Math. 154(12), 1722–1741 (2006)

    Article  Google Scholar 

  5. Goebbels, S., Gurski, F., Komander, D.: The knapsack problem with special neighbor constraints. Math. Meth. Oper. Res. 95(1), 1–34 (2021). https://doi.org/10.1007/s00186-021-00767-5

    Article  Google Scholar 

  6. Gourvès, L., Monnot, J., Tlilane, L.: Subset sum problems with digraph constraints. J. Comb. Optim. 36(3), 937–964 (2018). https://doi.org/10.1007/s10878-018-0262-1

    Article  Google Scholar 

  7. Gurski, F., Komander, D., Rehs, C.: Solutions for subset sum problems with special digraph constraints. Math. Meth. Oper. Res. 92(2), 401–433 (2020). https://doi.org/10.1007/s00186-020-00718-6

    Article  Google Scholar 

  8. Valdes, J., Tarjan, R., Lawler, E.: The recognition of series-parallel digraphs. SIAM J. Comput. 11, 298–313 (1982)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Steffen Goebbels .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Goebbels, S., Gurski, F., Komander, D. (2022). The Knapsack Problem with Special Neighbor Constraints on Directed Co-graphs. In: Trautmann, N., Gnägi, M. (eds) Operations Research Proceedings 2021. OR 2021. Lecture Notes in Operations Research. Springer, Cham. https://doi.org/10.1007/978-3-031-08623-6_15

Download citation

Publish with us

Policies and ethics