English

Near-Linear Time Algorithm for n-fold ILPs via Color Coding

Data Structures and Algorithms 2018-11-05 v1

Abstract

We study an important case of ILPs max{cTx  Ax=b,lxu,xZnt}\max\{c^Tx \ \vert\ \mathcal Ax = b, l \leq x \leq u,\, x \in \mathbb{Z}^{n t} \} with ntn\cdot t variables and lower and upper bounds ,uZnt\ell, u\in\mathbb Z^{nt}. In nn-fold ILPs non-zero entries only appear in the first rr rows of the matrix A\mathcal A and in small blocks of size s×ts\times t along the diagonal underneath. Despite this restriction many optimization problems can be expressed in this form. It is known that nn-fold ILPs can be solved in FPT time regarding the parameters s,r,s, r, and Δ\Delta, where Δ\Delta is the greatest absolute value of an entry in A\mathcal A. The state-of-the-art technique is a local search algorithm that subsequently moves in an improving direction. Both, the number of iterations and the search for such an improving direction take time Ω(n)\Omega(n), leading to a quadratic running time in nn. We introduce a technique based on Color Coding, which allows us to compute these improving directions in logarithmic time after a single initialization step. This leads to the first algorithm for nn-fold ILPs with a running time that is near-linear in the number ntnt of variables, namely (rsΔ)O(r2s+s2)L2ntlogO(1)(nt)(rs\Delta)^{O(r^2s + s^2)} L^2 \cdot nt \log^{O(1)}(nt), where LL is the encoding length of the largest integer in the input. In contrast to the algorithms in recent literature, we do not need to solve the LP relaxation in order to handle unbounded variables. Instead, we give a structural lemma to introduce appropriate bounds. If, on the other hand, we are given such an LP solution, the running time can be decreased by a factor of LL.

Keywords

Cite

@article{arxiv.1811.00950,
  title  = {Near-Linear Time Algorithm for n-fold ILPs via Color Coding},
  author = {Klaus Jansen and Alexandra Lassota and Lars Rohwedder},
  journal= {arXiv preprint arXiv:1811.00950},
  year   = {2018}
}
R2 v1 2026-06-23T05:02:20.589Z