# On the Relationship between Classes P and NP

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Journal of Computer Science 8 (7): , 2012 ISSN Science Publications On the Relationship between Classes P and NP Anatoly D. Plotnikov Department of Computer Systems and Networks, Faculty of Mathematics and Computer Science, Dahl East-Ukrainian National University, Luhansk, 91034, Ukraine Abstract: Problem statement: In this study we discuss the relationship between the known classes P and NP. We show that the difficulties in solving problem P versus NP have methodological in nature. An algorithm for solving any problem is sensitive to even small changes in its formulation. Conclusion/Recommendations: As we will show in the study, these difficulties are exactly in the formulation of some problems of the class NP. We construct a class UF that contains P and that simultaneously is strictly contained in NP. Therefore, a new problem arises P versus UF. Key words: Class P, class NP, class UF, set-theoretic model, problem without foresight, problem that exponential in nature INTRODUCTION Unsuccessful attempts to develop an efficient (polynomial-time) algorithm for many practically important problems raised the question of the formalization of a class of problems that have been solved. This formalization led to the concept of the class NP-the class problems solvable by a nondeterministic Turing machine (Garey and Johnson, 1979). Eliminating from consideration the problems that obviously cannot be solved in polynomial time, is an important step in determining the class of problems for which it makes sense to look for an effective algorithm. It is such problems as finding a set of all subsets of a finite set, constructed of all independent sets of a graph. For practical purposes it is convenient to use the following definition of the class NP (Papadimitriou and Steiglitz, 1998). A problem Z belongs to the class NP if: The problem can be defined by a finite number n of symbols The problem solution can be represented by a finite number m of symbols, where m is a polynomial function of n: m = f (n) The time t for verifying the obtained solution is some polynomial functions of n: t = ϕ (n) Solution algorithms for problem Z NP is called effective if the solution of Z can be obtained in the polynomial number of steps of n. The set of problems of NP, having the polynomial-time solution algorithm, forms a class of P, where P NP. Unfortunately, there are the problems of NP, for which the effective solution algorithm is unknown. Analysis of the problems of the class NP shows that the main difficulty is the need to perform an exhaustive search of solution elements. The following questions arise: What causes are the exhaustive search? When it makes sense to seek an effective solution algorithm? These questions raise the problem of the relationship between classes P and NP that is, proving one of the relations: P = NP or P NP. Attempt to solve this problem is the subject of many works. A brief history of these attempts to solve this problem can be found at P-versus-NP page. In this study we show that the difficulties in solving problem of the relationship between classes P and NP have methodological in nature. As it is well known (Reingold et al., 1977). As it will show below, these difficulties are exactly in the formulation of problems of the class NP. To solve this problem, it is enough to formulate a question: whether the problem Z NP is solvable in this setting? We specify the properties problems of NP, that require a complete inspection of the elements of the solution and we determine the class of problems of NP, for which it is reasonable to seek an effective solution algorithm. Then the other problem of NP is defined as Each problem of NP is solvable in the classical sense, since it can be solved by a deterministic Turing machine (Erusalimsky, 2000; Garey and Johnson, 1979). the exponential in nature. Consequently, for such 1036

