• No results found

On the rate of convergence to optimality of the LPT rule

N/A
N/A
Protected

Academic year: 2021

Share "On the rate of convergence to optimality of the LPT rule"

Copied!
15
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

On the rate of convergence to optimality of the LPT rule

Citation for published version (APA):

Frenk, J. B. G., & Rinnooy Kan, A. H. G. (1985). On the rate of convergence to optimality of the LPT rule. (Memorandum COSOR; Vol. 8503). Technische Hogeschool Eindhoven.

Document status and date: Published: 01/01/1985

Document Version:

Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers)

Please check the document version of this publication:

• A submitted manuscript is the version of the article upon submission and before peer-review. There can be important differences between the submitted version and the official published version of record. People interested in the research are advised to contact the author for the final version of the publication, or visit the DOI to the publisher's website.

• The final author version and the galley proof are versions of the publication after peer review.

• The final published version features the final layout of the paper including the volume, issue and page numbers.

Link to publication

General rights

Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain

• You may freely distribute the URL identifying the publication in the public portal.

If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, please follow below link for the End User Agreement:

www.tue.nl/taverne Take down policy

If you believe that this document breaches copyright please contact us at: openaccess@tue.nl

providing details and we will investigate your claim.

(2)

TECHNISCHE HOGESCHOOL EINDHOVEN Onderafdeling der Wiskunde en Informatica

Memorandum COSOR 85-03

r

fne.wo~\AW\ ~

$c.Q~

L

januari 1985

On the rate of convergence to optimality of the LPT rule

by

J.B.G. Frenk A.H.G. RinnooyKan

(3)

1

ON THE RATE OF CONVERGENCE TO OPTIMALITY OF THE LPT RULE

J.B.G. Frenk

(Department of Industrial Engineering and Operations Research, University of California, Berkeley)

A.H.G. Rinnooy Kan

(Econometric Institute~ Erasmus University, Rotterdam/Sloan School of 11anagement, M.I.T., Cambridge)

Abstract

The LPT rule is a heuristic method to distribute jobs among identical machines so as to minimize the makespan of the resulting schedule. If the processing times of the jobs are assumed to be independent identically distributed random variables, then (under a mild condition on the distribution) the absolute error of this heuristic is known to converge to 0 almost surely. In this note we analyse the asymptotic behaviour of the absolute error and its first and

higher moments to show that under quite general ass~ptions the speed of

convergence is proportional to appropriate powers of ( log log n)/n and lIn. Thus, we strengthen and extend earlier results obtained for the uniform and

exponential distribution.

Present address first author: Eindhoven University of Technology, Department of Mathematics and Computing Science, Eindhoven

(4)

1. INTRODUCTION

Suppose that n jobs with processing times PI'.'" Pn have to be distributed among m uniform machines. Let si be the speed of machine i (i = 1, ••• , m). If the sum of the processing times assigned to machine i is denoted by Zn(i) (i

=

1, ••• , m), then a common objective is to minimize the makespan

f

