48 research outputs found

    Computation of the highest coefficients of weighted Ehrhart quasi-polynomials of rational polyhedra

    Full text link
    This article concerns the computational problem of counting the lattice points inside convex polytopes, when each point must be counted with a weight associated to it. We describe an efficient algorithm for computing the highest degree coefficients of the weighted Ehrhart quasi-polynomial for a rational simple polytope in varying dimension, when the weights of the lattice points are given by a polynomial function h. Our technique is based on a refinement of an algorithm of A. Barvinok [Computing the Ehrhart quasi-polynomial of a rational simplex, Math. Comp. 75 (2006), pp. 1449--1466] in the unweighted case (i.e., h = 1). In contrast to Barvinok's method, our method is local, obtains an approximation on the level of generating functions, handles the general weighted case, and provides the coefficients in closed form as step polynomials of the dilation. To demonstrate the practicality of our approach we report on computational experiments which show even our simple implementation can compete with state of the art software.Comment: 34 pages, 2 figure

    Coefficients of Sylvester's Denumerant

    Get PDF
    For a given sequence α=[α1,α2,…,αN+1]\mathbf{\alpha} = [\alpha_1,\alpha_2,\dots,\alpha_{N+1}] of N+1N+1 positive integers, we consider the combinatorial function E(α)(t)E(\mathbf{\alpha})(t) that counts the nonnegative integer solutions of the equation α1x1+α2x2+⋯+αNxN+αN+1xN+1=t\alpha_1x_1+\alpha_2 x_2+\cdots+\alpha_{N} x_{N}+\alpha_{N+1}x_{N+1}=t, where the right-hand side tt is a varying nonnegative integer. It is well-known that E(α)(t)E(\mathbf{\alpha})(t) is a quasi-polynomial function in the variable tt of degree NN. In combinatorial number theory this function is known as Sylvester's denumerant. Our main result is a new algorithm that, for every fixed number kk, computes in polynomial time the highest k+1k+1 coefficients of the quasi-polynomial E(α)(t)E(\mathbf{\alpha})(t) as step polynomials of tt (a simpler and more explicit representation). Our algorithm is a consequence of a nice poset structure on the poles of the associated rational generating function for E(α)(t)E(\mathbf{\alpha})(t) and the geometric reinterpretation of some rational generating functions in terms of lattice points in polyhedral cones. Our algorithm also uses Barvinok's fundamental fast decomposition of a polyhedral cone into unimodular cones. This paper also presents a simple algorithm to predict the first non-constant coefficient and concludes with a report of several computational experiments using an implementation of our algorithm in LattE integrale. We compare it with various Maple programs for partial or full computation of the denumerant.Comment: minor revision, 28 page

    Exploiting Polyhedral Symmetries in Social Choice

    Full text link
    A large amount of literature in social choice theory deals with quantifying the probability of certain election outcomes. One way of computing the probability of a specific voting situation under the Impartial Anonymous Culture assumption is via counting integral points in polyhedra. Here, Ehrhart theory can help, but unfortunately the dimension and complexity of the involved polyhedra grows rapidly with the number of candidates. However, if we exploit available polyhedral symmetries, some computations become possible that previously were infeasible. We show this in three well known examples: Condorcet's paradox, Condorcet efficiency of plurality voting and in Plurality voting vs Plurality Runoff.Comment: 14 pages; with minor improvements; to be published in Social Choice and Welfar

    Three Ehrhart Quasi-polynomials

    Get PDF
    Let P(b)⊂RdP(b)\subset R^d be a semi-rational parametric polytope, where b=(bj)∈RNb=(b_j)\in R^N is a real multi-parameter. We study intermediate sums of polynomial functions h(x)h(x) on P(b)P(b), SL(P(b),h)=∑y∫P(b)∩(y+L)h(x)dx, S^L (P(b),h)=\sum_{y}\int_{P(b)\cap (y+L)} h(x) \mathrm dx, where we integrate over the intersections of P(b)P(b) with the subspaces parallel to a fixed rational subspace LL through all lattice points, and sum the integrals. The purely discrete sum is of course a particular case (L=0L=0), so S0(P(b),1)S^0(P(b), 1) counts the integer points in the parametric polytopes. The chambers are the open conical subsets of RNR^N such that the shape of P(b)P(b) does not change when bb runs over a chamber. We first prove that on every chamber of RNR^N, SL(P(b),h)S^L (P(b),h) is given by a quasi-polynomial function of b∈RNb\in R^N. A key point of our paper is an analysis of the interplay between two notions of degree on quasi-polynomials: the usual polynomial degree and a filtration, called the local degree. Then, for a fixed k≤dk\leq d, we consider a particular linear combination of such intermediate weighted sums, which was introduced by Barvinok in order to compute efficiently the k+1k+1 highest coefficients of the Ehrhart quasi-polynomial which gives the number of points of a dilated rational polytope. Thus, for each chamber, we obtain a quasi-polynomial function of bb, which we call Barvinok's patched quasi-polynomial (at codimension level kk). Finally, for each chamber, we introduce a new quasi-polynomial function of bb, the cone-by-cone patched quasi-polynomial (at codimension level kk), defined in a refined way by linear combinations of intermediate generating functions for the cones at vertices of P(b)P(b). We prove that both patched quasi-polynomials agree with the discrete weighted sum b↦S0(P(b),h)b\mapsto S^0(P(b),h) in the terms corresponding to the k+1k+1 highest polynomial degrees.Comment: 41 pages, 13 figures; v2: changes to introduction, new graphics; v3: add more detailed references, move example to introduction; v4: fix reference

    INTERMEDIATE SUMS ON POLYHEDRA II:BIDEGREE AND POISSON FORMULA

    Get PDF
    Abstract. We continue our study of intermediate sums over polyhedra,interpolating between integrals and discrete sums, whichwere introduced by A. Barvinok [Computing the Ehrhart quasi-polynomial of a rational simplex, Math. Comp. 75 (2006), 1449–1466]. By well-known decompositions, it is sufficient to considerthe case of affine cones s+c, where s is an arbitrary real vertex andc is a rational polyhedral cone. For a given rational subspace L,we integrate a given polynomial function h over all lattice slicesof the affine cone s + c parallel to the subspace L and sum up theintegrals. We study these intermediate sums by means of the intermediategenerating functions SL(s+c)(ξ), and expose the bidegreestructure in parameters s and ξ, which was implicitly used in thealgorithms in our papers [Computation of the highest coefficients ofweighted Ehrhart quasi-polynomials of rational polyhedra, Found.Comput. Math. 12 (2012), 435–469] and [Intermediate sums onpolyhedra: Computation and real Ehrhart theory, Mathematika 59(2013), 1–22]. The bidegree structure is key to a new proof for theBaldoni–Berline–Vergne approximation theorem for discrete generatingfunctions [Local Euler–Maclaurin expansion of Barvinokvaluations and Ehrhart coefficients of rational polytopes, Contemp.Math. 452 (2008), 15–33], using the Fourier analysis with respectto the parameter s and a continuity argument. Our study alsoenables a forthcoming paper, in which we study intermediate sumsover multi-parameter families of polytopes

    INTERMEDIATE SUMS ON POLYHEDRA: COMPUTATION AND REAL EHRHART THEORY

    No full text
    We study intermediate sums, interpolating between integrals and discrete sums, which were introduced by A. Barvi-nok [Computing the Ehrhart quasi-polynomial of a rational simplex, Math. Comp. 75 (2006), 1449–1466]. For a given semi-rational polytope p and a rational subspace L, we integrate a given polyno-mial function h over all lattice slices of the polytope p parallel to the subspace L and sum up the integrals. We first develop an al-gorithmic theory of parametric intermediate generating functions. Then we study the Ehrhart theory of these intermediate sums, that is, the dependence of the result as a function of a dilation of the polytope. We provide an algorithm to compute the resulting Ehrhart quasi-polynomials in the form of explicit step polynomi-als. These formulas are naturally valid for real (not just integer) dilations and thus provide a direct approach to real Ehrhart theory

    Decomposition Methods for Nonlinear Optimization and Data Mining

    Full text link
    We focus on two central themes in this dissertation. The first one is on decomposing polytopes and polynomials in ways that allow us to perform nonlinear optimization. We start off by explaining important results on decomposing a polytope into special polyhedra. We use these decompositions and develop methods for computing a special class of integrals exactly. Namely, we are interested in computing the exact value of integrals of polynomial functions over convex polyhedra. We present prior work and new extensions of the integration algorithms. Every integration method we present requires that the polynomial has a special form. We explore two special polynomial decomposition algorithms that are useful for integrating polynomial functions. Both polynomial decompositions have strengths and weaknesses, and we experiment with how to practically use them. After developing practical algorithms and efficient software tools for integrating a polynomial over a polytope, we focus on the problem of maximizing a polynomial function over the continuous domain of a polytope. This maximization problem is NP-hard, but we develop approximation methods that run in polynomial time when the dimension is fixed. Moreover, our algorithm for approximating the maximum of a polynomial over a polytope is related to integrating the polynomial over the polytope. We show how the integration methods can be used for optimization. The second central topic in this dissertation is on problems in data science. We first consider a heuristic for mixed-integer linear optimization. We show how many practical mixed-integer linear have a special substructure containing set partition constraints. We then describe a nice data structure for finding feasible zero-one integer solutions to systems of set partition constraints. Finally, we end with an applied project using data science methods in medical research.Comment: PHD Thesis of Brandon Dutr

    Top Coefficients of the Denumerant

    Get PDF
    International audienceFor a given sequence α=[α1,α2,…,αN,αN+1]\alpha = [\alpha_1,\alpha_2,\ldots , \alpha_N, \alpha_{N+1}] of N+1N+1 positive integers, we consider the combinatorial function E(α)(t)E(\alpha)(t) that counts the nonnegative integer solutions of the equation α1x1+α2x2+…+αNxN+αN+1xN+1=t\alpha_1x_1+\alpha_2 x_2+ \ldots+ \alpha_Nx_N+ \alpha_{N+1}x_{N+1}=t, where the right-hand side tt is a varying nonnegative integer. It is well-known that E(α)(t)E(\alpha)(t) is a quasipolynomial function of tt of degree NN. In combinatorial number theory this function is known as the denumerant\textit{denumerant}. Our main result is a new algorithm that, for every fixed number kk, computes in polynomial time the highest k+1k+1 coefficients of the quasi-polynomial E(α)(t)E(\alpha)(t) as step polynomials of tt. Our algorithm is a consequence of a nice poset structure on the poles of the associated rational generating function for E(α)(t)E(\alpha)(t) and the geometric reinterpretation of some rational generating functions in terms of lattice points in polyhedral cones. Experiments using a MAPLE\texttt{MAPLE} implementation will be posted separately.Considérons une liste α=[α1,α2,…,αN,αN+1]\alpha = [\alpha_1,\alpha_2,\ldots , \alpha_N, \alpha_{N+1}] de N+1N+1 entiers positifs. Le dénumérant E(α)(t)E(\alpha)(t) est lafonction qui compte le nombre de solutions en entiers positifs ou nuls de l’équation ∑i=1N+1xiαi=t\sum^{N+1}_{i=1}x_i\alpha_i=t, où tt varie dans les entiers positifs ou nuls. Il est bien connu que cette fonction est une fonction quasi-polynomiale de tt, de degré NN. Nous donnons un nouvel algorithme qui calcule, pour chaque entier fixé kk (mais NN n’est pas fixé, les k+1k+1 plus hauts coefficients du quasi-polynôme E(α)(t)E(\alpha)(t) en termes de fonctions en dents de scie. Notre algorithme utilise la structure d’ensemble partiellement ordonné des pôles de la fonction génératrice de E(α)(t)E(\alpha)(t). Les k+1k+1 plus hauts coefficients se calculent à l’aide de fonctions génératrices de points entiers dans des cônes polyèdraux de dimension inférieure ou égale à kk
    corecore