2 problems, finding an effective solution algorithm does not make sense in the current statement. Mathematical models: Let R is a finite set and Q = {R 1, R 2,, R m } is a family of nonempty subsets of R. A pair (R, Q), satisfying the property Eq. 1: if R1 Q and R 2 R1 then R 2 Q (1) is called a hereditary system, or an independent system. Let a problem Z, belonging to the class NP, is given to a Then, each of the subsets of R j Q( j = 1,2,...,m ) is called an admissible solution of the problem Z and every maximal respect to inclusion R j is called support solution of the problem. In the problem Z it is required to find a support solution that satisfies the given conditions. The most important question that arises in the process of solving the problem, consists in determining the membership of any subset of R k R to the set of admissible solutions of Q. Consider some examples of such problems. Satisfiability problem (SAT): Let π is a Boolean function over n variables x 1,...,x n, represented in conjunctive normal form, i.e., π is a conjunction of clauses. It is required to find a satisfying assignment of variables, i.e., such that π is true. Let R is the set of literals r, where r is either x i or x i (i = 1,n), belonging to some clause of the π. Then the set of admissible solutions Q contains such a subset of set R, each of which has literals of some clauses of π. To solve the question R j Q? (R j R), it needs to determine that: the subset of R j contains no alternative literal, that is, a variable x i or x i simultaneously there are clauses of π, containing together all literals from a subset R j (that is, the subset R j covers some of the clauses of the π) It is clear that the SAT problem is defined on a The Hamiltonian cycle problem: Let G = (V, E) is n- vertex undirected graph. It is required to find a cycle of graph edges of G, which includes each of n vertices exactly once. We show that this problem is also defined on a J. Computer Sci., 8 (7): , 2012 Let S is the set of Hamiltonian cycles R* of G. Denote a set Q of subsets of edges of R j (j = 1, 2,, m) of E such that R j Q, if and only if R j R*, (R* S). Obviously, to answer on the question R j Q? it needs to determine that: A subset of R j does not induce the subgraph whose vertices has degrees more than two There exists a Hamiltonian cycle of R* S such that R j R* Clearly, the two (E, Q) are a Let (R, Q) is a Let, further, w(r i ) (i = 1,n ) is an integer, called the weight of element r i R. For each R j Q we define the sum: ( j ) w ( r) w R = r R j This sum is called a weight of the subset R j. Suppose we want to find R* Q, which has the maximum weight. In this case, we have formulated the optimization problem. The Maximum Independent Set problem (MMIS): Let G = (V, E) is a n-vertex undirected graph. It is required to find a subset V* V, which has the maximum number of vertices such that each pair of vertices in V* is not adjacent in G. We establish that this problem is also defined on a Any subset of R j V is called independent if every two vertices of R j are non-adjacent. Let Q is the set of all independent sets of G. It is easy to see that the pair (V, Q) is a In this problem, we have the weight w(r j ) = Card(R j ) for any R j Q. To solve the problem R j Q? (R j V) it is sufficient to show that the vertices of Rj are pairwise non-adjacent. It follows from the above examples that the problem of the class NP should be considered as a four (R, Q, P, f), where R is the set of all elements of the solution, Q is the set of admissible solutions of the problem, P is the system of predicates which determine that a R j R is an admissible solution, i.e., R j Q and f is the map: R j W that defines the weight of the admissible solution. In the future, we believe that if (R j ) can be computed in polynomial time from value Card (R j ). Thus, we have defined a set-theoretic model of a problem of NP. In computational complexity theory, each problem of NP is considered as problem 1037

4 each next admissible solution of Z can be found in the polynomial time. Since Q for any problem Z UF and the support solution contains no more than p (n) of elements, where n is the dimension of the problem and p (n) is a polynomial, this implies the polynomial time of building the support solution. On the other hand, let there be the problem Z NP is such which solvable in the polynomial time. Assume that Z UF. In this case, there exists at least one admissible solution of Z, found at the exponential time. By condition of Theorem 3, the support solution of problem Z UF is found in the polynomial time. We have a contradiction of Theorems 1 and 2. Thus, the class UF induced problems of NP for which the support solution can be constructed in the polynomial time. In common cases, each support solution is not the desired solution of the problem. Theorem 4: UF NP and UF NP. Proof: By definition, UF NP. Definition of problems in the class NP does not exclude such problems, for which the verification (obtaining) some intermediate results may require exponential time. In problems of the class UF all the intermediate results can be obtained only in polynomial time. Therefore, UF NP. Taking into account Theorems 3 and 4, we have the following result. Corollary 1: P UF and P NP. Using our terminology, we can reformulate the third item in the definition of the class NP as follows. Time t for verifying the obtained support solution is some polynomial function from n: t = ϕ(n). Then we have following definition of the class UF. A problem Z belongs to a class UF If: The problem can be defined by a finite number n of symbols The problem solution can be represented by a finite number m of symbols, where m is a polynomial function of n: m = f (n) The time t for verifying any admissible and finite solution is some polynomial functions of n: t = ϕ(n) J. Computer Sci., 8 (7): , 2012 admissible solutions is exponential, i.e., requires a lot of exhaustive search. Thus, the class NP includes all problems of the class UF. It is easy to see that the class of P is entirely in the class UF. Thus, a direct answer to the problem of P vs NP consists in the fact that the class P is not equal to the class NP. CONCLUSION When the question of the relationship between classes P and NP was formulated, many researchers believed that this will solve the problem with the possibility to develop (or not) an effective (polynomialtime) algorithm for all problems of the class NP. However, we found that the existing definition of class NP is redundant, i.e., It allows including in this class of problems that are exponential in nature. As we earlier removed the problems with exponential length solutions from the class NP, now, we remove from the class of NP the problems that are exponential in nature. In other words, it is expedient to focus on the study of problems without foresight (the class UF) for searching an effective solution algorithm. However, in this case, we have two questions. The first question concerns the problems which are exponential in nature. We see that such practical important problems as the Hamiltonian cycle problem (in the current formulation) cannot be solved effectively. However, it is necessary take into account that the set of problems without the foresight includes such NP-complete problems as the satisfiability problem and the maximum independent set problem. However, every problem of the class NP can be reduced to some (NP-complete) problem without foresign in the polynomial time, for example, to the satisfiability problem (Garey and Johnson, 1979). Such reduction can be considered as a reformulation of the relevant problem that is exponential in nature into the problem without the foresight. The second question consists that we must be reformulated the old problem of P vs NP into a new one, namely: P vs UF. Thus, unfortunately, the elucidation of the relationship between classes P and NP does not answer to the question about the possibility of effectively solving problems as the class NP and the class UF. We just found that the lack of an existing definition of the class NP consists that we do not determine the polynomial time by checking the truth of the predicate P for the problem (R, Q, P, f) NP. To have a hope for constructing effective solution As we can see the definition of the class UF differs from the definition of the class NP only the third item. The definition of the class NP wider than the problems of the class UF since the class NP can includes and objectives for which the time for verifying any algorithm, we need to consider the problem of the class 1039

