The Maximum Independent Set Problem and Augmenting Graphs
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Towards Maximum Independent Sets on Massive Graphs
Towards Maximum Independent Sets on Massive Graphs Yu Liuy Jiaheng Lu x Hua Yangy Xiaokui Xiaoz Zhewei Weiy yDEKE, MOE and School of Information, Renmin University of China x Department of Computer Science, University of Helsinki, Finland zSchool of Computer Engineering, Nanyang Technological University, Singapore ABSTRACT Maximum independent set (MIS) is a fundamental problem in graph theory and it has important applications in many areas such as so- cial network analysis, graphical information systems and coding theory. The problem is NP-hard, and there has been numerous s- tudies on its approximate solutions. While successful to a certain degree, the existing methods require memory space at least linear in the size of the input graph. This has become a serious concern in !"#$!%&'!(#&)*+,+)*+)-#.+- /"#$!%&'0'#&)*+,+)*+)-#.+- view of the massive volume of today’s fast-growing graphs. Figure 1: An example to illustrate that fv , v g is a maximal inde- In this paper, we study the MIS problem under the semi-external 1 2 pendent set, but fv , v , v , v g is a maximum independent set. setting, which assumes that the main memory can accommodate 2 3 4 5 all vertices of the graph but not all edges. We present a greedy algorithm and a general vertex-swap framework, which swaps ver- duced subgraphs, minimum vertex covers, graph coloring, and tices to incrementally increase the size of independent sets. Our maximum common edge subgraphs, etc. Its significance is not solutions require only few sequential scans of graphs on the disk just limited to graph theory but also in numerous real-world ap- file, thus enabling in-memory computation without costly random plications, such as indexing techniques for shortest path and dis- disk accesses. -
Matroids You Have Known
26 MATHEMATICS MAGAZINE Matroids You Have Known DAVID L. NEEL Seattle University Seattle, Washington 98122 [email protected] NANCY ANN NEUDAUER Pacific University Forest Grove, Oregon 97116 nancy@pacificu.edu Anyone who has worked with matroids has come away with the conviction that matroids are one of the richest and most useful ideas of our day. —Gian Carlo Rota [10] Why matroids? Have you noticed hidden connections between seemingly unrelated mathematical ideas? Strange that finding roots of polynomials can tell us important things about how to solve certain ordinary differential equations, or that computing a determinant would have anything to do with finding solutions to a linear system of equations. But this is one of the charming features of mathematics—that disparate objects share similar traits. Properties like independence appear in many contexts. Do you find independence everywhere you look? In 1933, three Harvard Junior Fellows unified this recurring theme in mathematics by defining a new mathematical object that they dubbed matroid [4]. Matroids are everywhere, if only we knew how to look. What led those junior-fellows to matroids? The same thing that will lead us: Ma- troids arise from shared behaviors of vector spaces and graphs. We explore this natural motivation for the matroid through two examples and consider how properties of in- dependence surface. We first consider the two matroids arising from these examples, and later introduce three more that are probably less familiar. Delving deeper, we can find matroids in arrangements of hyperplanes, configurations of points, and geometric lattices, if your tastes run in that direction. -
Greedy Sequential Maximal Independent Set and Matching Are Parallel on Average
Greedy Sequential Maximal Independent Set and Matching are Parallel on Average Guy E. Blelloch Jeremy T. Fineman Julian Shun Carnegie Mellon University Georgetown University Carnegie Mellon University [email protected] jfi[email protected] [email protected] ABSTRACT edge represents the constraint that two tasks cannot run in parallel, the MIS finds a maximal set of tasks to run in parallel. Parallel al- The greedy sequential algorithm for maximal independent set (MIS) gorithms for the problem have been well studied [16, 17, 1, 12, 9, loops over the vertices in an arbitrary order adding a vertex to the 11, 10, 7, 4]. Luby’s randomized algorithm [17], for example, runs resulting set if and only if no previous neighboring vertex has been in O(log jV j) time on O(jEj) processors of a CRCW PRAM and added. In this loop, as in many sequential loops, each iterate will can be converted to run in linear work. The problem, however, is only depend on a subset of the previous iterates (i.e. knowing that that on a modest number of processors it is very hard for these par- any one of a vertex’s previous neighbors is in the MIS, or know- allel algorithms to outperform the very simple and fast sequential ing that it has no previous neighbors, is sufficient to decide its fate greedy algorithm. Furthermore the parallel algorithms give differ- one way or the other). This leads to a dependence structure among ent results than the sequential algorithm. This can be undesirable in the iterates. -
Fully Dynamic Maximal Independent Set with Polylogarithmic Update Time
2019 IEEE 60th Annual Symposium on Foundations of Computer Science (FOCS) Fully Dynamic Maximal Independent Set in Polylogarithmic Update Time Soheil Behnezhad∗, Mahsa Derakhshan∗, MohammadTaghi Hajiaghayi∗, Cliff Stein† and Madhu Sudan‡ ∗University of Maryland {soheil,mahsa,hajiagha}@cs.umd.edu †Columbia University [email protected] ‡Harvard University [email protected] Abstract— We present the first algorithm for maintaining a time. As such, one can trivially maintain MIS by recomput- maximal independent set (MIS) of a fully dynamic graph—which ing it from scratch after each update, in O(m) time. In a undergoes both edge insertions and deletions—in polylogarith- pioneering work, Censor-Hillel, Haramaty, and Karnin [15] mic time. Our algorithm is randomized and, per update, takes 2 2 O(log Δ · log n) expected time. Furthermore, the algorithm presented a round-efficient randomized algorithm for MIS in 2 4 can be adjusted to have O(log Δ · log n) worst-case update- dynamic distributed networks. Implementing the algorithm time with high probability. Here, n denotes the number of of [15] in the sequential setting—the focus of this paper— vertices and Δ is the maximum degree in the graph. requires Ω(Δ) update-time (see [15, Section 6]) where Δ The MIS problem in fully dynamic graphs has attracted sig- is the maximum-degree in the graph which can be as large nificant attention after a breakthrough result of Assadi, Onak, as Ω(n) or even Ω(m) for sparse graphs. Improving this Schieber, and Solomon [STOC’18] who presented an algorithm bound was one of the major problems the authors left 3/4 with O(m ) update-time (and thus broke the natural Ω(m) open. -
Maximum Induced Matching Algorithms Via Vertex Ordering Characterizations
Maximum Induced Matching Algorithms via Vertex Ordering Characterizations∗ Michel Habib1 and Lalla Mouatadid2 1 IRIF, CNRS & Université Paris Diderot, Paris, France & INRIA Paris, Gang project [email protected] 2 Department of Computer Science, University of Toronto, Toronto, ON, Canada [email protected] Abstract We study the maximum induced matching problem on a graph G. Induced matchings correspond to independent sets in L2(G), the square of the line graph of G. The problem is NP-complete on bipartite graphs. In this work, we show that for a number of graph families with forbidden vertex orderings, almost all forbidden patterns on three vertices are preserved when taking the square of the line graph. These orderings can be computed in linear time in the size of the input graph. In particular, given a graph class characterized by a vertex ordering, and a G graph G =(V,E) with a corresponding vertex ordering ‡ of V , one can produce (in linear œG time in the size of G) an ordering on the vertices of L2(G), that shows that L2(G) - for a œG number of graph classes - without computing the line graph or the square of the line graph of G. G These results generalize and unify previous ones on showing closure under L2( ) for various graph · families. Furthermore, these orderings on L2(G) can be exploited algorithmically to compute a maximum induced matching on G faster. We illustrate this latter fact in the second half of the paper where we focus on cocomparability graphs, a large graph class that includes interval, permutation, trapezoid graphs, and co-graphs, and we present the first (mn) time algorithm O to compute a maximum weighted induced matching on cocomparability graphs; an improvement from the best known (n4) time algorithm for the unweighted case. -
Minimum Dominating Set Approximation in Graphs of Bounded Arboricity
Minimum Dominating Set Approximation in Graphs of Bounded Arboricity Christoph Lenzen and Roger Wattenhofer Computer Engineering and Networks Laboratory (TIK) ETH Zurich {lenzen,wattenhofer}@tik.ee.ethz.ch Abstract. Since in general it is NP-hard to solve the minimum dominat- ing set problem even approximatively, a lot of work has been dedicated to central and distributed approximation algorithms on restricted graph classes. In this paper, we compromise between generality and efficiency by considering the problem on graphs of small arboricity a. These fam- ily includes, but is not limited to, graphs excluding fixed minors, such as planar graphs, graphs of (locally) bounded treewidth, or bounded genus. We give two viable distributed algorithms. Our first algorithm employs a forest decomposition, achieving a factor O(a2) approximation in randomized time O(log n). This algorithm can be transformed into a deterministic central routine computing a linear-time constant approxi- mation on a graph of bounded arboricity, without a priori knowledge on a. The second algorithm exhibits an approximation ratio of O(a log ∆), where ∆ is the maximum degree, but in turn is uniform and determinis- tic, and terminates after O(log ∆) rounds. A simple modification offers a trade-off between running time and approximation ratio, that is, for any parameter α ≥ 2, we can obtain an O(aα logα ∆)-approximation within O(logα ∆) rounds. 1 Introduction We are interested in the distributed complexity of the minimum dominating set (MDS) problem, a classic both in graph theory and distributed computing. Given a graph, a dominating set is a subset D of nodes such that each node in the graph is either in D, or has a direct neighbor in D. -
Bidimensionality and Kernels1,2
Bidimensionality and Kernels1;2 Fedor V. Fomin3;4;5 Daniel Lokshtanov6 Saket Saurabh3;7;8 Dimitrios M. Thilikos5;9;10 Abstract Bidimensionality Theory was introduced by [E. D. Demaine, F. V. Fomin, M. Hajiaghayi, and D. M. Thilikos. Subexponential parameterized algorithms on graphs of bounded genus and H-minor-free graphs, J. ACM, 52 (2005), pp. 866{893] as a tool to obtain sub-exponential time parameterized algorithms on H-minor-free graphs. In [E. D. Demaine and M. Haji- aghayi, Bidimensionality: new connections between FPT algorithms and PTASs, in Proceed- ings of the 16th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), SIAM, 2005, pp. 590{601] this theory was extended in order to obtain polynomial time approximation schemes (PTASs) for bidimensional problems. In this work, we establish a third meta-algorithmic direc- tion for bidimensionality theory by relating it to the existence of linear kernels for parameter- ized problems. In particular, we prove that every minor (respectively contraction) bidimensional problem that satisfies a separation property and is expressible in Countable Monadic Second Order Logic (CMSO), admits a linear kernel for classes of graphs that exclude a fixed graph (respectively an apex graph) H as a minor. Our results imply that a multitude of bidimensional problems admit linear kernels on the corresponding graph classes. For most of these problems no polynomial kernels on H-minor-free graphs were known prior to our work. Keywords: Kernelization, Parameterized algorithms, Treewidth, Bidimensionality 1Part of the results of this paper have appeared in [42]. arXiv:1606.05689v3 [cs.DS] 1 Sep 2020 2Emails of authors: [email protected], [email protected], [email protected]/[email protected], [email protected]. -
Maximal Independent Set
Maximal Independent Set Partha Sarathi Mandal Department of Mathematics IIT Guwahati Thanks to Dr. Stefan Schmid for the slides What is a MIS? MIS An independent set (IS) of an undirected graph is a subset U of nodes such that no two nodes in U are adjacent. An IS is maximal if no node can be added to U without violating IS (called MIS ). A maximum IS (called MaxIS ) is one of maximum cardinality. Known from „classic TCS“: applications? Backbone, parallelism, etc. Also building block to compute matchings and coloring! Complexities? MIS and MaxIS? Nothing, IS, MIS, MaxIS? IS but not MIS. Nothing, IS, MIS, MaxIS? Nothing. Nothing, IS, MIS, MaxIS? MIS. Nothing, IS, MIS, MaxIS? MaxIS. Complexities? MaxIS is NP-hard! So let‘s concentrate on MIS... How much worse can MIS be than MaxIS? MIS vs MaxIS How much worse can MIS be than MaxIS? minimal MIS? maxIS? MIS vs MaxIS How much worse can MIS be than Max-IS? minimal MIS? Maximum IS? How to compute a MIS in a distributed manner?! Recall: Local Algorithm Send... ... receive... ... compute. Slow MIS Slow MIS assume node IDs Each node v: 1. If all neighbors with larger IDs have decided not to join MIS then: v decides to join MIS Analysis? Analysis Time Complexity? Not faster than sequential algorithm! Worst-case example? E.g., sorted line: O(n) time. Local Computations? Fast! ☺ Message Complexity? For example in clique: O(n 2) (O(m) in general: each node needs to inform all neighbors when deciding.) MIS and Colorings Independent sets and colorings are related: how? Each color in a valid coloring constitutes an independent set (but not necessarily a MIS, and we must decide for which color to go beforehand , e.g., color 0!). -
Polynomial-Time Algorithms for the Longest Induced Path and Induced Disjoint Paths Problems on Graphs of Bounded Mim-Width∗†
Polynomial-Time Algorithms for the Longest Induced Path and Induced Disjoint Paths Problems on Graphs of Bounded Mim-Width∗† Lars Jaffke‡1, O-joung Kwon§2, and Jan Arne Telle3 1 Department of Informatics, University of Bergen, Norway [email protected] 2 Logic and Semantics, Technische Universität Berlin, Berlin, Germany [email protected] 3 Department of Informatics, University of Bergen, Norway [email protected] Abstract We give the first polynomial-time algorithms on graphs of bounded maximum induced matching width (mim-width) for problems that are not locally checkable. In particular, we give nO(w)-time algorithms on graphs of mim-width at most w, when given a decomposition, for the following problems: Longest Induced Path, Induced Disjoint Paths and H-Induced Topological Minor for fixed H. Our results imply that the following graph classes have polynomial-time algorithms for these three problems: Interval and Bi-Interval graphs, Circular Arc, Per- mutation and Circular Permutation graphs, Convex graphs, k-Trapezoid, Circular k-Trapezoid, k-Polygon, Dilworth-k and Co-k-Degenerate graphs for fixed k. 1998 ACM Subject Classification F.2.2 Nonnumerical Algorithms and Problems, Computations on discrete structures, G.2.2 Graph Theory, Graph algorithms Keywords and phrases graph width parameters, dynamic programming, graph classes, induced paths, induced topological minors Digital Object Identifier 10.4230/LIPIcs.IPEC.2017.21 1 Introduction Ever since the definition of the tree-width of graphs emerged from the Graph Minors project of Robertson and Seymour, bounded-width structural graph decompositions have been a successful tool in designing fast algorithms for graph classes on which the corresponding width-measure is small. -
Finding a Maximum Induced Matching in Weakly Chordal Graphs
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Discrete Mathematics 266 (2003) 133–142 www.elsevier.com/locate/disc Finding a maximum induced matching in weakly chordal graphs Kathie Camerona;1 , R. Sritharanb;2 , Yingwen Tangb aDepartment of Mathematics, Wilfrid Laurier University, Waterloo, Ont., Canada N2L 3C5 bComputer Science Department, University of Dayton, Dayton, OH 45469, USA Received 4 July 2001; received in revised form 7 May 2002; accepted 12 August 2002 Abstract An induced matching in a graph G is a set of edges, no two of which meet a common vertex or are joined by an edge of G; that is, an induced matching is a matching which forms an induced subgraph. It is known that ÿnding an induced matching of maximum cardinality in a graph is NP-hard. We show that a maximum induced matching in a weakly chordal graph can be found in polynomial time. This generalizes previously known results for the induced matching problem. This also demonstrates that the maximum induced matching problem in chordal bipartite graphs can be solved in polynomial time while the problem is known to be NP-hard for bipartite graphs in general. c 2003 Elsevier Science B.V. All rights reserved. Keywords: Induced matching; Strong matching; Strong edge-colouring; Strong chromatic index; Weakly chordal graphs; Interval-ÿlament graphs; Intersection graphs; Polynomial-time algorithm 1. Introduction A matching in a graph is a set of edges no two of which share an endpoint. An induced matching in a graph is a matching such that no two edges in the matching are joined by any third edge of the graph; that is, an induced matching is a matching which forms an induced subgraph. -
Combinatorial Optimization with Graph Convolutional Networks and Guided Tree Search
Combinatorial Optimization with Graph Convolutional Networks and Guided Tree Search Zhuwen Li Qifeng Chen Vladlen Koltun Intel Labs HKUST Intel Labs Abstract We present a learning-based approach to computing solutions for certain NP- hard problems. Our approach combines deep learning techniques with useful algorithmic elements from classic heuristics. The central component is a graph convolutional network that is trained to estimate the likelihood, for each vertex in a graph, of whether this vertex is part of the optimal solution. The network is designed and trained to synthesize a diverse set of solutions, which enables rapid exploration of the solution space via tree search. The presented approach is evaluated on four canonical NP-hard problems and five datasets, which include benchmark satisfiability problems and real social network graphs with up to a hundred thousand nodes. Experimental results demonstrate that the presented approach substantially outperforms recent deep learning work, and performs on par with highly optimized state-of-the-art heuristic solvers for some NP-hard problems. Experiments indicate that our approach generalizes across datasets, and scales to graphs that are orders of magnitude larger than those used during training. 1 Introduction Many of the most important algorithmic problems in computer science are NP-hard. But their worst-case complexity does not diminish their practical role in computing. NP-hard problems arise as a matter of course in computational social science, operations research, electrical engineering, and bioinformatics, and must be solved as well as possible, their worst-case complexity notwithstanding. This motivates vigorous research into the design of approximation algorithms and heuristic solvers. -
(1, K)-Swap Local Search for Maximum Clique Problem
(1, k)-Swap Local Search for Maximum Clique Problem LAVNIKEVICH N. Given simple undirected graph G = (V, E), the Maximum Clique Problem(MCP) is that of finding a maximum-cardinality subset Q of V such that any two vertices in Q are adjacent. We present a modified local search algorithm for this problem. Our algorithm build some maximal solution and can determine in polynomial time if a maximal solution can be improved by replacing a single vertex with k, k ≥ 2, others. We test our algorithms on DIMACS[5], Sloane[15], BHOSLIB[1], Iovanella[8] and our random instances. 1. Introduction Given an arbitrary simple(without loops and multiple edges) undirected graph G = (V, E). The order of a graph is number of vertices n =|V|, where V = {1, …, n} is vertex set. Two vertices v and u of a graph G may be adjacent or not. If two vertices v and u are adjacent they perform an edge e(v, u). All edges perform edges set E. A graph's size is the number of edges in the graph, |E|= m. The neighbourhood N(v) of a vertex v in a graph G consists of all vertices adjacent to v, N(v) = { u | u V, e(v, u) E }. By 푁̅(v) we will denote set of all vertices not adjacent with v, 푁̅ (v) = { u | u V, u ≠ v and e(v, u) E }. A complement of graph G is the graph 퐺 = (V, 퐸) where 퐸 = { (v, u) | v, u V, v ≠ u and (v, u) E }.