Lecture 10 Applications of NP-hardness. Knapsack.

Slides:



Advertisements
Similar presentations
The Hierarchical Model
Advertisements

Lecture 23. Subset Sum is NPC
CSCI 256 Data Structures and Algorithm Analysis Lecture 22 Some slides by Kevin Wayne copyright 2005, Pearson Addison Wesley all rights reserved, and some.
Complexity ©D Moshkovitz 1 Approximation Algorithms Is Close Enough Good Enough?
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Linear System of Equations MGT 4850 Spring 2008 University of Lethbridge.
1 Approximation Algorithms CSC401 – Analysis of Algorithms Lecture Notes 18 Approximation Algorithms Objectives: Typical NP-complete problems Approximation.
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Physical Mapping II + Perl CIS 667 March 2, 2004.
The polymerase chain reaction (PCR) rapidly
Polymerase Chain Reaction (PCR) is when you amplify the number of copies of a specific region of DNA, in order to produce enough DNA it be adequately.
1 Physical Mapping --An Algorithm and An Approximation for Hybridization Mapping Shi Chen CSE497 04Mar2004.
Efficient and Effective Practical Algorithms for the Set-Covering Problem Qi Yang, Jamie McPeek, Adam Nofsinger Department of Computer Science and Software.
From Haystacks to Needles AP Biology Fall Isolating Genes  Gene library: a collection of bacteria that house different cloned DNA fragments, one.
1 Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Lecture 17: Spanning Trees Minimum Spanning Trees.
Physical Mapping of DNA Shanna Terry March 2, 2004.
-The methods section of the course covers chapters 21 and 22, not chapters 20 and 21 -Paper discussion on Tuesday - assignment due at the start of class.
Recombinant DNA Technology……….. BTEC3301. DNA Libraries How do you identify the gene of interest and clone only the DNA sequence you are interested? Read.
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 27.
Physical Mapping of DNA BIO/CS 471 – Algorithms for Bioinformatics.
Approximation Algorithms
Computational Molecular Biology Non-unique Probe Selection via Group Testing.
Pooling designs for clone library screening in the inhibitor complex model Department of Mathematics and Science National Taiwan Normal University (Lin-Kou)
Computational Molecular Biology Introduction and Preliminaries.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Database Concepts. Data :Collection of facts in raw form. Information : Organized and Processed data is information. Database : A Collection of data files.
Nonunique Probe Selection and Group Testing Ding-Zhu Du.
PHARMACOBIOTECHNOLOGY.  Recombinant DNA (rDNA) is constructed outside the living cell using enzymes called “restriction enzymes” to cut DNA at specific.
Data Structures & Algorithms Graphs
Lecture 4 Haplotype assembly. Variation calling, diploid genomes CAGCTACATCACGAGCATCGACGAGCTAGCGAGCGATCGCGA CAGCTACATAACGAGCATCGACCAGCTAGCGAGCTATCGCCA.
Highlights of DNA Technology. Cloning technology has many applications: Many copies of the gene are made Protein products can be produced.
Word : Let F be a field then the expression of the form a 1, a 2, …, a n where a i  F  i is called a word of length n over the field F. We denote the.
Lecture 6 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
Instructor Neelima Gupta Table of Contents Class NP Class NPC Approximation Algorithms.
Computational Molecular Biology Non-unique Probe Selection via Group Testing.
Chapter 10: Genetic Engineering- A Revolution in Molecular Biology.
Biotech. Cloning a mammal PCR This is the polymerase chain reaction. It is a technique to multiply a sample of DNA many times in a short period of time.
MCS 312: NP Completeness and Approximation algorthms Instructor Neelima Gupta
Lecture 25 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
28.
Biotech. Southern Blotting Through a series of steps, DNA that has been separated by electrophoresis is applied to a membrane of nylon or nitrocellulose.
An Algorithm for the Consecutive Ones Property Claudio Eccher.
Computational Molecular Biology
Learning Hidden Graphs Hung-Lin Fu 傅 恆 霖 Department of Applied Mathematics Hsin-Chu Chiao Tung Univerity.
Computational Molecular Biology Pooling Designs – Inhibitor Models.
Great Theoretical Ideas in Computer Science.
Combinatorial Group Testing 傅恆霖應用數學系. Mathematics? You are you, you are the only one in the world just like you! Mathematics is mathematics, there is.
The Set-covering Problem Problem statement –given a finite set X and a family F of subsets where every element of X is contained in one of the subsets.
Group Testing and Its Applications
DNA fingerprinting Synonyms DNA Profiling DNA typing DNA testing.
Lecture 2-6 Polynomial Time Hierarchy
PCR Polymerase Chain Reaction
Diagnostic applications of the polymerase chain reaction (PCR). A
Computational Molecular Biology
PCR uses polymerases to copy DNA segments.
Intro to Theory of Computation
Biotechnology.
PCR uses polymerases to copy DNA segments.
Chapter Sets &Venn Diagrams.
PCR uses polymerases to copy DNA segments.
Lecture 2-5 Applications of NP-hardness
CSE 6408 Advanced Algorithms.
Computational Molecular Biology
PCR uses polymerases to copy DNA segments.
CUT SET TRANSFORMATION
PCR uses polymerases to copy DNA segments.
PCR uses polymerases to copy DNA segments.
PCR uses polymerases to copy DNA segments.
Presentation transcript:

Lecture 10 Applications of NP-hardness

Knapsack

Knapsack is NP-hard

Decision Version of Knapsack

Partition

Set-Cover

Given a collection C of subsets of a set X, find a minimum subcollection C’ of C such that every element of X appears in a subset in C’. (Such a C’ is called a set- cover.)

Vertex-Cover

Decision Version of Vertex-Cover Decision Version of Set-Cover

Broadcast in Multi-Channel Wireless Networks

Problem

Hitting Set Given a collection C of subsets of a set X, find a minimum subset Y of X such that intersection of Y and S is not empty for every S in C.

Nonunique Probe Selection and Group Testing

DNA Hybridization

Polymerase Chain Reaction (PCR) cell-free method of DNA cloning Advantages much faster than cell based method need very small amount of target DNA Disadvantages need to synthesize primers applies only to short DNA fragments(<5kb)

Preparation of a DNA Library DNA library: a collection of cloned DNA fragments usually from a specific organism

DNA Library Screening

Problem If a probe doesn’t uniquely determine a virus, i.e., a probe determine a group of viruses, how to select a subset of probes from a given set of probes, in order to be able to find up to d viruses in a blood sample.

Binary Matrix viruses c 1 c 2 c 3 c j c n p … 0 … 0 … 0 … 0 … 0 … 0 … 0 p … 0 … 0 … 0 … 0 … 0 … 0 … 0 p … 0 … 0 … 0 … 0 … 0 … 0 … 0 probes … 0 … 0 … 0 … 0 … 0 … 0 … 0. p i … 0 … 0 … 1 … 0 … 0 … 0 … 0. p t … 0 … 0 … 0 … 0 … 0 … 0 … 0 The cell (i, j) contains 1 iff the ith probe hybridizes the jth virus.

Binary Matrix of Example virus c 1 c 2 c 3 c j p p p probes Observation: All columns are distinct. To identify up to d viruses, all unions of up to d columns should be distinct!

d-Separable Matrix viruses c 1 c 2 c 3 c j c n p … 0 … 0 … 0 … 0 … 0 … 0 … 0 p … 0 … 0 … 0 … 0 … 0 … 0 … 0 p … 0 … 0 … 0 … 0 … 0 … 0 … 0 probes … 0 … 0 … 0 … 0 … 0 … 0 … 0. p i … 0 … 0 … 1 … 0 … 0 … 0 … 0. p t … 0 … 0 … 0 … 0 … 0 … 0 … 0 All unions of up to d columns are distinct. Decoding: O(n d ) _

d-Disjunct Matrix viruses c 1 c 2 c 3 c j c n p … 0 … 0 … 0 … 0 … 0 … 0 … 0 p … 0 … 0 … 0 … 0 … 0 … 0 … 0 p … 0 … 0 … 0 … 0 … 0 … 0 … 0 probes … 0 … 0 … 0 … 0 … 0 … 0 … 0. p i … 0 … 0 … 1 … 0 … 0 … 0 … 0. p t … 0 … 0 … 0 … 0 … 0 … 0 … 0 Each column is different from the union of every d other columns Decoding: O(n) Remove all clones in negative pools. Remaining clones are all positive.

Nonunique Probe Selection Given a binary matrix, find a d-separable submatrix with the same number of columns and the minimum number of rows. Given a binary matrix, find a d-disjunct submatrix with the same number of columns and the minimum number of rows. Given a binary matrix, find a d-separable submatrix with the same number of columns and the minimum number of rows _

Problem

Complexity? All three problems may not be in NP, why? Guess a t x n matrix M, verify if M is d- separable (d-separable, d-disjunct). -

d-Separability Test Given a matrix M and d, is M d-separable? It is co-NP-complete.

d-Separability Test Given a matrix M and d, is M d-separable? This is co-NP-complete. (a) It is in co-NP. Guess two samples from space S(n,d). Check if M gives the same test outcome on the two samples

(b) Reduction from vertex- cover Given a graph G and h > 0, does G have a vertex cover of size at most h?

d-Separability Test Reduces to d-Separability Test Put a zero column to M to form a new matrix M* Then M is d-separable if and only if M* is d-separable. - -

d-Disjunct Test Given a matrix M and d, is M d-disjunct? This is co-NP-complete.

Minimum d-Separable Submatrix Given a binary matrix, find a d-separable submatrix with minimum number of rows and the same number of columns. For any fixed d >0, the problem is NP- hard. In general, the problem is conjectured to be Σ 2 –complete. p