27
1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5, pages 213-219, June 2001

1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

1

A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem

Dean H. Lorenz, Danny RazOperations Research Letter,

Vol. 28, No. 5, pages 213-219, June 2001

Page 2: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

2

Outline

Contribution and motivation Problem definition and Hassin’s results SPPP algorithm Improved Hassin’s algorithm SEA algorithm Conclusion

Page 3: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

3

Contribution

Propose a FPAS for RSP problem– Complexity of - approximation scheme

• • Valid for general graph with any cost values

A simple way to compute upper and lower bounds for RSP problem

A new test procedure

))/1log(log|(| nnEO

Page 4: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

4

Motivation

Based on Hassin’s original result with two improvements– achieve time complexity

• • applied to general graphs with any cost values

– How to find upper and lower bound such that

– Combine them to obtain claimed result

))/1)/log((log|(| LBUBnEO

nLBUB /

Page 5: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

5

Outline

Contribution and motivation Problem definition and Hassin’s results SPPP algorithm Improved Hassin’s algorithm SEA algorithm Conclusion

Page 6: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

6

RSP Problem Definition

Given – G(V,E) with |V|=n and |E|=m– Each edge is associated with

• Length (or cost) Ce

• Transition time (or delay) de

– Source and targets– A positive integer T

Ee

Vts ,

Page 7: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

7

Problem Definition (cont.)

Find– A path p in G from s to t satisfying

• Transition time (or delay) along the path is no greater than T

• Length (or cost) of path p is munimum

The problem is NP-complete, but has a FPAS– Path with cost no greater than

• c* is optimal cost

*)1( c

Page 8: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

8

Hassin’s Results

Given– An instance of RSP problem– Upper and lower bound of optimal value

• UB: sum of the n-1 longest edges• LB: 1

– Approximation factor An -approximated scheme with

))/log(log)/(( LBUBmnO

Page 9: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

9

Outline

Contribution and motivation Problem definition and Hassin’s results SPPP algorithm Improved Hassin’s algorithm SEA algorithm Conclusion

Page 10: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

10

Scaled Pseudo Polynomial Plus (SPPP algorithm)

A modified test procedure Definition of - test procedure

– Given :• An instance of RSP problem• Approximation factor and a value B

– Properties :• If answers YES, then • If answers NO, then

),( BT

),( BT BOPT ),( BT )1( BOPT

Page 11: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

11

SPPP Algorithm (cont.)

Idea – First scale cost values– Then run pseudo-polynomial algorithm to

find smallest delay for each cost Notation

– D(v,i) means minimum delay on a path from s to v with cost no more than i

Page 12: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

12

Page 13: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

13

SPPP Algorithm (cont.)

Lemma 1:– Let p be any path, then the cost of p

satisfies

Proof :– , hence–

nSpcSpcpc )()(~)(

1/~/ SccSc lll ScScc lll ~

nSpcSpccScpcpl pl

ll

)()(~~)(

Page 14: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

14

SPPP Algorithm (cont.)

Lemma 2:– Any path p returned by SPPP satisfies

Proof :– – –

LUSnUpcc )1()(*

)(* pcc

Upc~

)(~

LUSnUSUSpc )1(~

)(~

Page 15: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

15

SPPP Algorithm (cont.)

Lemma 3:– If , then SPPP returns a feasible path

p that satisfies Proof :

– – – by lemma 1,–

Lcpc *)(

*cU

1/~ Scc ll

UnSUPSccpcpl

l

~/||/~)(~ **

*

LcnScSpc ***)(~

LcSpcSpcpc **)(~)(~)(

Page 16: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

16

Complexity

Overall complexity–

If , and –

)()~

( nL

UnmOUmO

)()~

(L

UnmOUmO

LU 1

Page 17: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

17

SPPP Algorithm (cont.)

Lemma 4:– If returns

FAIL, then test T(1,B)=Yes, otherwise T(1,B)=No

– T(1,B) is a 1-test Complexity

– Call SPPP with U=L=B and requires O(mn)

)1,,,,},{),,(( BBTcdEVGSPPP Elll

1

Page 18: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

18

Outline

Contribution and motivation Problem definition and Hassin’s results SPPP algorithm Improved Hassin’s algorithm SEA algorithm Conclusion

Page 19: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

19

Improved Hassin’s Algorithm (Hassin’) Idea

– Initial bound BL=LB, BU=

– If , 2BU is a valid upper bound

– Then use bounds with algorithm SPPP Theorem

– Given valid bounds ; an -approximate solution can be found in

2/ LU BB 2/UB

UB c LB *

0

)loglog(LB

UBmn

mnO

Page 20: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

20

Hassin’ Algorithm

Page 21: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

21

Complexity

Complexity of finding bounds– Binary search requires tests– Each test requires steps– Find B in :

Complexity of call SPPP–

)log(logLB

UBO

)(mnO

)loglog(LB

UBmnO

)(mn

O

Page 22: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

22

Outline

Contribution and motivation Problem definition and Hassin’s results SPPP algorithm Improved Hassin’s algorithm SEA algorithm Conclusion

Page 23: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

23

Simple Efficient Approximation (SEA) Algorithm

Objective– Find upper and lower bound for optimal

value such that ratio between them is n Notation

– be distinct edge length – – , for – , and for

lccc ...21

mEl ||

}|{ iei ccEeE li 1

GGEVG lii ),,( 1 ii GG 10 li

Page 24: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

24

SEA Algorithm

Idea– must have a T-path – Exist a unique index j

• has a T-path• does not have a T-path• then

lG)1( lj

jG

1jG

jj ncOPTcc *

Page 25: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

25

SEA Algorithm (cont.)

Page 26: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

26

Complexity

Theorem:– Algorithm SEA is a FPAS for RSP problem

with complexity Complexity

– times complexity of shortest path algorithm

– Second part is :– Dominant is second part

))/1log(log( nmnO

)(logmO

))/1log(log( nmnO

)log( nnmO

Page 27: 1 A Simple Efficient Approximation Scheme for the Restricted Shortest Path Problem Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No. 5,

27

Conclusion

Main contribution– Improve complexity– Enlarge scope of FPAS for RSP problem

Future work– Can be applied to problems with similar

characteristics• QoS routing and partition