Two Approaches for Hamiltonian Circuit Problem using Satisfiability

Size: px
Start display at page:

Download "Two Approaches for Hamiltonian Circuit Problem using Satisfiability"

Transcription

1 Two Approaches for Hamiltonian Circuit Problem using Satisfiability Jaya Thomas 1, and Narendra S. Chaudhari 2 1,2 Department of Computer science & Engineering, Indian Institute of Technology, M-Block I.E.T D.A.V.V Campus, Khandwa Road, Indore , India. {jayat@iiti.ac.in, nsc183@gmail.com, narendra@iiti.ac.in} Abstract. A Hamiltonian circuit is a cycle in a graph which visits each vertex exactly once and also returns to the starting vertex. Determining whether such cycles exist in graphs is the Hamiltonian Circuit problem. In this paper, we propose two different approaches to solve the problem. Both our approaches proceed, by reducing a given graph to its equivalent 3-SAT representation. Further, we explore the generated clauses to determine a satisfying truth value assignment. If the values assigned evaluate the clauses to true it indicates the presence of Hamiltonian circuit otherwise not. The two approaches differ in the number of constraints used for reduction. The approach discussed, is better than the already existing backtracking and heuristic based approaches. Keywords: Hamiltonian Circuit, Satisfiability, 3SAT, constraints, NP- Complete. 1 Introduction A Hamiltonian circuit in a connected graph is defined as a closed walk that traverses every vertex of G exactly once, except of course the starting vertex. The objective is to find a path of consecutive vertices along the edges, visiting every vertex exactly once and returning to the original vertex to complete a circuit. The general problem of trying to find such Hamiltonian Circuits in arbitrary graphs turned out to be very difficult to solve. It was shown by karp[1] that the problem belong to the class of NP-Complete problem[2][3], which are believed to be computationally intractable. The Hamiltonian circuit problem may be considered an important combinatorial optimization problem, with application in many real world situations such as routing and ordering problem[4][5]. The problem belongs to a recently studied class of problems defined on colored graphs having several applications in telecommunication networks, electric networks, multimodal transportation networks, among others, where one aims to ensure connectivity or other properties by means of a limited number of different connections. This problem is studied in different domains like determination for existence of Hamiltonian paths on random geometric networks with random faults, which is an

2 important issue, because if a network has this property it is possible to build a path to efficiently perform distributed computations based on end-to-end communication protocols, which allow distributed algorithms to treat an unreliable network as a reliable channel[6]. It is also used to embed a ring in a hypercube, which is to find a Hamiltonian cycle through every node of the hypercube[7]. In this paper we propose two different approaches to solve the problem using Boolean satisfiability concept. The methodology is firstly to determine the various constraints to be satisfied for the existence of Hamiltonian circuit in the given graph. These constraints are then mapped to equivalent Boolean clauses in conjunctive normal form(cnf) and can be solved using the SAT solvers. The satisfiability or unsatisfiability of the generated clause indicates the presence or absence respectively of the Hamiltonian circuit in the given graph. The organization of the paper is, in section 2, we will briefly discuss about the background of the problem. Section 3 gives the detailed description of the proposed methodology for both the approaches. Section 4, we give the algorithm used for implementation of the source code to generated the equivalent CNF. In section 5, we give the concluding remarks. 2 Background The problem was invented by Sir William Rowan Hamilton in 1859 as a game which required finding a route along the edges of a regular dodecahedron that would pass once and only once through every point. The problem was worked on and since 1936 some progress was made. G.A. Dirac, 1952 stated that If G is a simple graph with n( 3) vertices, and if the degree of each is at least 1/2n, then G is Hamiltonian. O.Ore, 1960 [8] gave the approach that If G is a simple graph with n( 3) vertices, and if the sum of the degrees of each pair of non-adjacent vertices is at least n, then G is Hamiltonian. Bondy and Chvatal[9], 1976 For G to be Hamiltonian, it is necessary and sufficient that [G] n be Hamiltonian. ([G] n is gotten from G by adding edges joining non-adjacent vertices whose sum of degrees is equal to, or greater than n). Fraudee, Dould, Jacobsen, Schelp (1989) If G is a 2-connected graph such that for every pair of nonadjacent nodes u and v, d(u)+d(v) (2n-1)/3 then G is Hamiltonian. There are two basic approaches for solving the problem one is the heuristic[12] and other backtracking[13]. In the backtracking approach is to search for all the potential solutions. These approaches employ pruning of some kind to restrict the amount of researching. The main advantage is it finds all solution, and can decide Hamilton Circuit exists or not. The demerit of the approach is in worst case, it needs exponential time. The other approach is heuristic with the advantage that it is fast, linear or low-order polynomial time, the demerit being may be cannot find the Hamilton Circuit. It is well known (e.g., see Robinson and Wormald [10]) that almost all regular graphs are Hamiltonian. It is also well known (e.g., see Woodall [11]) that all sufficiently dense graphs are Hamiltonian, and so in the thesis, author primarily considers sparse graphs. For Hamiltonian graphs, a constructive solution to HCP is to explicitly

