Scheduling in the Random-Order Model Susanne Albers, Maximilian - - PowerPoint PPT Presentation

scheduling in the random order model
SMART_READER_LITE
LIVE PREVIEW

Scheduling in the Random-Order Model Susanne Albers, Maximilian - - PowerPoint PPT Presentation

Scheduling in the Random-Order Model Susanne Albers, Maximilian Janke Technical University of Munich Department of Computer Science Chair of Algorithms and Complexity Makespan Minimization Task: Assign jobs to machines . 4 3.5 3.5 2 1.5 1


slide-1
SLIDE 1

Scheduling in the Random-Order Model

Susanne Albers, Maximilian Janke Technical University of Munich Department of Computer Science Chair of Algorithms and Complexity

slide-2
SLIDE 2

Makespan Minimization

Task: Assign jobs to machines. 1 1 1 4 2 3.5 1.5 3.5

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 2

slide-3
SLIDE 3

Makespan Minimization

Task: Assign jobs to machines. 4 2 3.5 3.5 1 1 1 1.5

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 2

slide-4
SLIDE 4

Makespan Minimization

Task: Assign jobs to machines. Goal: Minimize the makespan. 4 2 3.5 3.5 1 1 1 1.5 makespan 5.5 load 4.5

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 2

slide-5
SLIDE 5

Makespan Minimization

Task: Assign jobs to machines. Goal: Minimize the makespan. 4 1 3.5 1 3.5 1 2 1.5 makespan 4.5

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 2

slide-6
SLIDE 6

Online Algorithm

Jobs are revealed one by one and assigned immediately. 1.5

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 3

slide-7
SLIDE 7

Online Algorithm

Jobs are revealed one by one and assigned immediately. 1.5 2

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 3

slide-8
SLIDE 8

Online Algorithm

Jobs are revealed one by one and assigned immediately. 1.5 2 1

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 3

slide-9
SLIDE 9

Online Algorithm

Jobs are revealed one by one and assigned immediately. 1.5 2 1 1

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 3

slide-10
SLIDE 10

Online Algorithm

Jobs are revealed one by one and assigned immediately. 1.5 2 1 1 2.5

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 3

slide-11
SLIDE 11

Online Algorithm

Jobs are revealed one by one and assigned immediately. 1.5 2 1 1 2.5 3

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 3

slide-12
SLIDE 12

Online Algorithm

Jobs are revealed one by one and assigned immediately. 1.5 2 1 1 2.5 3

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 3

slide-13
SLIDE 13

Competitive ratio

The worst ratio an adversary can cause. 1.5 2 1 1 2.5 3 1.5 2 1 1 2.5 3 versus

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 3

slide-14
SLIDE 14

Literature

Adversarial deterministic algorithms.

[Günther, Maurer, Megow and Wiese, 2013] and [Chen, Ye, Zhang, 2015] approximate the optimum

  • nline algorithm.

4/3 1.5 1.8 1.9 2

1.9201 [Fleischer, Wahl, 2000] 1.923 [Albers, 1999] 1.945 [Karger, Philipps, Torng, 1996] 1.986 [Bartal, Fiat, Karloff, Vohra, 1995] 2− 1

m−εm [Galambos, Woeginger, 1993]

2−1/m [Graham, 1966] [Rudin III, 2001] 1.885 [Gormley et. al., 2000] 1.853 [Albers, 1999] 1.852 [Bartal, Karloff, Rabani, 1994] 1.837 [Faigle, Kern, Turan, 1989] 1.707

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 4

slide-15
SLIDE 15

Literature

Adversarial deterministic algorithms. Adversarial randomized algorithms. 4/3 1.5 1.8 1.9 2

1.9201 [Fleischer, Wahl, 2000] [Rudin III, 2001] 1.885 1.916 [Albers, 2002] [Chen, Vliet, Woeginger, 1994] 1.5819 [Sgall, 1997] 1.5819

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 4