m): max.{Z (i)/siJ. For this NP-hard problem many heuristics have been

n 1. n

proposed and analyzed; we refer to [Graham et al. 1979; Rinnooy Kan 1984] for a survey. Among them, the LPT rule in which jobs are assigned to the first available machine in order of decreasing P

j is a particularly simple and attractive one. The value Z(m)(LPT) produced by this rule is related to

n the optimal solution value Z(m) (OPT)

n for the case that s i

=

1 for all i by [Graham 1969] Z(m) (LPT) n ~

i

I -z'7-(m-:")-(O-P-T-) 3 - 3m n (1)

Computational evidence, however, suggests that this worst case analysis is unnecessarily pessimistic in that problem instances for which (1) is satisfied as an equality appear to occur only rarely.

To achieve a better understanding of this phenomenon, let us assume the

processing times p. (j

=

1, •.• , n) to be independent, identically distributed

J

random variables. The relation between the random variables Z(m)(OPT) and -n

Z(m)(LPT) can then be subjected to a probabilistic analysis. In [Frenk & -n

Rinnooy Kan 1984] it was shown that (under mild conditions on the distribution of the p.) the absolute error

J

Z(m)(LPT) - Z(m)(OPT)

-n -n (2)

converges to 0 almost surely as well as in expectation. Thus, the heuristic is asymptotically optimal in a strong (absolute rather than relative) sense, which provides an explanation for its excellent computational behaviour.

(5)

In [Frenk

&

Rinnooy Kan 1984], the speed at which the absolute error converges to 0 was analyzed for the special cases of the uniform and exponential

distribution respectively. Here we extend and generalize the results for almost sure convergence and convergence in expectation by showing that for

a

a large class of distributions (essentially those with F(x) ... x (0 < x : I,

o

< a < ~». this speed is proportional to an appropriate power of (log log n)/n

and lIn respectively. This implies that, although the optimality of the LPT rule could only be established asym~totically,

the convergence of the absolute error to 0 at least occurs reasonably fast. In some sense, to be explained later, these results are the best possible ones obtainable for this heuristic.

The main result for the case of almost sure convergence, is described and proved in Section 2. The case of convergence in expectation is dealt with in Section 3, where we bound first and higher moments of the expected absolute error. Some extensions and conjectures are briefly examined in Section 4.

2. ALMOST SURE CONVERGENCE

In [Frenk

&

Rinnooy Kan 1984], it is shown that the absolute error of the LPT rule (2) is bounded (up to a multiplicative constant) by

D ( ) { I rk }

-n a ... maxlS1.cSn

E

k:n -

a

j=l.2 j:n (3)

where

£

l:n S 2 2:n S S n a r e the order statistics of the processing £ !l:n times and a

=

1 + (m - l)Sl/sm' Let us assume that the distribution function of the processing times is given by

a

F(x) ... x (0 s x S 1. 0 < a < =) (4)

d Ub )

In that case, .2 k:n _ -k:n ,where ~k:n (k

=

1, .••• n are the order c·

statistics of n independent random variables uniformly distributed on [0,

1J.

and b .. l/a.

(6)

-2-To study the asymptotic behaviour of D (a). let us define the random variable -n

In to be the index p € {I, ••• , n} for which the maximum in (3) is actually

achieved. Hence, T --n P implies that

Ub _

1

1: P Ub ~ Ub _

1

1: k

-pm a j-l j:n k:n a j=l

U~

J:n (k - 1, •.. , P - 1) (5)

i.e., that

a Ub

+

LP-1 Ub ( 1) Ub S 0

-k:n j=k+l -j:n - a - -p:n (k

=

1, ..•• p - 1) (6) so that (by addition of these inequalities)

p-1 b b

Lk_1 (a + k - 1) gk:n S (a - l)(p - 1) gp:n (7)

Thus, Pr {T = p} is bounded (from above) by the probability of (7).

-n

Now, it is easily verified that

b

Pr {gk:n S ~(k ... I, .. " p - 1)1 U-p:n b - y} ...

a b

Pr {(gk:p-1(y» S ~ (k = 1 •••• , P - 1)} (8)

where, for any z € [0, 1], Uk:n(z) (k = 1 ••••• p - 1) are the order

statistics of p - 1 independent random variables, uniformly distributed on

Let

z] [Karlin

&

Taylor 1981, p. 103].

b

Fp{Y) = Pr{Yp:n S y}. Then (7) and (8) imply that Pr {In

=

p} S

1

0'

prri:~:~(a

+ k - l)(Yk:p_l(ya»b

s

(a - l)(p - l)y} Fp(dy) (9)

a»b

J

d b

Since (Yk:p-l(y Y = gk:p-l' (9) is bounded by

p-l b

Pr{Lk=1 (a + k - 1) Yk:p-l s (a - l)(p - 1) } (10) Now Lemma 1 in the Appendix implies that for certain constants C=c(a). c-c(a)

Pr{T ... p} :s; C e -cp

-n (11)

To derive our main result from the Bovel-Cantelli lemma. we now use (11)

to bound b

[

D 1082n ]

Pr{D (a) ~ }

(7)

(where D is a constant to be chosen later and 10g2n - log log n) by Pr{T -n ~ log n} +

+ P { Ub 1 tk Ub (D 10g2n )b

r max1sk slog n {-k:n -

a

j-l -j :nl C!: n

J

(13) .

The first term in (13) is Oen-c) from (11). We again condition on the value

~Og

n:n

corresp~nding

to the largest order statistic being greater or smaller than(2(10g n)/n)b, to bound the second term by

PnUb C!: (2 log n)b}

+

-log n:n n (2 log n/n)b

+

! pr{ {Ub _

1

tk

u

b }> (D log2n )bl maxisk slog n -k:n a j-1 -j:n - n

o

I

~~Og

n:n' - y} Flog n(dy) (14)

The first term in (14) is

O(n-~)

(cf [de Haan

&

Taconis 1979]). To bound the--second term, we observe that the term within the integral is bounded for every y f. (0, 1) by (cf (8»

{ b I k Ub }

Pr max1sk s 10gn- 1 {Uk:10gn _ 1 -

a

E j=l -j: 10gn - 1

+

Pr{{l _

1) _

1:.

Elogn - lUb C!:

1

CD 10g2n}b}

a a j-l -j y n (IS)

so that the integral itself is bounded by

(

D 10g2n)b Pdmax lsk s logn - 1 k:10gn -{Ub 1 -

!

a tk j=1 U-j b :logn - t }

~

2 1 og n }

+

+

P

,{!

t 10gn - lUb

s

1 _

l}

r a j-l -j a (16)

The second probability in (16) converges exponentially to 0 (in log n).

We again bound the first probability by conditioning on the index !(log n - 1) (where the maximum is attained) being greater or smaller than d 10g2n, for a constant d still to be chosen. From (11), the probability of the former

-cd.

event is O«log n) / . The remaining conditional probability is bounded by

(8)

-4-prfg

b

d 10g2n:logn - 1

~

(D 10g2n)b}

2 log n (17)

For d - D/4. this term is O«log n) -D/16) (cf [de Haan

&

Taconis 1979]). Colle~ting all our upper bounds on (12), we conclude that. if

D

=

2 max {16, 4/c} pr{D -n

(

~, ~) , CD 10g2n)b} n

=

O· (1/(1 ogn )2) n Define

ku

== e • lim sUPn ... (10 The Borel-Cantel1i kn b (10g2

ko)

~kn(CL)

lemma implies immediately that

< ... (a.s.)

(18)

(19) We show in the Appendix (Lemma 2) that D (a) is almost surely nonincreasing

-n

in n. It follows that

n b

lim sUPn ... (10g2n) En(a) < ... (a.s. ) (20)

and we have proved the main result of this section • .

Theorem 1. If the distribution function of the processing times equals F(x)

=

xa (0 S x

s

1, 0 < a < (10). then

- z(m)(OPT» < ...

n (a.s.)

This speed of convergence result is the best possible one that can be derived from the upper bound (3), as can be seen from the fact that

Pr{~l:n ~

10:2n i.o.}

=

1 (21)

It can be shown [Karp 1983] that the speed of convergence to optimality for the LPT rule is at least lIn for the case that a • 1. In the next section, we shall see that this lower bound is also an upper bound when we consider convergence in expectation.

(9)

-5-3. CONVERGENCE IN EXPECTATION

Again, we assume that F(x)

=

xa (0 ~ x ~ 1, 0 < a < ~). With T as

defined before, E(D (x)q) < Pr {T ... n} + -n - -n

+

E(max l < k < n _ 1 -k:n rUb -

1.

a. tk--j""l -j:n ub })q -n (22) As before we condition on the value of the 1arge~t order statistic to bound the second term by

E(E( maXI rub -

1.

tk ub })q! u )

=

< k < n - 1 -k:n a. j=l -j:n -n:n E(uqb E(max i 1{ £k:n b

_ 1.

Ek U. b

}) ql

£n:n) -n:n < k < n - U a. j=1 U -J:n "" -n:n -n:n

E{Uqb ) E{max1 < k < n·- 1 rub - 1 Ek ub })q

-n:n

-

k:n - 1 - j-1 j:n-1

a. (23)

Hence, for n sufficiently large, (11) and (23) together imply that

(24)

Let h "" (n + 1) qbE(D (n) q). Then (24) implies that

n -n

2

h

n ~ (n

+

l)qb e-cn

+

e(qbin) hn_1

(25)

This implies that h is bounded by a constant and we have proved the main

n

result of this section.

Theorem 2. If the distribution function of the processing times

a

F(x) ... x (0 ~ x < 1, 0 < a < =), then

lim sup

(nqi~«z(m)

(LPT) - Z(m) (OPT) )q)

n "

=

n n < co

Identical results for the case that si

=

1 for all i are derived in a different fashion in [Boxma 1984]. Again, they are the sharpest possible ones in the sense of the previous section. It is worth noting that this is

the first time that bounds on higher moments have been derived for a heuristic of this nature.

(10)

-6-4. EXTENSIONS AND CONCLUDING REMARKS

Theorems 1 and 2 can both be extended to the case that

F(x)

=

S(xa ), i.e., there exist positive constants e, Land U such that

for x € [O,€).

In the case ~f almost sure convergence, this is done by showing that one may restrict oneself in the maximization (3) to k€ {l, ••• ,ren]} (as in [Frenk & Rinnooy Kan 1984]). This maximization involves only the smaller order statistics and for those we are essentially in the situation analyzed in Section 2.

In the case of convergence in expectation, our technique requires that E

e

q (1 + b)+ 1 < ~

for the extension of Theorem 3 to hold. We strongly suspect, however,

(26)

(27)

that this condition is not essential. Details of the proofs for these results are available from the authors.

These unusually strong results, as well as other recent ones in this area ([Boxma 1984]), confirm the remarkable amenability of the LPT rule to a probabilistic analysis. Extensions to other priority rules involving order statistics of processing times seem feasible and interesting.

(11)

APPENDIX

Lemma 1. For every S ~ 1 there are positive constants C

=

C(e) and c

=

c(8) such that

Proof. I f a ::: I, thenU1/a >

-k:m 8m} ~ C • Uk a.s. - :m -cm e

Also, if a <

I,

we obtain from H~lder's inequality [Goffman & Pedrick

1965, p. 2] that (take p

=

lla, q

=

l/(l-a), Yk

=

(8

+

k)a ~k:m' ~

=

1) rm (8

+

k)a _U

k:m < ml - a (Em (8

+

k) U1/ a )a

k=1 k=1 -k:m a.s.

This implies that

Hence we consider the distribution of

Since (Ul , ••.• ,U )d

=

(Sl/Sm+l""'S /Sm+l) with

- :m -m,m - - m

-i

S.

=

r.

1 V. and V. independent exponentially distributed random

- 1 J= -J -J

variables with parameter A

=

1 (j

=

1, " ' , m) ([Karlin

&

Taylor 1981, p. 103]), ~ can rewrite the right hand side of (A.2) as

--8-(A. 1)

(12)

Now for every E > 0, there exists some mO c mO(E) such that, for every

m ~ mO{E), the above probability is bounded from above by

with c

1,m+l

=

«1 + t + 8)/(1 - E)m)a+l - 1

Clearly -1 < ct,m+l

~

«m + 2 + B)/(l - £)m)a+1 - 1 (t

=

1 ••••• m + 1)

