Computational Experiments for the Problem of Sensor-Mission Assignment in Wireless Sensor Networks

Size: px
Start display at page:

Download "Computational Experiments for the Problem of Sensor-Mission Assignment in Wireless Sensor Networks"

Transcription

1 Adv. Studies Theor. Phys., Vol. 7, 2013, no. 3, HIKARI Ltd, Computational Experiments for the Problem of Sensor-Mission Assignment in Wireless Sensor Networks 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 problem of sensormission assignment in wireless sensor networks. Our approach is based on usage of local search algorithms to solve a logical model for the problem. PACS: Fb, Dz Keywords: sensor-mission assignment, wireless sensor networks, satisfiability problem, NP-complete Many planning problems are extensively studied recently (see e.g. [1] [4]). In particular, the problem of sensor-mission assignment in wireless sensor networks [5] has natural applications in the design of experiments. The problem of sensor-mission assignment in wireless sensor networks: Instance: A weighted bipartite graph G =(S; M; P ; E) and a positive integer K where S M is the set of nodes, S = {S[1];...; S[n]} is a collection of sensors, M = {M[1];...; M[m]} is a collection of missions, P = {p[1];...; p[m]}

2 136 A. Gorbenko and V. Popov is a collection of positive mission profits, and E is a collection of non-negative weights for the edges S M. Question: Is there a subset F of E such that no two chosen edges share the same sensor and M[j] A p[j] K where A is a subset of M such that (i,j) F e[i, j] 1 for each M[j] from A? Note that the problem of sensor-mission assignment in wireless sensor networks is NP-complete. Encoding hard problems as instances of SAT and solving them with different efficient satisfiability algorithms has caused considerable interest (see e.g. [6] [14]). In this paper, we consider an approach to solve the problem of sensor-mission assignment in wireless sensor networks. Our approach is based on an explicit reduction from the problem to the satisfiability problem. We consider different local search algorithms to solve a logical model for the problem. We assume that p[0] = 0, p[j] = d q=0 w[j, q]2 q, K = d q=0 w[q]2 q, w[j, d + 1] = w[d + 1] = 0, for all 1 j m. Let ϕ[1] = 1 i n, 1 j[1]<j[2] m ( x[i, j[1]] x[i, j[2]]), ϕ[2] = 1 j m ( y[j] ( 1 i n,e[i,j]>0 x[i, j])), ϕ[3] = 0 q d+1, z[1,j,q]=w[j, q], 0 j m ϕ[4] = 1 j m z[3,j,0], ϕ[5] = 0 q d+1 ( y[1] z[2, 1,q]=z[1, 1,q]), ϕ[6] = 0 q d+1 (y[1] z[2, 1,q]), ϕ[7] = 0 q d+1, ( z[2,j 1,d+1] z[2,j 1,q]=z[2,j,q]), ϕ[8] = 0 q d+1, (z[2,j 1,d+1] y[j] (z[2,j 1,q] z[3,j,q] z[1,j,q] z[2,j,q])), ϕ[9] = 0 q d+1, (z[2,j 1,d+1] y[j] (z[2,j 1,q] z[3,j,q] z[1,j,q] z[3,j,q+ 1])), ϕ[10] = 0 q d+1, (z[2,j 1,d+1] y[j] ( z[2,j 1,q] z[3,j,q] z[1,j,q] z[2,j,q])), ϕ[11] = 0 q d+1, (z[2,j 1,d+1] y[j] ( z[2,j 1,q] z[3,j,q] z[1,j,q] z[3,j,q+ 1])), ϕ[12] = 0 q d+1, (z[2,j 1,d+1] y[j] (z[2,j 1,q]

3 Computational experiments for sensor-mission assignment 137 z[3,j,q] z[1,j,q] z[2,j,q])), ϕ[13] = 0 q d+1, (z[2,j 1,d+1] y[j] (z[2,j 1,q] z[3,j,q] z[1,j,q] z[3,j,q+ 1])), ϕ[14] = 0 q d+1, (z[2,j 1,d+1] y[j] (z[2,j 1,q] z[3,j,q] z[1,j,q] z[2,j,q])), ϕ[15] = 0 q d+1, (z[2,j 1,d+1] y[j] (z[2,j 1,q] z[3,j,q] z[1,j,q] z[3,j,q+ 1])), ϕ[16] = 0 q d+1, (z[2,j 1,d+1] y[j] ( z[2,j 1,q] z[3,j,q] z[1,j,q] z[2,j,q])), ϕ[17] = 0 q d+1, (z[2,j 1,d+1] y[j] ( z[2,j 1,q] z[3,j,q] z[1,j,q] z[3,j,q+ 1])), ϕ[18] = 0 q d+1, (z[2,j 1,d+1] y[j] ( z[2,j 1,q] z[3,j,q] z[1,j,q] z[2,j,q])), ϕ[19] = 0 q d+1, (z[2,j 1,d+1] y[j] ( z[2,j 1,q] z[3,j,q] z[1,j,q] z[3,j,q+ 1])), ϕ[20] = 0 q d+1, (z[2,j 1,d+1] y[j] (z[2,j 1,q] z[3,j,q] z[1,j,q] z[2,j,q])), ϕ[21] = 0 q d+1, (z[2,j 1,d+1] y[j] (z[2,j 1,q] z[3,j,q] z[1,j,q] z[3,j,q+ 1])), ϕ[22] = 0 q d+1, (z[2,j 1,d+1] y[j] ( z[2,j 1,q] z[3,j,q] z[1,j,q] z[2,j,q])), ϕ[23] = 0 q d+1, (z[2,j 1,d+1] y[j] ( z[2,j 1,q] z[3,j,q] z[1,j,q] z[3,j,q+ 1])), ϕ[24] = 0 q d+1, (y[j] z[2,j 1,q]=z[2,j,q]), ϕ[25] = 1 q d+1 (z[2,m,q]=w[q] z[q]) z[q 1], ϕ[26] = 1 q d+1 (z[2,m,q] >w[q] z[q]) z[q 1],