3 find a Hamiltonian cycle. Many heuristics have been designed that attempt to find a single Hamiltonian cycle as quickly as possible, solving the HCP quickly in most cases. For non-hamiltonian graphs, however, no Hamiltonian cycles exist and the heuristics fail. 3 Proposed Methodology In this paper we present two different approaches for converting Hamiltonian circuit problem to 3SAT. The two approaches differ in the number of constraints used for conversion. In both the approaches a propositional value to the edge is assigned and clauses are written considering each vertex in the graph. Due to difference in selection criteria/ constraints for determining the existence of Hamiltonian cycle, the number and the nature of the clauses generated in both the cases are different. In the coming section we are going to detail both the approaches. 3.1 Generalized Constraints reduction approach In this approach, we proceed by assigning the Boolean variable for each edge based on the direction in case of directed graph. The assignment is shown below e i, j = 1 [if the edge exists from node i to node j] 0 [otherwise] Thus the number of literals that will be used to represent the edges will depend on the number of ones, present in the adjacency matrix of the graph say N x N, where N is the total number of vertex present in the given graph. We assume that the graph does not contain any self loop, thus values corresponding to it in the adjacency matrix are set to zero. The literals corresponding to the edges are used, to represent the constraints that exist on any edge to be part of the Hamiltonian Cycle, and then these constraints are further formulated into respective equivalent clauses. For any edge to be included in the Hamiltonian circuit path, we need to ensure that certain constraints are met. If we select an edge from the graph, than for the edge to be part of Hamilton cycle, it must fulfill the four governing conditions:- Firstly, there must not be any close loop or cycle to ensure this condition, if an edge exists from node i to node j i.e. e i, j is true than a reverse edge from j to i is not allowed. e i, j j i e, (1) Secondly, if any vertex is selected to be the source vertex for an edge then, it cannot be selected again to be the source vertex of any other edge. In other words, if an

4 edge exists from source node i to node j than edge to no other edge is allowed from same source node i. e, e i, k (2) i j Thirdly, if any vertex is selected to be the destination vertex for an edge then, it cannot be selected again to be the destination vertex of any other edge. In other words, if an edge exists from node i to destination node j than edge from no other node is allowed to same destination j. e i, j k j e, (3) Finally, the clause set would be completed by considering each vertex present in the given graph. For each of the vertex one and only one of the outgoing edges must be a part of the complete sets of Hamiltonian cycle. The constraint can be generalized as N i, j 1 i e (4) SAT Clause for generalized approach. The constraints mentioned above are crucial for determining the Hamiltonian cycle in any graph. Each constraints mentioned above can be formulated as SAT instance. Considering, the constraints (1)(2) and (3) which are of the form a b the equivalent CNF representation is a b. The constraint (4) is already in CNF Illustrative Example Fig. 1. Undirected Graph with 5 vertices Considering the above example, let us apply the constraints to be satisfied in case the Hamiltonian cycle exists in the given graph. Considering, the constraint reduction to SAT only for the first node 1, for the remaining node refer the Appendix1. The first

