TOLA 2014 Christine Markarian July 7, 2014 Joint work with: - - PowerPoint PPT Presentation

โ–ถ
tola 2014
SMART_READER_LITE
LIVE PREVIEW

TOLA 2014 Christine Markarian July 7, 2014 Joint work with: - - PowerPoint PPT Presentation

The Price of Leasing Online TOLA 2014 Christine Markarian July 7, 2014 Joint work with: Sebastian Abshoff Peter Kling Friedhelm Meyer auf der Heide 1 Christine Markarian Outline 2 Christine Markarian Parking Permit Problem sunny day


slide-1
SLIDE 1

Christine Markarian

1

The Price of Leasing Online TOLA 2014

Christine Markarian

July 7, 2014

Joint work with:

Sebastian Abshoff Peter Kling Friedhelm Meyer auf der Heide

slide-2
SLIDE 2

Christine Markarian

2

Outline

slide-3
SLIDE 3

Christine Markarian

3

Parking Permit Problem

sunny day rainy day walk drive [Meyerson - FOCS 2003]

slide-4
SLIDE 4

Christine Markarian

4

Parking Permit Problem

  • adversary gives sunny or rainy on each day
  • K permit lease types ( Ex. daily, weekly, monthly, yearly)
  • yearly permit is the most expensive but cheapest per day

Which permits do I buy & when in order to provide every rainy day with a permit?

Online algorithm

[Meyerson - FOCS 2003]

quality of online algorithm โ†’ competitive factor ฮฑ

  • adversary reveals in each step part of overall input
  • ๐›ฝ = max

๐๐ฉ๐ญ๐ฎ ๐ฉ๐  ๐๐จ๐ฆ๐ฃ๐จ๐Ÿ ๐›๐ฆ๐ก๐ฉ๐ฌ๐ฃ๐ฎ๐ข๐ง ๐๐ฉ๐ญ๐ฎ ๐ฉ๐  ๐๐ช๐ฎ๐ฃ๐ง๐›๐ฆ ๐๐ ๐ ๐ฆ๐ฃ๐จ๐Ÿ ๐›๐ฆ๐ก๐ฉ๐ฌ๐ฃ๐ฎ๐ข๐ง over all input instances

Optimal Offline knows the future in advance

slide-5
SLIDE 5

Christine Markarian

5

Parking Permit Problem

Deterministic algorithm For each rainy day, buy a 1-day permit, until there is some (๐‘™ โˆˆ ๐ฟ)-interval where the optimum offline solution for the sequence of days seen so far, would buy a ๐‘™-day permit. In this case, also buy a ๐‘™-day permit.

[Meyerson - FOCS 2003]

Randomized algorithm Compute an ๐‘ƒ log ๐ฟ -competitive fractional solution and then convert it into a randomized integer solution which maintains the ๐‘ƒ log ๐ฟ -competitive factor. Lower bounds Upper bounds ฮฉ(๐ฟ) deterministic ฮฉ(log ๐ฟ) randomized O ๐ฟ deterministic O log ๐ฟ randomized

slide-6
SLIDE 6

Christine Markarian

6

Outline

slide-7
SLIDE 7

Christine Markarian

7

Infrastructure Leasing Problems

Client 1 Client 2 Client 3

Provider 1 Provider 2

. . . . . .

Provider 3 Leasing Company

Long lease or short lease โ€ฆ.. ?

slide-8
SLIDE 8

Christine Markarian

8

Infrastructure Leasing Problems

  • Almost any online infrastructure problem can be considered with a leasing

aspectโ€ฆ.

  • Anthony & Gupta generalized the Parking Permit Problem
  • Facility Leasing
  • Steiner Tree Leasing
  • Set Cover Leasing

& gave offline algorithms to the problemsโ€ฆ

[Anthony et al.- IPCO 2007]

slide-9
SLIDE 9

Christine Markarian

9

Outline

slide-10
SLIDE 10

