Evaluating and Tuning n-fold Integer Programming

Kateřina Altmanová, Dušan Knop, Martin Koutecký
2/25/2018
cs.DScs.SE

Official code: katealtmanova/nfoldexperiment (3 stars, last commit 2019-09-13).

Abstract

In recent years, algorithmic breakthroughs in stringology, computational social choice, scheduling, etc., were achieved by applying the theory of so-called $n$-fold integer programming. An $n$-fold integer program (IP) has a highly uniform block structured constraint matrix. Hemmecke, Onn, and Romanchuk [Math. Programming, 2013] showed an algorithm with runtime $a^{O(rst + r^2s)} n^3$, where $a$ is the largest coefficient, $r,s$, and $t$ are dimensions of blocks of the constraint matrix and $n$ is the total dimension of the IP; thus, an algorithm efficient if the blocks are of small size and with small coefficients. The algorithm works by iteratively improving a feasible solution with augmenting steps, and $n$-fold IPs have the special property that augmenting steps are guaranteed to exist in a not-too-large neighborhood. We have implemented the algorithm and learned the following along the way. The original algorithm is practically unusable, but we discover a series of improvements which make its evaluation possible. Crucially, we observe that a certain constant in the algorithm can be treated as a tuning parameter, which yields an efficient heuristic (essentially searching in a smaller-than-guaranteed neighborhood). Furthermore, the algorithm uses an overly expensive strategy to find a "best" step, while finding only an "approximatelly best" step is much cheaper, yet sufficient for quick convergence. Using this insight, we improve the asymptotic dependence on $n$ from $n^3$ to $n^2 \log n$. We show that decreasing the tuning parameter initially leads to an increased number of iterations needed for convergence and eventually to getting stuck in local optima, as expected. However, surprisingly small values of the parameter already exhibit good behavior. Second, our new strategy for finding "approximatelly best" steps wildly outperforms the original construction.

View on arXivView PDF

Code Implementations(1)

Evaluating and Tuning n-Fold Integer Programming

31Python, Jupyter NotebookFeb 6, 20187 years ago

Similar Papers

Cite this paper

@article{altmanov2018evaluating,
  title  = {Evaluating and Tuning n-fold Integer Programming},
  author = {Kateřina Altmanová and Dušan Knop and Martin Koutecký},
  year   = {2018},
  eprint = {1802.09007},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.09007}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1802.09007.svg)](https://codeofpaper.com/paper/1802.09007)

Discussion