Multicommodity Flows Over Time Martin Skutella (TU Berlin MPI - - PowerPoint PPT Presentation

multicommodity flows over time
SMART_READER_LITE
LIVE PREVIEW

Multicommodity Flows Over Time Martin Skutella (TU Berlin MPI - - PowerPoint PPT Presentation

Multicommodity Flows Over Time Martin Skutella (TU Berlin MPI Saarbr ucken) joint work with: Lisa Fleischer Alexander Hall and Steffen Hippler Traffic Management and Route Guidance Network flow theory constitutes a promising


slide-1
SLIDE 1

Multicommodity Flows Over Time

Martin Skutella (TU Berlin − → MPI Saarbr¨ ucken) joint work with:

  • Lisa Fleischer
  • Alexander Hall and Steffen Hippler
slide-2
SLIDE 2

Traffic Management and Route Guidance Network flow theory constitutes a promising approach to

  • ptimizing large real-life traffic systems.

Traffic can be modeled as flow in directed graph representing the road network.

slide-3
SLIDE 3

Flows with Temporal Dimension Classical network flow theory considers steady state

  • flows. However, in many applications (e. g. road traffic),

time plays a vital role!

slide-4
SLIDE 4

Flows with Temporal Dimension Classical network flow theory considers steady state

  • flows. However, in many applications (e. g. road traffic),

time plays a vital role!

  • Flow variation over time due to seasonal altering

demands, supplies, and/or arc capacities.

  • Flow travels only at a certain pace through the

network, that is, there are transit times on the arcs.

slide-5
SLIDE 5

Further Applications

  • evacuation plans
  • communication networks

(e. g., Internet)

  • production systems
  • air traffic
  • logistics
  • financial flows

Literature: For surveys and more applications see, e.g.: Aronson (1989); Powell, Jaillet & Odoni (1995).

slide-6
SLIDE 6

Historical View The notion of flows over time (or ‘dynamic flows’) was introduced by Ford & Fulkerson (1958): Given: Network N = (V,A) with capacities ue and transit times τe on the arcs e ∈ A; time horizon T ∈ Z0. Interpretation:

  • The transit time τe of an arc e = (v,w) specifies the time

it takes for flow to travel from v to w on e.

  • The capacity ue bounds the rate of flow entering e.

Aim: Determine the maximal amount of flow that can be sent from source s ∈ V to sink t ∈ V within time T.

slide-7
SLIDE 7

Intuition: Network of Pipelines

s t

slide-8
SLIDE 8

Intuition: Network of Pipelines

t s

flow

← →

fluid arcs

← →

pipes transit time

← →

length of pipe capacity

← →

width of pipe

slide-9
SLIDE 9

Time-Expanded Networks

  • Observation. Flows over time can be solved as static flow

problems in time-expanded networks: [4,5) t v w 1 s 3 τ(s,v) = 3 T = 5: s v w t [0,1) [1,2) [2,3) [3,4)

slide-10
SLIDE 10

Time-Expanded Networks

  • Observation. Flows over time can be solved as static flow

problems in time-expanded networks: [4,5) t v w 1 s 3 τ(s,v) = 3 T = 5: s v w t [0,1) [1,2) [2,3) [3,4) Drawback: Time-expanded network consists of T time layers — only pseudo-polynomial in input size!

slide-11
SLIDE 11

The Complexity Landscape of Flows Over Time

s-t-flow

trans- shipment min-cost multi- commodity static poly poly poly (LP)

slide-12
SLIDE 12

The Complexity Landscape of Flows Over Time

s-t-flow

trans- shipment min-cost multi- commodity static poly poly poly (LP) dyn.

slide-13
SLIDE 13

The Complexity Landscape of Flows Over Time

s-t-flow

trans- shipment min-cost multi- commodity static poly poly poly (LP) dyn. poly (static min-cost flow) Ford & Fulkerson (1958): Maximum s-t-flow over time can be solved by one static min-cost flow computation in the given network.

slide-14
SLIDE 14

The Complexity Landscape of Flows Over Time

s-t-flow

trans- shipment min-cost multi- commodity static poly poly poly (LP) dyn. poly (static min-cost flow) poly (minimize submodular functions) Hoppe & Tardos (1994/95): Transshipment over time can be solved in polynomial time (but relies on submodular function minimization).

slide-15
SLIDE 15

The Complexity Landscape of Flows Over Time

s-t-flow

trans- shipment min-cost multi- commodity static poly poly poly (LP) dyn. poly (static min-cost flow) poly (minimize submodular functions) pseudo- poly NP-hard Klinz & Woeginger (1995): Minimum cost s-t-flow over time is NP-hard (already on series-parallel graphs).

slide-16
SLIDE 16

The Complexity Landscape of Flows Over Time

s-t-flow

trans- shipment min-cost multi- commodity static poly poly poly (LP) dyn. poly (static min-cost flow) poly (minimize submodular functions) pseudo- poly NP-hard pseudo- poly (LP) NP-hard Hall, Hippler & Sk. (2003): Fractional multicommodity flow over time is NP-hard (already on series-parallel graphs). Without storage of flow at intermediate nodes, it is even strongly NP-hard.

slide-17
SLIDE 17

Further Results and References

  • Gale (1959) observes that earliest arrival flows exist.
  • Wilkinson (1971) and Minieka (1973) give equivalent

pseudo-polynomial time algorithms to find them.

  • Hoppe & Tardos (1994) approximate them with a fully

polynomial time approximation scheme (FPTAS).

  • Orlin (1983, 1984) considers infinite horizon (minimum

cost) flows over time that maximize throughput.

  • Fleischer (2001a,2001b) and Fleischer & Orlin (2000)

study flows over time with zero transit times.

  • Fleischer & Tardos (1998) discuss continuous versus

discrete time model.

slide-18
SLIDE 18

Problem Definition Multi-Commodity Flow Over Time. Given: Network N , time horizon T, set of commodities

i = 1,...,k with sources si, sinks ti, and demand values Di.

Task: Satisfy all demands within time T.

slide-19
SLIDE 19

Problem Definition Multi-Commodity Flow Over Time. Given: Network N , time horizon T, set of commodities

i = 1,...,k with sources si, sinks ti, and demand values Di.

Task: Satisfy all demands within time T. Multi-Commodity Transshipment Over Time. Every commodity can have several sources and sinks with given supplies and demands.

slide-20
SLIDE 20

Problem Definition Multi-Commodity Flow Over Time. Given: Network N , time horizon T, set of commodities

i = 1,...,k with sources si, sinks ti, and demand values Di.

Task: Satisfy all demands within time T. Multi-Commodity Transshipment Over Time. Every commodity can have several sources and sinks with given supplies and demands. Min-Cost Multi-Commodity Transshipment Over Time. Minimize total flow cost in network with costs on arcs.

slide-21
SLIDE 21

Polynomially Solvable Cases Joint work with Alex Hall & Steffen Hippler:

  • Multicommodity flow over time with intermediate

storage is polynomially solvable if every node has at most one outgoing arc: (Route all flow greedily, i.e., as early as possible; whenever a conflict occurs on an arc, give priority to the commodity which is further away from its sink.)

slide-22
SLIDE 22

Polynomially Solvable Cases Joint work with Alex Hall & Steffen Hippler:

  • Multicommodity flow over time with intermediate

storage is polynomially solvable if every node has at most one outgoing arc: (Route all flow greedily, i.e., as early as possible; whenever a conflict occurs on an arc, give priority to the commodity which is further away from its sink.)

  • If between every fixed pair of nodes all paths have the

same transit time, a min-cost multicommodity transshipment over time (with or without intermediate storage) can be computed in polynomial time.

slide-23
SLIDE 23

Example 2 2 1 2 2 2 1

slide-24
SLIDE 24

Proof Sketch 2 2 1 2 2 2 1

slide-25
SLIDE 25

Proof Sketch

slide-26
SLIDE 26

Proof Sketch

slide-27
SLIDE 27

Proof Sketch

slide-28
SLIDE 28

Proof Sketch

slide-29
SLIDE 29

Proof Sketch

slide-30
SLIDE 30

Proof Sketch

slide-31
SLIDE 31

Proof Sketch

slide-32
SLIDE 32

Proof Sketch

slide-33
SLIDE 33

Proof Sketch

slide-34
SLIDE 34

Proof Sketch

slide-35
SLIDE 35

Proof Sketch

slide-36
SLIDE 36

Proof Sketch

slide-37
SLIDE 37

Proof Sketch

slide-38
SLIDE 38

Proof Sketch

slide-39
SLIDE 39

Proof Sketch

slide-40
SLIDE 40

Bottom Line Theorem. If between every fixed pair of nodes all paths have the same transit time, an optimal flow over time can be

  • btained from a static flow computation in a

time-expanded network with O(n2) nodes and O(nm) arcs. Interesting Special Case: Tree Networks!

slide-41
SLIDE 41

The Quickest Flow Problem

  • Definition. (Quickest Multi-Commodity Flow Problem)

Construct a multi-commodity flow over time satisfying given demands D within minimal time T (and cost bounded by C). Burkard, Dlaska & Klinz (1993) use Megiddo’s method of parametric search to give a strongly polynomial algorithm for quickest s-t-flows.

slide-42
SLIDE 42

The Quickest Flow Problem

  • Definition. (Quickest Multi-Commodity Flow Problem)

Construct a multi-commodity flow over time satisfying given demands D within minimal time T (and cost bounded by C). Burkard, Dlaska & Klinz (1993) use Megiddo’s method of parametric search to give a strongly polynomial algorithm for quickest s-t-flows. — The quickest flow problem with bounded cost and/or multiple commodities is NP-hard!

slide-43
SLIDE 43

Approximation Algorithms Joint work with Lisa Fleischer (IPCO’02 & SODA’03):

  • Generalization of Ford & Fulkerson’s approach:

(2+ε)-approximation for quickest multicommodity flow

based on length-bounded static flow computation.

  • Introduce condensed time-expanded network with

scaled transit times: General framework to obtain FPTASes for various quickest flow problems.

  • Simple capacity scaling FPTAS for quickest min-cost

s-t-flows with cost proportional to transit time.

  • Important insight: Minimum convex cost transshipment
  • ver time never requires intermediate storage.
slide-44
SLIDE 44

Static Average Flows Given an optimal flow over time f ∗ with time horizon T ∗, consider the corresponding static average flow x∗ given by

x∗ := 1 T ∗

T ∗

f ∗(θ) dθ .

Then, x∗ fulfills capacity and flow conservation constraints since f ∗ does. Moreover,

|x∗| = |f ∗| T ∗ = D T ∗

and

c(x∗) = c(f ∗) T ∗

  • C

T ∗ .

slide-45
SLIDE 45

Length-Bounded Flows Since f ∗ has time horizon T ∗, any path P taken by an arbitrary flow unit has length τP T ∗. s1 t2 s2 t1

slide-46
SLIDE 46

Length-Bounded Flows Since f ∗ has time horizon T ∗, any path P taken by an arbitrary flow unit has length τP T ∗. s1 t2 s2 t1 Observation. Static average flow x∗ is T ∗-length-bounded, i. e., there is a path decomposition (x∗

P)P∈P with τP T ∗ for all P ∈ P.

slide-47
SLIDE 47

A Simple Algorithm Problem: Find a quickest flow (i. e., minimize T) satisfying all demands D and with cost bounded by C. Algorithm.

slide-48
SLIDE 48

A Simple Algorithm Problem: Find a quickest flow (i. e., minimize T) satisfying all demands D and with cost bounded by C. Algorithm.

  • Guess the optimal time horizon T ∗ (binary search).
slide-49
SLIDE 49

A Simple Algorithm Problem: Find a quickest flow (i. e., minimize T) satisfying all demands D and with cost bounded by C. Algorithm.

  • Guess the optimal time horizon T ∗ (binary search).
  • Compute a T ∗-length-bounded static flow (xP)P∈P with

|x| = D T ∗

and

c(x) C T ∗ .

slide-50
SLIDE 50

A Simple Algorithm Problem: Find a quickest flow (i. e., minimize T) satisfying all demands D and with cost bounded by C. Algorithm.

  • Guess the optimal time horizon T ∗ (binary search).
  • Compute a T ∗-length-bounded static flow (xP)P∈P with

|x| = D T ∗

and

c(x) C T ∗ .

  • Construct flow over time f by sending flow at constant

rate xP into paths P ∈ P during the time interval [0,T ∗). Then wait until all flow has arrived at the sink.

slide-51
SLIDE 51

Example The T ∗-length-bounded static flow x:

slide-52
SLIDE 52

Analysis Flow value: The solution f sends flow according to a path decomposition of x into the network for T ∗ time

  • units. Thus, |f| = T ∗ |x| = D.
slide-53
SLIDE 53

Analysis Flow value: The solution f sends flow according to a path decomposition of x into the network for T ∗ time

  • units. Thus, |f| = T ∗ |x| = D.

Cost:

c(f) = ∑

P∈P

cP T ∗ xP = ∑

P∈P ∑ e∈P

ce T ∗ xP = T ∗ ∑

e∈A

ce ∑

P∈P e∈P

xP = T ∗ ∑

e∈A

ce xe = T ∗ c(x) C

slide-54
SLIDE 54

Analysis Flow value: The solution f sends flow according to a path decomposition of x into the network for T ∗ time

  • units. Thus, |f| = T ∗ |x| = D.

Cost:

c(f) = ∑

P∈P

cP T ∗ xP = ∑

P∈P ∑ e∈P

ce T ∗ xP = T ∗ ∑

e∈A

ce ∑

P∈P e∈P

xP = T ∗ ∑

e∈A

ce xe = T ∗ c(x) C

Time horizon: The flow over time f sends flow into paths

P ∈ P until time T ∗. Since τP T ∗ for all P ∈ P, the last

unit of flow arrives at the sink before time 2T ∗.

slide-55
SLIDE 55

Approximation Result Theorem: The algorithm achieves performance ratio 2.

slide-56
SLIDE 56

Approximation Result Theorem: The algorithm achieves performance ratio 2. Problem: Computing a T ∗-length-bounded static flow is NP-hard.

slide-57
SLIDE 57

Approximation Result Theorem: The algorithm achieves performance ratio 2. Problem: Computing a T ∗-length-bounded static flow is NP-hard. Solution: For any ε > 0, a (1+ε)T ∗-length-bounded static flow can be computed in polynomial time. (Dual separation is length-bounded shortest path problem −

→ FPTAS.) = ⇒ Polynomial time algorithm with performance 2+ε.

slide-58
SLIDE 58

Concluding Remarks

  • Flows over time are of great practical importance.
  • Our theoretical and practical understanding of the

subject is not satisfactory yet.

slide-59
SLIDE 59

Concluding Remarks

  • Flows over time are of great practical importance.
  • Our theoretical and practical understanding of the

subject is not satisfactory yet.

  • In real-world situations, transit times vary with the

amount of flow on an arc. Problem: Find a realistic and computationally tractable mathematical model!

− → Next talk!