and this implies for A£rO, 1/2 • (2(1 - E)/3)a+1

J

m+l

=

~t=l 1/(1 - ACi ,m+l)'

From the Taylor expansion of log (I + x) around x

=

0, we then show that the above term is bounded by

Since

m+l a+1

lim~ (Lt=l Ct,m+l)

1m

=

l/«a + 1)(1 - E) )

and

lim (rm+l c: m+l)/m

=

1/«2a + 3)(1 _ £)2a+2)

tJt"?OO t = 1 .It. •

/ a+l

- 2 «a

+

2)(1 - €) )

+

1,

the desired result follows from the appropriate choice of positive values for A and £.

(A.4)

(A.S)

(A.6)

(13)

Lemma 2

Proof. It is easy to verify that D +l(a)< D (a) unless (perhaps) if

n - n

the new processing time is larger than all the previous ones.

Hence, { I n+l Pr {~n+l(a) > ~n(a)} ~ Pr ~n+l -

a

rj=l ~j > O} co n* . ! F «a-l)y) F(dy)

o

so that Q!)

Pr {En+l(a) > ~n(a)} ~! U«a-l)y)F(dy)

o

co n*

with U(x)=E 1 F (x)the r~newal function ([Feller 1971; Van Dulst & n=

Frenk 1984]). The result now follows from l1m~ U(x) x