5 J. Computer Sci., 8 (7): , 2012 UF. Obviously, that the determining properties of these problems is a possibility to construct a support solution in the polynomial time. If the problems Z 1 is out the class UF then we must reduce it into a Z 2 from UF, the global solution of which is also a global solution Z 1. Sometimes we cannot say that a problem belongs to UF or not. In this case, we have little knowledge about this problem to determine its existence in the class UF. Then it is expedient to suspect that the problem lies outside of the class UF. REFERENCES Aho, A.V., J.E. Hopcroft and J.D. Ullman, The Design and Analysis of Computer Algorithms. 1st Edn., Addison-Wesley Publishing, New York, pp: 470. Erusalimsky, J.M., Discrete Mathematics (in Russian). 1st Edn., Vuzovskaya Kniga, Moscow, pp: 280. Garey, M.R. and D.S. Johnson, Computers and Intractability: A Guide to the Theory of NP- Completeness. 1st Edn., W.H. Freeman, San Francisco, ISBN-10: , pp: 338. Papadimitriou, C.H. and K. Steiglitz, Combinatorial Optimization: Algorithms and Complexity. 1st Edn., Courier Dover Publications, Mineola, New York, ISBN-10: , pp: 496. Plotnikov, A., Problems of the Class NP: Research and Simulating. 1st Edn., LAP Lambert Academic Publishing, Saarbrucken, ISBN-10: , pp: 152. Plotnikov, A.D., Clarifying the class of problems solved by a non-deterministic Turing machine. J. Cybernetics Syst. Anal., 5: Plotnikov, A.D., A class of problems of NP to be worth to search an efficient solving algorithm. Cornell University Library. Reingold, E.M., J. Nievergelt and N. Deo, Combinatorial Algorithms: Theory and Practice. 1st Edn., Prentice-Hall Inc., New Jersey, ISBN-10: X, pp: 433. Tucker, A.B., The Computer Science and Engineering Handbook. 1st Edn., CRC-Press, Inc., Boca Raton, Florida, ISBN-10: , pp:

### Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Now that we have a basic understanding

### 1. Nondeterministically guess a solution (called a certificate) 2. Check whether the solution solves the problem (called verification)

Some N P problems Computer scientists have studied many N P problems, that is, problems that can be solved nondeterministically in polynomial time. Traditionally complexity question are studied as languages:

### The Classes P and NP

The Classes P and NP We now shift gears slightly and restrict our attention to the examination of two families of problems which are very important to computer scientists. These families constitute the

### Page 1. CSCE 310J Data Structures & Algorithms. CSCE 310J Data Structures & Algorithms. P, NP, and NP-Complete. Polynomial-Time Algorithms

CSCE 310J Data Structures & Algorithms P, NP, and NP-Complete Dr. Steve Goddard goddard@cse.unl.edu CSCE 310J Data Structures & Algorithms Giving credit where credit is due:» Most of the lecture notes

### Lecture 7: NP-Complete Problems

IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Basic Course on Computational Complexity Lecture 7: NP-Complete Problems David Mix Barrington and Alexis Maciel July 25, 2000 1. Circuit

### NP-complete? NP-hard? Some Foundations of Complexity. Prof. Sven Hartmann Clausthal University of Technology Department of Informatics

NP-complete? NP-hard? Some Foundations of Complexity Prof. Sven Hartmann Clausthal University of Technology Department of Informatics Tractability of Problems Some problems are undecidable: no computer

### P versus NP, and More

1 P versus NP, and More Great Ideas in Theoretical Computer Science Saarland University, Summer 2014 If you have tried to solve a crossword puzzle, you know that it is much harder to solve it than to verify

### Computational complexity theory

Computational complexity theory Goal: A general theory of the resources needed to solve computational problems What types of resources? Time What types of computational problems? decision problem Decision

### NP-Completeness. CptS 223 Advanced Data Structures. Larry Holder School of Electrical Engineering and Computer Science Washington State University

NP-Completeness CptS 223 Advanced Data Structures Larry Holder School of Electrical Engineering and Computer Science Washington State University 1 Hard Graph Problems Hard means no known solutions with

### JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS. Received December May 12, 2003; revised February 5, 2004

Scientiae Mathematicae Japonicae Online, Vol. 10, (2004), 431 437 431 JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS Ondřej Čepeka and Shao Chin Sung b Received December May 12, 2003; revised February