slide-16
SLIDE 16

Literature

Adversarial deterministic algorithms. Adversarial randomized algorithms. Deterministic algorithms which know OPT. (Bin Stretching) 1 4/3 1.5 1.8 1.9 2

1.5 [Böhm, Sgall, van Stee, Veselý, 2016] 1.53 [Gabay, Kotov, Brauner, 2013] 1.57 [Kellerer, Kotov, 2013] 1.625 [Azar, Regev, 1998] [Azar, Regev, 1998] 4/3

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 4

slide-17
SLIDE 17

Literature

Adversarial deterministic algorithms. Adversarial randomized algorithms. Deterministic algorithms which know OPT. (Bin Stretching) Deterministic algorithms which know the total processing volume. 1 4/3 1.5 1.8 1.9 2

1.585 [Kellerer, Kotov, Gabay, 2015] 1.6 [Cheng, Kellerer, Kotov, 2005] 1.725 [Angelli, Nagy, Speranza, 2004] 1.75 [Albers, Hellwig, 2012] [Albers, Hellwig, 2012] 1.585 [Angelli, Nagy, Speranza, 2004] 1.565 [Cheng, Kellerer, Kotov, 2005] 1.5

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 4

slide-18
SLIDE 18

Literature

Adversarial deterministic algorithms. Adversarial randomized algorithms. Deterministic algorithms which know OPT. (Bin Stretching) Deterministic algorithms which know the total processing volume. Deterministic algorithms which advice.

constant in input length constant in m

1 4/3 1.5 1.8 1.9 2

[Albers, Hellwig, 2013] [Dohrau, 2015] I made some corrections here.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 4

slide-19
SLIDE 19

Literature

Adversarial deterministic algorithms. Adversarial randomized algorithms. Deterministic algorithms which know OPT. (Bin Stretching) Deterministic algorithms which know the total processing volume. Deterministic algorithms which advice. Buffer Reordering.

1.4659 [Englert, Özmen, Westermann, 2008]

1 4/3 1.5 1.8 1.9 2

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 4

slide-20
SLIDE 20

Literature

Adversarial deterministic algorithms. Adversarial randomized algorithms. Deterministic algorithms which know OPT. (Bin Stretching) Deterministic algorithms which know the total processing volume. Deterministic algorithms which advice. Buffer Reordering. Job processing times ordered decreasingly. 1 4/3 1.5 1.8 1.9 2

1.25 [Cheng, Kellerer, Kotov, 2012] 4/3 [Graham, 1969] [Seiden et. al., 2000] 1.1805

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 4

slide-21
SLIDE 21

Literature

Adversarial deterministic algorithms. Adversarial randomized algorithms. Deterministic algorithms which know OPT. (Bin Stretching) Deterministic algorithms which know the total processing volume. Deterministic algorithms which advice. Buffer Reordering. 4/3 1.5 1.8 1.9 2

1.9201 [Fleischer, Wahl, 2000] 1.923 [Albers, 1999] 1.945 [Karger, Philipps, Torng, 1996] 1.986 [Bartal, Fiat, Karloff, Vohra, 1995] 2− 1

m−εm [Galambos, Woeginger, 1993]

2−1/m [Graham, 1966] [Rudin III, 2001] 1.885 [Gormley et. al., 2000] 1.853 [Albers, 1999] 1.852 [Bartal, Karloff, Rabani, 1994] 1.837 [Faigle, Kern, Turan, 1989] 1.707

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 4

slide-22
SLIDE 22

Is worst-case analysis too pessimistic?

(Lower bound of [Albers, 1999] for m = 40 machines.)

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 5

slide-23
SLIDE 23

Is worst-case analysis too pessimistic?

(Lower bound of [Albers, 1999] for m = 40 machines.)

The argument of Albers does not hold anymore if we

  • Delete any job. (The lower bound would be 1.714)

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 5

slide-24
SLIDE 24

Is worst-case analysis too pessimistic?