4 138 A. Gorbenko and V. Popov ϕ[27] = 1 q d+1 (z[2,m,q] >w[q] z[q]) u, ϕ[28] = 1 q d+1 (z[2,m,q] <w[q] z[q]) z[q 1], ϕ[29] = 1 q d+1 (z[2,m,q] <w[q] z[q]) u, ϕ[30] = 1 q d+1 z[q] z[q 1], ϕ[31] = z[d +1], ϕ[32] = (z[2,m,0] >w[0] z[0]) u, ϕ[33] = (z[2,m,0] = w[0] z[0]) u, ϕ[34] = (z[2,m,0] <w[0] z[0]) u. Let ξ = 34 i=1ϕ[i]. It is easy to check that ξ is satisfiable if and only if there is a subset F of E such that no two chosen edges share the same sensor and M[j] A p[j] K where A is a subset of M such that (i,j) F e[i, j] 1 for each M[j] from A. Using standard transformations (see e.g. [15]) 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 the problem of sensor-mission assignment in wireless sensor networks to 3SAT. We have created a generator of natural instances for the problem of sensor-mission assignment in wireless sensor networks. We have used algorithms from [16]: fgrasp and posit. We have used a heterogeneous cluster for solution of the problem. Each test was run on a cluster of at least 100 nodes. Due to restrictions on computation time (20 hours) we used savepoints. Selected experimental results are given in Table 1. time average max best fgrasp hr hr 9.48 min posit hr hr min Table 1: Experimental results for 3SAT ACKNOWLEDGEMENTS. The work was partially supported by Analytical Departmental Program Developing the scientific potential of high school References [1] A. Gorbenko and V. Popov, Footstep Planning for Humanoid Robots, Applied Mathematical Sciences, 6 (2012), [2] A. Gorbenko and V. Popov, Programming for Modular Reconfigurable Robots, Programming and Computer Software, 38 (2012)