5 clause corresponds to the first constraint, the next to the second one and so on. However, the number varies depending on the number of connected edges. x x 2, 1 )( x 1, 2 x 1, 3 )( x1, 2 x 1, 5 )( x 1, 2 x 3, 2 )( x1, 2 x x 1, 5 ) (5) ( 1, 2 1,3 3.2 Specialized Constraints Reduction Approach The above discussed approach, and the current approach both are suitable for a both directed and undirected graph. Let there be a graph G=(V,E),where V is the set of N vertex and E is the set of M edges, V =N and E =M. In this case we do not consider edge label as vertex to vertex end, but here we assign each edge of the graph a Boolean literal value. Two main constraints are applied in this approach. In the first constraint, we focus on the fact that for the presence of Hamiltonian circuit in a graph, each vertex must have atleast two edges connected to it. So, we assign a Boolean literal to each edge present in the graph, and then we explore each vertex one by one, by generating the clauses that satisfy the above constraint. The clauses are generated in the following manner. If a vertex has only two edges connecting it, then the Boolean literals can be directly written in conjunction form. In case, there are more than two edges connecting a particular vertex then the clause will be generated by taking two literals at a time and negating the rest, all the possible cases generated would be combined and written in conjunction. Then, finally on combining all the cases, we have clauses in Disjunction Normal form. The form is converted into CNF, using the demorgan s law. The clauses we obtain are in SAT with k literal each( where k=2 N E, N E number of edges). This is further converted into 3-SAT, i.e. each clause with 3 literals each. The clause generated by the above approach, may become true also for the presence of disjoint cycle. Thus, another constraint need to be introduced which take care of such violating conditions. Second constraint basically, finds all the cycle that may exist in the given graph, but not containing all the vertices. In other words we find, incomplete cycle that exist in the given graph. To, generate the clauses for these cycle, we will consider the Boolean literals assigned to the edges which are not part of the cycle, and we will consider all possible combinations of these literals, in pair, again the clauses generate in this case would be again in DNF, which need to be converted back to CNF. Another, note worthy point is that, if we consider only the first constraint, for 3- SAT clause generation, then also, we can determine the existence of Hamiltonian circuit subjected to monitoring constraint. Suppose, given a Hamilton circuit with n vertices must have exactly n edges. Thus, for the Hamilton Circuit to exist, out of m literals, at most n must be TRUE and m-n must be FALSE. This we can conclude by the fact, that we are assign Boolean literals to the edge, so if the edge literal

6 evaluates to true means the presence of the edge in the Hamiltonian circuit. The above discussed approach is illustrated with the help of example, in the next section Illustrative Example. e 6 6 e 5 5 e 4 e 7 1 e 8 4 e e 3 Fig. 2. Edge labeled with Boolean literals Now, applying the constraints on the vertex in figure 2. The clauses generated are:- (e 1 e 2 )( e 1 e 2 e 8 e 1 e 2 e 8 e 1 e 2 e 8 ) ( e 2 e 3 e 7 e 2 e 3 e 7 e 2 e 3 e 7 ) (e 3 e 4 )( e 4 e 5 e 8 e 4 e 5 e 8 e 4 e 5 e 8 )( e 5 e 6 e 7 e 5 e 6 e 7 e 5 e 6 e 7 ) Now considering the next constraint of in complete cycle i.e. not containing all the nodes like , , , etc. The clause generated for is: (e 6 e 7 e 7 e 8 e 6 e 8 ) and similarly can be done for the remaining cycles. e 2 4 Implementation In this section, we illustrate the algorithm used for the implementation of the source code to generate 3-CNF clauses. Suppose, we are given a graph G(V,M), where number of Vertex V be n, and the number of edges M be m. 4.1 Algorithm 1. Take input in the form of adjacency matrix x[n][n] for the graph from the user. 2. for i= 1: n do 3. For each k nodes connected to node i 4. Select a node l such that l belongs to k 5. Using constraint (1) generate a clause for (i, l) pair. 6. For all edges connected to node i 7. Apply constraint (2)

7 8. For all edges connected to node l 9. Apply constraint (3) 10. For each edge connected to i use constraint (4) 11. End for 12. Convert from k-cnf to3-cnf. 13. End 5 Conclusion In this paper, we have illustrated the two different approaches using which a given graph can be tested to check the presence of Hamiltonian circuit. To, do so we have actually reduced the given graph into 3SAT instances using all the constraints mandatory for the existence of Hamiltonian circuit. The clauses generated would be satisfied if and only if the Hamiltonian circuit exists. The approach is more efficient than existing backtracking and other heuristic based approaches. References 1. Karp, R.M.: Reducibility Among Combinatorial Problems in Complexity of Computer computations, ed. By R.E. Miller and J.W. Thatcher, Plenum Press, ew York, Garey, M.R. and Johnson, D.S.: Computers and Intractability, A Guide to the theory of NP-completeness, N.H Freeman and Co., San Francisco, Stephen Cook: The P versus NP Problem, official Problem Description, Millenium Problems, Clay Mathematics Institute, J.A. Bondy and U.S.R. Murty : Graph Theory with Applications, North Holland, Tutte, W.T. : On Hamiltonian Circuits, J. London of Math. Soc., Vol. 21(1946),pp Josep Diaz, Jordi Petit And Maria Serna: Faulty Random Geometric Networks, Parallel Processing Letters, World Scientific Publishing Company. 7. Yuh-Rong Leu and Sy-Yen Kuo,: Distributed Fault-Tolerant Ring Embedding and Reconfiguration in Hypercubes, ieee transactions on computers, vol. 48, no. 1, january O.Ore,: Notes on Hamilton Circuit, Amer. Math. Monthly, 65(1960), E. F. Schmeichel and S. L. Hakimi,: Pancyclic graphs and a conjecture of Bondy and Chvátal, Journal of Combinatorial Theory, Series B, Volume 17, Issue 1,, Pages 22-34, August R. Robinson and N. Wormald.: Almost all regular graphs are Hamiltonian. Random Structures and Algorithms, 5(2):Pages , E. W.Weisstein. Horton Graph.: mathworld.wolfram.com/ HortonGraph.html, Math World,A Wolfram Web Resource. 12. Masanori Arita and Akira Suyama and Masami Hagiya :A Heuristic Approach for Hamiltonian Path Problem with Molecules, Proceedings of the Second Annual Conference (GP-97) Pages , Ray-Shang Lo,Gen-Huey Chen: Embedding Hamiltonian Paths in Faulty Arrangement Graphs with the Backtracking Method, IEEE Transactions on Parallel and Distributed Systems,Volume 12 Issue 2, February 2001

8 Appendix Node 1: Clauses generation as per 1,2,3 and 4 ( x1, 2 x 2, 1)( x 1, 2 x 1, 3)( x1, 2 x 1, 5 )( x 1, 2 x 3, 2)( x1, 2 x1,3 x 1, 5 ) Node 2: ( x2, 3 x 3, 2 )( x 2, 3 x 2, 1 )( x 1, 2 x 3, 2)( x2, 3 x 1, 3 )( x2, 3 x 4, 3 )( x 2, 3 x 5, 3)( x2, 1 x 2, 3) Node 3: ( x3, 4 x 4, 3 )( x 3, 4 x 3, 5)( x3, 4 x 3, 1 )( x 3, 4 x 3, 2 )( x 3, 4 x 5, 4 )( x3, 4 x 3, 5 x 3, 2 x 3, 1) Node 4: ( x4, 5 5, 4 )( x 4, 5 x 4, 3) ( x4, 5 x 1, 5 )( x4, 5 x 3,5 )( x4, 5 x 4, 3 ) Node 5: ( x5, 1 x 1, 5 )( x 5, 1 x 5, 3 )( x 5, 1 x 5, 4 )( x 5, 1 x 2, 1 )( x 5, 1 x 3, 1 )( x5, 1 x5, 3 x 5, 4 )

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

Lecture 24 : Even more reductions

Lecture 24 : Even more reductions COMPSCI 330: Design and Analysis of Algorithms December 5, 2017 Lecture 24 : Even more reductions Lecturer: Yu Cheng Scribe: Will Wang 1 Overview Last two lectures, we showed the technique of reduction

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

Branching. Teppo Niinimäki. Helsinki October 14, 2011 Seminar: Exact Exponential Algorithms UNIVERSITY OF HELSINKI Department of Computer Science

Branching. Teppo Niinimäki. Helsinki October 14, 2011 Seminar: Exact Exponential Algorithms UNIVERSITY OF HELSINKI Department of Computer Science Branching Teppo Niinimäki Helsinki October 14, 2011 Seminar: Exact Exponential Algorithms UNIVERSITY OF HELSINKI Department of Computer Science 1 For a large number of important computational problems

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

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

Polynomial-Time Reductions

Polynomial-Time Reductions Reductions 1 Polynomial-Time Reductions Classify Problems According to Computational Requirements Q. Which problems will we be able to solve in practice? A working definition. [von Neumann 1953, Godel

More information

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death Nathan Brunelle Department of Computer Science University of Virginia www.cs.virginia.edu/~njb2b/theory

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

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

NP Completeness. CS 374: Algorithms & Models of Computation, Spring Lecture 23. November 19, 2015

NP Completeness. CS 374: Algorithms & Models of Computation, Spring Lecture 23. November 19, 2015 CS 374: Algorithms & Models of Computation, Spring 2015 NP Completeness Lecture 23 November 19, 2015 Chandra & Lenny (UIUC) CS374 1 Spring 2015 1 / 37 Part I NP-Completeness Chandra & Lenny (UIUC) CS374

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

Phase transitions in Boolean satisfiability and graph coloring

Phase transitions in Boolean satisfiability and graph coloring Phase transitions in Boolean satisfiability and graph coloring Alexander Tsiatas May 8, 2008 Abstract I analyzed the behavior of the known phase transitions in two NPcomplete problems, 3-colorability and

More information

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness Harry Lewis November 19, 2013 Reading: Sipser 7.4, 7.5. For culture : Computers and Intractability: A Guide to the Theory

More information

Introduction to Solving Combinatorial Problems with SAT

Introduction to Solving Combinatorial Problems with SAT Introduction to Solving Combinatorial Problems with SAT Javier Larrosa December 19, 2014 Overview of the session Review of Propositional Logic The Conjunctive Normal Form (CNF) Modeling and solving combinatorial

More information

Introduction. Pvs.NPExample

Introduction. Pvs.NPExample Introduction Computer Science & Engineering 423/823 Design and Analysis of Algorithms Lecture 09 NP-Completeness (Chapter 34) Stephen Scott (Adapted from Vinodchandran N. Variyam) sscott@cse.unl.edu I

More information

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions Summary of the previous lecture Recall that we mentioned the following topics: P: is the set of decision problems (or languages) that are solvable in polynomial time. NP: is the set of decision problems

More information

NP-complete problems. CSE 101: Design and Analysis of Algorithms Lecture 20

NP-complete problems. CSE 101: Design and Analysis of Algorithms Lecture 20 NP-complete problems CSE 101: Design and Analysis of Algorithms Lecture 20 CSE 101: Design and analysis of algorithms NP-complete problems Reading: Chapter 8 Homework 7 is due today, 11:59 PM Tomorrow

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

Automata Theory CS Complexity Theory I: Polynomial Time

Automata Theory CS Complexity Theory I: Polynomial Time Automata Theory CS411-2015-17 Complexity Theory I: Polynomial Time David Galles Department of Computer Science University of San Francisco 17-0: Tractable vs. Intractable If a problem is recursive, then

More information

NP and Computational Intractability

NP and Computational Intractability NP and Computational Intractability 1 Review Basic reduction strategies. Simple equivalence: INDEPENDENT-SET P VERTEX-COVER. Special case to general case: VERTEX-COVER P SET-COVER. Encoding with gadgets:

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

P versus NP. Math 40210, Fall November 10, Math (Fall 2015) P versus NP November 10, / 9

P versus NP. Math 40210, Fall November 10, Math (Fall 2015) P versus NP November 10, / 9 P versus NP Math 40210, Fall 2015 November 10, 2015 Math 40210 (Fall 2015) P versus NP November 10, 2015 1 / 9 Properties of graphs A property of a graph is anything that can be described without referring

More information

CSCI3390-Second Test with Solutions

CSCI3390-Second Test with Solutions CSCI3390-Second Test with Solutions April 26, 2016 Each of the 15 parts of the problems below is worth 10 points, except for the more involved 4(d), which is worth 20. A perfect score is 100: if your score

More information

SAT, NP, NP-Completeness

SAT, NP, NP-Completeness CS 473: Algorithms, Spring 2018 SAT, NP, NP-Completeness Lecture 22 April 13, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Part I Reductions Continued Ruta (UIUC)

More information

NP Completeness and Approximation Algorithms

NP Completeness and Approximation Algorithms Winter School on Optimization Techniques December 15-20, 2016 Organized by ACMU, ISI and IEEE CEDA NP Completeness and Approximation Algorithms Susmita Sur-Kolay Advanced Computing and Microelectronic

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

On the Structure and the Number of Prime Implicants of 2-CNFs

On the Structure and the Number of Prime Implicants of 2-CNFs On the Structure and the Number of Prime Implicants of 2-CNFs Navid Talebanfard Department of Mathematical and Computing Sciences, Tokyo Institute of Technology, Meguro-ku Ookayama 2-12-1, Japan 152-8552

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

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

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

Show that the following problems are NP-complete

Show that the following problems are NP-complete Show that the following problems are NP-complete April 7, 2018 Below is a list of 30 exercises in which you are asked to prove that some problem is NP-complete. The goal is to better understand the theory

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

Algorithms and Complexity Theory. Chapter 8: Introduction to Complexity. Computer Science - Durban - September 2005

Algorithms and Complexity Theory. Chapter 8: Introduction to Complexity. Computer Science - Durban - September 2005 Algorithms and Complexity Theory Chapter 8: Introduction to Complexity Jules-R Tapamo Computer Science - Durban - September 2005 Contents 1 Introduction 2 1.1 Dynamic programming...................................

More information

P versus NP. Math 40210, Spring September 16, Math (Spring 2012) P versus NP September 16, / 9

P versus NP. Math 40210, Spring September 16, Math (Spring 2012) P versus NP September 16, / 9 P versus NP Math 40210, Spring 2012 September 16, 2012 Math 40210 (Spring 2012) P versus NP September 16, 2012 1 / 9 Properties of graphs A property of a graph is anything that can be described without

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

NP-complete Problems

NP-complete Problems NP-complete Problems HP, TSP, 3COL, 0/1IP Dimitris Diamantis µπλ November 6, 2014 Dimitris Diamantis (µπλ ) NP-complete Problems November 6, 2014 1 / 34 HAMILTON PATH is NP-Complete Definition Given an

More information

Lecture 4: NP and computational intractability

Lecture 4: NP and computational intractability Chapter 4 Lecture 4: NP and computational intractability Listen to: Find the longest path, Daniel Barret What do we do today: polynomial time reduction NP, co-np and NP complete problems some examples

More information

Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA.

Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA. Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA NP Completeness Susmita Sur-Kolay Advanced Computing and Microelectronics Unit

More information

arxiv: v1 [cs.dm] 12 Jun 2016

arxiv: v1 [cs.dm] 12 Jun 2016 A Simple Extension of Dirac s Theorem on Hamiltonicity Yasemin Büyükçolak a,, Didem Gözüpek b, Sibel Özkana, Mordechai Shalom c,d,1 a Department of Mathematics, Gebze Technical University, Kocaeli, Turkey

More information

Spring Lecture 21 NP-Complete Problems

Spring Lecture 21 NP-Complete Problems CISC 320 Introduction to Algorithms Spring 2014 Lecture 21 NP-Complete Problems 1 We discuss some hard problems: how hard? (computational complexity) what makes them hard? any solutions? Definitions Decision

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

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel Propositional Logic Testing, Quality Assurance, and Maintenance Winter 2018 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/

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

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION "Winter" 2018 http://cseweb.ucsd.edu/classes/wi18/cse105-ab/ Today's learning goals Sipser Ch 7 Define NP-completeness Give examples of NP-complete problems Use polynomial-time

More information

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic.

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic. Propositional Logic Winter 2012 Propositional Logic: Section 1.1 Proposition A proposition is a declarative sentence that is either true or false. Which ones of the following sentences are propositions?

More information

Chapter 34: NP-Completeness

Chapter 34: NP-Completeness Graph Algorithms - Spring 2011 Set 17. Lecturer: Huilan Chang Reference: Cormen, Leiserson, Rivest, and Stein, Introduction to Algorithms, 2nd Edition, The MIT Press. Chapter 34: NP-Completeness 2. Polynomial-time

More information

NP-Complete Problems. More reductions

NP-Complete Problems. More reductions NP-Complete Problems More reductions Definitions P: problems that can be solved in polynomial time (typically in n, size of input) on a deterministic Turing machine Any normal computer simulates a DTM

More information

Graduate Algorithms CS F-21 NP & Approximation Algorithms

Graduate Algorithms CS F-21 NP & Approximation Algorithms Graduate Algorithms CS673-2016F-21 NP & Approximation Algorithms David Galles Department of Computer Science University of San Francisco 21-0: Classes of Problems Consider three problem classes: Polynomial

More information

Non-Deterministic Time

Non-Deterministic Time Non-Deterministic Time Master Informatique 2016 1 Non-Deterministic Time Complexity Classes Reminder on DTM vs NDTM [Turing 1936] (q 0, x 0 ) (q 1, x 1 ) Deterministic (q n, x n ) Non-Deterministic (q

More information

COMP Analysis of Algorithms & Data Structures

COMP Analysis of Algorithms & Data Structures COMP 3170 - Analysis of Algorithms & Data Structures Shahin Kamali Computational Complexity CLRS 34.1-34.4 University of Manitoba COMP 3170 - Analysis of Algorithms & Data Structures 1 / 50 Polynomial

More information

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013 Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of

More information

The Class NP. NP is the problems that can be solved in polynomial time by a nondeterministic machine.

The Class NP. NP is the problems that can be solved in polynomial time by a nondeterministic machine. The Class NP NP is the problems that can be solved in polynomial time by a nondeterministic machine. NP The time taken by nondeterministic TM is the length of the longest branch. The collection of all

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms Design and Analysis of Algorithms CSE 5311 Lecture 25 NP Completeness Junzhou Huang, Ph.D. Department of Computer Science and Engineering CSE5311 Design and Analysis of Algorithms 1 NP-Completeness Some

More information

On Hamiltonian cycles and Hamiltonian paths

On Hamiltonian cycles and Hamiltonian paths Information Processing Letters 94 (2005) 37 41 www.elsevier.com/locate/ipl On Hamiltonian cycles and Hamiltonian paths M. Sohel Rahman a,, M. Kaykobad a,b a Department of Computer Science and Engineering,

More information

NP-Hardness reductions

NP-Hardness reductions NP-Hardness reductions Definition: P is the class of problems that can be solved in polynomial time, that is n c for a constant c Roughly, if a problem is in P then it's easy, and if it's not in P then

More information

1. Introduction Recap

1. Introduction Recap 1. Introduction Recap 1. Tractable and intractable problems polynomial-boundness: O(n k ) 2. NP-complete problems informal definition 3. Examples of P vs. NP difference may appear only slightly 4. Optimization

More information

COP 4531 Complexity & Analysis of Data Structures & Algorithms

COP 4531 Complexity & Analysis of Data Structures & Algorithms COP 4531 Complexity & Analysis of Data Structures & Algorithms Lecture 18 Reductions and NP-completeness Thanks to Kevin Wayne and the text authors who contributed to these slides Classify Problems According

More information

NP-Complete Reductions 2

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

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

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1 CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY E. Amaldi Foundations of Operations Research Politecnico di Milano 1 Goal: Evaluate the computational requirements (this course s focus: time) to solve

More information

Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011

Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011 Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber 15-414 Aug 31, 2011 Why study SAT solvers? Many problems reduce to SAT. Formal verification CAD, VLSI Optimization AI, planning, automated

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

CS311 Computational Structures. NP-completeness. Lecture 18. Andrew P. Black Andrew Tolmach. Thursday, 2 December 2010

CS311 Computational Structures. NP-completeness. Lecture 18. Andrew P. Black Andrew Tolmach. Thursday, 2 December 2010 CS311 Computational Structures NP-completeness Lecture 18 Andrew P. Black Andrew Tolmach 1 Some complexity classes P = Decidable in polynomial time on deterministic TM ( tractable ) NP = Decidable in polynomial

More information

CS/COE

CS/COE CS/COE 1501 www.cs.pitt.edu/~nlf4/cs1501/ P vs NP But first, something completely different... Some computational problems are unsolvable No algorithm can be written that will always produce the correct

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

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

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem.

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem. 1 More on NP In this set of lecture notes, we examine the class NP in more detail. We give a characterization of NP which justifies the guess and verify paradigm, and study the complexity of solving search

More information

8. INTRACTABILITY I. Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley. Last updated on 2/6/18 2:16 AM

8. INTRACTABILITY I. Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley. Last updated on 2/6/18 2:16 AM 8. INTRACTABILITY I poly-time reductions packing and covering problems constraint satisfaction problems sequencing problems partitioning problems graph coloring numerical problems Lecture slides by Kevin

More information

Okunoye Babatunde O. Department of Pure and Applied Biology, Ladoke Akintola University of Technology, Ogbomoso, Nigeria.

Okunoye Babatunde O. Department of Pure and Applied Biology, Ladoke Akintola University of Technology, Ogbomoso, Nigeria. Resolving the decision version of the directed Hamiltonian path (cycle) problem under two special conditions by method of matrix determinant: An overview. Okunoye Babatunde O. Department of Pure and Applied

More information

Intro to Theory of Computation

Intro to Theory of Computation Intro to Theory of Computation LECTURE 25 Last time Class NP Today Polynomial-time reductions Adam Smith; Sofya Raskhodnikova 4/18/2016 L25.1 The classes P and NP P is the class of languages decidable

More information

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

6.080 / Great Ideas in Theoretical Computer Science Spring 2008 MIT OpenCourseWare http://ocw.mit.edu 6.080 / 6.089 Great Ideas in Theoretical Computer Science Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

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

Malaya J. Mat. 2(3)(2014)

Malaya J. Mat. 2(3)(2014) Malaya J Mat (3)(04) 80-87 On k-step Hamiltonian Bipartite and Tripartite Graphs Gee-Choon Lau a,, Sin-Min Lee b, Karl Schaffer c and Siu-Ming Tong d a Faculty of Comp & Mathematical Sciences, Universiti

More information

Cycle Double Cover Conjecture

Cycle Double Cover Conjecture Cycle Double Cover Conjecture Paul Clarke St. Paul's College Raheny January 5 th 2014 Abstract In this paper, a proof of the cycle double cover conjecture is presented. The cycle double cover conjecture

More information

Chapter 3. Complexity of algorithms

Chapter 3. Complexity of algorithms Chapter 3 Complexity of algorithms In this chapter, we see how problems may be classified according to their level of difficulty. Most problems that we consider in these notes are of general character,

More information

More NP-Complete Problems

More NP-Complete Problems CS 473: Algorithms, Spring 2018 More NP-Complete Problems Lecture 23 April 17, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Recap NP: languages/problems that have

More information

Problem Set 3 Due: Wednesday, October 22nd, 2014

Problem Set 3 Due: Wednesday, October 22nd, 2014 6.89: Algorithmic Lower Bounds Fall 24 Prof. Erik Demaine TAs: Sarah Eisenstat, Jayson Lynch Problem Set 3 Due: Wednesday, October 22nd, 24 Problem. A Tour of Hamiltonicity Variants For each of the following

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

Easy Problems vs. Hard Problems. CSE 421 Introduction to Algorithms Winter Is P a good definition of efficient? The class P

Easy Problems vs. Hard Problems. CSE 421 Introduction to Algorithms Winter Is P a good definition of efficient? The class P Easy Problems vs. Hard Problems CSE 421 Introduction to Algorithms Winter 2000 NP-Completeness (Chapter 11) Easy - problems whose worst case running time is bounded by some polynomial in the size of the

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

Some Algebra Problems (Algorithmic) CSE 417 Introduction to Algorithms Winter Some Problems. A Brief History of Ideas

Some Algebra Problems (Algorithmic) CSE 417 Introduction to Algorithms Winter Some Problems. A Brief History of Ideas Some Algebra Problems (Algorithmic) CSE 417 Introduction to Algorithms Winter 2006 NP-Completeness (Chapter 8) Given positive integers a, b, c Question 1: does there exist a positive integer x such that

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

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP CS 301 - Lecture 29 P, NP, and NP-Completeness Fall 2008 Review Languages and Grammars Alphabets, strings, languages Regular Languages Deterministic Finite and Nondeterministic Automata Equivalence of

More information

NP-Completeness. Subhash Suri. May 15, 2018

NP-Completeness. Subhash Suri. May 15, 2018 NP-Completeness Subhash Suri May 15, 2018 1 Computational Intractability The classical reference for this topic is the book Computers and Intractability: A guide to the theory of NP-Completeness by Michael

More information

Admin NP-COMPLETE PROBLEMS. Run-time analysis. Tractable vs. intractable problems 5/2/13. What is a tractable problem?

Admin NP-COMPLETE PROBLEMS. Run-time analysis. Tractable vs. intractable problems 5/2/13. What is a tractable problem? Admin Two more assignments No office hours on tomorrow NP-COMPLETE PROBLEMS Run-time analysis Tractable vs. intractable problems We ve spent a lot of time in this class putting algorithms into specific

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 26 Computational Intractability Polynomial Time Reductions Sofya Raskhodnikova S. Raskhodnikova; based on slides by A. Smith and K. Wayne L26.1 What algorithms are

More information

CS 350 Algorithms and Complexity

CS 350 Algorithms and Complexity 1 CS 350 Algorithms and Complexity Fall 2015 Lecture 15: Limitations of Algorithmic Power Introduction to complexity theory Andrew P. Black Department of Computer Science Portland State University Lower

More information

Correctness of Dijkstra s algorithm

Correctness of Dijkstra s algorithm Correctness of Dijkstra s algorithm Invariant: When vertex u is deleted from the priority queue, d[u] is the correct length of the shortest path from the source s to vertex u. Additionally, the value d[u]

More information

Computational Intractability 2010/4/15. Lecture 2

Computational Intractability 2010/4/15. Lecture 2 Computational Intractability 2010/4/15 Professor: David Avis Lecture 2 Scribe:Naoki Hatta 1 P and NP 1.1 Definition of P and NP Decision problem it requires yes/no answer. Example: X is a set of strings.

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

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 8. Satisfiability and Model Construction Davis-Putnam-Logemann-Loveland Procedure, Phase Transitions, GSAT Joschka Boedecker and Wolfram Burgard and Bernhard Nebel

More information

4/20/11. NP-complete problems. A variety of NP-complete problems. Hamiltonian Cycle. Hamiltonian Cycle. Directed Hamiltonian Cycle

4/20/11. NP-complete problems. A variety of NP-complete problems. Hamiltonian Cycle. Hamiltonian Cycle. Directed Hamiltonian Cycle A variety of NP-complete problems NP-complete problems asic genres. Packing problems: SE-PACKING, INDEPENDEN SE. Covering problems: SE-COVER, VEREX-COVER. Constraint satisfaction problems: SA, 3-SA. Sequencing

More information

Propositional logic II.

Propositional logic II. Lecture 5 Propositional logic II. Milos Hauskrecht milos@cs.pitt.edu 5329 ennott quare Propositional logic. yntax yntax: ymbols (alphabet) in P: Constants: True, False Propositional symbols Examples: P

More information

A Working Knowledge of Computational Complexity for an Optimizer

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 1 Why computational complexity? What is computational complexity theory? It s a branch of mathematics

More information

An Algorithmist s Toolkit September 24, Lecture 5

An Algorithmist s Toolkit September 24, Lecture 5 8.49 An Algorithmist s Toolkit September 24, 29 Lecture 5 Lecturer: Jonathan Kelner Scribe: Shaunak Kishore Administrivia Two additional resources on approximating the permanent Jerrum and Sinclair s original

More information

Nondeterministic Turing Machines

Nondeterministic Turing Machines Nondeterministic Turing Machines Remarks. I The complexity class P consists of all decision problems that can be solved by a deterministic Turing machine in polynomial time. I The complexity class NP consists

More information

Bounds on the Traveling Salesman Problem

Bounds on the Traveling Salesman Problem Bounds on the Traveling Salesman Problem Sean Zachary Roberson Texas A&M University MATH 613, Graph Theory A common routing problem is as follows: given a collection of stops (for example, towns, stations,

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