English

A New and Faster Representation for Counting Integer Points in Parametric Polyhedra

Data Structures and Algorithms 2024-12-05 v6 Computational Geometry Discrete Mathematics Combinatorics

Abstract

In this paper, we consider the counting function EP(y)=PyZnxE_P(y) = |P_{y} \cap Z^{n_x}| for a parametric polyhedron Py={xRnx ⁣:Axb+By}P_{y} = \{x \in R^{n_x} \colon A x \leq b + B y\}, where yRnyy \in R^{n_y}. We give a new representation of EP(y)E_P(y), called a \emph{piece-wise step-polynomial with periodic coefficients}, which is a generalization of piece-wise step-polynomials and integer/rational Ehrhart's quasi-polynomials. It gives the fastest way to calculate EP(y)E_P(y) in certain scenarios. The most important cases are the following: 1) We show that, for the parametric polyhedron PyP_y defined by a standard-form system Ax=y,x0A x = y,\, x \geq 0 with a fixed number of equalities, the function EP(y)E_P(y) can be represented by a polynomial-time computable function. In turn, such a representation of EP(y)E_P(y) can be constructed by an poly(n,A)poly\bigl(n, \|A\|_{\infty}\bigr)-time algorithm; 2) Assuming again that the number of equalities is fixed, we show that integer/rational Ehrhart's quasi-polynomials of a polytope can be computed by FPT-algorithms, parameterized by sub-determinants of AA or its elements; 3) Our representation of EPE_P is more efficient than other known approaches, if AA has bounded elements, especially if it is sparse in addition. Additionally, we provide a discussion about possible applications in the area of compiler optimization. In some "natural" assumptions on a program code, our approach has the fastest complexity bounds.

Cite

@article{arxiv.2310.13788,
  title  = {A New and Faster Representation for Counting Integer Points in Parametric Polyhedra},
  author = {D. Gribanov and D. Malyshev and P. Pardalos and N. Zolotykh},
  journal= {arXiv preprint arXiv:2310.13788},
  year   = {2024}
}
R2 v1 2026-06-28T12:57:17.813Z