Chapter 13. Network Flow III Applications. 13.1 Edge disjoint paths. 13.1.1 Edge-disjoint paths in a directed graphs



Similar documents
2.4 Network flows. Many direct and indirect applications telecommunication transportation (public, freight, railway, air, ) logistics

How Much Can Taxes Help Selfish Routing?

AP Calculus AB 2013 Scoring Guidelines

MTH6121 Introduction to Mathematical Finance Lesson 5

Max Flow, Min Cut. Maximum Flow and Minimum Cut. Soviet Rail Network, Minimum Cut Problem

Answer, Key Homework 2 David McIntyre Mar 25,

Analogue and Digital Signal Processing. First Term Third Year CS Engineering By Dr Mukhtiar Ali Unar

Chapter 2 Problems. 3600s = 25m / s d = s t = 25m / s 0.5s = 12.5m. Δx = x(4) x(0) =12m 0m =12m

Appendix A: Area. 1 Find the radius of a circle that has circumference 12 inches.

Chapter 7. Response of First-Order RL and RC Circuits

STABILITY OF LOAD BALANCING ALGORITHMS IN DYNAMIC ADVERSARIAL SYSTEMS

Inductance and Transient Circuits

Random Walk in 1-D. 3 possible paths x vs n. -5 For our random walk, we assume the probabilities p,q do not depend on time (n) - stationary

The Role of the Scientific Method in Software Development. Robert Sedgewick Princeton University

Mathematics in Pharmacokinetics What and Why (A second attempt to make it clearer)

Improper Integrals. Dr. Philippe B. laval Kennesaw State University. September 19, f (x) dx over a finite interval [a, b].

Physical Topology Discovery for Large Multi-Subnet Networks

The Transport Equation

Full-wave rectification, bulk capacitor calculations Chris Basso January 2009

Chapter 6 Interest Rates and Bond Valuation

A Curriculum Module for AP Calculus BC Curriculum Module

Signal Rectification

PROFIT TEST MODELLING IN LIFE ASSURANCE USING SPREADSHEETS PART ONE

AP Calculus BC 2010 Scoring Guidelines

Capacitors and inductors

17 Laplace transform. Solving linear ODE with piecewise continuous right hand sides

ANALYSIS AND COMPARISONS OF SOME SOLUTION CONCEPTS FOR STOCHASTIC PROGRAMMING PROBLEMS

Signal Processing and Linear Systems I

Top-K Structural Diversity Search in Large Networks

CHARGE AND DISCHARGE OF A CAPACITOR

Globally-Optimal Greedy Algorithms for Tracking a Variable Number of Objects

Acceleration Lab Teacher s Guide

Differential Equations and Linear Superposition

Economics Honors Exam 2008 Solutions Question 5

Stochastic Optimal Control Problem for Life Insurance

Imagine a Source (S) of sound waves that emits waves having frequency f and therefore

Single-machine Scheduling with Periodic Maintenance and both Preemptive and. Non-preemptive jobs in Remanufacturing System 1

The Torsion of Thin, Open Sections

Optimal Path Routing in Single and Multiple Clock Domain Systems

Differential Equations. Solving for Impulse Response. Linear systems are often described using differential equations.

9. Capacitor and Resistor Circuits

1. y 5y + 6y = 2e t Solution: Characteristic equation is r 2 5r +6 = 0, therefore r 1 = 2, r 2 = 3, and y 1 (t) = e 2t,

WHAT ARE OPTION CONTRACTS?

Chapter 4: Exponential and Logarithmic Functions

Better Bounds for Online Load Balancing on Unrelated Machines

11/6/2013. Chapter 14: Dynamic AD-AS. Introduction. Introduction. Keeping track of time. The model s elements

RC (Resistor-Capacitor) Circuits. AP Physics C

Second Order Linear Differential Equations

Optimal Investment and Consumption Decision of Family with Life Insurance

Photo Modules for PCM Remote Control Systems

Online Convex Programming and Generalized Infinitesimal Gradient Ascent

AP Calculus AB 2007 Scoring Guidelines

µ r of the ferrite amounts to It should be noted that the magnetic length of the + δ

How To Solve An Uncerain Daa Problem

Circle Geometry (Part 3)

TEMPORAL PATTERN IDENTIFICATION OF TIME SERIES DATA USING PATTERN WAVELETS AND GENETIC ALGORITHMS

THE FIRM'S INVESTMENT DECISION UNDER CERTAINTY: CAPITAL BUDGETING AND RANKING OF NEW INVESTMENT PROJECTS

The Application of Multi Shifts and Break Windows in Employees Scheduling

OPERATION MANUAL. Indoor unit for air to water heat pump system and options EKHBRD011ABV1 EKHBRD014ABV1 EKHBRD016ABV1

Chapter 2 Kinematics in One Dimension

2.5 Life tables, force of mortality and standard life insurance products

B-Splines and NURBS Week 5, Lecture 9

