Xiangwen Li. March 8th and March 13th, 2001

Similar documents
What is LP? LP is an optimization technique that allocates limited resources among competing activities in the best possible manner.

XII.3 The EM (Expectation-Maximization) Algorithm

NP-Completeness : Proofs

Excess Error, Approximation Error, and Estimation Error

CHAPTER 6 CONSTRAINED OPTIMIZATION 1: K-T CONDITIONS

4 Column generation (CG) 4.1 Basics of column generation. 4.2 Applying CG to the Cutting-Stock Problem. Basic Idea of column generation

Calculation of time complexity (3%)

Edge Isoperimetric Inequalities

Least Squares Fitting of Data

CHAPTER 7 CONSTRAINED OPTIMIZATION 1: THE KARUSH-KUHN-TUCKER CONDITIONS

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

An Optimal Bound for Sum of Square Roots of Special Type of Integers

Solving Fuzzy Linear Programming Problem With Fuzzy Relational Equation Constraint

Applied Mathematics Letters

Least Squares Fitting of Data

y new = M x old Feature Selection: Linear Transformations Constraint Optimization (insertion)

COS 511: Theoretical Machine Learning

Expected Value and Variance

BAYESIAN CURVE FITTING USING PIECEWISE POLYNOMIALS. Dariusz Biskup

Column Generation. Teo Chung-Piaw (NUS) 25 th February 2003, Singapore

MATH 5707 HOMEWORK 4 SOLUTIONS 2. 2 i 2p i E(X i ) + E(Xi 2 ) ä i=1. i=1

Computational and Statistical Learning theory Assignment 4

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

Maximizing the number of nonnegative subsets

CHAPTER-5 INFORMATION MEASURE OF FUZZY MATRIX AND FUZZY BINARY RELATION

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

Preference and Demand Examples

Affine transformations and convexity

Lecture 3: Probability Distributions

Machine Learning. What is a good Decision Boundary? Support Vector Machines

1 Review From Last Time

Module 2. Random Processes. Version 2 ECE IIT, Kharagpur

APPENDIX A Some Linear Algebra

System in Weibull Distribution

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

Global Optimization of Truss. Structure Design INFORMS J. N. Hooker. Tallys Yunes. Slide 1

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

Perron Vectors of an Irreducible Nonnegative Interval Matrix

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2].

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS

Slobodan Lakić. Communicated by R. Van Keer

SELECTED SOLUTIONS, SECTION (Weak duality) Prove that the primal and dual values p and d defined by equations (4.3.2) and (4.3.3) satisfy p d.

Problem Set 9 Solutions

More metrics on cartesian products

1 Definition of Rademacher Complexity

Near Optimal Online Algorithms and Fast Approximation Algorithms for Resource Allocation Problems

Denote the function derivatives f(x) in given points. x a b. Using relationships (1.2), polynomials (1.1) are written in the form

j) = 1 (note sigma notation) ii. Continuous random variable (e.g. Normal distribution) 1. density function: f ( x) 0 and f ( x) dx = 1

Using T.O.M to Estimate Parameter of distributions that have not Single Exponential Family

Robust Algorithms for Preemptive Scheduling

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

Statistical Inference. 2.3 Summary Statistics Measures of Center and Spread. parameters ( population characteristics )

HMMT February 2016 February 20, 2016

Combining Constraint Programming and Integer Programming

Chapter 13. Gas Mixtures. Study Guide in PowerPoint. Thermodynamics: An Engineering Approach, 5th edition by Yunus A. Çengel and Michael A.

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

2.3 Nilpotent endomorphisms

Complex Numbers Alpha, Round 1 Test #123

Several generation methods of multinomial distributed random number Tian Lei 1, a,linxihe 1,b,Zhigang Zhang 1,c

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Geometry of Logit and Probit

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

10-801: Advanced Optimization and Randomized Methods Lecture 2: Convex functions (Jan 15, 2014)

= z 20 z n. (k 20) + 4 z k = 4

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

Finding Dense Subgraphs in G(n, 1/2)

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem.

The Parity of the Number of Irreducible Factors for Some Pentanomials

Solutions HW #2. minimize. Ax = b. Give the dual problem, and make the implicit equality constraints explicit. Solution.

,..., k N. , k 2. ,..., k i. The derivative with respect to temperature T is calculated by using the chain rule: & ( (5) dj j dt = "J j. k i.

and problem sheet 2

LECTURE V. 1. More on the Chinese Remainder Theorem We begin by recalling this theorem, proven in the preceeding lecture.

Min Cut, Fast Cut, Polynomial Identities

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 )

COS 521: Advanced Algorithms Game Theory and Linear Programming

On the Multicriteria Integer Network Flow Problem

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique

find (x): given element x, return the canonical element of the set containing x;

Chapter 9: Statistical Inference and the Relationship between Two Variables

Designing Fuzzy Time Series Model Using Generalized Wang s Method and Its application to Forecasting Interest Rate of Bank Indonesia Certificate