### Tutorial 8. NP-Complete Problems

Tutorial 8 NP-Complete Problems Decision Problem Statement of a decision problem Part 1: instance description defining the input Part 2: question stating the actual yesor-no question A decision problem

### OHJ-2306 Introduction to Theoretical Computer Science, Fall 2012 8.11.2012

276 The P vs. NP problem is a major unsolved problem in computer science It is one of the seven Millennium Prize Problems selected by the Clay Mathematics Institute to carry a \$ 1,000,000 prize for the

### Computer Algorithms. NP-Complete Problems. CISC 4080 Yanjun Li

Computer Algorithms NP-Complete Problems NP-completeness The quest for efficient algorithms is about finding clever ways to bypass the process of exhaustive search, using clues from the input in order

### Theoretical Computer Science (Bridging Course) Complexity

Theoretical Computer Science (Bridging Course) Complexity Gian Diego Tipaldi A scenario You are a programmer working for a logistics company Your boss asks you to implement a program that optimizes the

### Finding the Shortest Move-Sequence in the Graph-Generalized 15-Puzzle is NP-Hard

Finding the Shortest Move-Sequence in the Graph-Generalized 15-Puzzle is NP-Hard Oded Goldreich Abstract. Following Wilson (J. Comb. Th. (B), 1975), Johnson (J. of Alg., 1983), and Kornhauser, Miller and

### Complexity Classes P and NP

Complexity Classes P and NP MATH 3220 Supplemental Presentation by John Aleshunas The cure for boredom is curiosity. There is no cure for curiosity Dorothy Parker Computational Complexity Theory In computer

### Why? A central concept in Computer Science. Algorithms are ubiquitous.

Analysis of Algorithms: A Brief Introduction Why? A central concept in Computer Science. Algorithms are ubiquitous. Using the Internet (sending email, transferring files, use of search engines, online

### A Working Knowledge of Computational Complexity for an Optimizer

A Working Knowledge of Computational Complexity for an Optimizer ORF 363/COS 323 Instructor: Amir Ali Ahmadi TAs: Y. Chen, G. Hall, J. Ye Fall 2014 1 Why computational complexity? What is computational

### On the k-path cover problem for cacti

On the k-path cover problem for cacti Zemin Jin and Xueliang Li Center for Combinatorics and LPMC Nankai University Tianjin 300071, P.R. China zeminjin@eyou.com, x.li@eyou.com Abstract In this paper we

### Introduction to Algorithms. Part 3: P, NP Hard Problems

Introduction to Algorithms Part 3: P, NP Hard Problems 1) Polynomial Time: P and NP 2) NP-Completeness 3) Dealing with Hard Problems 4) Lower Bounds 5) Books c Wayne Goddard, Clemson University, 2004 Chapter

### NP-Completeness and Cook s Theorem

NP-Completeness and Cook s Theorem Lecture notes for COM3412 Logic and Computation 15th January 2002 1 NP decision problems The decision problem D L for a formal language L Σ is the computational task:

### CSC 373: Algorithm Design and Analysis Lecture 16

CSC 373: Algorithm Design and Analysis Lecture 16 Allan Borodin February 25, 2013 Some materials are from Stephen Cook s IIT talk and Keven Wayne s slides. 1 / 17 Announcements and Outline Announcements

### Generating models of a matched formula with a polynomial delay

Generating models of a matched formula with a polynomial delay Petr Savicky Institute of Computer Science, Academy of Sciences of Czech Republic, Pod Vodárenskou Věží 2, 182 07 Praha 8, Czech Republic

### NP-completeness and the real world. NP completeness. NP-completeness and the real world (2) NP-completeness and the real world

-completeness and the real world completeness Course Discrete Biological Models (Modelli Biologici Discreti) Zsuzsanna Lipták Imagine you are working for a biotech company. One day your boss calls you

### CAD Algorithms. P and NP

CAD Algorithms The Classes P and NP Mohammad Tehranipoor ECE Department 6 September 2010 1 P and NP P and NP are two families of problems. P is a class which contains all of the problems we solve using

### Degree Hypergroupoids Associated with Hypergraphs

Filomat 8:1 (014), 119 19 DOI 10.98/FIL1401119F Published by Faculty of Sciences and Mathematics, University of Niš, Serbia Available at: http://www.pmf.ni.ac.rs/filomat Degree Hypergroupoids Associated

### Cloud Computing is NP-Complete

Working Paper, February 2, 20 Joe Weinman Permalink: http://www.joeweinman.com/resources/joe_weinman_cloud_computing_is_np-complete.pdf Abstract Cloud computing is a rapidly emerging paradigm for computing,

### SEQUENCES OF MAXIMAL DEGREE VERTICES IN GRAPHS. Nickolay Khadzhiivanov, Nedyalko Nenov

