The Hamiltonian Strictly Alternating Cycle Problem
|
|
- Jeffry Stone
- 5 years ago
- Views:
Transcription
1 Advanced Studies in Biology, Vol. 4, 2012, no. 10, The Hamiltonian Strictly Alternating Cycle Problem Anna Gorbenko Department of Intelligent Systems and Robotics Ural Federal University Ekaterinburg, Russia Vladimir Popov Department of Intelligent Systems and Robotics Ural Federal University Ekaterinburg, Russia Abstract In this paper we consider an approach to solve the Hamiltonian strictly alternating cycle problem. This approach is based on constructing logical models for the problem. Keywords: Hamiltonian strictly alternating cycle, edge-colored graphs, logical model, satisfiability problem, NP-complete Different regularities extensively investigated in bioinformatics (see e.g. [1], [2]). For instance, the study of genome rearrangements has drawn a lot of attention (see e.g. [3]). In particular, according to Bennett s model of cytogenetics the order of the chromosomes is determined by an alternating Hamiltonian path of some graph G (see e.g. [4]). Therefore, it is natural to investigate different problems related to alternating Hamiltonian paths and cycles. In this paper we consider the Hamiltonian strictly alternating cycle problem. We assume that each edge of a graph has a color. If the number of colors is restricted by an integer c, we speak about c-edge-colored graphs. Let Kn c be a complete c-edge-colored graph with the set of vertices V = {v 1,v 2,...,v n }. Let {0, 1,...,c 1} be the set of colors of Kn c. Let E t is the set of edges of tth color where 0 t c 1. A strictly alternating cycle in Kn c is a cycle of length pc, where p is an integer, such that the sequence of colors (01...c 1)
2 492 A. Gorbenko and V. Popov is repeated p times. A strictly alternating cycle in Kn c is called Hamiltonian if it contains all the vertices of Kn c. The Hamiltonian strictly alternating cycle problem (HSAC): Instance: Kn c, E t, 0 t c 1. Question: Is there a Hamiltonian strictly alternating cycle in Kn? c Note that HSAC, c 3, is NP-complete [5]. Recently, encoding hard problems as Boolean satisfiability and solving them with very efficient satisfiability algorithms has caused considerable interest (see e.g. [6] [10]). In this paper, we consider an approach to solve HSAC. This approach is based on constructing logical models for the problem. Let ϕ[1] = 1 i n 1 j n x[i, j], ϕ[2] = 1 i n 1 j[1]<j[2] n ( x[i, j[1]] x[i, j[2]]), ϕ[3] = 1 j n 1 i[1]<i[2] n ( x[i[1],j] x[i[2],j]), δ[1] = 1 i<n 1 j[1] n 1 j[2] n (v j[1],v j[2] )/ E t t=i mod c δ[2] = 1 j[1] n 1 j[2] n (v j[1],v j[2] )/ E t t=i mod c ( x[i, j[1]] x[i +1,j[2]]), ( x[n, j[1]] x[1,j[2]]), ξ =( 3 i=1 ϕ[i]) ( 2 p=1 δ[p]). It is clear that ξ is a CNF. It is easy to check that ξ gives us an explicit reduction from HSAC to SAT. By direct verification we can check that α (α β 1 β 2 ) (α β 1 β 2 ) (α β 1 β 2 ) (α β 1 β 2 ), (1) l j=1 α j (α 1 α 2 β 1 ) ( i=1 l 4 i α i+2 β i+1 )) ( β l 3 α l 1 α l ), (2) α 1 α 2 (α 1 α 2 β) (α 1 α 2 β), (3) 4 j=1 α j (α 1 α 2 β 1 ) ( β 1 α 3 α 4 ) (4)
3 The Hamiltonian strictly alternating cycle problem 493 time OA1 (N) OA1 (G) OA1 (A) OA2 (N) OA2 (G) OA2 (A) average 2.6 h 2.4 h 2.1 h 2.7 h 2.63 h 2.28 h max 11.2 h 9.8 h 8.6 h 10.9 h 10.1 h 9.7 h best 9.3 min 8.1 min 11.4 min 27.6 min 14.2 min 37 sec Table 1: Experimental results for reduction to 3SAT where OA1 (N) is OA from [11] for natural instances, OA1 (G) is OA from [11] for automatic generation of recognition modules, OA1 (A) is OA from [11] for algebraic instances, OA2 (N) is OA from [12] for natural instances, OA2 (G) is OA from [12] for automatic generation of recognition modules, OA2 (A) is OA from [12] for algebraic instances. where l>4. Using relations (1) (4) we can easily obtain an explicit transformation ξ into ζ such that ξ ζ and ζ is a 3-CNF. It is clear that ζ gives us an explicit reduction from HSAC to 3SAT. We consider 3SAT solvers from [11], [12]. We have created a generator of natural instances for HSAC. In many self-learning systems, to solve the problem of automatic generation of recognition modules we need a training set which represents a set of configurations of the system and a set of confirmations and contradictions for the object (see e.g. [13]). It is easy to see that such training set can be represented by some edge-colored graph G. In this case, to setup a self-learning process we need to solve HSAC for G. We have designed a generator of instances for automatic generation of recognition modules. Algorithmic problems of algebra have been studied intensively in the last decades (see e.g. [14] [23]). Many algorithmic problems of algebra can be solved by an interpretation of Minsky machines and Turing machines (see e.g. [24] [32]). Such interpretations can be simulated by edge-colored graphs. Using this idea we have created a generator of algebraic instances for HSAC. We have used heterogeneous cluster for our computational experiments. Each test was runned on a cluster of at least 100 nodes. Selected experimental results are given in Table 1. References [1] V. Yu. Popov, Computational complexity of problems related to DNA sequencing by hybridization, Doklady Mathematics, 72 (2005), [2] V. Popov, The approximate period problem for DNA alphabet, Theoretical Computer Science, 304 (2003), [3] V. Popov, Multiple genome rearrangement by swaps and by element duplications, Theoretical Computer Science, 385 (2007),
4 494 A. Gorbenko and V. Popov [4] D. Dorninger, Hamiltonian circuits determining the order of chromosomes, Discrete Applied Mathematics, 50 (1994), [5] A. Benkouar, Y. Manoussakis, V. Paschos and R.Saad, On the complexity of Hamiltonian and Eulerian problems in edge-colored complete graphs, Lecture Notes in Computer Sciences, 557 (1991), [6] A. Gorbenko and V. Popov, The Longest Common Subsequence Problem, Advanced Studies in Biology, 4 (2012), [7] A. Gorbenko and V. Popov, The set of parameterized k-covers problem, Theoretical Computer Science, 423 (2012), [8] A. Gorbenko and V. Popov, Element Duplication Centre Problem and Railroad Tracks Recognition, Advanced Studies in Biology, 4 (2012), [9] A. Gorbenko and V. Popov, Programming for Modular Reconfigurable Robots, Programming and Computer Software, 38 (2012), [10] A. Gorbenko, V. Popov, and A. Sheka, Localization on Discrete Grid Graphs, Proceedings of the CICA 2011, (2012), [11] A. Gorbenko and V. Popov, Task-resource Scheduling Problem, International Journal of Automation and Computing, 9 (2012), [12] A. Gorbenko and V. Popov, On the Optimal Reconfiguration Planning for Modular Self-Reconfigurable DNA Nanomechanical Robots, Advanced Studies in Biology, 4 (2012), [13] A. Gorbenko and V. Popov, Self-Learning Algorithm for Visual Recognition and Object Categorization for Autonomous Mobile Robots, Proceedings of the CICA 2011, (2012), [14] V. Yu. Popov, Critical theories of supervarieties of the variety of commutative associative rings, Siberian Mathematical Journal, 36 (1995), [15] V. Yu. Popov, Critical theories of varieties of nilpotent rings, Siberian Mathematical Journal, 38 (1997), [16] V. Yu. Popov, A ring variety without an independent basis, Mathematical Notes, 69 (2001), [17] Yu. M. Vazhenin and V. Yu. Popov, On positive and critical theories of some classes of rings, Siberian Mathematical Journal, 41 (2000),
5 The Hamiltonian strictly alternating cycle problem 495 [18] V. Yu. Popov, On connection between the word problem and decidability of the equational theory, Siberian Mathematical Journal, 41 (2000), [19] V. Yu. Popov, Critical theories of varieties of semigroups satisfying a permutation identity, Siberian Mathematical Journal, 42 (2001), [20] V. Yu. Popov, On the finite base property for semigroup varieties, Siberian Mathematical Journal, 43 (2002), [21] V. Yu. Popov, Markov properties of burnside varieties of semigroups, Algebra and Logic, 42 (2003), [22] V. Yu. Popov, The property of having independent basis in semigroup varieties, Algebra and Logic, 44 (2005), [23] Yu. M. Vazhenin and V. Yu. Popov, Decidability boundaries for some classes of nilpotent and solvable groups, Algebra and Logic, 39 (2000), [24] V. Yu. Popov, On complexity of the word problem for finitely presented commutative semigroups, Siberian Mathematical Journal, 43 (2002), [25] V. Yu. Popov, On the decidability of equational theories of varieties of rings, Mathematical Notes, 63 (1998), [26] V. Yu. Popov, On equational theories of varieties of anticommutative rings, Mathematical Notes, 65 (1999), [27] V. Yu. Popov, On the derivable identity problem in varieties of rings, Siberian Mathematical Journal, 40 (1999), [28] V. Yu. Popov, On equational theories of classes of finite rings, Siberian Mathematical Journal, 40 (1999), [29] V. Yu. Popov, Undecidability of the word problem in relatively free rings, Mathematical Notes, 67 (2000), [30] V. Yu. Popov, Equational theories for classes of finite semigroups, Algebra and Logic, 40 (2001), [31] V. Yu. Popov, Decidability of equational theories of coverings of semigroup varieties, Siberian Mathematical Journal, 42 (2001), [32] V. Popov, The word problem for relatively free semigroups, Semigroup Forum, 72 (2006), Received: July, 2012
A Genetic Algorithm with Expansion and Exploration Operators for the Maximum Satisfiability Problem
Applied Mathematical Sciences, Vol. 7, 2013, no. 24, 1183-1190 HIKARI Ltd, www.m-hikari.com A Genetic Algorithm with Expansion and Exploration Operators for the Maximum Satisfiability Problem Anna Gorbenko
More informationComputational Experiments for the Problem of Sensor-Mission Assignment in Wireless Sensor Networks
Adv. Studies Theor. Phys., Vol. 7, 2013, no. 3, 135-139 HIKARI Ltd, www.m-hikari.com Computational Experiments for the Problem of Sensor-Mission Assignment in Wireless Sensor Networks Anna Gorbenko Department
More informationRECENTLY, a number of Hamiltonian problems for
The Hamiltonian Alternating Path Problem Anna Gorbenko, Vladimir Popov Abstract In this paper, we consider the Hamiltonian alternating path problem for graphs, multigraphs, and digraphs. We describe an
More informationThe Longest Common Subsequence Problem
Advanced Studies in Biology, Vol. 4, 2012, no. 8, 373-380 The Longest Common Subsequence Problem Anna Gorbenko Department of Intelligent Systems and Robotics Ural Federal University 620083 Ekaterinburg,
More informationThe Law of Luminous Intensity Variation and Technical Vision
Adv. Studies Theor. Phys. Vol. 7 2013 no. 8 349-354 HIKARI Ltd www.m-hikari.com The Law of Luminous Intensity Variation and Technical Vision Anna Gorbenko Department of Intelligent Systems and Robotics
More informationVARIOUS algorithms on sequences of symbols have
On the Constrained Longest Common Subsequence Problem Anna Gorbenko Abstract The problem of the longest common subsequence is a classical distance measure for strings. There have been several attempts
More informationIAENG International Journal of Computer Science, 39:3, IJCS_39_3_01. Anna Gorbenko, Vladimir Popov
The c-fragment Longest Arc-Preserving Common Subsequence Problem Anna Gorbenko, Vladimir Popov Abstract Arc-annotated sequences are useful in representing the structural information of RNA and protein
More informationApproximation Algorithms
Approximation Algorithms Announcements Problem Set 9 due right now. Final exam this Monday, Hewlett 200 from 12:15PM- 3:15PM Please let us know immediately after lecture if you want to take the final at
More informationCOSE215: Theory of Computation. Lecture 20 P, NP, and NP-Complete Problems
COSE215: Theory of Computation Lecture 20 P, NP, and NP-Complete Problems Hakjoo Oh 2018 Spring Hakjoo Oh COSE215 2018 Spring, Lecture 20 June 6, 2018 1 / 14 Contents 1 P and N P Polynomial-time reductions
More informationCSC 1700 Analysis of Algorithms: P and NP Problems
CSC 1700 Analysis of Algorithms: P and NP Problems Professor Henry Carter Fall 2016 Recap Algorithmic power is broad but limited Lower bounds determine whether an algorithm can be improved by more than
More informationCS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT
CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT Definition: A language B is NP-complete if: 1. B NP 2. Every A in NP is poly-time reducible to B That is, A P B When this is true, we say B is NP-hard On
More informationNP 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 informationShow 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 informationLecture 16: Time Complexity and P vs NP
6.045 Lecture 16: Time Complexity and P vs NP 1 Time-Bounded Complexity Classes Definition: TIME(t(n)) = { L there is a Turing machine M with time complexity O(t(n)) so that L = L(M) } = { L L is a language
More informationNP-Complete Problems. Complexity Class P. .. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar..
.. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar.. Complexity Class P NP-Complete Problems Abstract Problems. An abstract problem Q is a binary relation on sets I of input instances
More informationAlgorithm 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 informationPROPOSITIONAL LOGIC. VL Logik: WS 2018/19
PROPOSITIONAL LOGIC VL Logik: WS 2018/19 (Version 2018.2) Martina Seidl (martina.seidl@jku.at), Armin Biere (biere@jku.at) Institut für Formale Modelle und Verifikation BOX Game: Rules 1. The game board
More informationLecture 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 informationCS154, Lecture 13: P vs NP
CS154, Lecture 13: P vs NP The EXTENDED Church-Turing Thesis Everyone s Intuitive Notion of Efficient Algorithms Polynomial-Time Turing Machines More generally: TM can simulate every reasonable model of
More information8. 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 informationDIFFERENT problems of technical vision have been
Visual Landmark Selection for Mobile Robot Navigation Anna Gorbenko, Vladimir Popov Abstract A large number of landmarks selection techniques has been proposed. However, finding optimal solutions requires
More informationHarvard 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 informationDesign 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 informationP 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 informationAnnouncements. 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 informationIntro 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 informationCS154, Lecture 13: P vs NP
CS154, Lecture 13: P vs NP The EXTENDED Church-Turing Thesis Everyone s Intuitive Notion of Efficient Algorithms Polynomial-Time Turing Machines More generally: TM can simulate every reasonable model of
More informationTopics in Complexity Theory
Topics in Complexity Theory Announcements Final exam this Friday from 12:15PM-3:15PM Please let us know immediately after lecture if you want to take the final at an alternate time and haven't yet told
More informationLecture 25: Cook s Theorem (1997) Steven Skiena. skiena
Lecture 25: Cook s Theorem (1997) Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Prove that Hamiltonian Path is NP
More informationNP-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 informationCS 320, Fall Dr. Geri Georg, Instructor 320 NP 1
NP CS 320, Fall 2017 Dr. Geri Georg, Instructor georg@colostate.edu 320 NP 1 NP Complete A class of problems where: No polynomial time algorithm has been discovered No proof that one doesn t exist 320
More informationInstructor N.Sadagopan Scribe: P.Renjith. Lecture- Complexity Class- P and NP
Indian Institute of Information Technology Design and Manufacturing, Kancheepuram Chennai 600 127, India An Autonomous Institute under MHRD, Govt of India http://www.iiitdm.ac.in COM 501 Advanced Data
More informationUndecidable 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 informationUC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, Notes 22 for CS 170
UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, 2003 Notes 22 for CS 170 1 NP-completeness of Circuit-SAT We will prove that the circuit satisfiability
More informationCOP 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 informationComplexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München
Complexity Theory Jörg Kreiker Chair for Theoretical Computer Science Prof. Esparza TU München Summer term 2010 Lecture 5 NP-completeness (2) 3 Cook-Levin Teaser A regular expression over {0, 1} is defined
More informationComplexity theory for fellow CS students
This document contains some basics of the complexity theory. It is mostly based on the lecture course delivered at CS dept. by Meran G. Furugyan. Differences are subtle. Disclaimer of warranties apply:
More informationNP 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 informationan 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 informationLecture 17: Cook-Levin Theorem, NP-Complete Problems
6.045 Lecture 17: Cook-Levin Theorem, NP-Complete Problems 1 Is SAT solvable in O(n) time on a multitape TM? Logic circuits of 6n gates for SAT? If yes, then not only is P=NP, but there would be a dream
More informationPolynomial-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 informationRanking Verification Counterexamples: An Invariant guided approach
Ranking Verification Counterexamples: An Invariant guided approach Ansuman Banerjee Indian Statistical Institute Joint work with Pallab Dasgupta, Srobona Mitra and Harish Kumar Complex Systems Everywhere
More informationMACHINE COMPUTING. the limitations
MACHINE COMPUTING the limitations human computing stealing brain cycles of the masses word recognition: to digitize all printed writing language education: to translate web content games with a purpose
More informationCS 583: Algorithms. NP Completeness Ch 34. Intractability
CS 583: Algorithms NP Completeness Ch 34 Intractability Some problems are intractable: as they grow large, we are unable to solve them in reasonable time What constitutes reasonable time? Standard working
More informationNP 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 informationNP-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 informationFinish K-Complexity, Start Time Complexity
6.045 Finish K-Complexity, Start Time Complexity 1 Kolmogorov Complexity Definition: The shortest description of x, denoted as d(x), is the lexicographically shortest string such that M(w) halts
More informationPolynomial-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 informationLecture 21: Algebraic Computation Models
princeton university cos 522: computational complexity Lecture 21: Algebraic Computation Models Lecturer: Sanjeev Arora Scribe:Loukas Georgiadis We think of numerical algorithms root-finding, gaussian
More informationSAT, 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 informationChapter 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 informationBBM402-Lecture 11: The Class NP
BBM402-Lecture 11: The Class NP Lecturer: Lale Özkahya Resources for the presentation: http://ocw.mit.edu/courses/electrical-engineering-andcomputer-science/6-045j-automata-computability-andcomplexity-spring-2011/syllabus/
More informationAttacking AES via SAT
Computer Science Department Swansea University BCTCS Warwick, April 7, 2009 Introduction In the following talk, a general translation framework, based around SAT, is considered, with the aim of providing
More informationCSCI3390-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 informationLecture 7: Polynomial time hierarchy
Computational Complexity Theory, Fall 2010 September 15 Lecture 7: Polynomial time hierarchy Lecturer: Kristoffer Arnsfelt Hansen Scribe: Mads Chr. Olesen Recall that adding the power of alternation gives
More informationSAT, 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 informationComputational 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 informationCHAPTER 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 informationSAT-Solvers: propositional logic in action
SAT-Solvers: propositional logic in action Russell Impagliazzo, with assistence from Cameron Held October 22, 2013 1 Personal Information A reminder that my office is 4248 CSE, my office hours for CSE
More informationDRAFT. Algebraic computation models. Chapter 14
Chapter 14 Algebraic computation models Somewhat rough We think of numerical algorithms root-finding, gaussian elimination etc. as operating over R or C, even though the underlying representation of the
More informationPOLYNOMIAL SPACE QSAT. Games. Polynomial space cont d
T-79.5103 / Autumn 2008 Polynomial Space 1 T-79.5103 / Autumn 2008 Polynomial Space 3 POLYNOMIAL SPACE Polynomial space cont d Polynomial space-bounded computation has a variety of alternative characterizations
More informationComplexity (Pre Lecture)
Complexity (Pre Lecture) Dr. Neil T. Dantam CSCI-561, Colorado School of Mines Fall 2018 Dantam (Mines CSCI-561) Complexity (Pre Lecture) Fall 2018 1 / 70 Why? What can we always compute efficiently? What
More informationCS21 Decidability and Tractability
CS21 Decidability and Tractability Lecture 18 February 16, 2018 February 16, 2018 CS21 Lecture 18 1 Outline the complexity class NP 3-SAT is NP-complete NP-complete problems: independent set, vertex cover,
More informationAlgorithms and Theory of Computation. Lecture 22: NP-Completeness (2)
Algorithms and Theory of Computation Lecture 22: NP-Completeness (2) Xiaohui Bei MAS 714 November 8, 2018 Nanyang Technological University MAS 714 November 8, 2018 1 / 20 Set Cover Set Cover Input: a set
More informationComplexity, P and NP
Complexity, P and NP EECS 477 Lecture 21, 11/26/2002 Last week Lower bound arguments Information theoretic (12.2) Decision trees (sorting) Adversary arguments (12.3) Maximum of an array Graph connectivity
More informationLecture 19: Finish NP-Completeness, conp and Friends
6.045 Lecture 19: Finish NP-Completeness, conp and Friends 1 Polynomial Time Reducibility f : Σ* Σ* is a polynomial time computable function if there is a poly-time Turing machine M that on every input
More informationThe P versus NP Problem. Ker-I Ko. Stony Brook, New York
The P versus NP Problem Ker-I Ko Stony Brook, New York ? P = NP One of the seven Millenium Problems The youngest one A folklore question? Has hundreds of equivalent forms Informal Definitions P : Computational
More informationCS151 Complexity Theory. Lecture 1 April 3, 2017
CS151 Complexity Theory Lecture 1 April 3, 2017 Complexity Theory Classify problems according to the computational resources required running time storage space parallelism randomness rounds of interaction,
More informationInstructor N.Sadagopan Scribe: P.Renjith
Indian Institute of Information Technology Design and Manufacturing, Kancheepuram Chennai 600 127, India An Autonomous Institute under MHRD, Govt of India http://www.iiitdm.ac.in COM 501 Advanced Data
More informationFormal Verification Methods 1: Propositional Logic
Formal Verification Methods 1: Propositional Logic John Harrison Intel Corporation Course overview Propositional logic A resurgence of interest Logic and circuits Normal forms The Davis-Putnam procedure
More informationCS21 Decidability and Tractability
CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max
More informationCSCI3390-Lecture 16: NP-completeness
CSCI3390-Lecture 16: NP-completeness 1 Summary We recall the notion of polynomial-time reducibility. This is just like the reducibility we studied earlier, except that we require that the function mapping
More informationLimitations 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 informationsatisfiability (sat) Satisfiability unsatisfiability (unsat or sat complement) and validity Any Expression φ Can Be Converted into CNFs and DNFs
Any Expression φ Can Be Converted into CNFs and DNFs φ = x j : This is trivially true. φ = φ 1 and a CNF is sought: Turn φ 1 into a DNF and apply de Morgan s laws to make a CNF for φ. φ = φ 1 and a DNF
More informationAutomata 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 informationvon Neumann Architecture
Computing with DNA & Review and Study Suggestions 1 Wednesday, April 29, 2009 von Neumann Architecture Refers to the existing computer architectures consisting of a processing unit a single separate storage
More informationNP and NP-Completeness
CSC 364S Notes University of Toronto, Spring, 2003 NP NP and NP-Completeness NP is a class of languages that contains all of P, but which most people think also contains many languages that aren t in P.
More informationU.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 informationJASS 06 Report Summary. Circuit Complexity. Konstantin S. Ushakov. May 14, 2006
JASS 06 Report Summary Circuit Complexity Konstantin S. Ushakov May 14, 2006 Abstract Computer science deals with many computational models. In real life we have normal computers that are constructed using,
More informationCS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle
8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems: SAT, 3-SAT. Sequencing problems: HAMILTONIAN-CYCLE,
More informationNP-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 informationIntroduction to Complexity Theory
Introduction to Complexity Theory Read K & S Chapter 6. Most computational problems you will face your life are solvable (decidable). We have yet to address whether a problem is easy or hard. Complexity
More informationCS6901: review of Theory of Computation and Algorithms
CS6901: review of Theory of Computation and Algorithms Any mechanically (automatically) discretely computation of problem solving contains at least three components: - problem description - computational
More informationIntroduction to Support Vector Machines
Introduction to Support Vector Machines Hsuan-Tien Lin Learning Systems Group, California Institute of Technology Talk in NTU EE/CS Speech Lab, November 16, 2005 H.-T. Lin (Learning Systems Group) Introduction
More informationLecture 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 informationSimplification by Truth Table and without Truth Table
Engineering Mathematics 2013 SUBJECT NAME SUBJECT CODE MATERIAL NAME MATERIAL CODE REGULATION UPDATED ON : Discrete Mathematics : MA2265 : University Questions : SKMA1006 : R2008 : August 2013 Name of
More informationTopics in Complexity
Topics in Complexity Please evaluate this course on Axess! Your feedback really does make a difference. Applied Complexity Theory Complexity theory has enormous practical relevance across various domains
More informationState Space Search Problems
State Space Search Problems Lecture Heuristic Search Stefan Edelkamp 1 Overview Different state space formalisms, including labelled, implicit and explicit weighted graph representations Alternative formalisms:
More informationCSCI3390-Lecture 14: The class NP
CSCI3390-Lecture 14: The class NP 1 Problems and Witnesses All of the decision problems described below have the form: Is there a solution to X? where X is the given problem instance. If the instance is
More informationNP-Completeness. NP-Completeness 1
NP-Completeness x x x 2 x 2 x 3 x 3 x 4 x 4 2 22 32 3 2 23 3 33 NP-Completeness Outline and Reading P and NP ( 3.) Definition of P Definition of NP Alternate definition of NP NP-completeness ( 3.2) Definition
More informationMapping Reducibility. Human-aware Robotics. 2017/11/16 Chapter 5.3 in Sipser Ø Announcement:
Mapping Reducibility 2017/11/16 Chapter 5.3 in Sipser Ø Announcement: q Slides for this lecture are here: http://www.public.asu.edu/~yzhan442/teaching/cse355/lectures/mapping.pdf 1 Last time Reducibility
More informationCS294: Pseudorandomness and Combinatorial Constructions September 13, Notes for Lecture 5
UC Berkeley Handout N5 CS94: Pseudorandomness and Combinatorial Constructions September 3, 005 Professor Luca Trevisan Scribe: Gatis Midrijanis Notes for Lecture 5 In the few lectures we are going to look
More informationSatisfiability over Cross Product is NP
Satisfiability over Cross Product is NP º R -complete Christian Herrmann, Johanna Sokoli, Martin Ziegler Reminder: Complexity Theory P := { L {,1}* decidable in polynomial time } NP := { L verifiable in
More informationComputer Science 385 Analysis of Algorithms Siena College Spring Topic Notes: Limitations of Algorithms
Computer Science 385 Analysis of Algorithms Siena College Spring 2011 Topic Notes: Limitations of Algorithms We conclude with a discussion of the limitations of the power of algorithms. That is, what kinds
More informationPolynomial-time reductions. We have seen several reductions:
Polynomial-time reductions We have seen several reductions: Polynomial-time reductions Informal explanation of reductions: We have two problems, X and Y. Suppose we have a black-box solving problem X in
More information1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT
1 Algebraic Methods In an algebraic system Boolean constraints are expressed as a system of algebraic equations or inequalities which has a solution if and only if the constraints are satisfiable. Equations
More informationComplete problems for classes in PH, The Polynomial-Time Hierarchy (PH) oracle is like a subroutine, or function in
Oracle Turing Machines Nondeterministic OTM defined in the same way (transition relation, rather than function) oracle is like a subroutine, or function in your favorite PL but each call counts as single
More informationVIII. NP-completeness
VIII. NP-completeness 1 / 15 NP-Completeness Overview 1. Introduction 2. P and NP 3. NP-complete (NPC): formal definition 4. How to prove a problem is NPC 5. How to solve a NPC problem: approximate algorithms
More informationNP and NP Completeness
CS 374: Algorithms & Models of Computation, Spring 2017 NP and NP Completeness Lecture 23 April 20, 2017 Chandra Chekuri (UIUC) CS374 1 Spring 2017 1 / 44 Part I NP Chandra Chekuri (UIUC) CS374 2 Spring
More informationFinal Exam Version A December 16, 2014 Name: NetID: Section: # Total Score
CS 374 : Algorithms and Models of Computation, Fall 2014 Final Exam Version A December 16, 2014 Name: NetID: Section: 1 2 3 # 1 2 3 4 5 6 Total Score Max 20 10 10 10 10 10 70 Grader Don t panic! Please
More information