Construction We constructed the following graph: This graph has several nice properties: Diameter Two Graph Pebbling Tim Lewis 1, Dan Simpson 1, Sam Taggart.

Slides:



Advertisements
Similar presentations
P, NP, NP-Complete Problems
Advertisements

NP-Hard Nattee Niparnan.
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
Department of Computer Science & Engineering
The Theory of NP-Completeness
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity Theory CSE 331 Section 2 James Daly. Reminders Project 4 is out Due Friday Dynamic programming project Homework 6 is out Due next week (on.
February 23, 2015CS21 Lecture 201 CS21 Decidability and Tractability Lecture 20 February 23, 2015.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 21 Instructor: Paul Beame.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
The Theory of NP-Completeness
NP-Complete Problems Problems in Computer Science are classified into
Analysis of Algorithms CS 477/677
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
NP-complete examples CSC3130 Tutorial 11 Xiao Linfu Department of Computer Science & Engineering Fall 2009.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Chapter 11: Limitations of Algorithmic Power
Complexity Issues Mark Allen Weiss: Data Structures and Algorithm Analysis in Java Lydia Sinapova, Simpson College.
Clique Cover Cook’s Theorem 3SAT and Independent Set
Hardness Results for Problems
CSCE350 Algorithms and Data Structure
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Complexity Classes (Ch. 34) The class P: class of problems that can be solved in time that is polynomial in the size of the input, n. if input size is.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
TECH Computer Science NP-Complete Problems Problems  Abstract Problems  Decision Problem, Optimal value, Optimal solution  Encodings  //Data Structure.
CSC 172 P, NP, Etc. “Computer Science is a science of abstraction – creating the right model for thinking about a problem and devising the appropriate.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
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.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
Techniques for Proving NP-Completeness Show that a special case of the problem you are interested in is NP- complete. For example: The problem of finding.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
NP-Complete problems.
Instructor Neelima Gupta Table of Contents Class NP Class NPC Approximation Algorithms.
Design and Analysis of Algorithms - Chapter 101 Our old list of problems b Sorting b Searching b Shortest paths in a graph b Minimum spanning tree b Primality.
NP-Complete Problems Algorithm : Design & Analysis [23]
NP-Completeness (Nondeterministic Polynomial Completeness) Sushanth Sivaram Vallath & Z. Joseph.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
Fundamentals of Informatics Lecture 14 Intractability and NP-completeness Bas Luttik.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
NPC.
CS216: Program and Data Representation University of Virginia Computer Science Spring 2006 David Evans Lecture 8: Crash Course in Computational Complexity.
NP Completeness Piyush Kumar. Today Reductions Proving Lower Bounds revisited Decision and Optimization Problems SAT and 3-SAT P Vs NP Dealing with NP-Complete.
CSC 413/513: Intro to Algorithms
COMPLEXITY. Satisfiability(SAT) problem Conjunctive normal form(CNF): Let S be a Boolean expression in CNF. That is, S is the product(and) of several.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
COMPLEXITY. Satisfiability(SAT) problem Conjunctive normal form(CNF): Let S be a Boolean expression in CNF. That is, S is the product(and) of several.
1 The Theory of NP-Completeness 2 Review: Finding lower bound by problem transformation Problem X reduces to problem Y (X  Y ) iff X can be solved by.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Background/Motivation Abstract Tutorials Recording Acknowledgments Graph Games started as Pebble It, a game to solve one type of graph problem. The goal.
BackgroundAbstract For more information contact: Dr. Charles Cusack 233 VanderWerf Hall 27 Graves Place Holland, MI Phone: (616)
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Limitation of Computation Power – P, NP, and NP-complete
The NP class. NP-completeness
Richard Anderson Lecture 26 NP-Completeness
Richard Anderson Lecture 26 NP-Completeness
NP-Completeness Yin Tat Lee
ICS 353: Design and Analysis of Algorithms
NP-Complete Problems.
NP-Completeness Yin Tat Lee
Complexity Theory in Practice
A Few Sample Reductions
Lecture 24 Classical NP-hard Problems
Presentation transcript:

Construction We constructed the following graph: This graph has several nice properties: Diameter Two Graph Pebbling Tim Lewis 1, Dan Simpson 1, Sam Taggart 2, and Dr. Charles Cusack 1 For more information contact: Dr. Charles Cusack 233 VanderWerf Hall 27 Graves Place Holland, MI Phone: (616) FAX: (616) A pebbling move. What Is Graph Pebbling? A graph is a mathematical object comprised of vertices and edges connecting certain pairs of vertices. Graph pebbling is a mathematical Given a graph and a pebbling configuration, we can ask a few questions: The distance between vertices u and v is measured by counting the number of edges in the shortest path between u and v. The diameter of a graph is the greatest distance between any two of its vertices. A diameter two graph. game played on a graph. Some number of pebbles are placed the vertices. One can move a pebble from a vertex to a neighbor in the graph at the cost of one additional pebble from the source vertex. Can you get one pebble to the red vertex? If so, the vertex is said to be reachable. This problem is called REACHABLE, and is NP-complete. Is every vertex in the graph reachable? If so, it’s said to be solvable. This problem is called SOLVABLE, and it’s NP- complete. How many pebbles can you place on this graph before it’s guaranteed to be solvable? This number is called the pebbling number, and finding it is much harder than NP-complete. NP-complete is the class of decision (yes- or-no) problems that are: NP: given a solution to a problem in NP, we can verify that it is a solution relatively quickly (in polynomial time). NP-hard: they are at least as “hard” as every other problem in NP. “Yes” Instances “No” Instances “Yes” Instances “No” Instances Reduction By preserving “Yes” and “No” instances, a reduction from A to B allows us to use any algorithm that solves B to solve A. Pebble Bounds Converting to Diameter Two We can take a graph and transform it into a diameter two graph without changing the reachability of any vertex. Embed the graph into the one-element vertices of the above construction. This only works if no vertex in the original graph can get more than three pebbles. The above construction fulfills these requirements and has. vertices. We were able to improve on this a little and remove vertices from the construction and prove that this is best possible. Solving for n tells us that if a diameter two graph has more than vertices with two pebbles, then it must be solvable. Acknowledgements Computer Science Department at Hope College National Science Foundation k = 4 Note the added edges and missing vertices Two Reductions Restricted 3-SAT Variable Gadget Red=False Blue=True The Punch Line: Reachability in diameter two graphs is NP-complete. Using the chain of reductions, we were able to create a reduction from R3-SAT to REACHABLE in diameter two graphs. x 1 = False x 3 = True x 2 = True It is impossible to move three pebbles onto any vertex in this construction (Try it!). This lets us use another one of our constructions to make our reduction diameter two. 1: Hope College, 2: Oberlin College graph.computinggames.org Future Work Having obtained a tight bound on the number of vertices with two pebbles in an unsolvable diameter two graph, we would like to look into what sort of implications this bound has on the random graph pebbling. We suspect that this will yield results relating to the threshold of such graphs, but there is more work to be done. In the future, we intend to devise an algorithm to calculate the pebbling number of a graph. Currently we have an exhaustive algorithm to do this, but it is useful only for small graphs due to the massive amount of computation that must be done. By skipping configurations that are already known to be solvable, we should be able to implement an algorithm that will run many times faster while still accurately calculating the pebbling number. SymbolNameFunction VariableEither True or False. ORTrue if and only if at least one input is T. ANDTrue if and only if both inputs are T. NOTSwitches the value of its input. Boolean Algebra Example: Try to find an assignment of the variables that makes this expression true. This problem is called SATISFIABLE. It’s NP-complete, even when the expressions are comprised of clauses (containing variables, ORs, and NOTs) connected by ANDs. This restricted version is called R3-SAT. NP-completeness To prove that decision problem A is “harder” than decision problem B, we use a function called a reduction. The function takes instances of A to instances of B in a very particular way: Reductions are usually required to be computable in polynomial time, so an algorithm to quickly solve one NP-complete problem could be used to solve any of the others. No such algorithm has been found, and the question of whether or not such an algorithm even exists remains one of the most important questions in mathematics and computer science (P vs. NP). Examples of NP-complete problems: Traveling Salesman Crossword Puzzle Construction Graph Coloring Sudoku Bin Packing Tetris Diameter two Three pebbles can be placed on all but one of the one-element vertices and the graph is unsolvable. k = 5 We can turn an instance of R3-SAT into a REACHABLE problem. Each piece of the boolean expression will be turned into a graph structure: Vertices are labeled with the one- and two-element subsets of {1,…,k}. Vertices that share an element are connected with an edge. adjacent vertices If we take a graph and keep adding pebbles to it, eventually you will be guaranteed that the graph is solvable. What we wanted to know was for a diameter two graph, on how many vertices can you place two pebbles before the graph is guaranteed to be solvable. This problem is the same as finding the smallest diameter two graph with k vertices with two pebbles. This has applications in random pebbling distributions and pebbling thresholds. OR Gadget Input 1Input 2Input 3 Output The OR gadget places one pebble on the output when it gets at least one input. Target AND Gadget The AND gadget can place one pebble on the target only if it receives one pebble on each input node. Inputs