Vol. 2(1997): nr 4. Tight Lower Bounds on the. Approximability of Some. Peter Jonsson. Linkoping University

Size: px
Start display at page:

Download "Vol. 2(1997): nr 4. Tight Lower Bounds on the. Approximability of Some. Peter Jonsson. Linkoping University"

Transcription

1 Linkoping Electronic Articles in Computer and Information Science Vol. 2(1997): nr 4 Tight Lower Bounds on the Approximability of Some NPO PB-Complete Problems Peter Jonsson Department of Computer and Information Science Linkoping University Linkoping, Sweden Linkoping University Electronic Press Linkoping, Sweden http: /

2 Published on April 11, 1997 by Linkoping University Electronic Press Linkoping, Sweden Linkoping Electronic Articles in Computer and Information Science ISSN Series editor: Erik Sandewall c1997 Peter Jonsson Typeset by the author using La TE X Formatted using etendu style Recommended citation: <Author>. <Title>. Linkoping Electronic Articles in Computer and Information Science, Vol. 2(1997): nr 4. http: / April 11, This URL will also contain a link to the author's home page. The publishers will keep this article on-line on the Internet (or its possible replacement network in the future) for a period of 25 years from the date of publication, barring exceptional circumstances as described separately. The on-line availability of the article implies a permanent permission for anyone to read the article on-line, to print out single copies of it, and to use it unchanged for any non-commercial research and educational purpose, including making copies for classroom use. This permission can not be revoked by subsequent transfers of copyright. All other uses of the article are conditional on the consent of the copyright owner. The publication of the article on the date stated above included also the production of a limited number of copies on paper, which were archived in Swedish university libraries like all other written works published in Sweden. The publisher has taken technical and administrative measures to assure that the on-line version of the article will be permanently accessible using the URL stated above, unchanged, and permanently equal to the archived printed copies at least until the expiration of the publication period. For additional information about the Linkoping University Electronic Press and its procedures for publication and for assurance of document integrity, please refer to its WWW home page: http: / or by conventional mail to the address stated above.

3 Abstract We investigate the approximability of the NPO PB-complete problems Min Ones, Min Dones, Max Ones, Max Dones and Max PB 0/1 Programming. We show that, unless P = NP, these problems are not approximable within n 1?" for any " > 0 where n is the number of variables in the input. Since all of these problems are approximable within n, this lower bound is close to optimal.

4 1 1 Introduction Approximation of NP-complete optimization problems has become a very active area of research. It is now well-known that the approximability of such problems ranges from problems that are approximable within every constant in polynomial time (e.g., Knapsack [Ibarra and Kim, 1975]) to problems that are not approximable within n " for any " > 0, where n is the size of the input instance (e.g., Maximum Weighted Satisfiability [Ausiello et al., 1981]). It is well known that even NP optimization problems whose objective function is bounded by some polynomial in the size of the input may be hard to approximate. This class of problems, called NPO PB, can be divided into two classes, Max PB and Min PB, containing maximization and minimization problems respectively. Both Max PB and Min PB contains complete problems under approximation preserving reductions [Berman and Schnitger, 1992; Kann, 1994]. Furthermore, Crescenzi et al. [1995] has proven that any Min PB-complete problem is NPO PB-complete and that any Max PBcomplete problem is NPO PB-complete. Thus, the classes of Min PB-complete, Max PB-complete and NPO PB-complete problems coincide. Tight (or even optimal) lower bounds on the approximability of several NPO PB-complete problems have appeared in the literature. For instance, Kann [1994] has presented optimal bounds on Min # Sat and Min PB 0-1 Programming. However, there are still many problems for which tight lower bounds are not known. In this paper we provide such lower bounds for ve NPO PB-complete problems; Min Ones, Min Dones, Max Ones, Max Dones and Max PB 0/1 Programming. For each of these problems we show that they cannot be approximated within n 1?" for any " > 0 where n is the number of variables. Since all of these problems can trivially be approximated within n, this bound is close to optimal. 2 Preliminaries We begin by giving some standard denitions in the eld of approximation and optimization theory. Denition 2.1 An NPO problem A is a quadruple hi; sol; m; goali such that 1. I is the set of instances of A and it is recognizable in polynomial time. 2. Given an instance x 2 I, sol(x) denotes the set of feasible solutions of x. These solutions are short, that is, a polynomial p exists such that for any y 2 sol(x), jyj p(jxj). Moreover, it is decidable in polynomial time whether, for any y such that jyj p(jxj), y 2 sol(x).

