Resource Constrained Shortest Paths with Side Constraints and Non Linear Costs
Stefano Gualandi stefano.gualandi@unipv.it http://www-dimat.unipv.it/~gualandi twitter: @famo2spaghi
Thursday, September 19, 13
Resource Constrained Shortest Paths with Side Constraints and Non - - PowerPoint PPT Presentation
Resource Constrained Shortest Paths with Side Constraints and Non Linear Costs Stefano Gualandi stefano.gualandi@unipv.it http://www-dimat.unipv.it/~gualandi twitter: @famo2spaghi Thursday, September 19, 13 Outline 1. Introduction 2. Non
Thursday, September 19, 13
Thursday, September 19, 13
Thursday, September 19, 13
Thursday, September 19, 13
Thursday, September 19, 13
ij , for each k ∈ K,
Thursday, September 19, 13
1 spread time (red) 2 driving time (light blue), corresponds to PoW 3 out-of-service time (yellow) 4 long break (grey) 5 breaks (green), very important how they are located
Thursday, September 19, 13
Thursday, September 19, 13
Thursday, September 19, 13
200 400 600 800 Time f(t(P)) = step(t(P)) + (t(P))^2 60 120 180 240 300 360 420 480 540 600 660 720
Thursday, September 19, 13
e∈A
k∈K
h∈H
e∈A
e xe
e∈δ+
i
e∈δ−
i
e∈A
e xe ≤ Uk
Thursday, September 19, 13
s c d b a i t 5, 1 5, 1 5, 1 5, 1 10, 0 5, 0 10, 0 5, 0
Thursday, September 19, 13
s c d b a i t 5, 1 5, 1 5, 1 5, 1 10, 0 5, 0 10, 0 5, 0
Thursday, September 19, 13
s c d b a i t 5, 1 5, 1 5, 1 5, 1 10, 0 5, 0 10, 0 5, 0
e∈P we +
e∈P te
Thursday, September 19, 13
s c d b a i t 5, 1 5, 1 10, 0 5, 0
e∈P we +
e∈P te
5, 1 5, 1 10, 0 5, 0
Thursday, September 19, 13
e∈P we +
e∈P te
s c d b a i t 5, 1 5, 1 5, 1 5, 1 10, 0 5, 0 10, 0 5, 0
Thursday, September 19, 13
e∈P we +
e∈P te
s c d b a i t 5, 1 5, 1 5, 1 5, 1 10, 0 5, 0 10, 0 5, 0
Thursday, September 19, 13
e∈P we +
e∈P te
s c d b a i t 5, 1 5, 1 5, 1 5, 1 10, 0 5, 0 10, 0 5, 0
Thursday, September 19, 13
e∈P we +
e∈P te
s c d b a i t 5, 1 5, 1 5, 1 5, 1 10, 0 5, 0 10, 0 5, 0
Thursday, September 19, 13
Thursday, September 19, 13
(Beasley and Christofides, 1989; Dumitrescu and Boland, 2003; Sellmann et al., 2007)
si) + r k e + r k(P∗ jt) > Uk then remove arc e = (i, j)
si and P∗ jt are shortest (k-th resource) paths.
Thursday, September 19, 13
(Beasley and Christofides, 1989; Dumitrescu and Boland, 2003; Sellmann et al., 2007)
si) + r k e + r k(P∗ jt) > Uk then remove arc e = (i, j)
si and P∗ jt are shortest (k-th resource) paths.
s c d b a t 2 6 1 1 4 2
1 3 2
Thursday, September 19, 13
(Beasley and Christofides, 1989; Dumitrescu and Boland, 2003; Sellmann et al., 2007)
si) + r k e + r k(P∗ jt) > Uk then remove arc e = (i, j)
si and P∗ jt are shortest (k-th resource) paths.
s c d b a t 2 6 1 1 4 2
1 3 2
Thursday, September 19, 13
(Beasley and Christofides, 1989; Dumitrescu and Boland, 2003; Sellmann et al., 2007)
si) + r k e + r k(P∗ jt) > Uk then remove arc e = (i, j)
si and P∗ jt are shortest (k-th resource) paths.
s c d b a t 2 6 1 1 4 2
1 3 2
Thursday, September 19, 13
(Beasley and Christofides, 1989; Dumitrescu and Boland, 2003; Sellmann et al., 2007)
si) + r k e + r k(P∗ jt) > Uk then remove arc e = (i, j)
si and P∗ jt are shortest (k-th resource) paths.
s c d b a t 2 6 1 1 4 2
1 3 2
Thursday, September 19, 13
(Beasley and Christofides, 1989; Dumitrescu and Boland, 2003; Sellmann et al., 2007)
si) + r k e + r k(P∗ jt) > Uk then remove arc e = (i, j)
si and P∗ jt are shortest (k-th resource) paths.
s c d b a t 2 6 1 1 4 2
1 3 2
Thursday, September 19, 13
s c d b a t 2 6 1 1 4 2
1 3 2
Thursday, September 19, 13
s c d b a t 2 6 1 1 4 2
1 3 2
Thursday, September 19, 13
s c d b a t 2 6 1 1 4 2
1 3 2
s
e
− →t)) ≥ UB then remove arc e
s
e
− →t is a shortest path from s to t via arc e.
Thursday, September 19, 13
Thursday, September 19, 13
h:
e∈A
k∈K
h∈H
e∈A
e xe
e∈δ+
i
e∈δ−
i
e∈A
e xe ≤ Uk
Thursday, September 19, 13
e∈A
e∈A
e xe
e∈δ+
i
e∈δ−
i
e∈A
e xe ≤ Uk
Thursday, September 19, 13
e∈A
e∈δ+
i
e∈δ−
i
e∈A
e xe ≤ Uk
e∈A
e xe = z
Thursday, September 19, 13
e∈A
e∈δ+
i
e∈δ−
i
e∈A
e xe ≤ Uk
e∈A
Thursday, September 19, 13
k∈K
e∈A
k∈K
e + βte
e∈δ+
i
e∈δ−
i
1 The x variables define a shortest path problem 2 The z variable defines an unconstrained optimization problem
Thursday, September 19, 13
s
e
− →t)) ≥ UB then remove arc e
s
e
− →t is a shortest path from s to t via arc e.
s
e
− →t) ≥ ¯
s
e
− →t) + min{f
k∈K ¯
e + ¯
Thursday, September 19, 13
Algorithm 1: FilterAndDive(G, LB, UB, F g, Bg, U g)
Input: G = (N, A) directed graph and distance function g(·) Input: (LB, UB) lower and upper bounds on the optimal path Input: F g, Bg forward and backward shortest path tree as function of g(·) Input: U g upper bound on the path length as function of g(·) Output: An optimum path, or updated UB, or a reduced graph
1 foreach i ∈ N do 2
if F g
i + Bg i > U g then
3
N ← N \ {i}
4
else
5
foreach e = (i, j) ∈ A do
6
if F g
i + g(e) + Bg j > U g then
7
A ← A \ {e}
8
else
9
if PathCost(F g
i , e, Bg j ) < UB∧ PathFeasible(F g i , e, Bg j ) then
10
P ∗
st ←MakePath(F g i , e, Bg j );
11
Update UB and store P ∗
st;
12
if LB ≥ UB then
13
return P ∗
st (that is an optimum path)
14
else
15
A ← A \ {e}
check for side constraints
Thursday, September 19, 13
1 for any resource k, the consumption of Psi plus the reversed
2 the reduced cost of Psi plus the reversed (reduced cost)
3 the cost c(Psi) ≥ UB
Thursday, September 19, 13
Thursday, September 19, 13
Thursday, September 19, 13
Opt
Thursday, September 19, 13
Thursday, September 19, 13
158TG 171TG 182TG 217TG 233TG 254TG 274TG 300TG 425TG 560TG
0.00% 0.20% 0.40% 0.60% 0.80% 1.00%
Thursday, September 19, 13
158TG 171TG 182TG 217TG 233TG 254TG 274TG 300TG 425TG 560TG 0.00% 10.00% 20.00% 30.00% 40.00% 50.00% 60.00% 70.00% 80.00% 90.00% 100.00%
Thursday, September 19, 13