Serdica Math. J. 30 (2004), 95 102 SEQUENCES OF MAXIMAL DEGREE VERTICES IN GRAPHS Nickolay Khadzhiivanov, Nedyalko Nenov Communicated by V. Drensky Abstract. Let Γ(M) where M V (G) be the set of all vertices

### Determination of the normalization level of database schemas through equivalence classes of attributes

Computer Science Journal of Moldova, vol.17, no.2(50), 2009 Determination of the normalization level of database schemas through equivalence classes of attributes Cotelea Vitalie Abstract In this paper,

### Exponential time algorithms for graph coloring

Exponential time algorithms for graph coloring Uriel Feige Lecture notes, March 14, 2011 1 Introduction Let [n] denote the set {1,..., k}. A k-labeling of vertices of a graph G(V, E) is a function V [k].

### Discrete Mathematics & Mathematical Reasoning Chapter 10: Graphs

Discrete Mathematics & Mathematical Reasoning Chapter 10: Graphs Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 13 Overview Graphs and Graph

### Bicolored Shortest Paths in Graphs with Applications to Network Overlay Design

Bicolored Shortest Paths in Graphs with Applications to Network Overlay Design Hongsik Choi and Hyeong-Ah Choi Department of Electrical Engineering and Computer Science George Washington University Washington,

### MINIMAL BOOKS OF RATIONALES

MINIMAL BOOKS OF RATIONALES José Apesteguía Miguel A. Ballester D.T.2005/01 MINIMAL BOOKS OF RATIONALES JOSE APESTEGUIA AND MIGUEL A. BALLESTER Abstract. Kalai, Rubinstein, and Spiegler (2002) propose

### The Classes P and NP. mohamed@elwakil.net

Intractable Problems The Classes P and NP Mohamed M. El Wakil mohamed@elwakil.net 1 Agenda 1. What is a problem? 2. Decidable or not? 3. The P class 4. The NP Class 5. TheNP Complete class 2 What is a

### Introduction to NP-Completeness Written and copyright c by Jie Wang 1

91.502 Foundations of Comuter Science 1 Introduction to Written and coyright c by Jie Wang 1 We use time-bounded (deterministic and nondeterministic) Turing machines to study comutational comlexity of

### Notes on NP Completeness

Notes on NP Completeness Rich Schwartz November 10, 2013 1 Overview Here are some notes which I wrote to try to understand what NP completeness means. Most of these notes are taken from Appendix B in Douglas

### 1 Definitions. Supplementary Material for: Digraphs. Concept graphs

Supplementary Material for: van Rooij, I., Evans, P., Müller, M., Gedge, J. & Wareham, T. (2008). Identifying Sources of Intractability in Cognitive Models: An Illustration using Analogical Structure Mapping.

### Chapter 1. NP Completeness I. 1.1. Introduction. By Sariel Har-Peled, December 30, 2014 1 Version: 1.05

Chapter 1 NP Completeness I By Sariel Har-Peled, December 30, 2014 1 Version: 1.05 "Then you must begin a reading program immediately so that you man understand the crises of our age," Ignatius said solemnly.

### Diagonalization. Ahto Buldas. Lecture 3 of Complexity Theory October 8, 2009. Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach.

Diagonalization Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach. Ahto Buldas Ahto.Buldas@ut.ee Background One basic goal in complexity theory is to separate interesting complexity

### Class One: Degree Sequences

Class One: Degree Sequences For our purposes a graph is a just a bunch of points, called vertices, together with lines or curves, called edges, joining certain pairs of vertices. Three small examples of

### Notes on Complexity Theory Last updated: August, 2011. Lecture 1