The Role of Science and Mathematics in Software Development

Motion Along a Straight Line

Task-Execution Scheduling Schemes for Network Measurement and Monitoring

AP Calculus AB 2010 Scoring Guidelines

Heuristics for dimensioning large-scale MPLS networks

Niche Market or Mass Market?

A Load Balancing Method in Downlink LTE Network based on Load Vector Minimization

Chapter 6: Business Valuation (Income Approach)

cooking trajectory boiling water B (t) microwave time t (mins)

Morningstar Investor Return

1 HALF-LIFE EQUATIONS

Task is a schedulable entity, i.e., a thread

Principal components of stock market dynamics. Methodology and applications in brief (to be updated ) Andrei Bouzaev, bouzaev@ya.

CHAPTER FIVE. Solutions for Section 5.1

Permutations and Combinations

Mechanical Fasteners Tensile and Shear Stress Areas

Making Use of Gate Charge Information in MOSFET and IGBT Data Sheets


Stock Trading with Recurrent Reinforcement Learning (RRL) CS229 Application Project Gabriel Molina, SUID

I. Basic Concepts (Ch. 1-4)

Quality Assurance in Software Development

Banking, Inside Money and Outside Money

Solution y y = 0 = = 0.250

Table of contents Chapter 1 Interest rates and factors Chapter 2 Level annuities Chapter 3 Varying annuities

HUT, TUT, LUT, OU, ÅAU / Engineering departments Entrance examination in mathematics May 25, 2004

Network Effects, Pricing Strategies, and Optimal Upgrade Time in Software Provision.

The Heisenberg group and Pansu s Theorem

An approach for designing a surface pencil through a given geodesic curve

Efficient One-time Signature Schemes for Stream Authentication *

SOLID MECHANICS TUTORIAL GEAR SYSTEMS. This work covers elements of the syllabus for the Edexcel module 21722P HNC/D Mechanical Principles OUTCOME 3.

Transcription:

Chaper 13 Nework Flow III Applicaion CS 573: Algorihm, Fall 014 Ocober 9, 014 13.1 Edge dijoin pah 13.1.1 Edge-dijoin pah in a direced graph 13.1.1.1 Edge dijoin pah queiong: graph (dir/undir)., : verice. k: parameer. Tak: Compue k pah from o ha are edge dijoin (A) Conver G ino nework flow H. (B) Capaciie 1. (C) Compue max flow in H. (D) Value of flow = # of edge dijoin pah. 13.1.1. Edge Dijoin pah lemma Lemma 13.1.1. k edge dijoin - pah in G = max flow value H i a lea k. Proof: Given k uch edge dijoin pah, puh one uni of flow along each uch pah. The reuling flow i legal in h and i ha value k. Definiion 13.1. (0/1-flow). A flow f i a 0/1-flow if every edge ha eiher no flow on i, or one uni of flow. 13.1.1.3 0/1 flow Lemma 13.1.3. f: 0/1 flow in H wih flow value µ. Then here are µ edge dijoin pah beween and in H. 1

proof (A) Inducion on # edge H wih 1 uni of flow on hem. If µ = 0... (B) Oherwie... Travel from on edge wih flow 1. Exrac pah. Repea. (C) If reached. Take pah π. Reduce flow along π. H /f : new nework/flow f = µ 1, H ha le edge, (D) By inducion: ha µ 1 edge dijoin pah in H beween and. Wih π hi form µ uch pah. 13.1.1.4 0/1 flow proof coninued Lemma 13.1.4. f: 0/1 flow in H wih flow value µ. Then here are µ edge dijoin pah beween and in H. Proof coninued (A) If vii a verex v for he econd ime (while exracing π). (B) Traveral conain a cycle C. (C) C edge in H have flow 1 on hem. (D) Se flow along edge of C o 0. (E) Inducion on he remaining graph. (F) Value of f did no change by removing C. (G) By inducion µ edge dijoin pah in H. 13.1.1.5 Example: Exracing pah

13.1.1.6 Exracing pah (A) G i imple (B) = n = V(H) edge leaving. (C) max flow in H i n. (D) Ford-Fulkeron ake O(mn) ime. (E) Exracion of pah ake linear ime (by proof). Theorem 13.1.5. G: direced graph, n verice, m edge,, verice. Compue max # edge dijoin pah from o in O(mn) ime. 13.1. # edge dijoin pah 13.1..1 Max-flow min-cu heorem rike again! Lemma 13.1.6. G,, a above. Max # edge dijoin pah = Proof: (A) U: e of edge-dijoin pah from o. (B) F : e of edge removing hem eparae from (C) every pah in U conain edge of F. = U F. (D) F : form a cu in G beween and. (E) F minimal = min cu. (F) max-flow mincu heorem F = max flow in G (G) = F dijoin pah in G. = F U. min # edge whoe removal eparae from. 3

