Triangle partition problem Jian Li Sep,2005.  Proposed by Redstar in Algorithm board in Fudan BBS.  Motivated by some network design strategy.

Slides:



Advertisements
Similar presentations
Analysis of Algorithms
Advertisements

Approximation algorithms for geometric intersection graphs.
Great Theoretical Ideas in Computer Science
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
Greedy Algorithms Greed is good. (Some of the time)
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
1 NP-completeness Lecture 2: Jan P The class of problems that can be solved in polynomial time. e.g. gcd, shortest path, prime, etc. There are many.
Approximation Algorithms for TSP
NP-Complete Problems Polynomial time vs exponential time
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Introduction to Approximation Algorithms Lecture 12: Mar 1.
The Complexity of the Network Design Problem Networks, 1978 Classic Paper Reading
Realizability of Graphs Maria Belk and Robert Connelly.
P-Center & The Power of Graphs A part of the facility location problem set By Kiril Yershov and Alla Segal For Geometric Optimizations course Fall 2010.
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
1 Vertex Cover Problem Given a graph G=(V, E), find V' ⊆ V such that for each edge (u, v) ∈ E at least one of u and v belongs to V’ and |V’| is minimized.
The Theory of NP-Completeness
1 NP-Complete Problems Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph, the length.
Chapter 11: Limitations of Algorithmic Power
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Programming & Data Structures
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Great Theoretical Ideas in Computer Science.
Approximation Algorithms
CSC 413/513: Intro to Algorithms NP Completeness.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Minimum Spanning Trees CS 146 Prof. Sin-Min Lee Regina Wang.
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Spanning Tree Definition:A tree T is a spanning tree of a graph G if T is a subgraph of G that contains all of the vertices of G. A graph may have more.
CSE 589 Applied Algorithms Spring 1999 Prim’s Algorithm for MST Load Balance Spanning Tree Hamiltonian Path.
Trees.
More NP-Complete and NP-hard Problems
Mathematical Foundations of AI
Algorithms for Finding Distance-Edge-Colorings of Graphs
Proof technique (pigeonhole principle)
Graph Theory and Algorithm 02
Lecture 12 Algorithm Analysis
Greedy Algorithms / Minimum Spanning Tree Yin Tat Lee
Computability and Complexity
Analysis and design of algorithm
Approximation Algorithms for TSP
Richard Anderson Lecture 28 Coping with NP-Completeness
Introduction Wireless Ad-Hoc Network
Linear Programming Duality, Reductions, and Bipartite Matching
Chapter 11 Limitations of Algorithm Power
Lecture 12 CSE 331 Sep 26, 2011.
Haitao Wang Utah State University WADS 2017, St. John’s, Canada
Lecture 12 CSE 331 Sep 22, 2014.
The Theory of NP-Completeness
Clustering.
Lecture 12 Algorithm Analysis
Our old list of problems
Presentation transcript:

triangle partition problem Jian Li Sep,2005

 Proposed by Redstar in Algorithm board in Fudan BBS.  Motivated by some network design strategy.

Problem description  3n point in a metric space.  A triangle partition is to divide this 3n points into n point disjoint triangle.  GOAL: Obtain a triangle partition T to minimize max t 2 T { e 2 t len(e)}

NP-hard proof  Reduction from 3-partition problem  3-partition problem:  Given 3n integers. The question is whether we can partition them into n class, where each class contain exactly 3 integers, such that the sums of integers in each class are all the same.

 Reduction:  Create 3n nodes. Each node v i represent a integer a i.  Define the distance len(v i,v j )=a i +a j  It is easy to verify it is a metric len(v i,v j )+len(v j,v k ) · len(v i,v k )  We claim the {a 1 ………a 3n } admits a 3- partition if and only if max t 2 T { e 2 t len(e)} ·  i=1 3n ai/n

 But for euclidean case, I can ’ t prove it is in NP-hard or P

A failed attempt  If we have a polynomial algorithm to do the following thing, we can optimally solve the problem.(of course we can ’ t)  Suppose oracle A solve the following problem:For a graph G(V,E) with 3n vertice, can we partition it to vertice- disjoint triangle?

A failed attempt  Algorithm:  Sort the edges in an increasing order.  Begin with an empty graph, then add the edge one by one, then we call A to decide whether the current graph have a triangle partition.  However, A cant be polynomial time implemented because the problem is known as triangle packing problem and NPC.

 Is there a polymomial time algorithm to decide whether a graph can be packed using the vertices disjoint 2-length path.  If yes, we can get a good approximation for triangle partition problem. A promising way.

A simple constant approximation  ALGORITHM:  First construct a MST.  Sort the edge of the MST in increasing order.  Adding these edge one by one.  If in some stage, every component is of size a multiply of 3, stop adding edges.

 ALGO Cont.  the current graph is a forest.  Now for each tree of this forest with 3k vertice, we obtain a triangle partition as following.

 Use E to denote the max length of this tree  Root the tree at any vertice. First change the tree to its binary tree representation,with the max length of whose edge at most 2E.  For this binary tree, we construct the triangle partition in a bottom-up manner.

 Find the deepest vertex. The perimeter of the triangle · 2E+6E+8E=16E

 Suppose the last edge e ’ we add is of length L.  It is easy to show OPT ¸ 2L  Suppose e join two components S 1 and S 2 with size 3k 1 +1 and 3k  Then OPT must use at least 2 edge in (S 1 ), and by the property of MST, e’ is of min length in (S 1 ).

 So, SOL · 16L · 8OPT \qed  I believe a better approximation exist if we change the way to construct a triangle partition for a single tree.

 Note so far we are working on metric space, for euclidean case the thing may become better.  Some property may be useful  eg, for euclidean plane, there exist a MST with max-deg at most five.  Every angle in euclidean MST is at least 60.

Thanks~~~~~~~~~~~~ welcome to discuss the problem