(Lower bound of [Albers, 1999] for m = 40 machines.)

The argument of Albers does not hold anymore if we

  • Delete any job.
  • Swap (non-identical) jobs.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 5

slide-25
SLIDE 25

Is worst-case analysis too pessimistic?

(Lower bound of [Albers, 1999] for m = 40 machines.)

The argument of Albers does not hold anymore if we

  • Delete any job.
  • Swap (non-identical) jobs.
  • Change a job size significantly.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 5

slide-26
SLIDE 26

Is worst-case analysis too pessimistic?

(Lower bound of [Albers, 1999] for m = 40 machines.)

The argument of Albers does not hold anymore if we

  • Swap (non-identical) jobs. How important is job order?

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 5

slide-27
SLIDE 27

Random-Order Analysis

(Random permutation of [Albers, 1999] for m = 40 machines.)

Adversary chooses job set, order is uniformly random.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 6

slide-28
SLIDE 28

Random-Order Analysis

(Random permutation of [Albers, 1999] for m = 40 machines.)

Adversary chooses job set, order is uniformly random. Expected makespan of A versus optimum makespan.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 7

slide-29
SLIDE 29

Random-Order Analysis

(Random permutation of [Albers, 1999] for m = 40 machines.)

Adversary chooses job set, order is uniformly random. Expected makespan of A versus optimum makespan. Competitive ratio: Worst ratio the adversary may cause.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 8

slide-30
SLIDE 30

Is Random-Order Analysis too optimistic?

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 9

slide-31
SLIDE 31

Is Random-Order Analysis too optimistic?

We are nearly c-competitive iff we are (c +om(1))-competitive with probability 1−om(1) after random permutation and have a constant competitive ratio on worst-case sequences.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 10

slide-32
SLIDE 32

Is Random-Order Analysis too optimistic?

We are nearly c-competitive iff we are (c +om(1))-competitive with probability 1−om(1) after random permutation and have a constant competitive ratio on worst-case sequences. A nearly c-competitive online algorithm is c-competitive in the random-order model for m → ∞.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 11

slide-33
SLIDE 33

The Random-Order model

Scheduling for the random-order model is not well researched yet:

  • [Osborn and Torng, 2008] show Greedy remains 2-competitive.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 12

slide-34
SLIDE 34

The Random-Order model

Scheduling for the random-order model is not well researched yet:

  • [Osborn and Torng, 2008] show Greedy remains 2-competitive.
  • [Göbel, Kesselheim and Tönnis, 2015] and [Molinaro, 2017] analyze

different scheduling problems.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 12

slide-35
SLIDE 35

Our results

Our new algorithm is nearly 1.8478-competitive. We also provide lower bounds.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 13

slide-36
SLIDE 36

Our results

Our new algorithm is nearly 1.8478-competitive. decreasing order random-order adversarial 1 4/3 1.5 1.8 1.9 2

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 13

slide-37
SLIDE 37

Profit from random-order arrival.

  • The Load Lemma. Identifying time measures.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 14

slide-38
SLIDE 38

Profit from random-order arrival.

  • The Load Lemma. Identifying time measures.
  • Large Job Magic. Large jobs for free.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 14

slide-39
SLIDE 39

Profit from random-order arrival.

  • The Load Lemma. Identifying time measures.
  • Large Job Magic. Large jobs for free.
  • Oracle-like properties. A taste of semi-online scheduling.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 14

slide-40
SLIDE 40

Profit from random-order arrival.

  • The Load Lemma. Identifying time measures.
  • Large Job Magic. Large jobs for free.
  • Oracle-like properties. A taste of semi-online scheduling.
  • ???

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 14

slide-41
SLIDE 41

Profit from random-order arrival.

  • The Load Lemma. Identifying time measures.
  • Large Job Magic. Large jobs for free.
  • Oracle-like properties. A taste of semi-online scheduling.
  • ???
  • Profit. A nearly 1.8478-competitive algorithm.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 14