Christine Markarian

10

Set Cover Leasing

Online Set cover

  • U = {e1, e2,.โ€ฆ., en}
  • family F = {S1, S2,.โ€ฆ., Sm} of subsets of

U and a cost associated with each subset

  • an element e โˆˆ U arrives
  • - choose sets from F to cover each arriving

element e โˆˆ U & minimize cost of sets -- Set Cover Leasing

  • U = {e1, e2,.โ€ฆ., en}
  • family F = {S1, S2,.โ€ฆ., Sm} of subsets of
  • U. Each set in F can be leased for K

different periods of time such that leasing a set S for a period k :

  • incurs a cost ckS
  • allows S to cover its elements for

the next lk time steps

  • an element e โˆˆ U arrives
  • - lease sets from F to cover each arriving

element e โˆˆ U & minimize cost of sets -- generalizes Online Set Cover (K = 1)

  • one infinite lease -
slide-11
SLIDE 11

Christine Markarian

11

Set Cover Leasing

  • e1 arrives at time t
  • e1 โˆˆ {S3, S5, S8}

. . . tโ€™ tโ€™โ€™ S3 S3 S5 t T e1

slide-12
SLIDE 12

Christine Markarian

12

Set Cover Leasing

  • Ex. servers/clients in a computer network

Once a server is installed, it serves its clients forever without additional costsโ€ฆ [Online set cover] If servers are leased instead & can serve their clients only during the time they are leasedโ€ฆ [Set cover leasing]

a client arrives in each step Which servers shall I install in order to serve each arriving client while minimizing cost ??

network manager

slide-13
SLIDE 13

Christine Markarian

13

Set Cover Leasing

Lower bounds

  • none
  • related problems
  • Online Metric Facility Location: ๐›ป(

log ๐‘œ log log ๐‘œ)

[ICALP 2003]

  • Online Set Cover: ๐›ป(

๐‘š๐‘๐‘• ๐‘œ log ๐‘› ๐‘š๐‘๐‘• ๐‘š๐‘๐‘• ๐‘œ+log log ๐‘›)

[STOC 2003] Upper bounds

  • Online Metric Facility Leasing: O ๐ฟ ๐‘š๐‘๐‘• ๐‘œ

[IPCO 2008]

  • An algorithm for Online Facility Leasing: O ๐‘š_๐‘›๐‘๐‘ฆ ๐‘š๐‘๐‘• ๐‘š_๐‘›๐‘๐‘ฆ

[SIROCCO 12]

  • Randomized Online Algorithms for Set Cover Leasing Problems: O log(๐‘›๐ฟ) ๐‘š๐‘๐‘• ๐‘œ

[submitted to WAOA]

slide-14
SLIDE 14

Christine Markarian

14

Set Cover Leasing

Algorithm {Set Cover Leasing} Maintain a fraction ๐‘”

๐‘‡๐‘™๐‘ข for each set (S, k, t)

  • set to 0 initially
  • non-decreasing throughout algorithm

Maintain for each set (S, k, t)

  • 2 log(๐‘œ + 1) independent random variables ๐‘Œ(๐‘‡๐‘™๐‘ข)(๐‘Ÿ) in 0, 1
  • Let ๐œˆ๐‘‡๐‘™๐‘ข = min ๐‘Œ(๐‘‡๐‘™๐‘ข)(๐‘Ÿ), 1 โ‰ค ๐‘Ÿ โ‰ค 2 log(๐‘œ + 1)

(j, t) arrives,

  • i. (fractional) If ๐‘‡,๐‘™,๐‘ˆ โˆˆ๐‘…๐‘˜ ๐‘”

๐‘‡๐‘™๐‘ข < 1, do the following increment

๐‘ฅโ„Ž๐‘—๐‘š๐‘“ ๐‘‡,๐‘™,๐‘ˆ โˆˆ๐‘…๐‘˜ ๐‘”

