# r-Simple k-Path and Related Problems Parameterized by k/r

r-Simple k-Path and Related Problems Parameterized by k/r Abasi et al. (2014) introduced the following two problems. In the r-Simple k-Path problem, given a digraph G on n vertices and positive integers r, k, decide whether G has an r-simple k-path, which is a walk where every vertex occurs at most r times and the total number of vertex occurrences is k. In the (r, k)-Monomial Detection problem, given an arithmetic circuit that succinctly encodes some polynomial P on n variables and positive integers k, r, decide whether P has a monomial of total degree k where the degree of each variable is at most r. Abasi et al. obtained randomized algorithms of running time 4(k/r)log r nO(1) for both problems. Gabizon et al. (2015) designed deterministic 2O((k/r)log r) nO(1)-time algorithms for both problems (however, for the (r, k)-Monomial Detection problem the input circuit is restricted to be non-canceling). Gabizon et al. also studied the following problem. In the P-Set (r, q)-Packing Problem, given a universe V, positive integers (p, q, r), and a collection H of sets of size P whose elements belong to V, decide whether there exists a subcollection H of H of size q where each element occurs in at most r sets of H. Gabizon et al. obtained a deterministic 2O((pq/r)log r) nO(1)-time algorithm for P-Set (r, q)-Packing. The above results prove that the three problems are single-exponentially fixed-parameter tractable (FPT) parameterized by the product of two parameters, that is, k/r and log r, where k=pq for P-Set (r, q)-Packing. Abasi et al. and Gabizon et al. asked whether the log r factor in the exponent can be avoided. Bonamy et al. (2017) answered the question for (r, k)-Monomial Detection by proving that unless the Exponential Time Hypothesis (ETH) fails there is no 2o((k/r) log r) (n + log k)O(1)-time algorithm for (r, k)-Monomial Detection, i.e., (r, k)-Monomial Detection is unlikely to be single-exponentially FPT when parameterized by k/r alone. The question remains open for r-Simple k-Path and P-Set (r, q)-Packing. We consider the question from a wider perspective: are the above problems FPT when parameterized by k/r only, i.e., whether there exists a computable function f such that the problems admit a f(k/r)(n+log k)O(1)-time algorithm? Since r can be substantially larger than the input size, the algorithms of Abasi et al. and Gabizon et al. do not even show that any of these three problems is in XP parameterized by k/r alone. We resolve the wider question by (a) obtaining a 2O((k/r)2 log(k/r)) (n + log k)O(1)-time algorithm for r-Simple k-Path on digraphs and a 2O(k/r) &sdot (n + log k)O(1)-time algorithm for r-Simple k-Path on undirected graphs (i.e., for undirected graphs, we answer the original question in affirmative), (b) showing that P-Set (r, q)-Packing is FPT (in contrast, we prove that P-Multiset (r, q)-Packing is W-hard), and (c) proving that (r, k)-Monomial Detection is para-NP-hard even if only two distinct variables are in polynomial P and the circuit is non-canceling. For the special case of (r, k)-Monomial Detection where k is polynomially bounded by the input size (which is in XP), we show W-hardness. Along the way to solve P-Set (r, q)-Packing, we obtain a polynomial kernel for any fixed P, which resolves a question posed by Gabizon et al. regarding the existence of polynomial kernels for problems with relaxed disjointness constraints. All our algorithms are deterministic. http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png ACM Transactions on Algorithms (TALG) Association for Computing Machinery

# r-Simple k-Path and Related Problems Parameterized by k/r

, Volume 17 (1): 64 – Jan 21, 2021
64 pages      /lp/association-for-computing-machinery/r-simple-k-path-and-related-problems-parameterized-by-k-r-N1f8SupG6y
Publisher
Association for Computing Machinery
ISSN
1549-6325
eISSN
1549-6333
DOI
10.1145/3439721
Publisher site
See Article on Publisher Site

### Abstract

Abasi et al. (2014) introduced the following two problems. In the r-Simple k-Path problem, given a digraph G on n vertices and positive integers r, k, decide whether G has an r-simple k-path, which is a walk where every vertex occurs at most r times and the total number of vertex occurrences is k. In the (r, k)-Monomial Detection problem, given an arithmetic circuit that succinctly encodes some polynomial P on n variables and positive integers k, r, decide whether P has a monomial of total degree k where the degree of each variable is at most r. Abasi et al. obtained randomized algorithms of running time 4(k/r)log r nO(1) for both problems. Gabizon et al. (2015) designed deterministic 2O((k/r)log r) nO(1)-time algorithms for both problems (however, for the (r, k)-Monomial Detection problem the input circuit is restricted to be non-canceling). Gabizon et al. also studied the following problem. In the P-Set (r, q)-Packing Problem, given a universe V, positive integers (p, q, r), and a collection H of sets of size P whose elements belong to V, decide whether there exists a subcollection H of H of size q where each element occurs in at most r sets of H. Gabizon et al. obtained a deterministic 2O((pq/r)log r) nO(1)-time algorithm for P-Set (r, q)-Packing. The above results prove that the three problems are single-exponentially fixed-parameter tractable (FPT) parameterized by the product of two parameters, that is, k/r and log r, where k=pq for P-Set (r, q)-Packing. Abasi et al. and Gabizon et al. asked whether the log r factor in the exponent can be avoided. Bonamy et al. (2017) answered the question for (r, k)-Monomial Detection by proving that unless the Exponential Time Hypothesis (ETH) fails there is no 2o((k/r) log r) (n + log k)O(1)-time algorithm for (r, k)-Monomial Detection, i.e., (r, k)-Monomial Detection is unlikely to be single-exponentially FPT when parameterized by k/r alone. The question remains open for r-Simple k-Path and P-Set (r, q)-Packing. We consider the question from a wider perspective: are the above problems FPT when parameterized by k/r only, i.e., whether there exists a computable function f such that the problems admit a f(k/r)(n+log k)O(1)-time algorithm? Since r can be substantially larger than the input size, the algorithms of Abasi et al. and Gabizon et al. do not even show that any of these three problems is in XP parameterized by k/r alone. We resolve the wider question by (a) obtaining a 2O((k/r)2 log(k/r)) (n + log k)O(1)-time algorithm for r-Simple k-Path on digraphs and a 2O(k/r) &sdot (n + log k)O(1)-time algorithm for r-Simple k-Path on undirected graphs (i.e., for undirected graphs, we answer the original question in affirmative), (b) showing that P-Set (r, q)-Packing is FPT (in contrast, we prove that P-Multiset (r, q)-Packing is W-hard), and (c) proving that (r, k)-Monomial Detection is para-NP-hard even if only two distinct variables are in polynomial P and the circuit is non-canceling. For the special case of (r, k)-Monomial Detection where k is polynomially bounded by the input size (which is in XP), we show W-hardness. Along the way to solve P-Set (r, q)-Packing, we obtain a polynomial kernel for any fixed P, which resolves a question posed by Gabizon et al. regarding the existence of polynomial kernels for problems with relaxed disjointness constraints. All our algorithms are deterministic.

### Journal

ACM Transactions on Algorithms (TALG)Association for Computing Machinery

Published: Jan 21, 2021

Keywords: (r, k)-monomial detection

Access the full text.