13.1.3 Edge-dijoin pah in undireced graph 13.1.3.1 Edge-dijoin pah in undireced graph Problem 13.1.7. G: undireced graph G, and, find max # edge-dijoin pah beween and. (A) Duplicae every edge in G = direced graph H, apply algorihm for direced cae. (B) Problem: flow f migh ue imulaneouly edge in boh direcion: (u v) and (v u). (C) Soluion: Remove -cycle! Repea. (D) Then ue algorihm for direced cae... Lemma 13.1.8. k edge-dijoin pah in undireced G max flow in (direced) graph i a lea k. Pah in G compued in O(mn) ime (Ford-Fulkeron). 13. Circulaion wih demand 13..0. Circulaion wih demand 3 3 G = (V, E). v V here i a demand d v : (A) d v > 0: ink requiring d v flow ino hi node. (B) d v < 0: ource wih d v uni of flow leaving i. (C) d v = 0: regular node. 4 S e of ource verice T : e of ink verice. 4

13..1 A circulaion wih demand: example 13..1.1 A valid circulaion for he given inance / 1/ 3 3 / / / 13..1. Definiion: Circulaion wih demand Definiion 13..1. circulaion wih demand {d v } i a funcion f : E(G) R + : Capaciy condiion: e E: f(e) c(e). Conervaion condiion: v V : f in (v) f ou (v) = d v. Where: (A) f in (v) flow ino v. (B) f ou (v): flow ou of v. Problem 13... I here a circulaion ha comply wih he demand requiremen? 4 13..1.3 Feaible circulaion lemma Lemma 13..3. If here i a feaible circulaion wih demand {d v }, hen v d v = 0. Proof: (A) Circulaion = v d v = f in (v) f ou (v). (B) v V d v = v f in (v) v f ou (v) (C) Flow on every edge i ummed wice, one wih poiive ign, one wih negaive ign. (D) = d v = f in (v) f ou (v) = 0, v v v 13..1.4 Compuing circulaion feaible circulaion only if D = d v = d v. v,d v>0 v,d v<0 5

13.. The algorihm for compuing a circulaion Algorihm for compuing circulaion (A) G = (V, E): inpu nework wih demand on verice. (B) Check D = v,d v>0 d v = v,d v<0 d v. (C) Creae uper ource. Connec o all v wih d v < 0. Se capaciy ( v) o d v. (D) Creae uper ink. Connec o all verice u wih d u > 0. Se capaciy (u ) o d u. (E) H: new nework flow. Compue max-flow f in H from o. (F) If f = D = valid circulaion. Eay o recover. 13...1 Reul: Circulaion wih demand Theorem 13..4. feaible circulaion wih demand {d v } in G max-flow in H ha value D. Inegraliy: If all capaciie and demand in G are ineger, and here i a feaible circulaion, hen here i a feaible circulaion ha i ineger valued. 13.3 Circulaion wih demand and lower bound 13.3.0. Circulaion wih demand and lower bound (A) circulaion and demand + for each edge a lower bound on flow. (B) e E(G): l(e) c(e). (C) Compue f uch ha e l(e) f(e) c(e). (D) Be upid! Conider flow: e f 0 (e) = l(e). (E) f 0 violae conervaion of flow! L v = f in 0 (v) f ou 0 (v) = e ino v l(e) (F) If L v = d v, hen no problem. (G) Fix-up demand: v d v = d v L v. Fix-up capaciy: c (e) = c(e) l(e). (H) G : new nework w. new demand/capaciie (no lower bound!) (I) Compue circulaion f on G. = The flow f = f 0 + f, i a legal circulaion, 13.3.0.3 Circulaion wih demand and lower bound e ou of v l(e). Lemma 13.3.1. feaible circulaion in G feaible circulaion in G. Inegraliy: If all number are ineger = inegral feaible circulaion. Proof: Le f be a circulaion in G. Le f(e) = f 0 (e) + f (e). Clearly, f aifie he capaciy condiion in G, and he lower bound. f in (v) f ou (v) = e ino v(l(e) + f (e)) e ou of v(l(e) + f (e)) = L v +(d v L v ) = d v. f: valid circulaion in G. Then f (e) = f(e) l(e) i a valid circulaion for G. 6

13.4 Applicaion 13.4.1 Survey deign 13.4.1.1 Survey deign (A) Ak Conumer i: wha did you hink of produc j? (B) ih conumer willing o anwer beween c i o c i queion. (C) For each produc j: a lea p j opinion, no more han p j opinion. (D) Full knowledge which conumer can be aked on which produc. (E) Problem: How o aign queion o conumer? 13.4.1. Survey deign... Conumer Produc Conumer 0, 1 Produc c i, c i p j, p j 13.4.1.3 Reul... Lemma 13.4.1. Given n conumer and u produc wih heir conrain c 1, c 1, c, c,..., c n, c n, p 1, p 1,..., p u, p u and a li of lengh m of which produc where ued by which conumer. An algorihm can compue a valid urvey under hee conrain, if uch a urvey exi, in ime O((n + u)m ). 7