๐‘‡๐‘™๐‘ข < 1;

๐‘”

๐‘‡๐‘™๐‘ข = ๐‘” ๐‘‡๐‘™๐‘ข โˆ™ 1 + 1

๐‘‘๐‘™๐‘‡ + 1 ๐‘…๐‘˜ โˆ™ ๐‘‘๐‘™๐‘‡

  • ii. (integer) Lease (S, k, T) โˆˆ ๐‘…๐‘˜ with ๐‘”

๐‘‡๐‘™๐‘ข > ๐œˆ๐‘‡๐‘™๐‘ข

  • iii. If (j, t) is not covered by some set in ๐‘…๐‘˜

Lease the cheapest (S, k, T) โˆˆ ๐‘…๐‘˜

๏ƒผ Given: F = {S1, S2,.โ€ฆ., Sm}, K leases, U = {e1, e2,.โ€ฆ., en} ๏ƒผ (S, k, T): S โˆˆ ๐บ, lease k, interval T ๏ƒผ (j, t): i โˆˆ ๐‘‰, arrives at time t ๏ƒผ (S, k, T) is a candidate of (j, t,), if j โˆˆ ๐‘‡ & t โˆˆ ๐‘ˆ ๏ƒผ ๐‘น๐’Œ is the set of candidates of ๐‘˜

๐‘ท ๐ฆ๐ฉ๐ก (๐’†๐‘ณ) ๐ฆ๐ฉ๐ก ๐จ โˆ’ ๐’…๐’‘๐’๐’’๐’‡๐’–๐’‹๐’–๐’‹๐’˜๐’‡ (i) ๐‘”๐‘ ๐‘๐‘‘๐‘ข๐‘—๐‘๐‘œ๐‘๐‘š โ‰ค ๐‘ƒ log(๐‘’๐ฟ ) โˆ™ ๐‘ƒ๐‘ž๐‘ข (ii) ๐‘ ๐‘๐‘œ๐‘’๐‘๐‘›๐‘—๐‘จ๐‘“๐‘’ ๐‘—๐‘œ๐‘ข๐‘“๐‘•๐‘“๐‘  โ‰ค ๐‘ƒ log ๐‘œ โˆ™ ๐‘”๐‘ ๐‘๐‘‘๐‘ข๐‘—๐‘๐‘œ๐‘๐‘š (iii) ๐‘ก๐‘ข๐‘“๐‘ž ๐‘—๐‘—๐‘— ๐‘๐‘’๐‘’๐‘ก ๐‘๐‘œ ๐‘“๐‘ฆ๐‘ž๐‘“๐‘‘๐‘ข๐‘“๐‘’ ๐‘‘๐‘๐‘ก๐‘ข ๐‘๐‘” ๐‘ƒ๐‘ž๐‘ข/๐‘œ

slide-15
SLIDE 15

Christine Markarian

15

Set Cover Leasing

๐‘ท ๐ฆ๐ฉ๐ก (๐’†๐‘ณ) ๐ฆ๐ฉ๐ก ๐จ โˆ’ ๐’…๐’‘๐’๐’’๐’‡๐’–๐’‹๐’–๐’‹๐’˜๐’‡ (i) ๐‘”๐‘ ๐‘๐‘‘๐‘ข๐‘—๐‘๐‘œ๐‘๐‘š โ‰ค ๐‘ƒ log(๐‘’๐ฟ ) โˆ™ ๐‘ƒ๐‘ž๐‘ข (ii) ๐‘ ๐‘๐‘œ๐‘’๐‘๐‘›๐‘—๐‘จ๐‘“๐‘’ ๐‘—๐‘œ๐‘ข๐‘“๐‘•๐‘“๐‘  โ‰ค ๐‘ƒ log ๐‘œ โˆ™ ๐‘”๐‘ ๐‘๐‘‘๐‘ข๐‘—๐‘๐‘œ๐‘๐‘š (iii) ๐‘ก๐‘ข๐‘“๐‘ž ๐‘—๐‘—๐‘— ๐‘๐‘’๐‘’๐‘ก ๐‘๐‘œ ๐‘“๐‘ฆ๐‘ž๐‘“๐‘‘๐‘ข๐‘“๐‘’ ๐‘‘๐‘๐‘ก๐‘ข ๐‘๐‘” ๐‘ƒ๐‘ž๐‘ข/๐‘œ Proof: (i)

  • an ๐‘—๐‘œ๐‘‘๐‘ ๐‘“๐‘›๐‘“๐‘œ๐‘ข adds at most 2 to the ๐‘”๐‘ ๐‘๐‘‘๐‘ข๐‘—๐‘๐‘œ๐‘๐‘š ๐‘‘๐‘๐‘ก๐‘ข