... r

co x F(dx) < 00

o

and the local boundedness of U(x) on (0, co).

-10-(A.B)

(A.9)

(14)

REFERENCES

Boxma, D.J., 'A Probabilistic Analysis of the LPT Scheduling Rule', Technical report, Department of Mathematics, University of ~trecht.

de Haan,L., Taconis-Haantjes, E., 'On Bahadur's Representation of Sample Quartiles', Ann. Inst. Statist. Math. (vol 31), 1979, 299-307.

Feller, W., An introduction to probability theory and its applications, Vol. 2., John Wiley. New York, 1971.

Frenk, J.B.G., Rinnooy Kan, A.H.G., 'The asymptotic optimality of the L.P.T. rule', Technical report, Econometric Institute, Erasmus

University, Rotterdam.

Goffman ,C., Pedrick, G •• First course in functional analysis. Prentice-Hall, Inc., Englewood Cliffs, N.J., 1965.

Karlin, S., Taylor, H.M., A second course in stochastic processes, Academic Press. New York, 1981.

Karp, R.M., Private communication, 1983.

Rinnooy Kan, A.H.G., 'Approximation algorithms - an introduction'. Technical report, Erasmus University, Rotterdam, 1984.

Van Dulst, D., Frenk, J.B.G., 'On Banach algebras, subexponential