slide-42
SLIDE 42

Different time measures.

When have we seen half the sequence?

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 15

slide-43
SLIDE 43

Different time measures.

When have we seen half the sequence? The naive measure:

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 15

slide-44
SLIDE 44

Different time measures.

When have we seen half the sequence? The naive measure versus the load measure.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 15

slide-45
SLIDE 45

Different time measures.

When have we seen half the sequence? The naive measure versus the load measure.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 15

slide-46
SLIDE 46

Different time measures.

When have we seen half the sequence? The naive measure versus the load measure.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 15

slide-47
SLIDE 47

Different time measures.

The naive measure versus the load measure.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 15

slide-48
SLIDE 48

Different time measures.

How does random-order arrival impact the measures?

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 16

slide-49
SLIDE 49

Different time measures.

Load measure and naive measure agree

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 17

slide-50
SLIDE 50

Different time measures.

Load measure and naive measure agree

for m large high probability non-simple inputs margin of error

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 18

slide-51
SLIDE 51

How to foil reordering arguments.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 19

slide-52
SLIDE 52

How to foil reordering arguments.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 19

slide-53
SLIDE 53

How to foil reordering arguments.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 19

slide-54
SLIDE 54

Large Job Magic: Large jobs for free

How to complete the sequence correctly?

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 20

slide-55
SLIDE 55

Large Job Magic: Large jobs for free

How to complete the sequence correctly?

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 20

slide-56
SLIDE 56

Large Job Magic: Large jobs for free

No high concentration of large jobs.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 20

slide-57
SLIDE 57

Large Job Magic: Large jobs for free

We call it Large Job Magic.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 20

slide-58
SLIDE 58

Oracle-like properties

A difficult sequence has large jobs close to the end. versus

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 21

slide-59
SLIDE 59

Oracle-like properties

A difficult sequence has large jobs close to the end. versus [Osborn and Torng, 2008] Highly probable if there are many large jobs.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 21

slide-60
SLIDE 60

Oracle-like properties

A difficult sequence has large jobs close to the end. pn Highly probable if there are many large jobs. Many large jobs work as an oracle for OPT.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 21

slide-61
SLIDE 61

Oracle-like properties

A difficult sequence has large jobs close to the end. pn Highly probable if there are many large jobs. Many large jobs work as an oracle for OPT. A competitive ratio of about 1.89 in expectation.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 21

slide-62
SLIDE 62

Oracle-like properties

A difficult sequence has large jobs close to the end. pn Highly probable if there are many large jobs. Many large jobs work as an oracle for OPT. The difficult part is obtaining such improvement with high probability

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 21

slide-63
SLIDE 63

Oracle-like properties

Idea: Make the algorithm robust towards few large jobs.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 22

slide-64
SLIDE 64

Oracle-like properties

Idea: Make the algorithm robust towards few large jobs. Problem: This already requires the ’oracle’ .

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 22

slide-65
SLIDE 65

Oracle-like properties

Idea: Make the algorithm robust towards few large jobs. Problem: This already requires the ’oracle’ . Till ’oracle’ is huge. ’oracle’ Omid Pend

m+1

Oend

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 22

slide-66
SLIDE 66

Take-away

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 23

slide-67
SLIDE 67

Load Lemma:

Relate algorithmic and probabilistic properties.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 24

slide-68
SLIDE 68

Load Lemma:

Relate algorithmic and probabilistic properties.

Large Job Magic: Get large jobs for free.

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 24

slide-69
SLIDE 69

Load Lemma:

Relate algorithmic and probabilistic properties.

Large Job Magic: Get large jobs for free. Oracle-like properties: Predict the future.

Till Ph is huge.

Ph Omid Pend

m+1

Oend

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 24

slide-70
SLIDE 70

Thank you!

Maximilian Janke (TUM) | OLAWA 2020 | Scheduling in the Random-Order Model 25