๐‘‡,๐‘™,๐‘ˆ โˆˆ๐‘…

๐‘‘๐‘‡ โˆ™ ๐‘”

๐‘‡๐‘™๐‘ข

๐‘‘๐‘‡ + 1 ๐‘… โˆ™ ๐‘‘๐‘‡ โˆ™=

๐‘‡,๐‘™,๐‘ˆ โˆˆ๐‘…

๐‘”

๐‘‡๐‘™๐‘ข + 1 โ‰ค 2

  • the total number of ๐‘—๐‘œ๐‘‘๐‘ ๐‘“๐‘›๐‘“๐‘œ๐‘ข๐‘ก in the algorithm is ๐‘ƒ log(๐‘’๐ฟ ) โˆ™ ๐‘ƒ๐‘ž๐‘ข
  • At any time the algorithm decides to make an ๐‘—๐‘œ๐‘‘๐‘ ๐‘“๐‘›๐‘“๐‘œ๐‘ข, โˆƒ ๐‘‡๐‘๐‘ž๐‘ข which is a candidate and

therefore increases its fraction ๐‘”

๐‘‡๐‘๐‘ž๐‘ข๐‘™๐‘ข

  • After ๐‘ƒ(๐‘‘๐‘‡ โˆ™ log ๐‘… ) ๐‘—๐‘œ๐‘‘๐‘ ๐‘“๐‘›๐‘“๐‘œ๐‘ข๐‘ก, ๐‘”

๐‘‡๐‘๐‘ž๐‘ข๐‘™๐‘ข > 1 โ†’ ๐‘‡,๐‘™,๐‘ˆ โˆˆ๐‘… ๐‘” ๐‘‡๐‘™๐‘ข > 1

  • ๐‘…

โ‰ค ๐‘’ โˆ™ ๐ฟ [Interval Model: Same sets same leases do not coincide]

Algorithm {i-cover} (j, t) arrives. i. (fractional) If ๐‘‡,๐‘™,๐‘ˆ โˆˆ๐‘…๐‘˜ ๐‘”

๐‘‡๐‘™๐‘ข < 1, do the

following increment ๐‘ฅโ„Ž๐‘—๐‘š๐‘“ ๐‘‡,๐‘™,๐‘ˆ โˆˆ๐‘…๐‘˜ ๐‘”

๐‘‡๐‘™๐‘ข < 1;

๐‘”

๐‘‡๐‘™๐‘ข = ๐‘” ๐‘‡๐‘™๐‘ข โˆ™ 1 + 1

๐‘‘๐‘™๐‘‡ + 1 ๐‘…๐‘˜ โˆ™ ๐‘‘๐‘™๐‘‡

  • ii. (integer) Lease (S, k, T) โˆˆ ๐‘…๐‘˜ with

๐‘”

๐‘‡๐‘™๐‘ข > ๐œˆ๐‘‡๐‘™๐‘ข

  • iii. If (j, t) is not covered by some set in ๐‘…๐‘˜

Lease the cheapest (S, k, T) โˆˆ ๐‘…๐‘˜

Parking Permit Problem

