450 research outputs found

    Weighted counting of solutions to sparse systems of equations

    Full text link
    Given complex numbers w1,,wnw_1, \ldots, w_n, we define the weight w(X)w(X) of a set XX of 0-1 vectors as the sum of w1x1wnxnw_1^{x_1} \cdots w_n^{x_n} over all vectors (x1,,xn)(x_1, \ldots, x_n) in XX. We present an algorithm, which for a set XX defined by a system of homogeneous linear equations with at most rr variables per equation and at most cc equations per variable, computes w(X)w(X) within relative error ϵ>0\epsilon >0 in (rc)O(lnnlnϵ)(rc)^{O(\ln n-\ln \epsilon)} time provided wjβ(rc)1|w_j| \leq \beta (r \sqrt{c})^{-1} for an absolute constant β>0\beta >0 and all j=1,,nj=1, \ldots, n. A similar algorithm is constructed for computing the weight of a linear code over Fp{\Bbb F}_p. Applications include counting weighted perfect matchings in hypergraphs, counting weighted graph homomorphisms, computing weight enumerators of linear codes with sparse code generating matrices, and computing the partition functions of the ferromagnetic Potts model at low temperatures and of the hard-core model at high fugacity on biregular bipartite graphs.Comment: The exposition is improved, a couple of inaccuracies correcte

    Counting edge-injective homomorphisms and matchings on restricted graph classes

    Get PDF
    We consider the #W[1]\#\mathsf{W}[1]-hard problem of counting all matchings with exactly kk edges in a given input graph GG; we prove that it remains #W[1]\#\mathsf{W}[1]-hard on graphs GG that are line graphs or bipartite graphs with degree 22 on one side. In our proofs, we use that kk-matchings in line graphs can be equivalently viewed as edge-injective homomorphisms from the disjoint union of kk length-22 paths into (arbitrary) host graphs. Here, a homomorphism from HH to GG is edge-injective if it maps any two distinct edges of HH to distinct edges in GG. We show that edge-injective homomorphisms from a pattern graph HH can be counted in polynomial time if HH has bounded vertex-cover number after removing isolated edges. For hereditary classes H\mathcal{H} of pattern graphs, we complement this result: If the graphs in H\mathcal{H} have unbounded vertex-cover number even after deleting isolated edges, then counting edge-injective homomorphisms with patterns from H\mathcal{H} is #W[1]\#\mathsf{W}[1]-hard. Our proofs rely on an edge-colored variant of Holant problems and a delicate interpolation argument; both may be of independent interest.Comment: 35 pages, 9 figure

    Approximation Algorithms for Multi-Criteria Traveling Salesman Problems

    Full text link
    In multi-criteria optimization problems, several objective functions have to be optimized. Since the different objective functions are usually in conflict with each other, one cannot consider only one particular solution as the optimal solution. Instead, the aim is to compute a so-called Pareto curve of solutions. Since Pareto curves cannot be computed efficiently in general, we have to be content with approximations to them. We design a deterministic polynomial-time algorithm for multi-criteria g-metric STSP that computes (min{1 +g, 2g^2/(2g^2 -2g +1)} + eps)-approximate Pareto curves for all 1/2<=g<=1. In particular, we obtain a (2+eps)-approximation for multi-criteria metric STSP. We also present two randomized approximation algorithms for multi-criteria g-metric STSP that achieve approximation ratios of (2g^3 +2g^2)/(3g^2 -2g +1) + eps and (1 +g)/(1 +3g -4g^2) + eps, respectively. Moreover, we present randomized approximation algorithms for multi-criteria g-metric ATSP (ratio 1/2 + g^3/(1 -3g^2) + eps) for g < 1/sqrt(3)), STSP with weights 1 and 2 (ratio 4/3) and ATSP with weights 1 and 2 (ratio 3/2). To do this, we design randomized approximation schemes for multi-criteria cycle cover and graph factor problems.Comment: To appear in Algorithmica. A preliminary version has been presented at the 4th Workshop on Approximation and Online Algorithms (WAOA 2006

    Randomised algorithms for counting and generating combinatorial structures

    Get PDF
    SIGLEAvailable from British Library Document Supply Centre- DSC:D85048 / BLDSC - British Library Document Supply CentreGBUnited Kingdo

    Coresets Meet EDCS: Algorithms for Matching and Vertex Cover on Massive Graphs

    Full text link
    As massive graphs become more prevalent, there is a rapidly growing need for scalable algorithms that solve classical graph problems, such as maximum matching and minimum vertex cover, on large datasets. For massive inputs, several different computational models have been introduced, including the streaming model, the distributed communication model, and the massively parallel computation (MPC) model that is a common abstraction of MapReduce-style computation. In each model, algorithms are analyzed in terms of resources such as space used or rounds of communication needed, in addition to the more traditional approximation ratio. In this paper, we give a single unified approach that yields better approximation algorithms for matching and vertex cover in all these models. The highlights include: * The first one pass, significantly-better-than-2-approximation for matching in random arrival streams that uses subquadratic space, namely a (1.5+ϵ)(1.5+\epsilon)-approximation streaming algorithm that uses O(n1.5)O(n^{1.5}) space for constant ϵ>0\epsilon > 0. * The first 2-round, better-than-2-approximation for matching in the MPC model that uses subquadratic space per machine, namely a (1.5+ϵ)(1.5+\epsilon)-approximation algorithm with O(mn+n)O(\sqrt{mn} + n) memory per machine for constant ϵ>0\epsilon > 0. By building on our unified approach, we further develop parallel algorithms in the MPC model that give a (1+ϵ)(1 + \epsilon)-approximation to matching and an O(1)O(1)-approximation to vertex cover in only O(loglogn)O(\log\log{n}) MPC rounds and O(n/polylog(n))O(n/poly\log{(n)}) memory per machine. These results settle multiple open questions posed in the recent paper of Czumaj~et.al. [STOC 2018]

    Matchings under distance constraints II

    Full text link
    This paper introduces the \emph{dd-distance bb-matching problem}, in which we are given a bipartite graph G=(S,T;E)G=(S,T;E) with S={s1,,sn}S=\{s_1,\dots,s_n\}, a weight function on the edges, an integer dZ+d\in\mathbb{Z}_+ and a degree bound function b:STZ+b:S\cup T\to\mathbb{Z}_+. The goal is to find a maximum-weight subset MEM\subseteq E of the edges satisfying the following two conditions: 1) the degree of each node vSTv\in S\cup T is at most b(v)b(v) in MM, 2) if sit,sjtMs_it,s_jt\in M, then ijd|i-j|\geq d. In the cyclic version of the problem, the nodes in SS are considered to be in cyclic order. We get back the \emph{(cyclic) dd-distance matching problem} when b(s)=1b(s) = 1 for sSs\in S and b(t)=b(t) = \infty for tTt\in T. We prove that the dd-distance matching problem is APX-hard even in the unweighted case. We show that (21d)(2-\frac{1}{d}) is a tight upper bound on the integrality gap of the natural integer programming model for the cyclic dd-distance bb-matching problem provided that (2d1)(2d-1) divides the size of SS. For the non-cyclic case, the integrality gap is shown to be at most (22d)(2-\frac{2}{d}). The proofs give approximation algorithms with guarantees matching these bounds, and also improve the best known algorithms for the (cyclic) dd-distance matching problem. In a related problem, our goal is to find a permutation of SS maximizing the weight of the optimal dd-distance bb-matching. This problem can be solved in polynomial time for the (cyclic) dd-distance matching problem -- even though the (cyclic) dd-distance matching problem itself is NP-hard and also hard to approximate arbitrarily. For (cyclic) dd-distance bb-matchings, however, we prove that finding the best permutation is NP-hard even if b2b\equiv 2 or d=2d=2, and we give ee-approximation algorithms
    corecore