5 2 3. Given an instance x and a feasible solution y of x, m(x; y) denotes the positive integer measure of y. The function m must be computable in polynomial time. 4. goal 2 fmax; ming. The class NPO is the set of all NPO problems. The goal of an NPO problem with respect to an instance x is to nd an optimum solution, i.e., a feasible solution y such that m(x; y) = goalfm(x; y 0 ) ; y 0 2 sol(x)g. An NPO problem is said to be polynomially bounded if a polynomial q exists such that, for any instance x and for any solution y of x, m(x; y) q(jxj). The class NPO PB is the set of polynomially bounded NPO problems. In the following opt will denote the function mapping an NPO instance x to the measure of an optimal solution. Denition 2.2 Given an NPO problem A and a function from N to (1; 1), we say that a polynomial-time algorithm P is an - approximation algorithm for A i for every instance x of A of size n, P produces a solution in the range [opt(x)=(n); (n)opt(x)]. We say that A is approximable within a factor if such an algorithm exists. Proposition 2.3 Let : N! (1; 1), ` : N! N be functions and A be an NP maximization problem. A is not approximable within a factor if there exists a polynomial-time reduction T from an NPcomplete decision problem F to A satisfying the following: 1. For an arbitrary instance I F of F of size n, the size of T (I F ) is `(n). 2. For any two instances I F, IF 0 of size n of F such that I F 2 F and IF 0 62 F, opt(t (I F ))=opt(t (IF 0 )) (`(n)). Similarly, if A is a minimization problem then A is not approximable within a factor if 1. For an arbitrary instance I F of F of size n, the size of T (I F ) is `(n). 2. For any two instances I F, I 0 F of size n of F such that I F 2 F and I 0 F 62 F, opt(t (I 0 F ))=opt(t (I F )) (`(n)). The nonapproximability of problems is described as a function of the size of the problem instance, or more often, as a function of some size parameter such as the number of variables in the instance. For all problems considered in this paper, we will assume that j j returns the number of variables in the given instance. It is often demanded that there exists a trivial solution triv(x) for each input x so that it can be ensured that an approximation

6 3 algorithm always nds a feasible solution. Throughout this paper we assume the existence of trivial solutions. We assume that the measure of the trivial solution is 1 for the minimization problems and n (the number of variables) for the maximization problems. We continue by giving formal denitions of the problems that we will investigate. We also give the previously known best lower bounds on the approximability of these problems. The rst approximation problem to be dened is Min Dones: Instance: Disjoint sets X; Z of variables and a 3CNF formula F over X [ Z. Solution: Truth assignment satisfying F. Measure: The number of variables in Z that are set to true in the assignment. Min Dones is NPO PB-complete and cannot be approximated within jzj 1?" for any " > 0 [Kann, 1994]. Min Ones, the variation in which all variables are distinguished, i.e. X =?, is also NPO PB-complete and not approximable within jzj 1=2?" for any " > 0 [Kann, 1994]. The maximization version of Min Dones (which we denote Max Dones) is NPO PB-complete [Kann, 1992] and is not approximable within jzj 1?" and not within (jxj + jzj) 1=2?" for any " > 0 [Kann, 1995]. Let Max Ones denote the variation of Max Dones where X =?. Max Ones is NPO PB-complete [Kann, 1992] and not approximable within jzj 1=3?" [Kann, 1995]. Finally, we present the problem Max PB 0-1 Programming: Instance: Integer m n matrix A, integer m-vector b and nonnegative binary n-vector c 2 f0; 1g n. Solution: A binary n-vector x 2 f0; 1g n such that Ax b. Measure: The scalar product of c and x, i.e., P n i=1 c ix i. Berman and Schnitger [1992] have proved NPO PB-completeness of this problem and Kann [1995] has shown that it cannot be approximated within n 1=2?" where n is the number of variables. A tight lower bound on the minimization version of Max PB 0-1 Programming has previously been established by Kann [1994]. By assuming the existence of trivial solutions, it is easy to see that these problems can be approximated within n where n is the number of variables. 3 Minimization Problems The rst problem that we will consider is Min Ones. Before we begin, we need some basic terminology of propositional logic. In this logic, a proposition (also called a variable) x can be either true or false. A truth assignment is an assignment of \true" (T) or \false" (F) to every proposition. A literal is an proposition x or its negation

7 4 :x. A clause is a disjunction of literals and it is satised by a given truth assignment i at least one of its literals is true. A formula is in conjunctive normal form (CNF) i it is a conjunction of clauses. Such a formula is satised by a truth assignment i every clause is satised. A model is a truth assignment which satises a given formula. We dene the computational problem Satisfiability (Sat) as usual: Instance: A CNF formula F. Question: Is there a satisfying truth assignment for F? Sat is NP-complete [Cook, 1971]. We say that a propositional formula is 3CNF i it is the conjunction of clauses with at most three literals per clause. The Sat problem restricted to 3CNF formulae (3Sat) is also NP-complete [Cook, 1971]. Lemma 3.1 Let Min1 denote the function from satisable 3CNF formulae to N that returns the minimum number of propositions that must be assigned T in order to satisfy the given formula. Let c > 4 be a xed integer. There exists a polynomial-time tranformation T c on 3CNF formulae satisfying the following: for an arbitrary 3CNF formula F, 1. jt c (F )j = jfj c ; 2. Min1(T c (F )) jfj 4 if F is satisable; 3. Min1(T c (F )) jfj c? 8jFj 3? jfj otherwise. Proof: Let F be an arbitrary 3CNF formula over the propositions P = fp1; : : :; p k g. We begin by describing T c (F ). There exists less than 8k 3 distinct 3-clauses over the propositional symbols in P. We can thus assume that F = C1 ^ : : : ^ C s where s 8k 3. Let w be a fresh proposition and Q = fq1; : : :; q kc?k?sg, R = fr1; : : :; r s g be sets of fresh propositions. Consider the clause C i = (l 1 i _l 2 i _l 3 i ), 1 i s. Since the clauses in F contain at most three literals, we do not require that l 1 i, l2 i and l 3 i are distinct. Let K i = f(r i, (l 1 i _ l 2 i )); (l3 i _ r i _ w)g: where, denotes logical equivalence, i.e.,, i (:_)^(_:). Dene T c (F ) as follows: T c (F ) = [ fk i j 1 i sg [ f(:w _ q j ) j 1 j k c? k? sg: Note that jt c (F )j k c and let t = k c?jt c (F )j. By adding t clauses of the type (:o i ), 1 i t, where o i, 1 i t, are fresh propositions, we can assume that jt c (F )j = k c. Let O = fo i j 1 i tg.

8 5 Now, observe that T c (F ) is not a 3CNF formula since it contains the, symbol. However, we can easily show that T c (F ) can be written as a 3CNF formula without introducing any extra variables. This boils down to showing that the expression (r i, (l 1 i _ l 2 i )) can be transformed to an equivalent 3CNF formula without extra variables: (r i, (l 1 i _ l 2 i )) (:r i _ l 1 i _ l 2 i ) ^ (r i _ :(l 1 i _ l 2 i )) (:r i _ l 1 i _ l 2 i ) ^ (r i _ (:l 1 i ^ :l 2 i )) (:r i _ l 1 i _ l 2 i ) ^ (r i _ :l 1 i ) ^ (r i _ :l 2 i ) Finally, it is obvious that T c (F ) can be computed in polynomial time since c is xed. We continue by showing that T c satises the given requirements. Let F 0 = T c (F ). We begin by showing that Min1(F 0 ) k 4 if F is satisable. Let M be a satisfying assignment for F. We extend M to also act on literals in the obvious way: M(:p) = F if M(p) = T and vice versa. Construct a model M 0 for F 0 as follows: M 0 (p) = M(p) p 2 P ; M 0 (w) = F; M 0 (q) = F( q 2 Q; F if M(l 1 M 0 (r i ) = i ) = M(l 2 i ) = F 1 i s; T otherwise M 0 (o) = F o 2 O: In this case, Min1(F 0 ) k + s k + 8k 3 k 4. Assume to the contrary that F is not satisable, that is, no truth assignment can satisfy all clauses in F simultaneously. Note that a clause of the type (l 3 i _ r i _ w), 1 i s, is logically equivalent to the clause (l 1 i _ l 2 i _ l 3 i _ w). This follows from the fact that, by the construction of F 0, r i is logically equivalent to (l 1 i _l 2 i ). Consequently, the clauses (l 3 i _ r i _ w), 1 i s, in F 0 cannot be simultaneously satised unless w is assigned T. But then q j, 1 j k c?k?s, must also be assigned T in order to satisfy F 0. Hence, a model M 0 for F 0 which assigns T to as few propositions as possible has the following appearance: M 0 (p) = F p 2 P ; M 0 (w) = T; M 0 (q) = T q 2 Q; M 0 (r) = F r 2 R; M 0 (o) = F o 2 O:

9 6 Thus, Min1(F 0 ) 1 + k c? k? s k c? k? 8k 3 since s 8k 3. 2 Theorem 3.2 Min Ones is not approximable within n 1?" for any " > 0 where n is the number of variables, unless P = NP. Proof: Arbitrarily choose an " > 0 and let c > 5 satisfy 1?5=c ". Dene `(k) = k c and (n) = n 1?5=c. By Lemma 3.1, there exists a polynomial-time reduction T c from 3Sat to MinOnes with the following properties: 1. For an arbitrary instance I of 3Sat containing k variables, T c (I) contains `(k) variables. 2. Let I and I 0 be 3Sat instances with k variables such that I is satisable and I 0 is not satisable. Then, opt(t c (I 0 )) opt(t c (I)) kc? 8k 3? k k 4 kc?1 k 4 = k c?5 = (`(k)): Hence, Min Ones is not approximable within (n) = n 1?5=c. Since 1? 5=c " and " was arbitrarily chosen, the theorem follows. 2 The second minimization problem that we will consider is Min Dones. Kann [1994] has shown that Min Dones is not approximable within n 1?" for any " > 0 where n is the number of distinguished variables. We strengthen this result in the next corollary. Corollary 3.3 Min Dones is not approximable within n 1?" for any " > 0, where n is the number of variables (i.e., n = jxj + jzj). Proof: The proof is by a cost-preserving polynomial-time transformation from Min Ones. Let F be an arbitrary, satisable 3CNF formula over the variables Z = fz1; : : :; z n g. Let X =? and let Z; X; F be an instance of Min Dones where Z denotes the distinguished variables. This is a polynomial-time transformation and the optimal value of this instance of Min Dones equals Min1(F ). Thus, if there exists an " > 0 such that Min Dones is approximable within (jxj+jzj) 1?", then Min Ones would be approximable within n 1?" which contradicts Theorem Maximization Problems To show the nonapproximability of Max Ones, we use a construction similar to the construction in Lemma 3.1. Lemma 4.1 Dene the function Max 1 from satisable 3CNF formulae to N such that Max1(F ) equals the maximum number of propositions that can be assigned T in an satisfying assignment of F. Let c > 4 be a xed integer. There exists a polynomial-time tranformation U c on 3CNF formulae satisfying the following: for an arbitrary 3CNF formula F,

10 7 1. ju c (F )j = jfj c ; 2. Max1(U c (F )) jfj 4 if F is not satisable; 3. Max1(U c (F )) jfj c? 8jFj 3? jfj otherwise. Proof: Arbitrarily choose a 3CNF formula over the propositions P = fp1; : : :; p k g. There exists less than 8k 3 distinct 3-clauses over the propositions in P. We can thus assume that F = C1 ^ : : : ^ C s where s 8k 3. Let w be a fresh proposition and Q = fq1; : : :; q kc?k?sg, R = fr1; : : :; r s g be sets of fresh propositions. For arbitrary clauses C i = (l 1 i _ l 2 i _ l 3 i ), 1 i s, let K i = f(r i, (l 1 i _ l 2 i )); (l 3 i _ r i _ :w)g: Dene U c (F ) as follows: U c (F ) = [ fk i j 1 i sg [ f(w _ :q j ) j 1 j k c? k? sg Note that ju c (F )j k c and let t = k c? ju c (F )j. By adding t clauses of the type (:o i ), 1 i t, where o i, 1 i t, are fresh propositions, we can assume that ju c (F )j = k c. Let O be the set of these propositions. We begin by showing that Max 1(F 0 ) k c? 8k 3? k if F is satis- able. Let M be a satisfying assignment for F. Construct a model M 0 for F 0 as follows: M 0 (p) = M(p) p 2 P ; M 0 (w) = T; M 0 (q) = T( q 2 Q; F if M(l 1 M 0 (r i ) = i ) = M(l 2 i ) = F 1 i s; T otherwise M 0 (o) = F o 2 O: In this case, Max1(F 0 ) k c? k? s k c? k? 8k 3. Assume to the contrary that F is not satisable. Then there exists a clause of the form (l 3 i _ r i _ :w), 1 i s, which cannot be satised unless w is assigned F. But then q j, 1 j k c?k?s, must also be assigned F. We can dene a model M 0 for F 0 as follows: M 0 (p) = T p 2 P ; M 0 (w) = F; M 0 (q) = F q 2 Q; M 0 (r) = T r 2 R; M 0 (o) = F o 2 O: Thus, Max 1(F 0 ) k + s k 4. By using the transformation used in Lemma 3.1, we know that F 0 can be written as a 3CNF formula

11 8 without introducing any extra variables. Hence, the lemma follows. 2 The proofs of the following theorem and corollary are omitted since they are similar to the proofs of Theorem 3.2 and Corollary 3.3. Theorem 4.2 Max Ones is not approximable within n 1?" for any " > 0 where n is the number of variables, unless P = NP. Corollary 4.3 Max Dones is not approximable within n 1?" for any " > 0, where n is the number of variables (i.e., n = jxj + jzj). Next, we show that Max PB 0/1 Programming is as hard to approximate as Max Ones. To do so, we will use a well-known connection between propositional logic and zero/one programming, established by Dantzig [1963]. Given a truth assignment M on a set of propositions x1; : : :; x n, we dene the corresponding 0/1-vector y = (y1; : : :; y n ) such that y i = 1 if M(x i ) = T and y i = 0 otherwise. A truth assignment satises a set of S clauses: _ j2p i x j _ _ j2n i :x j 1 A for 1 i S. i the corresponding 0/1-vector y satises the following system of inequalitites: X y j? X y j 1? jn i j for all 1 i S. j2p i j2n i For a 0, 1 matrix A, denote by n(a) the vector whose ith component n i (A) is the number of?1's in the ith row of A. Let 1 stand for the all-one vector of appropriate dimension. Hence, the above system of inequalities can be written on the form Ay 1? n(a): () Sat is thus equivalent to the problem of nding a zero/one solution y to () or show that none exists. Given a 3CNF formula F, let IE(F ) denote the corresponding set of inequalitites. Theorem 4.4 Max PB 0/1 Programming is not approximable within n 1?" for any " > 0 where n is the number of variables. Proof: The proof is by a cost-preserving polynomial-time transformation from Max Ones. Let F be an arbitrary, satisable 3CNF formula with n variables and m clauses. Consider the following instance I of Max PB 0/1 Programming: max nx y i over IE(F ): i=1

12 9 Observe that the optimal value of I equals Max Ones(F ) and I contains exactly as many variables as the given 3CNF formula. By Corollary 4.2, MaxOnes is not approximable within n 1?" for any " > 0. Since the transformation can be carried out in polynomial time without introducing any extra variables, the theorem follows. 2 By Theorem 4.4, Max PB 0/1 Programming is hard to approximate even if the constraint matrix A is a 0, 1 matrix with at most three non-zero entries per row and the right-hand side vector b is restricted to take its values from f1; 0;?1;?2g. References [Ausiello et al., 1981] G Ausiello, A D'Atri, and M Protasi. Lattice theoretic ordering properties for NP-complete optimization problems. Annales Societatis Mathematicae Polonae, 4:83{94, [Berman and Schnitger, 1992] P Berman and G Schnitger. On the complexity of approximating the independent set problem. Information and Computation, 96:77{94, [Cook, 1971] S A Cook. The complexity of theorem-proving procedures. In Proceedings of the 3rd ACM Symposium on Theory of Computing, pages 151{158, [Crescenzi et al., 1995] P Crescenzi, V Kann, R Silvestri, and L Trevisan. Structure in approximation classes. In Proceedings of First Annual International Conference on Computing and Combinatorics, pages 539{548. Springer-Verlag LNCS 959, [Dantzig, 1963] G B Dantzig. Linear Programming and Extensions. Princeton University Press, Princeton, New Jersey, [Ibarra and Kim, 1975] O H Ibarra and C E Kim. Fast approximation for the knapsack and sum of subset problems. Journal of the ACM, 22(4):463{468, [Kann, 1992] V Kann. On the approximability of NP-complete optimization problems. PhD thesis, Royal Institute of Technology, Stockholm, [Kann, 1994] V Kann. Polynomially bounded minimization problems that are hard to approximate. Nordic Journal of Computing, 1:317{ 331, [Kann, 1995] V Kann. Strong lower bounds on the approximability of some NPO PB-complete maximization problems. In Proceedings of the 20th International Symposium on Mathematical Foundations of Computer Science, pages 227{236. Springer-Verlag, 1995.

Boolean constraint satisfaction: complexity results for optimization problems with arbitrary weights

Boolean constraint satisfaction: complexity results for optimization problems with arbitrary weights Theoretical Computer Science 244 (2000) 189 203 www.elsevier.com/locate/tcs Boolean constraint satisfaction: complexity results for optimization problems with arbitrary weights Peter Jonsson Department

More information

Structure in Approximation Classes 2 able to come back from \good" solutions for B to \good" solutions for A. Surprisingly, the rst denition of this k

Structure in Approximation Classes 2 able to come back from \good solutions for B to \good solutions for A. Surprisingly, the rst denition of this k Submitted to SIAM Journal on Computing Structure in Approximation Classes? P. Crescenzi 1, V. Kann 2, R. Silvestri 1, and L. Trevisan 1 1 Dipartimento di Scienze dell'informazione Universita degli Studi

More information

Variants of MAX WEIGHTED SAT and MIN WEIGHTED SAT have been considered in the literature, dened by making restrictions on the size of the clauses in t

Variants of MAX WEIGHTED SAT and MIN WEIGHTED SAT have been considered in the literature, dened by making restrictions on the size of the clauses in t On the Complexity of Approximating Weighted Satisability Problems (Extended Abstract) Paola Alimonti yzx Giorgio Ausiello y Loredana Giovaniello z Marco Protasi z Abstract The maximum weighted satisability

More information

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization Department of Computer Science Series of Publications C Report C-2004-2 The Complexity of Maximum Matroid-Greedoid Intersection and Weighted Greedoid Maximization Taneli Mielikäinen Esko Ukkonen University

More information

The Complexity and Approximability of Finding. Maximum Feasible Subsystems of Linear Relations. Abstract

The Complexity and Approximability of Finding. Maximum Feasible Subsystems of Linear Relations. Abstract The Complexity and Approximability of Finding Maximum Feasible Subsystems of Linear Relations Edoardo Amaldi Department of Mathematics Swiss Federal Institute of Technology CH-1015 Lausanne amaldi@dma.epfl.ch

More information

Essential facts about NP-completeness:

Essential facts about NP-completeness: CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions

More information

2 Z. Lonc and M. Truszczynski investigations, we use the framework of the xed-parameter complexity introduced by Downey and Fellows [Downey and Fellow

2 Z. Lonc and M. Truszczynski investigations, we use the framework of the xed-parameter complexity introduced by Downey and Fellows [Downey and Fellow Fixed-parameter complexity of semantics for logic programs ZBIGNIEW LONC Technical University of Warsaw and MIROS LAW TRUSZCZYNSKI University of Kentucky A decision problem is called parameterized if its

More information

is a model, supported model or stable model, respectively, of P. The check can be implemented to run in linear time in the size of the program. Since

is a model, supported model or stable model, respectively, of P. The check can be implemented to run in linear time in the size of the program. Since Fixed-parameter complexity of semantics for logic programs Zbigniew Lonc? and Miros law Truszczynski?? Department of Computer Science, University of Kentucky Lexington KY 40506-0046, USA flonc, mirekg@cs.engr.uky.edu

More information

Building Graphs from Colored Trees

Building Graphs from Colored Trees Building Graphs from Colored Trees Rachel M. Esselstein CSUMB Department of Mathematics and Statistics 100 Campus Center Dr. Building 53 Seaside, CA 93955, U.S.A. resselstein@csumb.edu Peter Winkler Department

More information

Notes for Lecture 2. Statement of the PCP Theorem and Constraint Satisfaction

Notes for Lecture 2. Statement of the PCP Theorem and Constraint Satisfaction U.C. Berkeley Handout N2 CS294: PCP and Hardness of Approximation January 23, 2006 Professor Luca Trevisan Scribe: Luca Trevisan Notes for Lecture 2 These notes are based on my survey paper [5]. L.T. Statement

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

Disjunctive Temporal Reasoning in Partially Ordered Models of Time

Disjunctive Temporal Reasoning in Partially Ordered Models of Time From: AAAI-00 Proceedings Copyright 2000, AAAI (wwwaaaiorg) All rights reserved Disjunctive Temporal Reasoning in Partially Ordered Models of Time Mathias Broxvall and Peter Jonsson Department of Computer

More information

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof T-79.5103 / Autumn 2006 NP-complete problems 1 NP-COMPLETE PROBLEMS Characterizing NP Variants of satisfiability Graph-theoretic problems Coloring problems Sets and numbers Pseudopolynomial algorithms

More information

Lecture 15 - NP Completeness 1

Lecture 15 - NP Completeness 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) February 29, 2018 Lecture 15 - NP Completeness 1 In the last lecture we discussed how to provide

More information

Theory of Computation Chapter 9

Theory of Computation Chapter 9 0-0 Theory of Computation Chapter 9 Guan-Shieng Huang May 12, 2003 NP-completeness Problems NP: the class of languages decided by nondeterministic Turing machine in polynomial time NP-completeness: Cook

More information

Approximation algorithms and hardness results for the clique packing problem. October, 2007

Approximation algorithms and hardness results for the clique packing problem. October, 2007 Approximation algorithms and hardness results for the clique packing problem F. Chataigner 1 G. Manić 2 Y.Wakabayashi 1 R. Yuster 3 1 Instituto de Matemática e Estatística Universidade de São Paulo, SP,

More information

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35.

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35. NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and

More information

A Lower Bound for Boolean Satisfiability on Turing Machines

A Lower Bound for Boolean Satisfiability on Turing Machines A Lower Bound for Boolean Satisfiability on Turing Machines arxiv:1406.5970v1 [cs.cc] 23 Jun 2014 Samuel C. Hsieh Computer Science Department, Ball State University March 16, 2018 Abstract We establish

More information

Notes for Lecture 21

Notes for Lecture 21 U.C. Berkeley CS170: Intro to CS Theory Handout N21 Professor Luca Trevisan November 20, 2001 Notes for Lecture 21 1 Tractable and Intractable Problems So far, almost all of the problems that we have studied

More information

Critical Reading of Optimization Methods for Logical Inference [1]

Critical Reading of Optimization Methods for Logical Inference [1] Critical Reading of Optimization Methods for Logical Inference [1] Undergraduate Research Internship Department of Management Sciences Fall 2007 Supervisor: Dr. Miguel Anjos UNIVERSITY OF WATERLOO Rajesh

More information

CMSC 858F: Algorithmic Lower Bounds Fall SAT and NP-Hardness

CMSC 858F: Algorithmic Lower Bounds Fall SAT and NP-Hardness CMSC 858F: Algorithmic Lower Bounds Fall 2014 3-SAT and NP-Hardness Instructor: Mohammad T. Hajiaghayi Scribe: Philip Dasler September 23, 2014 The most important NP-Complete (logic) problem family! 1

More information

Maximum 3-SAT as QUBO

Maximum 3-SAT as QUBO Maximum 3-SAT as QUBO Michael J. Dinneen 1 Semester 2, 2016 1/15 1 Slides mostly based on Alex Fowler s and Rong (Richard) Wang s notes. Boolean Formula 2/15 A Boolean variable is a variable that can take

More information

Approximation Preserving Reductions

Approximation Preserving Reductions Approximation Preserving Reductions - Memo Summary - AP-reducibility - L-reduction technique - Complete problems - Examples: MAXIMUM CLIQUE, MAXIMUM INDEPENDENT SET, MAXIMUM 2-SAT, MAXIMUM NAE 3-SAT, MAXIMUM

More information

Approximation Algorithms for Maximum. Coverage and Max Cut with Given Sizes of. Parts? A. A. Ageev and M. I. Sviridenko

Approximation Algorithms for Maximum. Coverage and Max Cut with Given Sizes of. Parts? A. A. Ageev and M. I. Sviridenko Approximation Algorithms for Maximum Coverage and Max Cut with Given Sizes of Parts? A. A. Ageev and M. I. Sviridenko Sobolev Institute of Mathematics pr. Koptyuga 4, 630090, Novosibirsk, Russia fageev,svirg@math.nsc.ru

More information

Polynomial-time Reductions

Polynomial-time Reductions Polynomial-time Reductions Disclaimer: Many denitions in these slides should be taken as the intuitive meaning, as the precise meaning of some of the terms are hard to pin down without introducing the

More information

Subclasses of Quantied Boolean Formulas. Andreas Flogel. University of Duisburg Duisburg 1. Marek Karpinski. University of Bonn.

Subclasses of Quantied Boolean Formulas. Andreas Flogel. University of Duisburg Duisburg 1. Marek Karpinski. University of Bonn. Subclasses of Quantied Boolean Formulas Andreas Flogel Department of Computer Science University of Duisburg 4100 Duisburg 1 Mare Karpinsi Department of Computer Science University of Bonn 5300 Bonn 1

More information

From Satisfiability to Linear Algebra

From Satisfiability to Linear Algebra From Satisfiability to Linear Algebra Fangzhen Lin Department of Computer Science Hong Kong University of Science and Technology Clear Water Bay, Kowloon, Hong Kong Technical Report August 2013 1 Introduction

More information

NP-Completeness Part II

NP-Completeness Part II NP-Completeness Part II Please evaluate this course on Axess. Your comments really do make a difference. Announcements Problem Set 8 due tomorrow at 12:50PM sharp with one late day. Problem Set 9 out,

More information

MATHEMATICAL ENGINEERING TECHNICAL REPORTS. Deductive Inference for the Interiors and Exteriors of Horn Theories

MATHEMATICAL ENGINEERING TECHNICAL REPORTS. Deductive Inference for the Interiors and Exteriors of Horn Theories MATHEMATICAL ENGINEERING TECHNICAL REPORTS Deductive Inference for the Interiors and Exteriors of Horn Theories Kazuhisa MAKINO and Hirotaka ONO METR 2007 06 February 2007 DEPARTMENT OF MATHEMATICAL INFORMATICS

More information

Vector Space Basics. 1 Abstract Vector Spaces. 1. (commutativity of vector addition) u + v = v + u. 2. (associativity of vector addition)

Vector Space Basics. 1 Abstract Vector Spaces. 1. (commutativity of vector addition) u + v = v + u. 2. (associativity of vector addition) Vector Space Basics (Remark: these notes are highly formal and may be a useful reference to some students however I am also posting Ray Heitmann's notes to Canvas for students interested in a direct computational

More information

Increasing the Span of Stars

Increasing the Span of Stars Increasing the Span of Stars Ning Chen Roee Engelberg C. Thach Nguyen Prasad Raghavendra Atri Rudra Gynanit Singh Department of Computer Science and Engineering, University of Washington, Seattle, WA.

More information

A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine

A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine A Lower Bound of 2 n Conditional Jumps for Boolean Satisfiability on A Random Access Machine Samuel C. Hsieh Computer Science Department, Ball State University July 3, 2014 Abstract We establish a lower

More information

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Mirosław Truszczyński Department of Computer Science, University of Kentucky, Lexington, KY 40506, USA Abstract. We present

More information

A Collection of Problems in Propositional Logic

A Collection of Problems in Propositional Logic A Collection of Problems in Propositional Logic Hans Kleine Büning SS 2016 Problem 1: SAT (respectively SAT) Instance: A propositional formula α (for SAT in CNF). Question: Is α satisfiable? The problems

More information

The NP-hardness and APX-hardness of the Two-Dimensional Largest Common Substructure Problems

The NP-hardness and APX-hardness of the Two-Dimensional Largest Common Substructure Problems The NP-hardness and APX-hardness of the Two-Dimensional Largest Common Substructure Problems Syuan-Zong Chiou a, Chang-Biau Yang a and Yung-Hsing Peng b a Department of Computer Science and Engineering

More information

Approximation Basics

Approximation Basics Approximation Basics, Concepts, and Examples Xiaofeng Gao Department of Computer Science and Engineering Shanghai Jiao Tong University, P.R.China Fall 2012 Special thanks is given to Dr. Guoqiang Li for

More information

1.1 P, NP, and NP-complete

1.1 P, NP, and NP-complete CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: Introduction to NP-complete Problems Date: 11/01/2008 Lecturer: Lap Chi Lau Scribe: Jerry Jilin Le This lecture gives a general introduction

More information

Tecniche di Verifica. Introduction to Propositional Logic

Tecniche di Verifica. Introduction to Propositional Logic Tecniche di Verifica Introduction to Propositional Logic 1 Logic A formal logic is defined by its syntax and semantics. Syntax An alphabet is a set of symbols. A finite sequence of these symbols is called

More information

8 Knapsack Problem 8.1 (Knapsack)

8 Knapsack Problem 8.1 (Knapsack) 8 Knapsack In Chapter 1 we mentioned that some NP-hard optimization problems allow approximability to any required degree. In this chapter, we will formalize this notion and will show that the knapsack

More information

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1 U.C. Berkeley CS278: Computational Complexity Handout N1 Professor Luca Trevisan August 30, 2004 Notes for Lecture 1 This course assumes CS170, or equivalent, as a prerequisite. We will assume that the

More information

Sparse Sets, Approximable Sets, and Parallel Queries to NP. Abstract

Sparse Sets, Approximable Sets, and Parallel Queries to NP. Abstract Sparse Sets, Approximable Sets, and Parallel Queries to NP V. Arvind Institute of Mathematical Sciences C. I. T. Campus Chennai 600 113, India Jacobo Toran Abteilung Theoretische Informatik, Universitat

More information

DD2446 Complexity Theory: Problem Set 4

DD2446 Complexity Theory: Problem Set 4 DD2446 Complexity Theory: Problem Set 4 Due: Friday November 8, 2013, at 23:59. Submit your solutions as a PDF le by e-mail to jakobn at kth dot se with the subject line Problem set 4: your full name.

More information

Part V. Intractable Problems

Part V. Intractable Problems Part V Intractable Problems 507 Chapter 16 N P-Completeness Up to now, we have focused on developing efficient algorithms for solving problems. The word efficient is somewhat subjective, and the degree

More information

Week 3: Reductions and Completeness

Week 3: Reductions and Completeness Computational Complexity Theory Summer HSSP 2018 Week 3: Reductions and Completeness Dylan Hendrickson MIT Educational Studies Program 3.1 Reductions Suppose I know how to solve some problem quickly. How

More information

Fundamentals of optimization problems

Fundamentals of optimization problems Fundamentals of optimization problems Dmitriy Serdyuk Ferienakademie in Sarntal 2012 FAU Erlangen-Nürnberg, TU München, Uni Stuttgart September 2012 Overview 1 Introduction Optimization problems PO and

More information

CMSC 858F: Algorithmic Lower Bounds Fall SAT and NP-Hardness

CMSC 858F: Algorithmic Lower Bounds Fall SAT and NP-Hardness CMSC 858F: Algorithmic Lower Bounds Fall 2014 3-SAT and NP-Hardness Instructor: Mohammad T. Hajiaghayi September 23, 2014 The most important NP-Complete (logic) problem family! 1 SAT = Satisfiability The

More information

Cardinality Networks: a Theoretical and Empirical Study

Cardinality Networks: a Theoretical and Empirical Study Constraints manuscript No. (will be inserted by the editor) Cardinality Networks: a Theoretical and Empirical Study Roberto Asín, Robert Nieuwenhuis, Albert Oliveras, Enric Rodríguez-Carbonell Received:

More information

tition problem can be solved in time O(nb) where n denotes the number of elements and b denotes the sum of their weights: clearly, if any upper bound

tition problem can be solved in time O(nb) where n denotes the number of elements and b denotes the sum of their weights: clearly, if any upper bound To Weight or not to Weight: Where is the Question? Pierluigi Crescenzi, Riccardo Silvestri and Luca Trevisan Dipartimento di Scienze dell'informazione Universita di Roma \La Sapienza" Via Salaria 113,

More information

Recap from Last Time

Recap from Last Time NP-Completeness Recap from Last Time Analyzing NTMs When discussing deterministic TMs, the notion of time complexity is (reasonably) straightforward. Recall: One way of thinking about nondeterminism is

More information

Linear Programming Formulation of Boolean Satisfiability Problem

Linear Programming Formulation of Boolean Satisfiability Problem Linear Programming Formulation of Boolean Satisfiability Problem Maknickas Algirdas Antano Abstract With using of multi-nary logic 2 SAT boolean satisfiability was formulated as linear programming optimization

More information

NP and Computational Intractability

NP and Computational Intractability NP and Computational Intractability 1 Polynomial-Time Reduction Desiderata'. Suppose we could solve X in polynomial-time. What else could we solve in polynomial time? don't confuse with reduces from Reduction.

More information

9.1 HW (3+3+8 points) (Knapsack decision problem NP-complete)

9.1 HW (3+3+8 points) (Knapsack decision problem NP-complete) Algorithms CMSC-27200 http://alg15.cs.uchicago.edu Homework set #9. Due Wednesday, March 11, 2015 Posted 3-5. Updated 3-6 12:15am. Problem 9.6 added 3-7 1:15pm. Read the homework instructions on the website.

More information

A brief introduction to Logic. (slides from

A brief introduction to Logic. (slides from A brief introduction to Logic (slides from http://www.decision-procedures.org/) 1 A Brief Introduction to Logic - Outline Propositional Logic :Syntax Propositional Logic :Semantics Satisfiability and validity

More information

NP Complete Problems. COMP 215 Lecture 20

NP Complete Problems. COMP 215 Lecture 20 NP Complete Problems COMP 215 Lecture 20 Complexity Theory Complexity theory is a research area unto itself. The central project is classifying problems as either tractable or intractable. Tractable Worst

More information

Approximations for MAX-SAT Problem

Approximations for MAX-SAT Problem Approximations for MAX-SAT Problem Chihao Zhang BASICS, Shanghai Jiao Tong University Oct. 23, 2012 Chihao Zhang (BASICS@SJTU) Approximations for MAX-SAT Problem Oct. 23, 2012 1 / 16 The Weighted MAX-SAT

More information

Normal Forms of Propositional Logic

Normal Forms of Propositional Logic Normal Forms of Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 12, 2017 Bow-Yaw Wang (Academia Sinica) Normal Forms of Propositional Logic September

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Conjunctive Normal Form and SAT

Conjunctive Normal Form and SAT Notes on Satisfiability-Based Problem Solving Conjunctive Normal Form and SAT David Mitchell mitchell@cs.sfu.ca October 4, 2015 These notes are a preliminary draft. Please use freely, but do not re-distribute

More information

On the Gap between the Complexity of SAT and Minimization for Certain Classes of Boolean Formulas

On the Gap between the Complexity of SAT and Minimization for Certain Classes of Boolean Formulas On the Gap between the Complexity of SAT and Minimization for Certain Classes of Boolean Formulas Ondřej Čepek and Štefan Gurský Abstract It is a wellknown fact that the satisfiability problem (SAT) for

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

The Complexity of the Permanent and Related Problems

The Complexity of the Permanent and Related Problems The Complexity of the Permanent and Related Problems Tim Abbott and Alex Schwendner May 9, 2007 Contents 1 The Permanent 2 1.1 Variations on the Determinant...................... 2 1.2 Graph Interpretation...........................

More information

Lecture 9: The Splitting Method for SAT

Lecture 9: The Splitting Method for SAT Lecture 9: The Splitting Method for SAT 1 Importance of SAT Cook-Levin Theorem: SAT is NP-complete. The reason why SAT is an important problem can be summarized as below: 1. A natural NP-Complete problem.

More information

Optimal Fractal Coding is NP-Hard 1

Optimal Fractal Coding is NP-Hard 1 Optimal Fractal Coding is NP-Hard 1 (Extended Abstract) Matthias Ruhl, Hannes Hartenstein Institut für Informatik, Universität Freiburg Am Flughafen 17, 79110 Freiburg, Germany ruhl,hartenst@informatik.uni-freiburg.de

More information

NP-Completeness Part II

NP-Completeness Part II NP-Completeness Part II Recap from Last Time NP-Hardness A language L is called NP-hard iff for every L' NP, we have L' P L. A language in L is called NP-complete iff L is NP-hard and L NP. The class NPC

More information

Conjunctive Normal Form and SAT

Conjunctive Normal Form and SAT Notes on Satisfiability-Based Problem Solving Conjunctive Normal Form and SAT David Mitchell mitchell@cs.sfu.ca September 19, 2013 This is a preliminary draft of these notes. Please do not distribute without

More information

Approximations for MAX-SAT Problem

Approximations for MAX-SAT Problem Approximations for MAX-SAT Problem Chihao Zhang BASICS, Shanghai Jiao Tong University Oct. 23, 2012 Chihao Zhang (BASICS@SJTU) Approximations for MAX-SAT Problem Oct. 23, 2012 1 / 16 The Weighted MAX-SAT

More information

NP-Completeness. NP-Completeness 1

NP-Completeness. NP-Completeness 1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and

More information

Propositional and First Order Reasoning

Propositional and First Order Reasoning Propositional and First Order Reasoning Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p p Clause: disjunction of literals q \/ p \/ r given by

More information

Poly-APX- and PTAS-completeness in standard and differential approximation

Poly-APX- and PTAS-completeness in standard and differential approximation Poly-APX- and PTAS-completeness in standard and differential approximation (Extended abstract) Cristina Bazgan, Bruno Escoffier, and Vangelis Th. Paschos LAMSADE, Université Paris-Dauphine, Place du Maréchal

More information

Resolution for mixed Post logic

Resolution for mixed Post logic Resolution for mixed Post logic Vladimir Komendantsky Institute of Philosophy of Russian Academy of Science, Volkhonka 14, 119992 Moscow, Russia vycom@pochtamt.ru Abstract. In this paper we present a resolution

More information

Uncertain Satisfiability and Uncertain Entailment

Uncertain Satisfiability and Uncertain Entailment Uncertain Satisfiability and Uncertain Entailment Zhuo Wang, Xiang Li Department of Mathematical Sciences, Tsinghua University, Beijing, 100084, China zwang0518@sohu.com, xiang-li04@mail.tsinghua.edu.cn

More information

A New Lower Bound on the Maximum Number of Satisfied Clauses in Max-SAT and its Algorithmic Applications

A New Lower Bound on the Maximum Number of Satisfied Clauses in Max-SAT and its Algorithmic Applications A New Lower Bound on the Maximum Number of Satisfied Clauses in Max-SAT and its Algorithmic Applications Robert Crowston, Gregory Gutin, Mark Jones, Anders Yeo Department of Computer Science Royal Holloway,

More information

Introduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010

Introduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010 Introduction to Artificial Intelligence Propositional Logic & SAT Solving UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010 Today Representation in Propositional Logic Semantics & Deduction

More information

Announcements. Friday Four Square! Problem Set 8 due right now. Problem Set 9 out, due next Friday at 2:15PM. Did you lose a phone in my office?

Announcements. Friday Four Square! Problem Set 8 due right now. Problem Set 9 out, due next Friday at 2:15PM. Did you lose a phone in my office? N P NP Completeness Announcements Friday Four Square! Today at 4:15PM, outside Gates. Problem Set 8 due right now. Problem Set 9 out, due next Friday at 2:15PM. Explore P, NP, and their connection. Did

More information

An Interesting Perspective to the P versus NP Problem

An Interesting Perspective to the P versus NP Problem An Interesting Perspective to the P versus NP Problem Wenming Zhang School of Economics and Management, Northwest University, Xi an, 710127, China wenming@nwu.edu.cn Abstract. We discuss the P versus NP

More information

An algorithm for the satisfiability problem of formulas in conjunctive normal form

An algorithm for the satisfiability problem of formulas in conjunctive normal form Journal of Algorithms 54 (2005) 40 44 www.elsevier.com/locate/jalgor An algorithm for the satisfiability problem of formulas in conjunctive normal form Rainer Schuler Abt. Theoretische Informatik, Universität

More information

Exercises 1 - Solutions

Exercises 1 - Solutions Exercises 1 - Solutions SAV 2013 1 PL validity For each of the following propositional logic formulae determine whether it is valid or not. If it is valid prove it, otherwise give a counterexample. Note

More information

Algorithms: COMP3121/3821/9101/9801

Algorithms: COMP3121/3821/9101/9801 NEW SOUTH WALES Algorithms: COMP3121/3821/9101/9801 Aleks Ignjatović School of Computer Science and Engineering University of New South Wales LECTURE 9: INTRACTABILITY COMP3121/3821/9101/9801 1 / 29 Feasibility

More information

CSE 555 HW 5 SAMPLE SOLUTION. Question 1.

CSE 555 HW 5 SAMPLE SOLUTION. Question 1. CSE 555 HW 5 SAMPLE SOLUTION Question 1. Show that if L is PSPACE-complete, then L is NP-hard. Show that the converse is not true. If L is PSPACE-complete, then for all A PSPACE, A P L. We know SAT PSPACE

More information

NP-Complete Reductions 1

NP-Complete Reductions 1 x x x 2 x 2 x 3 x 3 x 4 x 4 CS 4407 2 22 32 Algorithms 3 2 23 3 33 NP-Complete Reductions Prof. Gregory Provan Department of Computer Science University College Cork Lecture Outline x x x 2 x 2 x 3 x 3

More information

A New Approach to Proving Upper Bounds for MAX-2-SAT

A New Approach to Proving Upper Bounds for MAX-2-SAT A New Approach to Proving Upper Bounds for MAX-2-SAT Arist Kojevnikov Alexander S. Kulikov Abstract In this paper we present a new approach to proving upper bounds for the maximum 2-satisfiability problem

More information

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65 Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving

More information

Lecture #14: NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition.

Lecture #14: NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition. Lecture #14: 0.0.1 NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition. 0.0.2 Preliminaries: Definition 1 n abstract problem Q is a binary relations on a set I of

More information

Conjunctive Normal Form and SAT

Conjunctive Normal Form and SAT Notes on Satisfiability-Based Problem Solving Conjunctive Normal Form and SAT David Mitchell mitchell@cs.sfu.ca September 10, 2014 These notes are a preliminary draft. Please use freely, but do not re-distribute

More information

Private approximation of NP-hard functions

Private approximation of NP-hard functions Private approximation of NP-hard functions [Extended Abstract] Shai Halevi Robert Krauthgamer y Eyal Kushilevitz z Kobbi Nissim x ABSTRACT The notion of private approximation was introduced recently by

More information

The NP-hardness of finding a directed acyclic graph for regular resolution

The NP-hardness of finding a directed acyclic graph for regular resolution The NP-hardness of finding a directed acyclic graph for regular resolution Samuel R. Buss Department of Mathematics University of California, San Diego La Jolla, CA 92093-0112, USA sbuss@math.ucsd.edu

More information

Limitations of Algorithm Power

Limitations of Algorithm Power Limitations of Algorithm Power Objectives We now move into the third and final major theme for this course. 1. Tools for analyzing algorithms. 2. Design strategies for designing algorithms. 3. Identifying

More information

A note on unsatisfiable k-cnf formulas with few occurrences per variable

A note on unsatisfiable k-cnf formulas with few occurrences per variable A note on unsatisfiable k-cnf formulas with few occurrences per variable Shlomo Hoory Department of Computer Science University of British Columbia Vancouver, Canada shlomoh@cs.ubc.ca Stefan Szeider Department

More information

Computational Complexity and Intractability: An Introduction to the Theory of NP. Chapter 9

Computational Complexity and Intractability: An Introduction to the Theory of NP. Chapter 9 1 Computational Complexity and Intractability: An Introduction to the Theory of NP Chapter 9 2 Objectives Classify problems as tractable or intractable Define decision problems Define the class P Define

More information

CSCI3390-Lecture 17: A sampler of NP-complete problems

CSCI3390-Lecture 17: A sampler of NP-complete problems CSCI3390-Lecture 17: A sampler of NP-complete problems 1 List of Problems We now know that if L is any problem in NP, that L P SAT, and thus SAT is NP-hard. Since SAT is also in NP we find that SAT is

More information

Language of Propositional Logic

Language of Propositional Logic Logic A logic has: 1. An alphabet that contains all the symbols of the language of the logic. 2. A syntax giving the rules that define the well formed expressions of the language of the logic (often called

More information

SAT, Coloring, Hamiltonian Cycle, TSP

SAT, Coloring, Hamiltonian Cycle, TSP 1 SAT, Coloring, Hamiltonian Cycle, TSP Slides by Carl Kingsford Apr. 28, 2014 Sects. 8.2, 8.7, 8.5 2 Boolean Formulas Boolean Formulas: Variables: x 1, x 2, x 3 (can be either true or false) Terms: t

More information

Coins with arbitrary weights. Abstract. Given a set of m coins out of a collection of coins of k unknown distinct weights, we wish to

Coins with arbitrary weights. Abstract. Given a set of m coins out of a collection of coins of k unknown distinct weights, we wish to Coins with arbitrary weights Noga Alon Dmitry N. Kozlov y Abstract Given a set of m coins out of a collection of coins of k unknown distinct weights, we wish to decide if all the m given coins have the

More information

Hierarchical Simple Games: Weightedness and Structural Characterization

Hierarchical Simple Games: Weightedness and Structural Characterization Hierarchical Simple Games: Weightedness and Structural Characterization Tatiana Gvozdeva, Ali Hameed and Arkadii Slinko Department of Mathematics, The University of Auckland, Private Bag 92019, Auckland,

More information

Detecting Backdoor Sets with Respect to Horn and Binary Clauses

Detecting Backdoor Sets with Respect to Horn and Binary Clauses Detecting Backdoor Sets with Respect to Horn and Binary Clauses Naomi Nishimura 1,, Prabhakar Ragde 1,, and Stefan Szeider 2, 1 School of Computer Science, University of Waterloo, Waterloo, Ontario, N2L

More information

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University Algorithms NP -Complete Problems Dong Kyue Kim Hanyang University dqkim@hanyang.ac.kr The Class P Definition 13.2 Polynomially bounded An algorithm is said to be polynomially bounded if its worst-case

More information

IBM Almaden Research Center, 650 Harry Road, School of Mathematical Sciences, Tel Aviv University, TelAviv, Israel

IBM Almaden Research Center, 650 Harry Road, School of Mathematical Sciences, Tel Aviv University, TelAviv, Israel On the Complexity of Some Geometric Problems in Unbounded Dimension NIMROD MEGIDDO IBM Almaden Research Center, 650 Harry Road, San Jose, California 95120-6099, and School of Mathematical Sciences, Tel

More information

NP-completeness. Chapter 34. Sergey Bereg

NP-completeness. Chapter 34. Sergey Bereg NP-completeness Chapter 34 Sergey Bereg Oct 2017 Examples Some problems admit polynomial time algorithms, i.e. O(n k ) running time where n is the input size. We will study a class of NP-complete problems

More information

Contents. 6 Systems of First-Order Linear Dierential Equations. 6.1 General Theory of (First-Order) Linear Systems

Contents. 6 Systems of First-Order Linear Dierential Equations. 6.1 General Theory of (First-Order) Linear Systems Dierential Equations (part 3): Systems of First-Order Dierential Equations (by Evan Dummit, 26, v 2) Contents 6 Systems of First-Order Linear Dierential Equations 6 General Theory of (First-Order) Linear

More information