Linear Pseudo-Polynomial Factor Algorithm for Automaton Constrained Tree Knapsack Problem

被引:1
作者
Kumabe, Soh [1 ,2 ]
Maehara, Takanori [2 ]
Sin'ya, Ryoma [3 ]
机构
[1] Univ Tokyo, Tokyo, Japan
[2] RIKEN, Ctr Adv Intelligence Project, Tokyo, Japan
[3] Akita Univ, Akita, Japan
来源
WALCOM: ALGORITHMS AND COMPUTATION (WALCOM 2019) | 2019年 / 11355卷
关键词
Knapsack problem; Dynamic programming; Tree automaton;
D O I
10.1007/978-3-030-10564-8_20
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The automaton constrained tree knapsack problem is a variant of the knapsack problem in which the items are associated with the vertices of the tree, and we can select a subset of items that is accepted by a tree automaton. If the capacities or the profits of items are integers, it can be solved in pseudo-polynomial time by the dynamic programming algorithm. However, this algorithm has a quadratic pseudo-polynomial factor in its complexity because of the max-plus convolution. In this study, we propose a new dynamic programming technique, called heavy-light recursive dynamic programming, to obtain algorithms having linear pseudo-polynomial factors in the complexity. Such algorithms can be used for solving the problems with polynomially small capacities/profits efficiently, and used for deriving efficient fully polynomial-time approximation schemes. We also consider the k-subtree version problem that finds k disjoint subtrees and a solution in each subtree that maximizes total profit under a budget constraint. We show that this problem can be solved in almost the same complexity as the original problem.
引用
收藏
页码:248 / 260
页数:13
相关论文
共 18 条
[1]  
Backurs A, 2017, PROCEEDINGS OF THE TWENTY-EIGHTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P2215
[2]   Necklaces, Convolutions, and X plus Y [J].
Bremner, David ;
Chan, Timothy M. ;
Demaine, Erik D. ;
Erickson, Jeff ;
Hurtado, Ferran ;
Iacono, John ;
Langerman, Stefan ;
Patrascu, Mihai ;
Taslakian, Perouz .
ALGORITHMICA, 2014, 69 (02) :294-314
[3]   A recursive greedy algorithm for walks in directed graphs [J].
Chekuri, C ;
Pál, M .
46TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2005, :245-253
[4]  
Comon H., 2008, Tree automata techniques and applications
[5]  
Cygan M., 2017, ARXIV170207669
[6]  
Geon Cho, 1997, INFORMS Journal on Computing, V9, P431, DOI 10.1287/ijoc.9.4.431
[7]  
Hochbaum D. S., 1994, Node-optimal connected k-subgraphs
[8]   FAST APPROXIMATION ALGORITHMS FOR KNAPSACK AND SUM OF SUBSET PROBLEMS [J].
IBARRA, OH ;
KIM, CE .
JOURNAL OF THE ACM, 1975, 22 (04) :463-468
[9]  
Ishihata M., 2018, ARXIV180704575
[10]   ON KNAPSACKS, PARTITIONS, AND A NEW DYNAMIC-PROGRAMMING TECHNIQUE FOR TREES [J].
JOHNSON, DS ;
NIEMI, KA .
MATHEMATICS OF OPERATIONS RESEARCH, 1983, 8 (01) :1-14