5 Computational experiments for sensor-mission assignment 139 [3] A. Gorbenko, V. Popov, and A. Sheka, Localization on Discrete Grid Graphs, Lecture Notes in Electrical Engineering, 107 (2012), [4] A. Gorbenko, M. Mornev, and V. Popov, Planning a Typical Working Day for Indoor Service Robots, IAENG International Journal of Computer Science, 38 (2011) [5] H. Rowaihy, M.P. Johnson, O. Liu, A. Bar-Noy, T. Brown, and T. La Porta, Sensor-mission assignment in wireless sensor networks, ACM Transactions on Sensor Networks, 6 (2010) 36. [6] A. Gorbenko and V. Popov, The Problem of Finding Two Edge-Disjoint Hamiltonian Cycles, Applied Mathematical Sciences, 6 (2012), [7] A. Gorbenko and V. Popov, Hamiltonian Alternating Cycles with Fixed Number of Color Appearances, Applied Mathematical Sciences, 6 (2012), [8] A. Gorbenko and V. Popov, The Hamiltonian Alternating Path Problem, IAENG International Journal of Applied Mathematics, 42 (2012) [9] A. Gorbenko and V. Popov, On the Longest Common Subsequence Problem, Applied Mathematical Sciences, 6 (2012), [10] A. Gorbenko and V. Popov, On the Problem of Sensor Placement, Advanced Studies in Theoretical Physics, 6 (2012) [11] A. Gorbenko and V. Popov, The Longest Common Parameterized Subsequence Problem, Applied Mathematical Sciences, 6 (2012), [12] A. Gorbenko and V. Popov, The set of parameterized k-covers problem, Theoretical Computer Science, 423 (2012), [13] A. Gorbenko and V. Popov, The Far From Most String Problem, Applied Mathematical Sciences, 6 (2012), [14] A. Gorbenko and V. Popov, Multi-agent Path Planning, Applied Mathematical Sciences, 6 (2012), [15] A. Gorbenko and V. Popov, Task-resource Scheduling Problem, International Journal of Automation and Computing, 9 (2012), [16] SATLIB The Satisfiability Library. [Online]. Available: hoos/satlib/index-ubc.html Received: December 3, 2012

A Genetic Algorithm with Expansion and Exploration Operators for the Maximum Satisfiability Problem

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 information

The Hamiltonian Strictly Alternating Cycle Problem

The Hamiltonian Strictly Alternating Cycle Problem Advanced Studies in Biology, Vol. 4, 2012, no. 10, 491-495 The Hamiltonian Strictly Alternating Cycle Problem Anna Gorbenko Department of Intelligent Systems and Robotics Ural Federal University 620083

More information

The Longest Common Subsequence Problem

The 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 information

The Law of Luminous Intensity Variation and Technical Vision

The 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 information

RECENTLY, a number of Hamiltonian problems for

RECENTLY, 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 information

IAENG International Journal of Computer Science, 39:3, IJCS_39_3_01. Anna Gorbenko, Vladimir Popov

IAENG 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 information

VARIOUS algorithms on sequences of symbols have

VARIOUS 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 information

DIFFERENT problems of technical vision have been

DIFFERENT 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 information

PROBLEMS of planning and scheduling are among the

PROBLEMS of planning and scheduling are among the Planning a Typical Working Day for Indoor Service Robots Anna Gorbenko, Maxim Mornev, Vladimir Popov Abstract This paper describes a method of considering the problem of planning for indoor service robot.

More information

Algorithms and Theory of Computation. Lecture 22: NP-Completeness (2)

Algorithms 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 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

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

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

Lecture 18: More NP-Complete Problems