Notes on Complexity Theory Last updated: August, 2011 Jonathan Katz Lecture 1 1 Turing Machines I assume that most students have encountered Turing machines before. (Students who have not may want to look

### Perfect Code is W[1]-complete

Information Processing Letters 81 (2002) 163 168 Perfect Code is W[1]-complete Marco Cesati Department of Computer Science, Systems, and Industrial Engineering, University of Rome Tor Vergata, via di Tor

### Introduction to Algorithms Review information for Prelim 1 CS 4820, Spring 2010 Distributed Wednesday, February 24

Introduction to Algorithms Review information for Prelim 1 CS 4820, Spring 2010 Distributed Wednesday, February 24 The final exam will cover seven topics. 1. greedy algorithms 2. divide-and-conquer algorithms

### Complexity and Completeness of Finding Another Solution and Its Application to Puzzles

yato@is.s.u-tokyo.ac.jp seta@is.s.u-tokyo.ac.jp Π (ASP) Π x s x s ASP Ueda Nagao n n-asp parsimonious ASP ASP NP Complexity and Completeness of Finding Another Solution and Its Application to Puzzles Takayuki

### Small Maximal Independent Sets and Faster Exact Graph Coloring

Small Maximal Independent Sets and Faster Exact Graph Coloring David Eppstein Univ. of California, Irvine Dept. of Information and Computer Science The Exact Graph Coloring Problem: Given an undirected

### Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar

Complexity Theory IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Outline Goals Computation of Problems Concepts and Definitions Complexity Classes and Problems Polynomial Time Reductions Examples

### One last point: we started off this book by introducing another famously hard search problem:

S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani 261 Factoring One last point: we started off this book by introducing another famously hard search problem: FACTORING, the task of finding all prime factors

### Approximated Distributed Minimum Vertex Cover Algorithms for Bounded Degree Graphs

Approximated Distributed Minimum Vertex Cover Algorithms for Bounded Degree Graphs Yong Zhang 1.2, Francis Y.L. Chin 2, and Hing-Fung Ting 2 1 College of Mathematics and Computer Science, Hebei University,

### ON THE COMPLEXITY OF THE GAME OF SET. {kamalika,pbg,dratajcz,hoeteck}@cs.berkeley.edu

ON THE COMPLEXITY OF THE GAME OF SET KAMALIKA CHAUDHURI, BRIGHTEN GODFREY, DAVID RATAJCZAK, AND HOETECK WEE {kamalika,pbg,dratajcz,hoeteck}@cs.berkeley.edu ABSTRACT. Set R is a card game played with a

### Chapter. NP-Completeness. Contents

Chapter 13 NP-Completeness Contents 13.1 P and NP......................... 593 13.1.1 Defining the Complexity Classes P and NP...594 13.1.2 Some Interesting Problems in NP.......... 597 13.2 NP-Completeness....................

### R u t c o r Research R e p o r t. Boolean functions with a simple certificate for CNF complexity. Ondřej Čepeka Petr Kučera b Petr Savický c

R u t c o r Research R e p o r t Boolean functions with a simple certificate for CNF complexity Ondřej Čepeka Petr Kučera b Petr Savický c RRR 2-2010, January 24, 2010 RUTCOR Rutgers Center for Operations

### Outline. NP-completeness. When is a problem easy? When is a problem hard? Today. Euler Circuits

Outline NP-completeness Examples of Easy vs. Hard problems Euler circuit vs. Hamiltonian circuit Shortest Path vs. Longest Path 2-pairs sum vs. general Subset Sum Reducing one problem to another Clique

### Introduction to computer science

Introduction to computer science Michael A. Nielsen University of Queensland Goals: 1. Introduce the notion of the computational complexity of a problem, and define the major computational complexity classes.

### Boulder Dash is NP hard

Boulder Dash is NP hard Marzio De Biasi marziodebiasi [at] gmail [dot] com December 2011 Version 0.01:... now the difficult part: is it NP? Abstract Boulder Dash is a videogame created by Peter Liepa and

### The P versus NP Solution

The P versus NP Solution Frank Vega To cite this version: Frank Vega. The P versus NP Solution. 2015. HAL Id: hal-01143424 https://hal.archives-ouvertes.fr/hal-01143424 Submitted on 17 Apr

### NP-Completeness I. Lecture 19. 19.1 Overview. 19.2 Introduction: Reduction and Expressiveness

Lecture 19 NP-Completeness I 19.1 Overview In the past few lectures we have looked at increasingly more expressive problems that we were able to solve using efficient algorithms. In this lecture we introduce

### Cycles in a Graph Whose Lengths Differ by One or Two

Cycles in a Graph Whose Lengths Differ by One or Two J. A. Bondy 1 and A. Vince 2 1 LABORATOIRE DE MATHÉMATIQUES DISCRÉTES UNIVERSITÉ CLAUDE-BERNARD LYON 1 69622 VILLEURBANNE, FRANCE 2 DEPARTMENT OF MATHEMATICS

### Cycle transversals in bounded degree graphs

Electronic Notes in Discrete Mathematics 35 (2009) 189 195 www.elsevier.com/locate/endm Cycle transversals in bounded degree graphs M. Groshaus a,2,3 P. Hell b,3 S. Klein c,1,3 L. T. Nogueira d,1,3 F.

### On Integer Additive Set-Indexers of Graphs

On Integer Additive Set-Indexers of Graphs arxiv:1312.7672v4 [math.co] 2 Mar 2014 N K Sudev and K A Germina Abstract A set-indexer of a graph G is an injective set-valued function f : V (G) 2 X such that

### Welcome to... Problem Analysis and Complexity Theory 716.054, 3 VU

Welcome to... Problem Analysis and Complexity Theory 716.054, 3 VU Birgit Vogtenhuber Institute for Software Technology email: bvogt@ist.tugraz.at office hour: Tuesday 10:30 11:30 slides: http://www.ist.tugraz.at/pact.html

### Regular Languages and Finite Automata

Regular Languages and Finite Automata 1 Introduction Hing Leung Department of Computer Science New Mexico State University Sep 16, 2010 In 1943, McCulloch and Pitts [4] published a pioneering work on a

### 136 CHAPTER 4. INDUCTION, GRAPHS AND TREES

136 TER 4. INDUCTION, GRHS ND TREES 4.3 Graphs In this chapter we introduce a fundamental structural idea of discrete mathematics, that of a graph. Many situations in the applications of discrete mathematics

### Discuss the size of the instance for the minimum spanning tree problem.

3.1 Algorithm complexity The algorithms A, B are given. The former has complexity O(n 2 ), the latter O(2 n ), where n is the size of the instance. Let n A 0 be the size of the largest instance that can

### MATHEMATICS: CONCEPTS, AND FOUNDATIONS Vol. III - Logic and Computer Science - Phokion G. Kolaitis

LOGIC AND COMPUTER SCIENCE Phokion G. Kolaitis Computer Science Department, University of California, Santa Cruz, CA 95064, USA Keywords: algorithm, Armstrong s axioms, complete problem, complexity class,

### The Congestion of n-cube Layout on a Rectangular Grid

The Congestion of n-cube Layout on a Rectangular Grid S.L. Bezrukov J.D. Chavez L.H. Harper M. Röttger U.-P. Schroeder Abstract We consider the problem of embedding the n-dimensional cube into a rectangular

### Solutions to Exercises 8

Discrete Mathematics Lent 2009 MA210 Solutions to Exercises 8 (1) Suppose that G is a graph in which every vertex has degree at least k, where k 1, and in which every cycle contains at least 4 vertices.

### Quantum and Non-deterministic computers facing NP-completeness

Quantum and Non-deterministic computers facing NP-completeness Thibaut University of Vienna Dept. of Business Administration Austria Vienna January 29th, 2013 Some pictures come from Wikipedia Introduction

### ARTICLE IN PRESS. European Journal of Operational Research xxx (2004) xxx xxx. Discrete Optimization. Nan Kong, Andrew J.

A factor 1 European Journal of Operational Research xxx (00) xxx xxx Discrete Optimization approximation algorithm for two-stage stochastic matching problems Nan Kong, Andrew J. Schaefer * Department of

### Partitioning edge-coloured complete graphs into monochromatic cycles and paths

arxiv:1205.5492v1 [math.co] 24 May 2012 Partitioning edge-coloured complete graphs into monochromatic cycles and paths Alexey Pokrovskiy Departement of Mathematics, London School of Economics and Political

### A logical approach to dynamic role-based access control

A logical approach to dynamic role-based access control Philippe Balbiani Yannick Chevalier Marwa El Houri Abstract Since its formalization RBAC has become the yardstick for the evaluation of access control

### Best Monotone Degree Bounds for Various Graph Parameters

Best Monotone Degree Bounds for Various Graph Parameters D. Bauer Department of Mathematical Sciences Stevens Institute of Technology Hoboken, NJ 07030 S. L. Hakimi Department of Electrical and Computer

### SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH

31 Kragujevac J. Math. 25 (2003) 31 49. SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH Kinkar Ch. Das Department of Mathematics, Indian Institute of Technology, Kharagpur 721302, W.B.,

### SIMS 255 Foundations of Software Design. Complexity and NP-completeness

SIMS 255 Foundations of Software Design Complexity and NP-completeness Matt Welsh November 29, 2001 mdw@cs.berkeley.edu 1 Outline Complexity of algorithms Space and time complexity ``Big O'' notation Complexity

### M.S. Ibrahim 1*, N. Maculan 2 and M. Minoux 3

Pesquisa Operacional (2014) 34(1): 117-124 2014 Brazilian Operations Research Society Printed version ISSN 0101-7438 / Online version ISSN 1678-5142 www.scielo.br/pope A NOTE ON THE NP-HARDNESS OF THE

### CHAPTER 7 GENERAL PROOF SYSTEMS

CHAPTER 7 GENERAL PROOF SYSTEMS 1 Introduction Proof systems are built to prove statements. They can be thought as an inference machine with special statements, called provable statements, or sometimes

### 2.3 Scheduling jobs on identical parallel machines

2.3 Scheduling jobs on identical parallel machines There are jobs to be processed, and there are identical machines (running in parallel) to which each job may be assigned Each job = 1,,, must be processed

### Types of Degrees in Bipolar Fuzzy Graphs

pplied Mathematical Sciences, Vol. 7, 2013, no. 98, 4857-4866 HIKRI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2013.37389 Types of Degrees in Bipolar Fuzzy Graphs Basheer hamed Mohideen Department

### Offline 1-Minesweeper is NP-complete

Offline 1-Minesweeper is NP-complete James D. Fix Brandon McPhail May 24 Abstract We use Minesweeper to illustrate NP-completeness proofs, arguments that establish the hardness of solving certain problems.

### Steiner Tree NP-completeness Proof

Steiner Tree NP-completeness Proof Alessandro Santuari May 7, 2003 Abstract This document is an eercise for the Computational Compleity course taken at the University of Trento. We propose an NP-completeness

Approximation Algorithms Chapter Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should I do? A. Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one

### Mean Ramsey-Turán numbers

Mean Ramsey-Turán numbers Raphael Yuster Department of Mathematics University of Haifa at Oranim Tivon 36006, Israel Abstract A ρ-mean coloring of a graph is a coloring of the edges such that the average

### Nan Kong, Andrew J. Schaefer. Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA

A Factor 1 2 Approximation Algorithm for Two-Stage Stochastic Matching Problems Nan Kong, Andrew J. Schaefer Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA Abstract We introduce

### Applied Algorithm Design Lecture 5

Applied Algorithm Design Lecture 5 Pietro Michiardi Eurecom Pietro Michiardi (Eurecom) Applied Algorithm Design Lecture 5 1 / 86 Approximation Algorithms Pietro Michiardi (Eurecom) Applied Algorithm Design

### princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming Lecturer: Sanjeev Arora

princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming Lecturer: Sanjeev Arora Scribe: One of the running themes in this course is the notion of

### Every tree contains a large induced subgraph with all degrees odd

Every tree contains a large induced subgraph with all degrees odd A.J. Radcliffe Carnegie Mellon University, Pittsburgh, PA A.D. Scott Department of Pure Mathematics and Mathematical Statistics University

### Notes on Complexity Theory Last updated: August, 2011. Lecture 1

Notes on Complexity Theory Last updated: August, 2011 Jonathan Katz Lecture 1 1 Turing Machines I assume that most students have encountered Turing machines before. (Students who have not may want to look

### Single machine parallel batch scheduling with unbounded capacity

Workshop on Combinatorics and Graph Theory 21th, April, 2006 Nankai University Single machine parallel batch scheduling with unbounded capacity Yuan Jinjiang Department of mathematics, Zhengzhou University

### What s next? Reductions other than kernelization

What s next? Reductions other than kernelization Dániel Marx Humboldt-Universität zu Berlin (with help from Fedor Fomin, Daniel Lokshtanov and Saket Saurabh) WorKer 2010: Workshop on Kernelization Nov

### SPERNER S LEMMA AND BROUWER S FIXED POINT THEOREM

SPERNER S LEMMA AND BROUWER S FIXED POINT THEOREM ALEX WRIGHT 1. Intoduction A fixed point of a function f from a set X into itself is a point x 0 satisfying f(x 0 ) = x 0. Theorems which establish the

### COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS

COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS Alexander Burstein Department of Mathematics Howard University Washington, DC 259, USA aburstein@howard.edu Sergey Kitaev Mathematics

### Permutation Betting Markets: Singleton Betting with Extra Information

Permutation Betting Markets: Singleton Betting with Extra Information Mohammad Ghodsi Sharif University of Technology ghodsi@sharif.edu Hamid Mahini Sharif University of Technology mahini@ce.sharif.edu

### Heuristic Methods. Part #1. João Luiz Kohl Moreira. Observatório Nacional - MCT COAA. Observatório Nacional - MCT 1 / 14

Heuristic Methods Part #1 João Luiz Kohl Moreira COAA Observatório Nacional - MCT Observatório Nacional - MCT 1 / Outline 1 Introduction Aims Course's target Adviced Bibliography 2 Problem Introduction

### Notes on Matrix Multiplication and the Transitive Closure

ICS 6D Due: Wednesday, February 25, 2015 Instructor: Sandy Irani Notes on Matrix Multiplication and the Transitive Closure An n m matrix over a set S is an array of elements from S with n rows and m columns.

### COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH ZACHARY ABEL 1. Introduction In this survey we discuss properties of the Higman-Sims graph, which has 100 vertices, 1100 edges, and is 22 regular. In fact

### Structural properties of oracle classes

Structural properties of oracle classes Stanislav Živný Computing Laboratory, University of Oxford, Wolfson Building, Parks Road, Oxford, OX1 3QD, UK Abstract Denote by C the class of oracles relative

### Generalized Induced Factor Problems

Egerváry Research Group on Combinatorial Optimization Technical reports TR-2002-07. Published by the Egrerváry Research Group, Pázmány P. sétány 1/C, H 1117, Budapest, Hungary. Web site: www.cs.elte.hu/egres.

### A Performance Comparison of Five Algorithms for Graph Isomorphism

A Performance Comparison of Five Algorithms for Graph Isomorphism P. Foggia, C.Sansone, M. Vento Dipartimento di Informatica e Sistemistica Via Claudio, 21 - I 80125 - Napoli, Italy {foggiapa, carlosan,

### 8.1 Min Degree Spanning Tree

CS880: Approximations Algorithms Scribe: Siddharth Barman Lecturer: Shuchi Chawla Topic: Min Degree Spanning Tree Date: 02/15/07 In this lecture we give a local search based algorithm for the Min Degree