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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
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
Borradaile, G., Heeringa, B., Wilfong, G.: The knapsack problem with neighbour constraints. J. Discrete Algorithms 16, 224–235 (2012)
Courcelle, B., Olariu, S.: Upper bounds to the clique width of graphs. Discrete Appl. Math. 101(1–3), 77–114 (2000)
Crespelle, C., Paul, C.: Fully dynamic recognition algorithm and certificate for directed cographs. Discrete Appl. Math. 154(12), 1722–1741 (2006)
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
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
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
Valdes, J., Tarjan, R., Lawler, E.: The recognition of series-parallel digraphs. SIAM J. Comput. 11, 298–313 (1982)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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
DOI: https://doi.org/10.1007/978-3-031-08623-6_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-08622-9
Online ISBN: 978-3-031-08623-6
eBook Packages: Business and ManagementBusiness and Management (R0)