Senatore--ORPtalk_To..

Transcript

Senatore--ORPtalk_To..
August 2, 2013 – Flexible Networks Design 2013, Toronto
The Online Replacement Path Problem
Marco Senatore, University of Rome “Tor Vergata”
With David Adjiashvili (ETH) and Gianpaolo Oriolo (University of Rome “Tor Vergata”)
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
Collaboration with the Public Trasport (PT) Agency of Rome: historical and on-line
data.
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
Collaboration with the Public Trasport (PT) Agency of Rome: historical and on-line
data.
PT in Rome is very unreliable!!
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
Collaboration with the Public Trasport (PT) Agency of Rome: historical and on-line
data.
PT in Rome is very unreliable!!
On the other hand, customers want to take reliable journeys.
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
Collaboration with the Public Trasport (PT) Agency of Rome: historical and on-line
data.
PT in Rome is very unreliable!!
On the other hand, customers want to take reliable journeys.
We want to be robust with respect to missing connections.
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
Collaboration with the Public Trasport (PT) Agency of Rome: historical and on-line
data.
PT in Rome is very unreliable!!
On the other hand, customers want to take reliable journeys.
We want to be robust with respect to missing connections.
Line20
Line48
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
Collaboration with the Public Trasport (PT) Agency of Rome: historical and on-line
data.
PT in Rome is very unreliable!!
On the other hand, customers want to take reliable journeys.
We want to be robust with respect to missing connections.
Line20
T20
2
Line48
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
Collaboration with the Public Trasport (PT) Agency of Rome: historical and on-line
data.
PT in Rome is very unreliable!!
On the other hand, customers want to take reliable journeys.
We want to be robust with respect to missing connections.
Line20
T20
2
3T20
2
Line48
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Motivation
Collaboration with the Public Trasport (PT) Agency of Rome: historical and on-line
data.
PT in Rome is very unreliable!!
On the other hand, customers want to take reliable journeys.
We want to be robust with respect to missing connections.
Line20
3T20
2
Line48
2
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
RM can discovers the identity of e while traversing P.
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
RM can discovers the identity of e while traversing P.
t
s
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
RM can discovers the identity of e while traversing P.
t
s
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
RM can discovers the identity of e while traversing P.
t
s
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
RM can discovers the identity of e while traversing P.
t
s
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
RM can discovers the identity of e while traversing P.
t
s
!
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
RM can discovers the identity of e while traversing P.
t
s
As soon as the RM discovers the failure, it is allowed to take a detour to reach t.
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Given an edge-weighted graph G = (V , E , `), ` : E → R+ , a source s ∈ V , a
destination t ∈ V and an s-t path P.
Assume at most one edge e ∈ E can fail.
Routing Mechanism (RM) wants to route a package along P without knowing the
identity of the failed edge.
RM can discovers the identity of e while traversing P.
t
s
As soon as the RM discovers the failure, it is allowed to take a detour to reach t.
Goal: Provide an s-t path to the RM, such that the worst-case total travel time is
minimized.
3
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
4
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
4
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
4
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
s
4
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
it tries to cross it → Online Replacement Path (ORP);
s
4
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
it tries to cross it → Online Replacement Path (ORP);
⇓
s
4
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
2
it tries to cross it → Online Replacement Path (ORP);
it reaches a node that is at most k hops away from e on P → k-Hop ORP;
s
4
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
2
it tries to cross it → Online Replacement Path (ORP);
it reaches a node that is at most k hops away from e on P → k-Hop ORP;
k=2
⇓
s
4
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
2
3
it tries to cross it → Online Replacement Path (ORP);
it reaches a node that is at most k hops away from e on P → k-Hop ORP;
it reaches a node that is at distance at most R from the closer endpoint of e on P →
Radius ORP;
s
4
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
2
3
it tries to cross it → Online Replacement Path (ORP);
it reaches a node that is at most k hops away from e on P → k-Hop ORP;
it reaches a node that is at distance at most R from the closer endpoint of e on P →
Radius ORP;
R=6
⇓
s
4
Marco Senatore
2
5
The Online Replacement Path Problem
t
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
2
3
4
it tries to cross it → Online Replacement Path (ORP);
it reaches a node that is at most k hops away from e on P → k-Hop ORP;
it reaches a node that is at distance at most R from the closer endpoint of e on P →
Radius ORP;
it reaches a node of P that is at most k hops away from e on G → Strong k-Hop
ORP
s
4
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
2
3
4
it tries to cross it → Online Replacement Path (ORP);
it reaches a node that is at most k hops away from e on P → k-Hop ORP;
it reaches a node that is at distance at most R from the closer endpoint of e on P →
Radius ORP;
it reaches a node of P that is at most k hops away from e on G → Strong k-Hop
ORP
k=2
⇓
s
4
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Introduction
Different variants of the problem can be defined.
RM wants to route a package along P without knowing the identity of the failed
edge.
The RM discovers the identity of the failed edge e as soon as:
1
2
3
4
it tries to cross it → Online Replacement Path (ORP);
it reaches a node that is at most k hops away from e on P → k-Hop ORP;
it reaches a node that is at distance at most R from the closer endpoint of e on P →
Radius ORP;
it reaches a node of P that is at most k hops away from e on G → Strong k-Hop
ORP
k=2
⇓
s
t
As soon as RM is aware of the failed edge, it follows the shortest path in the
residual graph.
4
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Outline
1
Introduction
2
The Online Replacement Path Problem
3
Robust Length vs. Nominal Length
4
k-Hop ORP
5
Policy-ORP and Canadian Traveller’s Problem
5
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Outline
1
Introduction
2
The Online Replacement Path Problem
3
Robust Length vs. Nominal Length
4
k-Hop ORP
5
Policy-ORP and Canadian Traveller’s Problem
5
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Some Notations
6
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Some Notations
For each v ∈ V ,
1
2
Pv ,t is the set of v -t paths;
π(v ) := shortest v -t path length.
For e ∈ E and u ∈ V :
1
2
6
let Qu−e be some fixed shortest u-t path in G \ e;
π −e (u) = `(Qu−e ).
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
7
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Definition (Detour)
Given a path P ∈ Pv ,t and an edge e = uu 0 ∈ E , the detour P −e is:
0
the walk P[v , u] ⊕ Qu−uu if uu 0 ∈ P;
P otherwise.
7
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Definition (Detour)
Given a path P ∈ Pv ,t and an edge e = uu 0 ∈ E , the detour P −e is:
0
the walk P[v , u] ⊕ Qu−uu if uu 0 ∈ P;
P otherwise.
t
v
7
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Definition (Detour)
Given a path P ∈ Pv ,t and an edge e = uu 0 ∈ E , the detour P −e is:
0
the walk P[v , u] ⊕ Qu−uu if uu 0 ∈ P;
P otherwise.
t
v
7
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Definition (Detour)
Given a path P ∈ Pv ,t and an edge e = uu 0 ∈ E , the detour P −e is:
0
the walk P[v , u] ⊕ Qu−uu if uu 0 ∈ P;
P otherwise.
t
v
7
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Definition (Detour)
Given a path P ∈ Pv ,t and an edge e = uu 0 ∈ E , the detour P −e is:
0
the walk P[v , u] ⊕ Qu−uu if uu 0 ∈ P;
P otherwise.
t
v
Definition (Robust length)
The robust length of the v -t path P is
Val(P) = max `(P −e ).
e∈E
7
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Definition (Detour)
Given a path P ∈ Pv ,t and an edge e = uu 0 ∈ E , the detour P −e is:
0
the walk P[v , u] ⊕ Qu−uu if uu 0 ∈ P;
P otherwise.
t
v
Definition (Robust length)
The robust length of the v -t path P is
Val(P) = max `(P −e ).
e∈E
For each v ∈ V , we define πrob (v ) as the minimum of Val(P) over all P ∈ Pv ,t .
7
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Definition (Detour)
Given a path P ∈ Pv ,t and an edge e = uu 0 ∈ E , the detour P −e is:
0
the walk P[v , u] ⊕ Qu−uu if uu 0 ∈ P;
P otherwise.
t
v
Definition (Robust length)
The robust length of the v -t path P is
Val(P) = max `(P −e ).
e∈E
For each v ∈ V , we define πrob (v ) as the minimum of Val(P) over all P ∈ Pv ,t .
Find: an s-t path with minimum robust length.
7
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
8
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Val(P) is finite iff every v ∈ P is 2-connected to t.
8
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Val(P) is finite iff every v ∈ P is 2-connected to t.
Consider Pu .
u
8
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Val(P) is finite iff every v ∈ P is 2-connected to t.
Consider Pu .
v
8
Marco Senatore
u
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Val(P) is finite iff every v ∈ P is 2-connected to t.
Consider Pu . Then Val(vu ⊕ Pu ) = max{`(vu) + Val(Pu ), π −vu (v )}.
v
8
Marco Senatore
u
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Val(P) is finite iff every v ∈ P is 2-connected to t.
Consider Pu . Then Val(vu ⊕ Pu ) = max{`(vu) + Val(Pu ), π −vu (v )}.
v
u
t
[Monotonicity]:Val(P) ≥ Val(P[x, t]), whenever x ∈ V (P).
8
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Val(P) is finite iff every v ∈ P is 2-connected to t.
Consider Pu . Then Val(vu ⊕ Pu ) = max{`(vu) + Val(Pu ), π −vu (v )}.
v
u
t
1000
[Monotonicity]:Val(P) ≥ Val(P[x, t]), whenever x ∈ V (P).
8
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
Val(P) is finite iff every v ∈ P is 2-connected to t.
Consider Pu . Then Val(vu ⊕ Pu ) = max{`(vu) + Val(Pu ), π −vu (v )}.
v
u
t
1000
[Monotonicity]:Val(P) ≥ Val(P[x, t]), whenever x ∈ V (P).
Lemma (Weak optimality principle)
Let Pv ∈ Pv ,t be an optimal path from v , u ∈ V (Pv ) and Pu ∈ Pu,t be an optimal path
from u. Then the path Pv0 = Pv [v , u] ⊕ Pu satisfies Valk (Pv0 ) = Valk (Pv ), namely it is
also optimal from v .
8
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
9
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
We devise a label setting algorithm.
9
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
We devise a label setting algorithm.
Lemma
Let U ⊂ V , with t ∈ U, be a set of nodes for which πrob is known, and let vu ∈ δ(U):
vu =
max{`(zw ) + πrob (w ), π −zw (z)}.
arg min
zw ∈E :w ∈U,z6∈U
Then πrob (v ) = Val(vu ⊕ Pu ), where Pu is any optimal (robust) u-t path .
9
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
We devise a label setting algorithm.
Lemma
Let U ⊂ V , with t ∈ U, be a set of nodes for which πrob is known, and let vu ∈ δ(U):
vu =
max{`(zw ) + πrob (w ), π −zw (z)}.
arg min
zw ∈E :w ∈U,z6∈U
Then πrob (v ) = Val(vu ⊕ Pu ), where Pu is any optimal (robust) u-t path .
Theorem
Given an instance of ORP, the values πrob and the corresponding paths can be computed
in time O(m + n log n) in undirected graphs, and O(mn + n2 log n) in directed graphs.
9
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
We devise a label setting algorithm.
Lemma
Let U ⊂ V , with t ∈ U, be a set of nodes for which πrob is known, and let vu ∈ δ(U):
vu =
max{`(zw ) + πrob (w ), π −zw (z)}.
arg min
zw ∈E :w ∈U,z6∈U
Then πrob (v ) = Val(vu ⊕ Pu ), where Pu is any optimal (robust) u-t path .
Theorem
Given an instance of ORP, the values πrob and the corresponding paths can be computed
in time O(m + n log n) in undirected graphs, and O(mn + n2 log n) in directed graphs.
This complexity bound builds upon a result by Proietti et al. of ’99 providing an
O(mα(m, n)) algorithm to compute π −e (u), ∀e = uu 0 ∈ E .
9
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
The Online Replacement Path Problem
We devise a label setting algorithm.
Lemma
Let U ⊂ V , with t ∈ U, be a set of nodes for which πrob is known, and let vu ∈ δ(U):
vu =
max{`(zw ) + πrob (w ), π −zw (z)}.
arg min
zw ∈E :w ∈U,z6∈U
Then πrob (v ) = Val(vu ⊕ Pu ), where Pu is any optimal (robust) u-t path .
Theorem
Given an instance of ORP, the values πrob and the corresponding paths can be computed
in time O(m + n log n) in undirected graphs, and O(mn + n2 log n) in directed graphs.
This complexity bound builds upon a result by Proietti et al. of ’99 providing an
O(mα(m, n)) algorithm to compute π −e (u), ∀e = uu 0 ∈ E .
The same complexity bound is claimed in Bar-Noy and Schieber ’91, ”The Canadian
Traveller Problem”.
9
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
10
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
In some applications faults occur rarely, hence it is preferred to have the cost of the
chosen path as low as possible.
10
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
In some applications faults occur rarely, hence it is preferred to have the cost of the
chosen path as low as possible.
At the same time we could have a budget B on the robust length.
10
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
In some applications faults occur rarely, hence it is preferred to have the cost of the
chosen path as low as possible.
At the same time we could have a budget B on the robust length.
We aim at solving:
P ∗ :=
arg min
`(P).
P∈Ps,t : Val(P)≤B
10
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
In some applications faults occur rarely, hence it is preferred to have the cost of the
chosen path as low as possible.
At the same time we could have a budget B on the robust length.
We aim at solving:
P ∗ :=
arg min
`(P).
P∈Ps,t : Val(P)≤B
We can solve this problem with a simple modification of Dijkstra’s algorithm.
10
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
In some applications faults occur rarely, hence it is preferred to have the cost of the
chosen path as low as possible.
At the same time we could have a budget B on the robust length.
We aim at solving:
P ∗ :=
arg min
`(P).
P∈Ps,t : Val(P)≤B
We can solve this problem with a simple modification of Dijkstra’s algorithm.
Algorithm
1:
2:
3:
4:
5:
6:
7:
10
S = ∅; S̄ = V
d(s) = 0; d(u) = ∞ ∀u ∈ V \ s
while t ∈
/ S do
Find u = arg minz∈S̄ d(z)
S = S + u S̄ = S̄ − u
for q ∈ N(u) \ S do
if d(u) + `(uq) ≤ d(q) and d(u) + π −uq (u) ≤ B then
d(q) = d(u) + `(uq)
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
11
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
`(P ∗ )
πrob (s) := minimum s-t robust length
π(s) := shortest s-t length
π(s)
B
πrob (s)
11
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
`(P ∗ )
πrob (s) := minimum s-t robust length
π(s) := shortest s-t length
π(s)
B
πrob (s)
The number of steps is O(m).
11
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Robust Length vs. Nominal Length
`(P ∗ )
πrob (s) := minimum s-t robust length
π(s) := shortest s-t length
π(s)
B
πrob (s)
The number of steps is O(m).
The profile can be found in O(m ∗ (m + n log n)).
11
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
12
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
The RM is informed about the failure of an edge e ∈ E as soon as it reaches a node
that is at most k hops away from e on P.
12
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
The RM is informed about the failure of an edge e ∈ E as soon as it reaches a node
that is at most k hops away from e on P.
k=2
⇓
s
12
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
13
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
Consider a path P and an edge e ∈ E (P). Denote by v (P, e) the first node u of P
such that e is visible from u.
13
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
Consider a path P and an edge e ∈ E (P). Denote by v (P, e) the first node u of P
such that e is visible from u.
Definition (Detour)
Given a path P ∈ Pu,t and an edge e ∈ E , the detour P −e is:
the walk P[u, v (P, e)] ⊕ Qv−e
(P,e) if e ∈ P;
P otherwise.
13
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
Consider a path P and an edge e ∈ E (P). Denote by v (P, e) the first node u of P
such that e is visible from u.
Definition (Detour)
Given a path P ∈ Pu,t and an edge e ∈ E , the detour P −e is:
the walk P[u, v (P, e)] ⊕ Qv−e
(P,e) if e ∈ P;
P otherwise.
Definition (k-Robust length)
The k-robust length of the u-t path P is
Valk (P) = max `(P −e ).
e∈E
13
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
Consider a path P and an edge e ∈ E (P). Denote by v (P, e) the first node u of P
such that e is visible from u.
Definition (Detour)
Given a path P ∈ Pu,t and an edge e ∈ E , the detour P −e is:
the walk P[u, v (P, e)] ⊕ Qv−e
(P,e) if e ∈ P;
P otherwise.
Definition (k-Robust length)
The k-robust length of the u-t path P is
Valk (P) = max `(P −e ).
e∈E
Find: an s-t path with minimum k-robust length.
13
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
Consider a path P and an edge e ∈ E (P). Denote by v (P, e) the first node u of P
such that e is visible from u.
Definition (Detour)
Given a path P ∈ Pu,t and an edge e ∈ E , the detour P −e is:
the walk P[u, v (P, e)] ⊕ Qv−e
(P,e) if e ∈ P;
P otherwise.
Definition (k-Robust length)
The k-robust length of the u-t path P is
Valk (P) = max `(P −e ).
e∈E
Find: an s-t path with minimum k-robust length.
13
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
14
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
More challenging than ORP: the k-robust length is not monotonic!
14
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
More challenging than ORP: the k-robust length is not monotonic!
k=2
u
t
20
14
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
More challenging than ORP: the k-robust length is not monotonic!
k=2
u
t
20
14
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
More challenging than ORP: the k-robust length is not monotonic!
5
k=2
v
20
u
t
20
14
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
More challenging than ORP: the k-robust length is not monotonic!
5
k=2
v
20
u
t
20
Property: If P ∈ Pu,t is such that Valk (P) = π −e (u) for some e ∈ P visible from u,
then P is an optimal path from u.
14
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
More challenging than ORP: the k-robust length is not monotonic!
5
k=2
v
20
u
t
20
Property: If P ∈ Pu,t is such that Valk (P) = π −e (u) for some e ∈ P visible from u,
then P is an optimal path from u. =⇒ Preprocessing step!
14
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP
More challenging than ORP: the k-robust length is not monotonic!
5
k=2
v
20
u
t
20
Property: If P ∈ Pu,t is such that Valk (P) = π −e (u) for some e ∈ P visible from u,
then P is an optimal path from u. =⇒ Preprocessing step!
Weak optimality principle still holds for k-Hop ORP
14
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP and Radius ORP
15
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP and Radius ORP
Theorem
Given an instance of k-Hop ORP we can compute the v -t path with minimum k-robust
length for any v ∈ V in time O(m + n log n) in undirected graphs, and O(mn + n2 log n)
in directed graphs.
15
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
k-Hop ORP and Radius ORP
Theorem
Given an instance of k-Hop ORP we can compute the v -t path with minimum k-robust
length for any v ∈ V in time O(m + n log n) in undirected graphs, and O(mn + n2 log n)
in directed graphs.
Our algorithm for k-Hop ORP solves Radius ORP as well.
R=6
⇓
s
15
Marco Senatore
2
5
The Online Replacement Path Problem
t
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Strong k-Hop ORP
16
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Strong k-Hop ORP
k=2
⇓
s
16
Marco Senatore
t
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Strong k-Hop ORP
k=2
⇓
s
t
Theorem
For any > 0 it is NP-hard to approximate Strong 1-Hop ORP within a factor of 3 − in
undirected graphs. In directed graphs it is strongly NP-hard to decide if there exists a
path with finite robust length.
16
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Strong k-Hop ORP
k=2
⇓
s
t
Theorem
For any > 0 it is NP-hard to approximate Strong 1-Hop ORP within a factor of 3 − in
undirected graphs. In directed graphs it is strongly NP-hard to decide if there exists a
path with finite robust length.
Any shortest path is a 3 approximation for undirected graphs.
16
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
17
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
Question: Can we do better if not forced to follow a path? Can it be advantageous
to explore the graph?
17
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
Question: Can we do better if not forced to follow a path? Can it be advantageous
to explore the graph?
A policy is a function φ : (u ∈ V , W ⊆ V , F ⊆ E ) → v ∈ N(u), where:
1
2
3
17
u is the current node;
W is the set of vertices visited before arriving to u;
F is the set of failed edges discovered along the way (|F | ≤ 1).
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
Question: Can we do better if not forced to follow a path? Can it be advantageous
to explore the graph?
A policy is a function φ : (u ∈ V , W ⊆ V , F ⊆ E ) → v ∈ N(u), where:
1
2
3
u is the current node;
W is the set of vertices visited before arriving to u;
F is the set of failed edges discovered along the way (|F | ≤ 1).
The robust value of a policy φ is the maximum cost we pay over all possible failure
scenarios.
17
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
Question: Can we do better if not forced to follow a path? Can it be advantageous
to explore the graph?
A policy is a function φ : (u ∈ V , W ⊆ V , F ⊆ E ) → v ∈ N(u), where:
1
2
3
u is the current node;
W is the set of vertices visited before arriving to u;
F is the set of failed edges discovered along the way (|F | ≤ 1).
The robust value of a policy φ is the maximum cost we pay over all possible failure
scenarios.
Policy-ORP is to find a policy with minimum robust value.
17
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
Question: Can we do better if not forced to follow a path? Can it be advantageous
to explore the graph?
A policy is a function φ : (u ∈ V , W ⊆ V , F ⊆ E ) → v ∈ N(u), where:
1
2
3
u is the current node;
W is the set of vertices visited before arriving to u;
F is the set of failed edges discovered along the way (|F | ≤ 1).
The robust value of a policy φ is the maximum cost we pay over all possible failure
scenarios.
Policy-ORP is to find a policy with minimum robust value.
Lemma
A solution to ORP from vertex s returns an optimal policy with respect to the initial
state (s, {s}, ∅).
17
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
Question: Can we do better if not forced to follow a path? Can it be advantageous
to explore the graph? NO!
A policy is a function φ : (u ∈ V , W ⊆ V , F ⊆ E ) → v ∈ N(u), where:
1
2
3
u is the current node;
W is the set of vertices visited before arriving to u;
F is the set of failed edges discovered along the way (|F | ≤ 1).
The robust value of a policy φ is the maximum cost we pay over all possible failure
scenarios.
Policy-ORP is to find a policy with minimum robust value.
Lemma
A solution to ORP from vertex s returns an optimal policy with respect to the initial
state (s, {s}, ∅).
17
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
Question: Can we do better if not forced to follow a path? Can it be advantageous
to explore the graph? NO!
A policy is a function φ : (u ∈ V , W ⊆ V , F ⊆ E ) → v ∈ N(u), where:
1
2
3
u is the current node;
W is the set of vertices visited before arriving to u;
F is the set of failed edges discovered along the way (|F | ≤ 1).
The robust value of a policy φ is the maximum cost we pay over all possible failure
scenarios.
Policy-ORP is to find a policy with minimum robust value.
Lemma
A solution to ORP from vertex s returns an optimal policy with respect to the initial
state (s, {s}, ∅).
Other variants of ORP?
17
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Policy-ORP and Canadian Traveller’s Problem (Ongoing work)
Question: Can we do better if not forced to follow a path? Can it be advantageous
to explore the graph? NO!
A policy is a function φ : (u ∈ V , W ⊆ V , F ⊆ E ) → v ∈ N(u), where:
1
2
3
u is the current node;
W is the set of vertices visited before arriving to u;
F is the set of failed edges discovered along the way (|F | ≤ 1).
The robust value of a policy φ is the maximum cost we pay over all possible failure
scenarios.
Policy-ORP is to find a policy with minimum robust value.
Lemma
A solution to ORP from vertex s returns an optimal policy with respect to the initial
state (s, {s}, ∅).
Other variants of ORP?
Close problem: In ’91 Yannakakis and Papadimitriou defined the Canadian
Traveller’s Problem, Bar-Noy and Schieber ’91
17
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
A Game Theory Perspective (Ongoing work)
18
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
A Game Theory Perspective (Ongoing work)
Given G = (V , E , `), ` : E → R+ , a source s ∈ V and a destination t ∈ V .
18
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
A Game Theory Perspective (Ongoing work)
Given G = (V , E , `), ` : E → R+ , a source s ∈ V and a destination t ∈ V .
We consider two players, a path builder and an interdictor:
18
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
A Game Theory Perspective (Ongoing work)
Given G = (V , E , `), ` : E → R+ , a source s ∈ V and a destination t ∈ V .
We consider two players, a path builder and an interdictor:
1
18
The path builder wants to route a package from s to t as quickly as possible.
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
A Game Theory Perspective (Ongoing work)
Given G = (V , E , `), ` : E → R+ , a source s ∈ V and a destination t ∈ V .
We consider two players, a path builder and an interdictor:
1
2
18
The path builder wants to route a package from s to t as quickly as possible.
The interdictor wants to increase the s-t shortest distance as much as possible by
removing an edge from the network.
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
A Game Theory Perspective (Ongoing work)
Given G = (V , E , `), ` : E → R+ , a source s ∈ V and a destination t ∈ V .
We consider two players, a path builder and an interdictor:
1
2
The path builder wants to route a package from s to t as quickly as possible.
The interdictor wants to increase the s-t shortest distance as much as possible by
removing an edge from the network.
The strategies of the interdictor are edges e ∈ E ; if she moves first, she needs to
solve the Most Vital Arc Problem. Let z ∗ (MVA) be the optimal value.
18
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
A Game Theory Perspective (Ongoing work)
Given G = (V , E , `), ` : E → R+ , a source s ∈ V and a destination t ∈ V .
We consider two players, a path builder and an interdictor:
1
2
The path builder wants to route a package from s to t as quickly as possible.
The interdictor wants to increase the s-t shortest distance as much as possible by
removing an edge from the network.
The strategies of the interdictor are edges e ∈ E ; if she moves first, she needs to
solve the Most Vital Arc Problem. Let z ∗ (MVA) be the optimal value.
The strategies of the path builder are s-t paths; if she moves first, she needs to
solve the ORP Problem. Let z ∗ (ORP) be the optimal value.
18
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
A Game Theory Perspective (Ongoing work)
Given G = (V , E , `), ` : E → R+ , a source s ∈ V and a destination t ∈ V .
We consider two players, a path builder and an interdictor:
1
2
The path builder wants to route a package from s to t as quickly as possible.
The interdictor wants to increase the s-t shortest distance as much as possible by
removing an edge from the network.
The strategies of the interdictor are edges e ∈ E ; if she moves first, she needs to
solve the Most Vital Arc Problem. Let z ∗ (MVA) be the optimal value.
The strategies of the path builder are s-t paths; if she moves first, she needs to
solve the ORP Problem. Let z ∗ (ORP) be the optimal value.
Lemma
Let P and e be an s-t path and an edge of E , respectively. Then
Val(P) ≥ z ∗ (ORP) ≥ z ∗ (MVA) ≥ π −e (s).
18
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
ORP Game
19
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
ORP Game
We call the ORP Game, that game in which both the path builder and the
interdictor communicate their strategies at the same time.
19
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
ORP Game
We call the ORP Game, that game in which both the path builder and the
interdictor communicate their strategies at the same time.
Theorem
Let P and e be optimal solutions to the ORP and MVA instances on G = (V , E ). Then
(P, e) is a pure NE of the ORP Game if and only if Val(P) = π −e (s). Moreover, in this
case, Val(P) = z ∗ (ORP) = z ∗ (MVA) = π −e (s).
19
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
ORP Game
We call the ORP Game, that game in which both the path builder and the
interdictor communicate their strategies at the same time.
Theorem
Let P and e be optimal solutions to the ORP and MVA instances on G = (V , E ). Then
(P, e) is a pure NE of the ORP Game if and only if Val(P) = π −e (s). Moreover, in this
case, Val(P) = z ∗ (ORP) = z ∗ (MVA) = π −e (s).
We can compute a pure NE or certify that no pure NE exists in O(m + n log n) for
undirected grpahs, in O(mn + n2 log n) for directed graph.
19
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
ORP Game
We call the ORP Game, that game in which both the path builder and the
interdictor communicate their strategies at the same time.
Theorem
Let P and e be optimal solutions to the ORP and MVA instances on G = (V , E ). Then
(P, e) is a pure NE of the ORP Game if and only if Val(P) = π −e (s). Moreover, in this
case, Val(P) = z ∗ (ORP) = z ∗ (MVA) = π −e (s).
We can compute a pure NE or certify that no pure NE exists in O(m + n log n) for
undirected grpahs, in O(mn + n2 log n) for directed graph.
In the case where z ∗ (ORP) 6= z ∗ (MVA), the ORP Game will still admit a NE in
mixed strategy.
19
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
ORP Game
We call the ORP Game, that game in which both the path builder and the
interdictor communicate their strategies at the same time.
Theorem
Let P and e be optimal solutions to the ORP and MVA instances on G = (V , E ). Then
(P, e) is a pure NE of the ORP Game if and only if Val(P) = π −e (s). Moreover, in this
case, Val(P) = z ∗ (ORP) = z ∗ (MVA) = π −e (s).
We can compute a pure NE or certify that no pure NE exists in O(m + n log n) for
undirected grpahs, in O(mn + n2 log n) for directed graph.
In the case where z ∗ (ORP) 6= z ∗ (MVA), the ORP Game will still admit a NE in
mixed strategy.
Question: Is it possible to find a mixed NE in polynomial time?
19
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Stochastic ORP
20
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Stochastic ORP
In this variant of ORP:
20
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Stochastic ORP
In this variant of ORP:
1
2
3
4
20
at most one edge can fail;
for each e ∈ E , p(e) ∈ [0, 1] is the probability that e will be the unique edge to fail;
p(∅) ∈ [0, 1] is the
P probability that no edge fails;
it holds p(∅) + e∈E p(e) = 1.
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Stochastic ORP
In this variant of ORP:
1
2
3
4
at most one edge can fail;
for each e ∈ E , p(e) ∈ [0, 1] is the probability that e will be the unique edge to fail;
p(∅) ∈ [0, 1] is the
P probability that no edge fails;
it holds p(∅) + e∈E p(e) = 1.
Definition
Given a node v ∈ V , the expected robust length of the v -t path P is
i
X
X h
0
EVal(P) = (p(∅) +
p(uu 0 ))`(P) +
p(uu 0 )(`(P[v , u]) + π −uu (u)) .
uu 0 ∈P
/
20
Marco Senatore
uu 0 ∈P
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Stochastic ORP
In this variant of ORP:
1
2
3
4
at most one edge can fail;
for each e ∈ E , p(e) ∈ [0, 1] is the probability that e will be the unique edge to fail;
p(∅) ∈ [0, 1] is the
P probability that no edge fails;
it holds p(∅) + e∈E p(e) = 1.
Definition
Given a node v ∈ V , the expected robust length of the v -t path P is
i
X
X h
0
EVal(P) = (p(∅) +
p(uu 0 ))`(P) +
p(uu 0 )(`(P[v , u]) + π −uu (u)) .
uu 0 ∈P
/
uu 0 ∈P
Stochastic ORP is to find, for some v ∈ V , a path P minimizing EVal(P) over all
paths P ∈ Pv ,t .
20
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Stochastic ORP
In this variant of ORP:
1
2
3
4
at most one edge can fail;
for each e ∈ E , p(e) ∈ [0, 1] is the probability that e will be the unique edge to fail;
p(∅) ∈ [0, 1] is the
P probability that no edge fails;
it holds p(∅) + e∈E p(e) = 1.
Definition
Given a node v ∈ V , the expected robust length of the v -t path P is
i
X
X h
0
EVal(P) = (p(∅) +
p(uu 0 ))`(P) +
p(uu 0 )(`(P[v , u]) + π −uu (u)) .
uu 0 ∈P
/
uu 0 ∈P
Stochastic ORP is to find, for some v ∈ V , a path P minimizing EVal(P) over all
paths P ∈ Pv ,t .
Stochastic ORP is NP-hard by reduction from the Hamiltonian Path problem.
20
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Stochastic ORP
In this variant of ORP:
1
2
3
4
at most one edge can fail;
for each e ∈ E , p(e) ∈ [0, 1] is the probability that e will be the unique edge to fail;
p(∅) ∈ [0, 1] is the
P probability that no edge fails;
it holds p(∅) + e∈E p(e) = 1.
Definition
Given a node v ∈ V , the expected robust length of the v -t path P is
i
X
X h
0
EVal(P) = (p(∅) +
p(uu 0 ))`(P) +
p(uu 0 )(`(P[v , u]) + π −uu (u)) .
uu 0 ∈P
/
uu 0 ∈P
Stochastic ORP is to find, for some v ∈ V , a path P minimizing EVal(P) over all
paths P ∈ Pv ,t .
Stochastic ORP is NP-hard by reduction from the Hamiltonian Path problem.
Open question: Is it possible to find a mixed NE in polynomial time?
20
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”
Introduction The Online Replacement Path Problem Robust Length vs. Nominal Length k-Hop ORP Policy-ORP and Canadian Traveller’s Problem
Questions?
Thank You...
21
Marco Senatore
The Online Replacement Path Problem
University of Rome “Tor Vergata”