distributions and renewal theory', Technical report 84-20, Mathematical Institute, University of Amsterdam.

(15)

ACKNOWLEDGMENTS

The research of the first author was supported by a grant from the Netherlands Organization for the Advancement of Pure Research (ZWO) and by a Fulbright scholarship_

The research of the second author was partially supported by NSF Grant ECS 831-6224 and by a NATO Senior Scientist Fellowship.

J.

r

. .

,

Referenties

GERELATEERDE DOCUMENTEN

Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of

Section 25 of the Ordinance for the Administration of Justice in Superior Courts (Orange River Colony) 14 provides: “The High Court [established by section 1] shall

Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers) Please check the document version of this publication:.. • A submitted manuscript is

examined the relationship between perceived discrimination and psychiatric disorders using a national probability sample of adult South Africans, looking at the extent to which

Gezien de ouderdom van de sporen, afgeleid uit de ouder- dom van de vulkanische aslaag waarin ze zijn gevonden, moeten ze gemaakt zijn door een vertegenwoordiger van het geslacht

Hij zorgt daarom voor duidelijke uitleg (ook al is die niet altijd correct: zo zijn niet geconsolideerde sedi- menten zeker geen afzettingen zonder vast verband!) en

Zijn nieuwe boek Izak, dat het midden houdt tussen een novelle en een roman, is volgens de omslagtekst voortgekomen uit Schaduwkind, en wel uit het hoofdstukje `Casa del boso’,

Erg diepgravend zijn de essays die Zwagerman heeft gebundeld niet, maar de gemeenschappelijke preoccupatie met de godsdienst garandeert in elk geval een samenhang die niet van