Lecture 18: More NP-Complete Problems 6.045 Lecture 18: More NP-Complete Problems 1 The Clique Problem a d f c b e g Given a graph G and positive k, does G contain a complete subgraph on k nodes? CLIQUE = { (G,k) G is an undirected graph with

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

8.5 Sequencing Problems

8.5 Sequencing Problems 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 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

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

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

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

Generalization Index of the Economic Interaction. Effectiveness between the Natural Monopoly and. Regions in Case of Multiple Simultaneous Projects

Generalization Index of the Economic Interaction. Effectiveness between the Natural Monopoly and. Regions in Case of Multiple Simultaneous Projects Applied Mathematical Sciences, Vol. 8, 2014, no. 25, 1223-1230 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2014.4164 Generalization Index of the Economic Interaction Effectiveness between

More information

4/30/14. Chapter Sequencing Problems. NP and Computational Intractability. Hamiltonian Cycle

4/30/14. Chapter Sequencing Problems. NP and Computational Intractability. Hamiltonian Cycle Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 1 2 Hamiltonian Cycle 8.5 Sequencing Problems HAM-CYCLE: given an undirected

More information

The Complexity of Optimization Problems

The Complexity of Optimization Problems The Complexity of Optimization Problems Summary Lecture 1 - Complexity of algorithms and problems - Complexity classes: P and NP - Reducibility - Karp reducibility - Turing reducibility Uniform and logarithmic

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

Topics in Complexity Theory

Topics 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 information

Chapter 8. NP and Computational Intractability

Chapter 8. NP and Computational Intractability Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Acknowledgement: This lecture slide is revised and authorized from Prof.

More information

A Little Logic. Propositional Logic. Satisfiability Problems. Solving Sudokus. First Order Logic. Logic Programming

A Little Logic. Propositional Logic. Satisfiability Problems. Solving Sudokus. First Order Logic. Logic Programming A Little Logic International Center for Computational Logic Technische Universität Dresden Germany Propositional Logic Satisfiability Problems Solving Sudokus First Order Logic Logic Programming A Little

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

CS154, Lecture 13: P vs NP

CS154, 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 information

Approximation Algorithms

Approximation 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 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

Polynomial-time reductions. We have seen several reductions:

Polynomial-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 information

CS154, Lecture 13: P vs NP

CS154, 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 information

NP-problems continued

NP-problems continued NP-problems continued Page 1 Since SAT and INDEPENDENT SET can be reduced to each other we might think that there would be some similarities between the two problems. In fact, there is one such similarity.

More information

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle

CS 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 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

8.5 Sequencing Problems. Chapter 8. NP and Computational Intractability. Hamiltonian Cycle. Hamiltonian Cycle

8.5 Sequencing Problems. Chapter 8. NP and Computational Intractability. Hamiltonian Cycle. Hamiltonian Cycle Chapter 8 NP and Computational Intractability 8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems:

More information

Shared resources. Sistemi in tempo reale. Giuseppe Lipari. Scuola Superiore Sant Anna Pisa -Italy

Shared resources. Sistemi in tempo reale. Giuseppe Lipari. Scuola Superiore Sant Anna Pisa -Italy istemi in tempo reale hared resources Giuseppe Lipari cuola uperiore ant Anna Pisa -Italy inher.tex istemi in tempo reale Giuseppe Lipari 7/6/2005 12:35 p. 1/21 Interacting tasks Until now, we have considered

More information

Complexity theory for fellow CS students

Complexity 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 information

The Basic Approach in Designing of the Functional. Safety Index for Transport Infrastructure

The Basic Approach in Designing of the Functional. Safety Index for Transport Infrastructure Contemporary Engineering Sciences, Vol. 7, 2014, no. 6, 287-292 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ces.2014.416 The Basic Approach in Designing of the Functional Safety Index for Transport

More information

Formal definition of P

Formal definition of P Since SAT and INDEPENDENT SET can be reduced to each other we might think that there would be some similarities between the two problems. In fact, there is one such similarity. In SAT we want to know if

More information

Complexity Theory: The P vs NP question

Complexity Theory: The P vs NP question The $1M question Complexity Theory: The P vs NP question Lecture 28 (December 1, 2009) The Clay Mathematics Institute Millenium Prize Problems 1. Birch and Swinnerton-Dyer Conjecture 2. Hodge Conjecture

More information

Factorization of Directed Graph Describing Protein Network

Factorization of Directed Graph Describing Protein Network Applied Mathematical Sciences, Vol. 11, 2017, no. 39, 1925-1931 HIKARI Ltd, www.m-hikari.com https://doi.org/10.12988/ams.2017.76205 Factorization of Directed Graph Describing Protein Network G.Sh. Tsitsiashvili

More information

CSC 373: Algorithm Design and Analysis Lecture 15

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

More information

NP-problems continued

NP-problems continued NP-problems continued Page 1 Since SAT and INDEPENDENT SET can be reduced to each other we might think that there would be some similarities between the two problems. In fact, there is one such similarity.

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 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 19: Finish NP-Completeness, conp and Friends

Lecture 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 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

Chapter 8. NP and Computational Intractability. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.

Chapter 8. NP and Computational Intractability. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 1 8.5 Sequencing Problems Basic genres.! Packing problems: SET-PACKING,

More information

CS483 Design and Analysis of Algorithms

CS483 Design and Analysis of Algorithms CS483 Design and Analysis of Algorithms Lectures 15-16 Dynamic Programming Instructor: Fei Li lifei@cs.gmu.edu with subject: CS483 Office hours: STII, Room 443, Friday 4:00pm - 6:00pm or by appointments

More information

4.1.3 Addition of a link between an existing node and the reference node (Case 3):

4.1.3 Addition of a link between an existing node and the reference node (Case 3): 4.1.3 Addition of a link between an existing node and the reference node (Case 3): When an element is connected between an existing node and the reference, it creates a loop and thus, the addition of this

More information

A Resolution Method for Modal Logic S5

A Resolution Method for Modal Logic S5 EPiC Series in Computer Science Volume 36, 2015, Pages 252 262 GCAI 2015. Global Conference on Artificial Intelligence A Resolution Method for Modal Logic S5 Yakoub Salhi and Michael Sioutis Université

More information

Lecture 2: Scheduling on Parallel Machines

Lecture 2: Scheduling on Parallel Machines Lecture 2: Scheduling on Parallel Machines Loris Marchal October 17, 2012 Parallel environment alpha in Graham s notation): P parallel identical Q uniform machines: each machine has a given speed speed