slide-16
SLIDE 16

Christine Markarian

16

Set Cover Leasing

Proof: (ii) ๐‘ ๐‘๐‘œ๐‘’๐‘๐‘›๐‘—๐‘จ๐‘“๐‘’ ๐‘—๐‘œ๐‘ข๐‘“๐‘•๐‘“๐‘  โ‰ค ๐‘ƒ log ๐‘œ โˆ™ ๐‘”๐‘ ๐‘๐‘‘๐‘ข๐‘—๐‘๐‘œ๐‘๐‘š

  • Probability to lease a set is ๐‘„๐‘ ( ๐‘”

๐‘‡๐‘™๐‘ข > ๐œˆ๐‘‡๐‘™๐‘ข )

  • ๐œˆ๐‘‡๐‘™๐‘ข = min ๐‘Œ(๐‘‡๐‘™๐‘ข)(๐‘Ÿ), 1 โ‰ค ๐‘Ÿ โ‰ค 2 log(๐‘œ + 1)

Proof: (iii) ๐‘ก๐‘ข๐‘“๐‘ž ๐‘—๐‘—๐‘— ๐‘๐‘’๐‘’๐‘ก ๐‘๐‘œ ๐‘“๐‘ฆ๐‘ž๐‘“๐‘‘๐‘ข๐‘“๐‘’ ๐‘‘๐‘๐‘ก๐‘ข ๐‘๐‘” ๐‘ƒ๐‘ž๐‘ข/๐‘œ

  • [Algorithm leases the cheapest (S, k, T) โˆˆ Q]

๐‘‘๐‘‡ โ‰ค ๐‘ƒ๐‘ž๐‘ข

  • Probability that an element is not covered [for a single ๐‘Ÿ] is at most

(๐‘‡๐‘™๐‘ข)โˆˆ๐‘…

1 โˆ’ ๐‘”

๐‘‡๐‘™๐‘ข โ‰ค ๐‘“โˆ’ ๐‘‡,๐‘™,๐‘ˆ โˆˆ๐‘… ๐‘”๐‘‡๐‘™๐‘ข โ‰ค 1/๐‘“

  • Probability that an element is not covered is at most 1/๐‘œ2
  • ๐‘๐‘’๐‘’๐‘—๐‘ข๐‘—๐‘๐‘œ๐‘๐‘š ๐‘“๐‘ฆ๐‘ž๐‘“๐‘‘๐‘ข๐‘“๐‘’ ๐‘‘๐‘๐‘ก๐‘ข โ‰ค ๐‘œ โˆ™

1 ๐‘œ2 โˆ™ ๐‘ƒ๐‘ž๐‘ข

โ†’ ๐‘ƒ ๐‘š๐‘๐‘• (๐‘’๐ฟ) ๐‘š๐‘๐‘• ๐‘œ โˆ’ ๐‘‘๐‘๐‘›๐‘ž๐‘“๐‘ข๐‘—๐‘ข๐‘—๐‘ค๐‘“

slide-17
SLIDE 17

Christine Markarian

17

Outline

slide-18
SLIDE 18

Christine Markarian

18

The Price of Leasing Online

Lower bounds โ€ฆ.. Leasing algorithms so far use techniques from non-leasing algorithms & Parking Permit Problem... Does leasing impose an inherent difficulty? Online Set Cover: ๐›ป(

๐‘š๐‘๐‘• ๐‘œ log ๐‘› ๐‘š๐‘๐‘• ๐‘š๐‘๐‘• ๐‘œ+log log ๐‘›)

+ Parking Permit Problem: โ„ฆ ๐ฟ ? Online Facility Location : ๐›ป(

log ๐‘œ log log ๐‘œ)

+ Parking Permit Problem: โ„ฆ ๐ฟ ? What is the price we pay for leasing?

slide-19
SLIDE 19

Christine Markarian

19

Thank you for your attention!

Christine Markarian July 7, 2014