A 2D Bounded Linear Program (H,c) 2D Linear Programming

On Pfaff s solution of the Pfaff problem

Statistical Mechanics and Combinatorics : Lecture III

On the Construction of Polar Codes

Need for Probabilistic Reasoning. Raymond J. Mooney. Conditional Probability. Axioms of Probability Theory. Classification (Categorization)

Multiplicative Functions and Möbius Inversion Formula

Page 1. SPH4U: Lecture 7. New Topic: Friction. Today s Agenda. Surface Friction... Surface Friction...

PROBABILITY AND STATISTICS Vol. III - Analysis of Variance and Analysis of Covariance - V. Nollau ANALYSIS OF VARIANCE AND ANALYSIS OF COVARIANCE

On the Construction of Polar Codes

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Lecture 12: Discrete Laplacian

AN ANALYSIS OF A FRACTAL KINETICS CURVE OF SAVAGEAU

10-701/ Machine Learning, Fall 2005 Homework 3

Bernoulli Numbers and Polynomials

18.1 Introduction and Recap

halftoning Journal of Electronic Imaging, vol. 11, no. 4, Oct Je-Ho Lee and Jan P. Allebach

Spectral Graph Theory and its Applications September 16, Lecture 5

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

Additional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty

a b a In case b 0, a being divisible by b is the same as to say that

Transcription:

CS49I Approxaton Algorths The Vertex-Cover Proble Lecture Notes Xangwen L March 8th and March 3th, 00 Absolute Approxaton Gven an optzaton proble P, an algorth A s an approxaton algorth for P f, for an gven nstance x I, t returns an approxaton soluton, that s a feasble soluton A (x) Defnton Gven an optzaton proble P, for an nstance x of P and an arbtrar feasble soluton Denote ( x ) the optu value of x and ( x, ) the value of functon at feasble pont for the nstance x The absolute error of wth respect to x s defned as ( x) ( x, ) Gven an NP-hard optzaton proble, t would be ver satsfactor to have a polnoal-te approxaton algorth that s capable of provdng a soluton wth a bounded absolute error for ever nstance x Defnton Gven an optzaton proble P and an approxaton algorth A for P, we sa that A s an absolute approxaton algorth f there exsts a constant such that, for ever nstance x of P, ( x) ( x, A( x)) Exaple Let us consder the proble of deternng the nu nuber of colors needed to color a planar graph It s well-nown that a 6-colorng of a planar graph can be found n polnoal

te[] It s also nown that establshng whether the graph s -colorable (that s, the set of edges s ept) or -colorable( that s, the graph s bpartte) s decdable n polnoal te whereas the proble of decdng whether three colors are enough s NP-coplete( see [] for detal) Algorth D begn If the graph s - or -colorable, return ether a - or a -colorng of the vertces of G end else return a 6-colorng of the vertces of G Then we obtan an approxate soluton wth absolute error bounded b 3, 3 D Consder the Knapsac Proble Ths proble s characterzed b n obects O, O,,, On where each O s assocated wth a proft P and a weght W We want to choose a subset of obects to axze the proft wthout volatng the fact that the napsac has a lt weght W The Integer Prograng Forulaton s: ax n = n = w x p x W x {0,} Let g be an nstance of the Knapsac proble n tes wth profts P, P,,, P n and szes W, W,,,, Wn Suppose that the proble has a polnoal te approxaton algorth A wth absolute error and suppose that and A are the optu soluton and the approxaton soluton respectvel Then A Let be nstance of n tes wth profts

( + ) P,( + ) P,,,,( + ) P n and szes W, W,,,, Wn Suppose that ' and are the optu soluton and the approxaton soluton respectvel Then A ' ' > for A ' (for ore detal see[]) See the followng Fg >+ A A' ' Thus we have the followng theore Theore Unless P=NP, no polnoal-te absolute approxaton algorth exst for Knapsac Proble Defnton 3 Gven an optzaton proble P, for an nstance x of P and for an feasble soluton of x, the relatve error of wth respectve to x s defned as ( x, ) ( x) R ( x, ) = ax(, ) ( x) ( x, ) B the defnton, gven an nstance x of P and R, there s an algorth A such that ( x, A( x)) R ( x) Weghted Vertex Cover A vertex cover of a undrected graph G = ( V, E) s a subset V ' V such that f (u, v) s an edge of G, then ether u V ' or v V ' If a non-negatve weght w s assocated wth each vertex v, we want to fnd a vertex cover havng nu total weght We call ths proble nu weghted vertex cover Gven a weghted graph G = ( V, E), nu weghted vertex cover can be forulated as the followng nteger lnear progra ILP