More information

NP-Complete Problems. Complexity Class P. .. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar..

NP-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 information

Practical SAT Solving

Practical SAT Solving Practical SAT Solving Lecture 1 Carsten Sinz, Tomáš Balyo April 24, 2017 NSTITUTE FOR THEORETICAL COMPUTER SCIENCE KIT University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz

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

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

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1

CS 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 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

Computational complexity theory

Computational complexity theory Computational complexity theory Introduction to computational complexity theory Complexity (computability) theory deals with two aspects: Algorithm s complexity. Problem s complexity. References S. Cook,

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

NP-Complete Reductions 3

NP-Complete Reductions 3 x 1 x 1 x 2 x 2 x 3 x 3 x 4 x 4 12 22 32 CS 4407 1 13 21 23 31 33 Algorithms NP-Complete Reductions 3 Prof. Gregory Provan Department of Computer Science University College Cork 1 HARDEST PROBLEMS IN NP

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

OPTIMIZED RESOURCE IN SATELLITE NETWORK BASED ON GENETIC ALGORITHM. Received June 2011; revised December 2011

OPTIMIZED RESOURCE IN SATELLITE NETWORK BASED ON GENETIC ALGORITHM. Received June 2011; revised December 2011 International Journal of Innovative Computing, Information and Control ICIC International c 2012 ISSN 1349-4198 Volume 8, Number 12, December 2012 pp. 8249 8256 OPTIMIZED RESOURCE IN SATELLITE NETWORK

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

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

NP-Complete Problems

NP-Complete Problems NP-Complete Problems Max Bisection Is NP-Complete max cut becomes max bisection if we require that S = V S. We shall reduce the more general max cut to max bisection. Add V isolated nodes to G to yield

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

PCPs and Inapproximability Gap-producing and Gap-Preserving Reductions. My T. Thai

PCPs and Inapproximability Gap-producing and Gap-Preserving Reductions. My T. Thai PCPs and Inapproximability Gap-producing and Gap-Preserving Reductions My T. Thai 1 1 Hardness of Approximation Consider a maximization problem Π such as MAX-E3SAT. To show that it is NP-hard to approximation

More information

Semidefinite Facial Reduction for Euclidean Distance Matrix Completion

Semidefinite Facial Reduction for Euclidean Distance Matrix Completion Semidefinite Facial Reduction for Euclidean Distance Matrix Completion Nathan Krislock, Henry Wolkowicz Department of Combinatorics & Optimization University of Waterloo First Alpen-Adria Workshop on Optimization

More information

NP-Complete problems

NP-Complete problems NP-Complete problems NP-complete problems (NPC): A subset of NP. If any NP-complete problem can be solved in polynomial time, then every problem in NP has a polynomial time solution. NP-complete languages

More information

More Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006.

More Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006. More Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006. Outline A last complete problem for NP conp, conp NP Function problems MAX-CUT A cut in a graph G=(V,E) is a set of nodes S used to partition

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

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURES 30-31 NP-completeness Definition NP-completeness proof for CIRCUIT-SAT Adam Smith 11/3/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova,

More information

Computing Bi-Clusters for Microarray Analysis

Computing Bi-Clusters for Microarray Analysis December 21, 2006 General Bi-clustering Problem Similarity of Rows (1-5) Cheng and Churchs model General Bi-clustering Problem Input: a n m matrix A. Output: a sub-matrix A P,Q of A such that the rows

More information

Computational complexity theory

Computational complexity theory Computational complexity theory Introduction to computational complexity theory Complexity (computability) theory deals with two aspects: Algorithm s complexity. Problem s complexity. References S. Cook,

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

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

Chapter 3: Proving NP-completeness Results

Chapter 3: Proving NP-completeness Results Chapter 3: Proving NP-completeness Results Six Basic NP-Complete Problems Some Techniques for Proving NP-Completeness Some Suggested Exercises 1.1 Six Basic NP-Complete Problems 3-SATISFIABILITY (3SAT)

More information

NCS Lecture 8 A Primer on Graph Theory. Cooperative Control Applications

NCS Lecture 8 A Primer on Graph Theory. Cooperative Control Applications NCS Lecture 8 A Primer on Graph Theory Richard M. Murray Control and Dynamical Systems California Institute of Technology Goals Introduce some motivating cooperative control problems Describe basic concepts

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

