CSE 5311 Notes 18: NP-Completeness
|
|
- Gillian Richards
- 5 years ago
- Views:
Transcription
1 SE 53 Notes 8: NP-ompleteness (Last upate 7//3 8:3 PM) ELEMENTRY ONEPTS Satisfiability: ( p q) ( p q ) ( p q) ( p q ) Is there an assignment? (Deision Problem) Similar to ebugging a logi iruit - Is there an input ase that turns on the output LED? sie: Evaluating one input setting for a iruit is P-omplete har to massively parallelize. NP-omplete means (informally):. The problem may be ompute ( eie ) in noneterministi polynomial time. a. Guess a solution (polynomial time - easy to get) b. hek the solution in polynomial time (eterministi). heking ( verifiation ) is easier than omputing.. ll problems in NP may be transforme ( reue ) to this problem in polynomial time. If an instane of one problem is transforme to an instane of another, the new problem has a solution iff the ol problem has a solution. Instanes of all problems in NP Instanes of new problem
2 Showing that all NP problems reue to new problem is unneessary. Instea, fin another NP-omplete problem: Polynomial Time Instanes of all problems in NP Instanes of ol NP-omplete problem Instanes of new problem Easy proof Diffiult proof tehnique - tehnique require for first NP-omplete problem (satisfiability - ook s theorem) Property without property - problem is just in NP. Example: Is a table sorte? Property without property - problem is sai to be NP-har (at least as iffiult as all other problems in NP). Note: property is usually trivial to establish an is often omitte in proofs. Signifiane of a problem being NP-omplete No polynomial-time algorithm is known for any NP-omplete problem. (Only exponential time) If a polynomial-time algorithm is known for one NP-omplete problem, then there is a polynomial-time algorithm for every NP-omplete problem. Exponential lower boun has never been shown. If iffiult instanes of an NP-omplete problem arise in pratie, then approximation shemes with bouns on the quality of the solution are neee. What about playing hess? Example Problems: Satisfiability Graph (Vertex) oloring Job Sheuling with Penalties - urations, ealines, penalties (single proessor) in Paking - how many fixe-size bins are neee to hol variable-size objets? Knapsak - how many objets with ifferent profits an sizes shoul go into a knapsak? Subset Sums - is there a subset whose sum is a partiular value?
3 Hamiltonian Path - oes a graph (or igraph) have a path inluing eah vertex exatly one? 3 Hamiltonian iruit - is there a yle inluing eah vertex exatly one? Traveling Salesperson - minimize istane for Hamiltonian iruit Steiner subgraph - is there a onnete subgraph (tree) that inlues esignate terminal verties an whose total weight oes not exee a given value? (Euliean version is NP-har) REDUTIONS Important resoure - M.R. Garey an D.S. Johnson, omputers an Intratability: Guie to the Theory of NP-ompleteness, Freeman, 979. Suppose you know irete Hamiltonian iruit is NP-omplete. Show that unirete Hamiltonian iruit is NP-omplete:. Replae eah vertex x by three verties x, x, x 3 onnete as: x x x3. Inlue an ege {u 3, v } for eah ege (u, v) in the irete graph. u u u u3 y v z y y y3 z z z3 v v v3 x w x x x3 w w w3 Leaving out x will not work - allows going in wrong iretion: D D D3 D D D3
4 Show 3-satisfiability is NP-omplete by reution from onjuntive normal form satisfiability. 4 In NF an expression is a onjuntion of several lauses (isjuntions). Eah lause has several literals whih may be asserte or negate. The reution is base on replaing eah lause with k > 3 literals by k - lauses for 3- satisfiability an introuing k - 3 new variables: D E F G,,, D, E, F, G X X X X D X 3 X 3 E X 4 X 4 F G,,, D, E, F, G Note, however, that -satisfiability is in P. onvert to a graph problem by replaing eah P Q by P Q an Q P base on. If there is a path from X to X, then X is true. If there is a path from X to X, then X is false. If X an X are in a yle, then the expression is unsatisfiable. onsier,, : Show that graph 3-olorability is NP-omplete by a reution from 3-sat. This reution is fairly iffiult. Others are muh worse. oneptually, we will all the 3 olors TRUE, FLSE, an RED. Sine oloring is usually viewe as assigning the numbers,, to the verties, for any suessful oloring there are five renamings base on permutations.
5 The reution starts with a triangle to establish whih number has whih olor: 5 TRUE FLSE RED For eah variable X, another triangle is neee to onstrain the value: X X RED For eah lause X Y Z the following pattern is use. t least one of X, Y, an Z is fore to be true. X Y Z D E TRUE TRUE Wiget Observe:. X, Y, an Z must have the same olor as TRUE or FLSE.. One of D an E has the same olor as FLSE, the other the same olor as RED. 3. If E has the same olor as FLSE, then Z has the same olor as TRUE. 4. If E has the same olor as RED, then D has the same olor as FLSE.
6 Summary: 6 D E X Y Z TRUE RED??? FLSE RED FLSE FLSE FLSE TRUE RED FLSE RED FLSE FLSE FLSE TRUE TRUE FLSE RED FLSE RED FLSE TRUE FLSE TRUE FLSE RED FLSE RED FLSE TRUE TRUE FLSE TRUE RED FLSE RED TRUE FLSE FLSE FLSE TRUE RED FLSE RED TRUE FLSE TRUE FLSE RED TRUE FLSE RED TRUE TRUE FLSE FLSE RED TRUE FLSE RED TRUE TRUE TRUE Unsatisfiable instane - graph will require 4 olors Wiget Wiget TRUE RED FLSE Wiget 3 Wiget 4 If is remove, 3 oloring is possible.
7 k-lique - omplete subgraph with k verties 7 Show k-lique is NP-omplete by a reution from 3-sat. Eah literal beomes a vertex. onnet eah vertex to the verties for all other lauses, exept for X X Is there a lique with one vertex per lause (i.e. k is the number of lauses)? Vertex over = set of verties suh that every ege has at least one inient vertex in over. Is there a vertex over with no more than p verties? Reue from k-lique:. Take omplement of graph. (Ege is in omplement iff ege is not in graph.). Is there a V - k over? (hoose verties not in the k-lique.) From k-lique example - Is there a 3-over?
8 onsier lique when first lause is remove. 8 3-vertex over Show Steiner subgraph is NP-omplete by a reution from 3-sat. Steiner vertex for eah possible literal on n propositions. Terminal vertex for eah of m lauses, u, an v. Unit-weight eges in subgraph with u, v, an literal verties (for hoosing assignment). Eges with weight n + between eah lause vertex an verties for its literals Is there a subgraph with total weight not exeeing n + m(n + )?
9 9 u v u v PPROXIMTION Goal: Performane guarantees for optimization (NP-har) problems orresponing to NP-omplete problems.. How fast?. pproah: Greey Online Preproessing (e.g. MST, DFS) Ranomization Restrite ases (e.g. spare or ense graphs) (Parallelism) 3. Quality of solution max ratio = Optimal (e.g. knapsak) Solution min ratio = Solution (e.g. TSP) Optimal
10 4. Generality pproximation lgorithm - ahieve max/min ratio in Ο n k time (k fixe) pproximation Sheme - flexible ratio + ε in Ο( f ( n,ε) ) Polynomial-time pproximation Sheme - Ο n f ε ( ) l Fully PTS - Ο n k ε time Examples are presente in asening orer of min/max ratio Ege oloring ( n unusually optimisti situation ( ) Vizing s Theorem ( ) ( ) Δ( G) + (Require number of olors is either egree ( lass ) or ( ) = Χ ( G).) Δ G Χ G egree + ( lass ). For bipartite graphs, Δ G NP-omplete to test if Δ( G) = Χ ( G), but takes only O(VE) to olor with Δ G for bipartite) in an inremental fashion. Thus: ( ) + ( ) min ratio Δ G Χ G ( ) + ( ) Δ G Δ G ( ) + olors ( Δ( G)
11 What if? E E 4 3 x? y 3 5 F G 3 x? y F G D H D H free={,5} free={,4} free={4,5} free={,} ={} = So, steal a olor from another ege an give that ege a new olor. HOW? sie: The simpler problem of oloring a bipartite graph using Δ olors. From p. 347 of H.N. Gabow, Using Euler Partitions to Ege olor ipartite Multigraphs, Int l J. of omputer an Information Sienes 5(4), 976, : Now we esribe a metho for oloring ue to Vizing. Originally eah ege of G is unolore; it must be assigne one of Δ possible olors. n unolore ege (v, w) is olore as follows. t most Δ - eges inient to v are olore, so some olor a is missing at v; similarly, some olor b is missing at w. onstrut an alternating (a, b) path starting at w, as follows. The path begins with the ege inient to w that is olore a (if it exists). onseutive eges in the path are alternately olore a an b. The path ens at the vertex z where the next olor is missing. It is easy to see that z v, w if the graph is bipartite. Interhange olors along the path, swithing a to b an b to a. This makes olor a missing at both v an w, sine z v, w. Ege (v, w) an now be olore a.
12 b free={a} v? a b w free={b} a b a b... b a b z? z? ak to non-bipartite Most general ase - maximal fan with free(x) free(f) =. If no ege inient to X is olore with last free olor, immeiately rotate fan: f {,} f {}? {,} {,} {,,} X k... Y {,} {3,} {k,} {,} X 3... k Y {,} {,} Z {,} Z {k,}
13 While maximizing the fan, suppose the next olor () is alreay on an earlier fan ege: 3 f {,} X? j {,} {,} {=j+,} {,} =j+ {j+,} k Y {k,} Z {=j+,}. Fin (alternating) -path starting with X-. -path (above) reahes no more than one of or Z. (Why?). Invert olors ( ) along entire -path. a. Neither or Z reahe - fan stops at. f {,} X? j {,} {,} {=j+,} {,} {j+,} k Y {k,} Z {=j+,}
14 b. Z reahe - fan stops at. 4 f {,} X? j {,} {,} {=j+,} {,} k Y {j+,} {k,} Z {,}. reahe - fan keeps all verties. f {,} {,} X? j {,} {,} {} {j+,} k Y {k,} Z {=j+,} 3. Rotate fan.
15 Vertex over - pproximation lgorithm 5 V := for eah ege {u, v} // arbitrary orer if u V an v V V := V {u, v}. t termination, V is a vertex over.. Polynomial time - obvious. 3. a. V OPT must over the set of eges proesse base on the if. b. V OPT must inlue at least one of {u, v} for eah of these eges, so: V V OPT min ratio V V OPT ggressive strategy of hoosing one vertex from an unovere ege is vulnerable to stars. Minimum ipartite Vertex over - Exat Solution (not NP-omplete unless P = NP) Instane of max-flow is isomorphi to bipartite mathing max-flow, exept apaities from V to V are. Set of eges from V to V with (unit) flow after max-flow is foun is a maximum mathing. The size of a maximum mathing gives an (obvious) lower boun on the size of a minimum bipartite vertex over. (Showing that the size of a maximum mathing is also an upper boun is more involve an omitte). Theorem: If a minimum S-T ut is known, then V T vertex over. Proof: Suppose the bipartite graph has an ege v,v Sine the apaity of { v,v } is, v,v prevent { v,v } from being unovere. *** ( ) ( V S) is a minimum bipartite { } with v V an v V an v S. { } is an ege in the resiual network an v S to
16 s / / / / / / / / / / t 8 8 / / 9 S = {s} T = {t,,,, 3, 4, 5, 6, 7, 8, 9} V T = {,,,3 } V S = F G / F G / / H / / H / D I J K S / / / D / I / / J / K T E L M / E / / L / M S = {s,,, H} T = {t,, D, E, F, G, I, J, K, L, M} V T = {,D,E} V S = { H} in Paking (one imensional) Minimize number of unit size bins to hol objets with sizes < si. Next Fit Online Use one bin, then seal when next item oesn t fit. Worst ase sequene,, N,, N,, N,, N Repeate to get 4N elements OPT (offline) Next Fit NF OPT
17 First-fit Dereasing 7 Sort n sizes esening For eah objet, go through bins left-to-right to fin first bin that objet fits in. hieves FF.5 (not har to improve ratio to 4/3, iffiult to get /9) OPT laim: Objets plae in extra bins have size / OPT OPT+ OPT+ Proof: Suppose otherwise. laim: Number of objets in extra bins OPT(S) - Proof: Suppose OPT(S) extra objets are use.. Waste in every OPT bin < size of every objet in extra bins.. OPT onsier ( OPT i sum + Extra Objet i ) i= ut sine eah OPTi sum + Extra Objeti >, this sum exees OPT, a ontraition. ase on the two laims, the number of extra bins OPT/ an the ratio is.5. Set over n Input: Set S an subsets suh that S = S i i= Output: Small set of subsets overing S. Greey Tehnique: hoose subset with largest number of unovere elements. (Implementation: Doubly-linke list for eah element in S. Doubly-linke list for eah subset. Orere table for priority queue.) hieves: Greey OPT ln(largest subset ) + See LRS, p. 9- for etaile proof.
18 Example to motivate logarithmi approximation ratio: 8 Traveling Salesperson (omplete graph) No ρ-approximation in P time (unless P = NP). Suppose a graph is to be teste for a Hamiltonian yle: Weight eah real ege with. Imaginary eges are weighte with ρ V +. If ρ-approximation gives TSP with length V, then performane is better than guarantee an have a Hamiltonian yle. If ρ-approximation gives TSP with length > ρ V, then performane guarantee has not been met. If ege weights obey triangle inequality, the sale-up problem is avoie. a b a+b
19 -approximate 9. Fin minimum spanning tree.. Depth-first searh - orer verties by isovery time. 3. Return to start vertex. 4. Remove ege rossings - optional a a b b approximate proof: 9. MST TOPT est ase - removing largest ege in OPT (a yle) gives MST.. TΔ MST Sine MST short uts are no longer than subpath skippe. T Δ MST T OPT, so T Δ T OPT (sie: see for a 3/- approximate tehnique.)
20 Subset Sums - exat solution by ynami programming (ssnew.) Given n numbers S, S n. fin a subset (e.g. an inex set hosen from n) suh that sum is an exat value.. Use table with entries [i] = j, where j is the smallest inex suh that i = S j + values w/inex < j. Initialize table an then go forwar = : Now suppose eah S i is multiplie by. D.P. table grows by fator of.
21 Orinary Subset Sum (LRS, p. 8-9) Saves spae by maintaining lists of reahable sums _ Target=36 L={/} L={/, /} 3 5 L={/, /, 3/, 5/} L3={/, /, 3/, 5/, 6/3, 8/3, 9/3, /3} L4={/, /, 3/, 5/, 6/3, 8/3, 9/3, /3, 3/4, /4, 6/4, 7/4, 9/4, /4, /4} ? L5={/, /, 3/, 5/, 6/3, 8/3, 9/3, /3, 3/4, ? 4/4, 5/5, 6/4, 7/4, 8/5, 9/4, /4, /5, /4, 3/5, 4/5, 6/5, 8/5, 9/5, 3/5, 3/5, 34/5, 35/5} L6={/, /, 3/, 5/, 6/3, 8/3, 9/3, /3, 3/4, 4/4, 5/5, 6/4, 7/4, 8/5, 9/4, /4, /5, /4, 3/5, 4/5, 5/6, 6/5, 7/6, 8/5, 9/5, 3/6, 3/5, 3/5, 33/6, 34/5, 35/5, 36/6}
22 Subset Sum with Range of Target Values Uses intervals to ahieve approximation to within ε of esire value. LRS, p. 3-33, gives fully PTS base on ε _ Target= L={..3/}..5 L={..3/, 3..5/} L={..3/, 3..5/, 5..8/} L3={..3/, 3..5/, 5..8/, 8..4/3} L4={..3/, 3..5/, 5..8/, 8..4/3, 4..5/4} ? L5={..3/, 3..5/, 5..8/, 8..4/3, 4..5/4, 5..36/5} ? L6={..3/, 3..5/, 5..8/, 8..4/3, 4..5/4, 5..36/5}
23 Graph (Vertex) oloring - no effiient heuristi (unless P = NP) 3 Suppose a P time algorithm exists to olor every graph G with Χ G 4 Χ G 3 ( ) olors, then 3-olorability woul be in P. Proof:. k is the omplete graph with k verties.. G is an instane of 3-olorability. 3. Graph H = k [ G] (omposition of graphs). ( ) k using fewer than G k Eah vertex in a opy of G is onnete to all verties in all other opies of G. 4. If Χ( G) = 3, eah opy of G requires 3 olors, so Χ( H) = 3k. lgorithm must use fewer than 4 ( 3 3k ) = 4k olors for G to be 3-olorable. Otherwise, Χ( G) > 3 so eah opy of G nees at least 4 olors. Χ( H) 4k lgorithm must then use at least 4k olors to olor H. Thus, suh an algorithm is unlikely.
Announcements. Office Hours Swap: OH schedule has been updated to reflect this.
SA Solving Announements Offie Hours Swap: Zavain has offie hours from 4-6PM toay in builing 460, room 040A. Rose has offie hours tonight from 7-9PM in Gates B26B. Keith has offie hours hursay from 2-4PM
More informationCMSC 451: Lecture 9 Greedy Approximation: Set Cover Thursday, Sep 28, 2017
CMSC 451: Leture 9 Greedy Approximation: Set Cover Thursday, Sep 28, 2017 Reading: Chapt 11 of KT and Set 54 of DPV Set Cover: An important lass of optimization problems involves overing a ertain domain,
More informationMcCreight s Suffix Tree Construction Algorithm. Milko Izamski B.Sc. Informatics Instructor: Barbara König
1. Introution MCreight s Suffix Tree Constrution Algorithm Milko Izamski B.S. Informatis Instrutor: Barbara König The main goal of MCreight s algorithm is to buil a suffix tree in linear time. This is
More informationComputing 2-Walks in Cubic Time
Computing 2-Walks in Cubi Time Anreas Shmi Max Plank Institute for Informatis Jens M. Shmit Tehnishe Universität Ilmenau Abstrat A 2-walk of a graph is a walk visiting every vertex at least one an at most
More informationEuler and Hamilton Paths
Euler an Hamilton Paths The town of Königserg, Prussia (now know as Kaliningra an part of the Russian repuli), was ivie into four setion y ranhes of the Pregel River. These four setions C A D B Figure:
More informationLightpath routing for maximum reliability in optical mesh networks
Vol. 7, No. 5 / May 2008 / JOURNAL OF OPTICAL NETWORKING 449 Lightpath routing for maximum reliability in optial mesh networks Shengli Yuan, 1, * Saket Varma, 2 and Jason P. Jue 2 1 Department of Computer
More informationMath 225B: Differential Geometry, Homework 6
ath 225B: Differential Geometry, Homework 6 Ian Coley February 13, 214 Problem 8.7. Let ω be a 1-form on a manifol. Suppose that ω = for every lose urve in. Show that ω is exat. We laim that this onition
More informationCounting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs
Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if
More informationSupplementary Materials for A universal data based method for reconstructing complex networks with binary-state dynamics
Supplementary Materials for A universal ata ase metho for reonstruting omplex networks with inary-state ynamis Jingwen Li, Zhesi Shen, Wen-Xu Wang, Celso Greogi, an Ying-Cheng Lai 1 Computation etails
More informationChapter 2: One-dimensional Steady State Conduction
1 Chapter : One-imensional Steay State Conution.1 Eamples of One-imensional Conution Eample.1: Plate with Energy Generation an Variable Conutivity Sine k is variable it must remain insie the ifferentiation
More informationc-perfect Hashing Schemes for Binary Trees, with Applications to Parallel Memories
-Perfet Hashing Shemes for Binary Trees, with Appliations to Parallel Memories (Extended Abstrat Gennaro Cordaso 1, Alberto Negro 1, Vittorio Sarano 1, and Arnold L.Rosenberg 2 1 Dipartimento di Informatia
More informationExpressiveness of the Interval Logics of Allen s Relations on the Class of all Linear Orders: Complete Classification
Proeeings of the Twenty-Seon International Joint Conferene on Artifiial Intelligene Expressiveness of the Interval Logis of Allen s Relations on the Class of all Linear Orers: Complete Classifiation Dario
More informationMore on NP and Reductions
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 informationPacking Plane Spanning Trees into a Point Set
Paking Plane Spanning Trees into a Point Set Ahmad Biniaz Alfredo Garía Abstrat Let P be a set of n points in the plane in general position. We show that at least n/3 plane spanning trees an be paked into
More informationConstraint-free Analog Placement with Topological Symmetry Structure
Constraint-free Analog Plaement with Topologial Symmetry Struture Qing DONG Department of Information an Meia Sienes University of Kitakyushu Wakamatsu, Kitakyushu, Fukuoka, 808-0135, Japan e-mail: ongqing@env.kitakyu-u.a.jp
More informationNP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]
NP-Completeness Andreas Klappenecker [based on slides by Prof. Welch] 1 Prelude: Informal Discussion (Incidentally, we will never get very formal in this course) 2 Polynomial Time Algorithms Most of the
More informationZero-Knowledge Protocols
he People Zero-Knowlege Protools 2 he wars Prover (Peggy) Claim I Verifier (Vi) S Seret Deision 2 {true, false} zero-knowlege protool allows Peggy to Convine Vi that her laim is true an that she knows
More informationSolutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!
Solutions for HW9 Exerise 28. () Drw C 6, W 6 K 6, n K 5,3. C 6 : W 6 : K 6 : K 5,3 : () Whih of the following re iprtite? Justify your nswer. Biprtite: put the re verties in V 1 n the lk in V 2. Biprtite:
More informationFormal Concept Sampling for Counting and Threshold-Free Local Pattern Mining
Formal Conept Sampling for Counting an Threshol-Free Loal Pattern Mining Mario Boley an Thomas Gärtner an Henrik Grosskreutz Fraunhofer IAIS Shloss Birlinghoven 53754 Sankt Augustin, Germany {mario.boley,
More informationCS 491G Combinatorial Optimization Lecture Notes
CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,
More informationChapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should
More informationA NETWORK SIMPLEX ALGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM
NETWORK SIMPLEX LGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM Cen Çalışan, Utah Valley University, 800 W. University Parway, Orem, UT 84058, 801-863-6487, en.alisan@uvu.edu BSTRCT The minimum
More informationThe Computational Complexity of the Unrooted Subtree Prune and Regraft Distance. Technical Report CS
The Computational Complexit of the Unroote ubtree rune an egraft Distane Glenn Hike Frank Dehne Anrew au-chaplin Christian Blouin Tehnial eport C-006-06 Jul, 006 Fault of Computer iene 6050 Universit Ave.,
More information7 Max-Flow Problems. Business Computing and Operations Research 608
7 Max-Flow Problems Business Computing and Operations Researh 68 7. Max-Flow Problems In what follows, we onsider a somewhat modified problem onstellation Instead of osts of transmission, vetor now indiates
More informationECS122A Handout on NP-Completeness March 12, 2018
ECS122A Handout on NP-Completeness March 12, 2018 Contents: I. Introduction II. P and NP III. NP-complete IV. How to prove a problem is NP-complete V. How to solve a NP-complete problem: approximate algorithms
More informationFORMAL METHODS LECTURE VI BINARY DECISION DIAGRAMS (BDD S)
Alessandro Artale (FM First Semester 2009/2010) p. 1/38 FORMAL METHODS LECTURE VI BINARY DECISION DIAGRAMS (BDD S) Alessandro Artale Faulty of Computer Siene Free University of Bolzano artale@inf.unibz.it
More informationDetermination the Invert Level of a Stilling Basin to Control Hydraulic Jump
Global Avane Researh Journal of Agriultural Siene Vol. (4) pp. 074-079, June, 0 Available online http://garj.org/garjas/inex.htm Copyright 0 Global Avane Researh Journals Full Length Researh Paper Determination
More informationMaximum Entropy and Exponential Families
Maximum Entropy and Exponential Families April 9, 209 Abstrat The goal of this note is to derive the exponential form of probability distribution from more basi onsiderations, in partiular Entropy. It
More informationLabeling Workflow Views with Fine-Grained Dependencies
Labeling Workflow Views with Fine-Graine Depenenies Zhuowei Bao Department of omputer an Information iene University of Pennsylvania Philaelphia, P 1914, U zhuowei@is.upenn.eu usan B. Davison Department
More informationA Queueing Model for Call Blending in Call Centers
A Queueing Model for Call Blending in Call Centers Sandjai Bhulai and Ger Koole Vrije Universiteit Amsterdam Faulty of Sienes De Boelelaan 1081a 1081 HV Amsterdam The Netherlands E-mail: {sbhulai, koole}@s.vu.nl
More informationChapter 8 Hypothesis Testing
Leture 5 for BST 63: Statistial Theory II Kui Zhang, Spring Chapter 8 Hypothesis Testing Setion 8 Introdution Definition 8 A hypothesis is a statement about a population parameter Definition 8 The two
More informationAlgorithms Design & Analysis. Approximation Algorithm
Algorithms Design & Analysis Approximation Algorithm Recap External memory model Merge sort Distribution sort 2 Today s Topics Hard problem Approximation algorithms Metric traveling salesman problem A
More informationChapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 P and NP P: The family of problems that can be solved quickly in polynomial time.
More informationRamsey numbers of some bipartite graphs versus complete graphs
Ramsey numbers of some bipartite graphs versus complete graphs Tao Jiang, Michael Salerno Miami University, Oxfor, OH 45056, USA Abstract. The Ramsey number r(h, K n ) is the smallest positive integer
More informationAlgorithms. 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 informationReliability Guaranteed Energy-Aware Frame-Based Task Set Execution Strategy for Hard Real-Time Systems
Reliability Guaranteed Energy-Aware Frame-Based ask Set Exeution Strategy for Hard Real-ime Systems Zheng Li a, Li Wang a, Shuhui Li a, Shangping Ren a, Gang Quan b a Illinois Institute of ehnology, Chiago,
More informationarxiv: v1 [cs.cc] 27 Jul 2014
DMVP: Foremost Waypoint Coverage of Time-Varying Graphs Eri Aaron 1, Danny Krizan 2, and Elliot Meyerson 2 arxiv:1407.7279v1 [s.cc] 27 Jul 2014 1 Computer Siene Department, Vassar College, Poughkeepsie,
More informationIterated Point-Line Configurations Grow Doubly-Exponentially
Iterate Point-Line Configurations Grow Doubly-Exponentially Joshua Cooper an Mark Walters July 9, 008 Abstract Begin with a set of four points in the real plane in general position. A to this collection
More informationMid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours
Mi-Term Exmintion - Spring 0 Mthemtil Progrmming with Applitions to Eonomis Totl Sore: 5; Time: hours. Let G = (N, E) e irete grph. Define the inegree of vertex i N s the numer of eges tht re oming into
More informationAn Integer Solution of Fractional Programming Problem
Gen. Math. Notes, Vol. 4, No., June 0, pp. -9 ISSN 9-784; Copyright ICSRS Publiation, 0 www.i-srs.org Available free online at http://www.geman.in An Integer Solution of Frational Programming Problem S.C.
More informationComputer Science 786S - Statistical Methods in Natural Language Processing and Data Analysis Page 1
Computer Siene 786S - Statistial Methods in Natural Language Proessing and Data Analysis Page 1 Hypothesis Testing A statistial hypothesis is a statement about the nature of the distribution of a random
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 informationOptimal Distributed Estimation Fusion with Transformed Data
Optimal Distribute Estimation Fusion with Transforme Data Zhansheng Duan X. Rong Li Department of Eletrial Engineering University of New Orleans New Orleans LA 70148 U.S.A. Email: {zuanxli@uno.eu Abstrat
More informationI F I G R e s e a r c h R e p o r t. Minimal and Hyper-Minimal Biautomata. IFIG Research Report 1401 March Institut für Informatik
I F I G R e s e a r h R e p o r t Institut für Informatik Minimal and Hyper-Minimal Biautomata Markus Holzer Seastian Jakoi IFIG Researh Report 1401 Marh 2014 Institut für Informatik JLU Gießen Arndtstraße
More informationFlexible Word Design and Graph Labeling
Flexible Word Design and Graph Labeling Ming-Yang Kao Manan Sanghi Robert Shweller Abstrat Motivated by emerging appliations for DNA ode word design, we onsider a generalization of the ode word design
More informationG /G Advanced Cryptography 10/21/2009. Lecture 7
G22.3220-001/G63.2180 Advaned Cryptography 10/21/2009 Leturer: Yevgeniy Dodis Leture 7 Sribe: Aris Tentes In this leture we will over the following topis: Witness Hiding Σ-protools Alternative Constrution
More informationThe numbers inside a matrix are called the elements or entries of the matrix.
Chapter Review of Matries. Definitions A matrix is a retangular array of numers of the form a a a 3 a n a a a 3 a n a 3 a 3 a 33 a 3n..... a m a m a m3 a mn We usually use apital letters (for example,
More informationApproximation Algorithms for Re-optimization
Approximation Algorithms for Re-optimization DRAFT PLEASE DO NOT CITE Dean Alderucci Table of Contents 1.Introduction... 2 2.Overview of the Current State of Re-Optimization Research... 3 2.1.General Results
More informationAverage Rate Speed Scaling
Average Rate Speed Saling Nikhil Bansal David P. Bunde Ho-Leung Chan Kirk Pruhs May 2, 2008 Abstrat Speed saling is a power management tehnique that involves dynamially hanging the speed of a proessor.
More informationTheory 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 informationCombinatorial remarks on two-dimensional Languages
Combinatorial remarks on two-imensional Languages Franesa De Carli To ite this version: Franesa De Carli. Combinatorial remarks on two-imensional Languages. Mathematis [math]. Université e Savoie 2009.
More informationEasy 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 informationLECTURE NOTES FOR , FALL 2004
LECTURE NOTES FOR 18.155, FALL 2004 83 12. Cone support and wavefront set In disussing the singular support of a tempered distibution above, notie that singsupp(u) = only implies that u C (R n ), not as
More informationState Diagrams. Margaret M. Fleck. 14 November 2011
State Diagrams Margaret M. Flek 14 November 2011 These notes over state diagrams. 1 Introdution State diagrams are a type of direted graph, in whih the graph nodes represent states and labels on the graph
More informationViewing the Rings of a Tree: Minimum Distortion Embeddings into Trees
Viewing the Rings of a Tree: Minimum Distortion Embeddings into Trees Amir Nayyeri Benjamin Raihel Abstrat We desribe a 1+ε) approximation algorithm for finding the minimum distortion embedding of an n-point
More informationModal Horn Logics Have Interpolation
Modal Horn Logis Have Interpolation Marus Kraht Department of Linguistis, UCLA PO Box 951543 405 Hilgard Avenue Los Angeles, CA 90095-1543 USA kraht@humnet.ula.de Abstrat We shall show that the polymodal
More information= ν L. C ν L. = ν R. P ν L. CP ν L. CP Violation. Standard Model contains only left-handed neutrinos and right-handed anti-neutrinos
Phy489 Leture 9 1 CP iolation Stanar Moel ontains only left-hane neutrinos an right-hane anti-neutrinos C ν L = ν L harge onjugation not a symmetry of the weak interation P ν L = ν R parity also not onserve
More informationCSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4
Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones
More informationABHELSINKI UNIVERSITY OF TECHNOLOGY
Approximation Algorithms Seminar 1 Set Cover, Steiner Tree and TSP Siert Wieringa siert.wieringa@tkk.fi Approximation Algorithms Seminar 1 1/27 Contents Approximation algorithms for: Set Cover Steiner
More informationHOW TO FACTOR. Next you reason that if it factors, then the factorization will look something like,
HOW TO FACTOR ax bx I now want to talk a bit about how to fator ax bx where all the oeffiients a, b, and are integers. The method that most people are taught these days in high shool (assuming you go to
More informationJournal of Mathematical Analysis and Applications
J. Math. Anal. Appl. 371 (010) 759 763 Contents lists available at SieneDiret Journal of Mathematial Analysis an Appliations www.elsevier.om/loate/jmaa Singular Sturm omparison theorems Dov Aharonov, Uri
More informationGraduate 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 informationZero-Free Region for ζ(s) and PNT
Contents Zero-Free Region for ζs an PN att Rosenzweig Chebyshev heory ellin ransforms an Perron s Formula Zero-Free Region of Zeta Funtion 6. Jensen s Inequality..........................................
More informationStochastic Analysis of a Compound Redundant System Involving Human Failure
Journal of Matheatis an Statistis (3): 47-43, 6 ISSN 549-3644 6 Siene Publiations Stohasti nalysis of a Copoun Reunant Syste Involving uan Failure Ritu Gupta, S.. Mittal an 3 C. M. Batra,3 Departent of
More information18 Numerical Integration of Functions
Slightly moifie //9, /8/6 Firstly written at Marh 5 8 Numerial Integration of Funtions Introution Romberg Integration Gauss Quarature Aaptive Quarature Case Stuy: Root-Mean-Square Current DM869/Computational
More informationGraphs Recall from last time: A graph is a set of objects, or vertices, together with a (multi)set of edges that connect pairs of vertices.
Graphs Reall from last time: A graph is a set of ojets, or erties, together ith a (mlti)set of eges that onnet pairs of erties. Eample: e 2 e 3 e 4 e 5 e 1 Here, the erties are V t,,,,, an the eges are
More informationA FURTHER REFINEMENT OF MORDELL S BOUND ON EXPONENTIAL SUMS
A FURTHER REFINEMENT OF MORDELL S BOUND ON EXPONENTIAL SUMS TODD COCHRANE, JEREMY COFFELT, AND CHRISTOPHER PINNER 1. Introuction For a prime p, integer Laurent polynomial (1.1) f(x) = a 1 x k 1 + + a r
More informationThe DOACROSS statement
The DOACROSS sttement Is prllel loop similr to DOALL, ut it llows prouer-onsumer type of synhroniztion. Synhroniztion is llowe from lower to higher itertions sine it is ssume tht lower itertions re selete
More informationFormal Verification by Model Checking
Outline Formal Verifiation by Model Cheking Natasha Sharygina Carnegie Mellon University Guest Letures at the Analysis of Software Artifats Class, Spring 2005 1 Leture 1: Overview of Model Cheking Leture
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 informationfrom notes written mostly by Dr. Matt Stallmann: All Rights Reserved
CSC 505, Fall 000: Week 0 Objectives: understand problem complexity and classes defined by it understand relationships among decision, witness, evaluation, and optimization problems understand what it
More informationNonreversibility of Multiple Unicast Networks
Nonreversibility of Multiple Uniast Networks Randall Dougherty and Kenneth Zeger September 27, 2005 Abstrat We prove that for any finite direted ayli network, there exists a orresponding multiple uniast
More informationThe Laws of Acceleration
The Laws of Aeleration The Relationships between Time, Veloity, and Rate of Aeleration Copyright 2001 Joseph A. Rybzyk Abstrat Presented is a theory in fundamental theoretial physis that establishes the
More informationCorrectness 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 informationAre You Ready? Ratios
Ratios Teahing Skill Objetive Write ratios. Review with students the definition of a ratio. Explain that a ratio an be used to ompare anything that an be assigned a number value. Provide the following
More informationP, NP, NP-Complete. Ruth Anderson
P, NP, NP-Complete Ruth Anderson A Few Problems: Euler Circuits Hamiltonian Circuits Intractability: P and NP NP-Complete What now? Today s Agenda 2 Try it! Which of these can you draw (trace all edges)
More informationPermanent vs. Determinant
Permanent vs. Determinant Frank Ban Introuction A major problem in theoretical computer science is the Permanent vs. Determinant problem. It asks: given an n by n matrix of ineterminates A = (a i,j ) an
More informationGeneral Equilibrium. What happens to cause a reaction to come to equilibrium?
General Equilibrium Chemial Equilibrium Most hemial reations that are enountered are reversible. In other words, they go fairly easily in either the forward or reverse diretions. The thing to remember
More informationCSE 202 Homework 4 Matthias Springer, A
CSE 202 Homework 4 Matthias Springer, A99500782 1 Problem 2 Basic Idea PERFECT ASSEMBLY N P: a permutation P of s i S is a certificate that can be checked in polynomial time by ensuring that P = S, and
More informationNP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof
T-79.5103 / Autumn 2006 NP-complete problems 1 NP-COMPLETE PROBLEMS Characterizing NP Variants of satisfiability Graph-theoretic problems Coloring problems Sets and numbers Pseudopolynomial algorithms
More informationACO Comprehensive Exam October 18 and 19, Analysis of Algorithms
Consider the following two graph problems: 1. Analysis of Algorithms Graph coloring: Given a graph G = (V,E) and an integer c 0, a c-coloring is a function f : V {1,,...,c} such that f(u) f(v) for all
More informationGLOBAL EDITION. Calculus. Briggs Cochran Gillett SECOND EDITION. William Briggs Lyle Cochran Bernard Gillett
GOBA EDITION Briggs Cohran Gillett Calulus SECOND EDITION William Briggs le Cohran Bernar Gillett ( (, ) (, ) (, Q ), Q ) (, ) ( Q, ) / 5 /4 5 5 /6 7 /6 ( Q, 5 5 /4 ) 4 4 / 7 / (, ) 9 / (, ) 6 / 5 / (Q,
More informationNP 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 informationComputational Complexity. IE 496 Lecture 6. Dr. Ted Ralphs
Computational Complexity IE 496 Lecture 6 Dr. Ted Ralphs IE496 Lecture 6 1 Reading for This Lecture N&W Sections I.5.1 and I.5.2 Wolsey Chapter 6 Kozen Lectures 21-25 IE496 Lecture 6 2 Introduction to
More informationJuly 18, Approximation Algorithms (Travelling Salesman Problem)
Approximation Algorithms (Travelling Salesman Problem) July 18, 2014 The travelling-salesman problem Problem: given complete, undirected graph G = (V, E) with non-negative integer cost c(u, v) for each
More informationSome Useful Results for Spherical and General Displacements
E 5 Fall 997 V. Kumar Some Useful Results for Spherial an General Displaements. Spherial Displaements.. Eulers heorem We have seen that a spherial isplaement or a pure rotation is esribe by a 3 3 rotation
More informationComplementarities in Spectrum Markets
Complementarities in Spetrum Markets Hang Zhou, Randall A. Berry, Mihael L. Honig and Rakesh Vohra EECS Department Northwestern University, Evanston, IL 6008 {hang.zhou, rberry, mh}@ees.northwestern.edu
More informationThe Hanging Chain. John McCuan. January 19, 2006
The Hanging Chain John MCuan January 19, 2006 1 Introdution We onsider a hain of length L attahed to two points (a, u a and (b, u b in the plane. It is assumed that the hain hangs in the plane under a
More informationAn Efficient Sequential SAT Solver With Improved Search Strategies
An Effiient Sequential SAT Solver With Improved Searh Strategies F. Lu, M.K. Iyer, G. Parthasarathy, L.-C. Wang, and K.-T. Cheng K.C. Chen Department of ECE, Design Tehnology University of California at
More informationGraph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}
Grph Theory Simple Grph G = (V, E). V ={verties}, E={eges}. h k g f e V={,,,,e,f,g,h,k} E={(,),(,g),(,h),(,k),(,),(,k),...,(h,k)} E =16. 1 Grph or Multi-Grph We llow loops n multiple eges. G = (V, E.ψ)
More informationarxiv:math.co/ v1 2 Aug 2006
A CHARACTERIZATION OF THE TUTTE POLYNOMIAL VIA COMBINATORIAL EMBEDDINGS OLIVIER BERNARDI arxiv:math.co/0608057 v1 2 Aug 2006 Abstrat. We give a new haraterization of the Tutte polynomial of graphs. Our
More informationCMPSCI611: The Matroid Theorem Lecture 5
CMPSCI611: The Matroid Theorem Lecture 5 We first review our definitions: A subset system is a set E together with a set of subsets of E, called I, such that I is closed under inclusion. This means that
More informationETNA Kent State University
% { Eletroni Transations on Numerial Analysis. Volume 21, pp. 20-27, 2005. Copyright 2005,. ISSN 1068-9613. QR FACTORIZATIONS USING A RESTRICTED SET OF ROTATIONS DIANNE P. O LEARY AND STEPHEN S. BULLOCK
More informationOn the Designs and Challenges of Practical Binary Dirty Paper Coding
On the Designs and Challenges of Pratial Binary Dirty Paper Coding 04 / 08 / 2009 Gyu Bum Kyung and Chih-Chun Wang Center for Wireless Systems and Appliations Shool of Eletrial and Computer Eng. Outline
More informationDecision Problems TSP. Instance: A complete graph G with non-negative edge costs, and an integer
Decision Problems The theory of NP-completeness deals only with decision problems. Why? Because if a decision problem is hard, then the corresponding optimization problem must be hard too. For example,
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 informationStochastic Combinatorial Optimization with Risk Evdokia Nikolova
Computer Siene and Artifiial Intelligene Laboratory Tehnial Report MIT-CSAIL-TR-2008-055 September 13, 2008 Stohasti Combinatorial Optimization with Risk Evdokia Nikolova massahusetts institute of tehnology,
More informationFrugality Ratios And Improved Truthful Mechanisms for Vertex Cover
Frugality Ratios And Improved Truthful Mehanisms for Vertex Cover Edith Elkind Hebrew University of Jerusalem, Israel, and University of Southampton, Southampton, SO17 1BJ, U.K. Leslie Ann Goldberg University
More informationSequence Analysis, WS 14/15, D. Huson & R. Neher (this part by D. Huson & J. Fischer) January 21,
Sequene Analysis, WS 14/15, D. Huson & R. Neher (this part by D. Huson & J. Fisher) January 21, 201511 9 Suffix Trees and Suffix Arrays This leture is based on the following soures, whih are all reommended
More information