n v V x + x x w x ( x, x ) E, {0,} Let LP be the lnear progra obtaned b relaxng the ntegralt constrants to sple non-negatveness constrants (e, x 0 for each v V ) Progra A begn 0 V ' = 0 ; Relax ILP to LP, b replacng the constrants x {0, } wth end x [0,] ;e x s a contnuous varable between 0 and For each v such that V ' = V ' { v } return V ' x Theore Gven a graph G wth non-negatve vertex weghts, Progra A fnds a feasble soluton of nu weghted vertex cover wth value LP (G) such that LP (G) Proof Let V ' be the soluton returned b the algorth The feasblt of V ' can be easl proved b contradcton Assue that V ' does not cover edge v, v ) Ths ples that both x ( G ) and ( x are less than 05 and hence x ( G ) + ( G ) <, a contradcton Let be the value of an optal soluton and let LP be the optal value of the relaxed lnear progra Snce the value of an optal soluton s alwas larger than the optal value of the relaxed lnear progra, we have x LP

If v V ', then x and w v V ' v V ' w x Snce V ' V, w x w x v V B the lnear progra algorth, v V ' w x Therefore the theore follows Pral-dual algorths LP The pleentaton of progra A requres the soluton of a lnear progra wth a possbl large nuber of constrans Therefore t s coputatonall expensve Another approach nown as praldual allows us to obtan an approxate soluton ore effcentl The chef dea s that an dual feasble soluton s a good lower bound on the nzaton pral proble We start wth a pral dual par (x, ), where x s a pral varable, whch s not necessarl feasble, whle s the dual varable, whch s not necessarl optal At each step of the algorth, we attept to ae ore optal and x ore feasble ; the algorth stops when x becoes feasble Gven a weghted graph G = ( V, E), the dual of the prevousl defned LP s the followng progra DLP : n ( v, v ) E ( v, v ) E w, v V 0, ( v, v ) E IP Note that the soluton n whch all are zero s a feasble soluton wth value 0 of DLP Also note that there s no dual for an nteger progra; we are tang the dual of the lnear prograng relaxaton of the pral nteger progra The pral dual algorth s descrbed the followng

Progra B begn for each dual varable do = 0 V '= 0 whle V ' s not a vertex cover do Select soe edge v, v ) not covered b V ' ; ( Increase v tll one of the end-ponts s ht e, or = w = w If = w then V ' = V ' { v } else V ' { v end whle } return V ' end Theore 3 Gven a graph G wth non-negatve weghts, progra B fnds a feasble soluton of nu weghted vertex cover wth value DLP (G) such that DLP Proof Let V ' be the soluton obtaned b the algorth B constructon V ' s a feasble soluton We observe that for ever v V ' we have = w Therefore ( v, v ) E Snce V ' V, DLP = v V ' w = v V ' ( v, v ) E

v V ' ( v, v ) E V v ( v E, v ) Snce ever edge of E counts two tes n V v ( v E, v ), Snce ( v, v ) E v V ( v E, v ) = ( v, v ) E ( G), the theore follows Randozaton Let X be a dscrete rando varable and tae the values wth probabltes p ( a ), p( a ), p( an ) The expectaton of X s defned as n E( X ) = a p( ) = Lneart propertes of Expectaton E X + X ) = E( X ) + E( ) ( X a E ( ax ) = ae( X ), where a s a postve, real nuber a, Exaple Suppose that there are 40 salors and 40 es one of whch s for one roo Suppose that each salor taes one e randol and opens hs roo wth ths e What s the Expected nuber of salors n ther own roos? Let x = f salor enters hs roo, x = 0 otherwse, a,,, an, B usng lneart of expectaton, we have 40 40 39 E( X ) = E( X ) = 40( () + (0)) = = = 40 40 We have used the fact that E X ) = p + 0( p ), snce ths s a ( bnar event Thus, E ( ) = (/ 40), for all X Exaple A Boolean expresson s sad to be n -conunctve noral for ( -SAT ) f t s the conuncton of clauses such that each clause contans exactl varables Suppose that there are clauses and n varables n the Boolean expresson The goal s to fnd an

assgnent of {True/False} to each of the varables, so that the gven Boolean expresson s satsfed The correspondng optzaton proble s to axze the nuber of clauses that are satsfed ( The optzaton proble s called MAX-SAT and s also NP-coplete ) Consder a rando assgnent of {True/False} to the varables e each varable x s set to True or False, dependng upon the rando outcoe of flppng a far con It s eas to see that the probablt that A sngle clause s not satsfed s at ost, snce n order to falsf a gven clause, all ts varables ust be set to False, n the rando assgnent Hence, wth probablt ( ), each clause s satsfed We want to now the expected nuber of clauses that are satsfed b our rando assgnent B usng lnear propertes of expectaton, we have E( X ) = E( X ) = ( ) = ( ) = = = Note that the axu nuber of clauses that can be satsfed under an assgnent s Hence, our rando assgnent s an approxaton algorth wth approxaton factor ( ) ( Exercse: Substtute varous values of and see how good the approxaton gets ) Reference: [] Borte and JVgen, Cobnatoral Optzaton, Sprnger- Verlag, 000 [] M R Gare and D S Johnson, Coputers and ntractablt a gude to the theor of NP-copleteness, 979