Chapter 7: Time Complexity

Chapter 7: Time Complexity Chapter 7: Time Complexity 1 Time complexity Let M be a deterministic Turing machine that halts on all inputs. The running time or time complexity of M is the function f: N N, where f(n) is the maximum

More information

Exercises NP-completeness

Exercises NP-completeness Exercises NP-completeness Exercise 1 Knapsack problem Consider the Knapsack problem. We have n items, each with weight a j (j = 1,..., n) and value c j (j = 1,..., n) and an integer B. All a j and c j

More information

CPSC 536N: Randomized Algorithms Term 2. Lecture 9

CPSC 536N: Randomized Algorithms Term 2. Lecture 9 CPSC 536N: Randomized Algorithms 2011-12 Term 2 Prof. Nick Harvey Lecture 9 University of British Columbia 1 Polynomial Identity Testing In the first lecture we discussed the problem of testing equality

More information

Lecture 16: Time Complexity and P vs NP

Lecture 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 information

Alternate Locations of Equilibrium Points and Poles in Complex Rational Differential Equations

Alternate Locations of Equilibrium Points and Poles in Complex Rational Differential Equations International Mathematical Forum, Vol. 9, 2014, no. 35, 1725-1739 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/imf.2014.410170 Alternate Locations of Equilibrium Points and Poles in Complex

More information

Complexity of determining the most vital elements for the 1-median and 1-center location problems

Complexity of determining the most vital elements for the 1-median and 1-center location problems Complexity of determining the most vital elements for the -median and -center location problems Cristina Bazgan, Sonia Toubaline, and Daniel Vanderpooten Université Paris-Dauphine, LAMSADE, Place du Maréchal

More information

BBM402-Lecture 11: The Class NP

BBM402-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 information

NP and NP-Completeness

NP and NP-Completeness 0/2/206 Algorithms NP-Completeness 7- Algorithms NP-Completeness 7-2 Efficient Certification NP and NP-Completeness By a solution of a decision problem X we understand a certificate witnessing that an

More information

Algorithms Re-Exam TIN093/DIT600

Algorithms Re-Exam TIN093/DIT600 Algorithms Re-Exam TIN093/DIT600 Course: Algorithms Course code: TIN 093 (CTH), DIT 600 (GU) Date, time: 7th January 2016, 8:30 12:30 Building: M Responsible teacher: Peter Damaschke, Tel. 5405. Examiner:

More information

Computational Complexity

Computational Complexity Computational Complexity Algorithm performance and difficulty of problems So far we have seen problems admitting fast algorithms flow problems, shortest path, spanning tree... and other problems for which

More information

Graph Theory and Optimization Computational Complexity (in brief)

Graph Theory and Optimization Computational Complexity (in brief) Graph Theory and Optimization Computational Complexity (in brief) Nicolas Nisse Inria, France Univ. Nice Sophia Antipolis, CNRS, I3S, UMR 7271, Sophia Antipolis, France September 2015 N. Nisse Graph Theory

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

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

Dichotomy Theorems for Counting Problems. Jin-Yi Cai University of Wisconsin, Madison. Xi Chen Columbia University. Pinyan Lu Microsoft Research Asia

Dichotomy Theorems for Counting Problems. Jin-Yi Cai University of Wisconsin, Madison. Xi Chen Columbia University. Pinyan Lu Microsoft Research Asia Dichotomy Theorems for Counting Problems Jin-Yi Cai University of Wisconsin, Madison Xi Chen Columbia University Pinyan Lu Microsoft Research Asia 1 Counting Problems Valiant defined the class #P, and

More information

A Tutorial on Computational Learning Theory Presented at Genetic Programming 1997 Stanford University, July 1997

A Tutorial on Computational Learning Theory Presented at Genetic Programming 1997 Stanford University, July 1997 A Tutorial on Computational Learning Theory Presented at Genetic Programming 1997 Stanford University, July 1997 Vasant Honavar Artificial Intelligence Research Laboratory Department of Computer Science

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

Complete Sets of Hamiltonian Circuits for Classification of Documents

Complete Sets of Hamiltonian Circuits for Classification of Documents Complete Sets of Hamiltonian Circuits for Classification of Documents Bernd Steinbach 1 and Christian Posthoff 2 1 Freiberg University of Mining and Technology, Institute of Computer Science, D-09596 Freiberg,

More information