• Nem Talált Eredményt

Minimizing total weighted completion time on a single machine subject to non-renewable resource constraints

N/A
N/A
Protected

Academic year: 2022

Ossza meg "Minimizing total weighted completion time on a single machine subject to non-renewable resource constraints"

Copied!
12
0
0

Teljes szövegt

(1)

https://doi.org/10.1007/s10951-019-00601-1

Minimizing total weighted completion time on a single machine subject to non-renewable resource constraints

Péter Györgyi1·Tamás Kis1

Published online: 6 February 2019

© The Author(s) 2019

Abstract

In this paper, we describe new complexity results and approximation algorithms for single-machine scheduling problems with non-renewable resource constraints and the total weighted completion time objective. This problem is hardly studied in the literature. Beyond some complexity results, only a fully polynomial-time approximation scheme (FPTAS) is known for a special case. In this paper, we discuss some polynomially solvable special cases and also show that under very strong assumptions, such as the processing time, the resource consumption and the weight is the same for each job; minimizing the total weighted completion time is still NP-hard. In addition, we also propose a 2-approximation algorithm for this variant and a polynomial-time approximation scheme (PTAS) for the case when the processing time equals the weight for each job, while the resource consumptions are arbitrary.

Keywords Single-machine scheduling·Non-renewable resources·Approximation algorithms

1 Introduction

Non-renewable resources, such as raw material, energy or money, are used in all sectors of production, and depend- ing on the stocking policy, they have varying impact on the preparation of daily and weekly production schedules. Con- sider for instance the preparation of the weekly schedule of a production line, where some of the raw materials built into the products arrive over the week, and the supplies constrain what can be produced and when. Of course, if all the purchased items were in stock right at the beginning of the week, then the supply arriving during the week would not influence the scheduling decisions, but the drawback is that larger stocks should be kept, which incurs additional costs.

In this paper, we consider single-machine scheduling problems with one additional non-renewable resource. The non-renewable resource has an initial stock and some addi- tional supplies in the future with known supply dates and

B

Tamás Kis

tamas.kis@sztaki.mta.hu Péter Györgyi

peter.gyorgyi@sztaki.mta.hu

1 Institute for Computer Science and Control, Hungarian Academy of Sciences, Kende str. 13–17, Budapest 1111, Hungary

quantities. A job can only be started if the inventory level of the resource is at least as much as the quantity required by the job. When the job is started, the inventory level is decreased by the required quantity. Therefore, when deter- mining the schedule, one must take into account not only the initial stock level, but also the future supplies. This is an extra constraint in addition to, e.g., job release dates, or sequence-dependent setup times.

More formally, in all problems studied in this paper, there are a single machine, a non-renewable resource, and a finite set of jobsJ. Each jobjJ has a processing time pj >0, a weightwj ≥ 0, and a resource requirementaj ≥0. The resource has an initial supplyb˜1available at timeu1=0, and additional suppliesb˜at supply datesu for =2, . . . ,q. For convenience, we also defineuq+1 = +∞. We assume that the supplies are indexed in increasing u order, i.e., u<u+1for=1, . . . ,q−1. LetS be a schedule spec- ifying a start timeSj for each job j. It is feasible if (i) the jobs do not overlap in time, and (ii) for each=1, . . . ,q,

j:Sj<u+1aj

=1b˜, i.e., the supply arriving up to u covers the demands of those jobs starting before u+1. The objective function is the weighted sum of job comple- tion times, i.e., a feasible schedule of minimum

j∈JwjCj

value is sought, whereCj =Sj+pj. We mention that a fea- sible schedule exists only if

j∈Jajq

=1b˜, and more

(2)

Table 1 New complexity and

approximability results #Supp.q Restriction Objective function Result

pj= ¯p,aj= ¯a wjCj Polynomial time (decr.wjord.) Thm.1

pj= ¯p,wj= ¯w

¯

wCj Polynomial time (incr.ajord.) Thm.1

aj= ¯a, wj=λpj wjCj Polynomial time (decr.pjord.) Thm.1

2 pj=1,wj=λaj

wjCj Weakly NP-hard Thm.2

2 wj=pj=aj

pjCj Weakly NP-hard Thm.3

wj=pj=aj

pjCj Strongly NP-hard Thm.3

wj=pj=aj

pjCj 2-approx algorithm (LPT rule) Thm.4

Const. wj=pj pjCj PTAS Thm.5

“∗” stands for “arbitrary”

“decr.wjord.” means decreasing (non-increasing)wjorder

“incr.ajord.” means increasing (non-decreasing)ajorder

“decr.pjord.” is equivalent to LPT rule

“2-approx algorithm” means “polynomial time approximation algorithm with relative error 2”

λ” is an arbitrary positive number

“PTAS” stands for “polynomial time approximation scheme”

resources are not needed. In fact, without loss of generality we may assume that

(i)

j∈Jaj =q

=1b˜, and

(ii) b˜q>0, i.e., at least one job must start not beforeuq. In the standardα|β|γ notation of Graham et al. (1979), we will indicate in theβ field bynr = 1 that the number of non-renewable resources is 1. In addition, we will constrain the number of supply dates to a constant byq =const. We will use a number of other constraints, which are standard in the scheduling literature.

In this paper, we establish new complexity and approx- imability results for special cases of 1|nr = 1|

wjCj. The special cases are obtained by imposing constraints on the parameters of the jobs. For instance, the constraintwj =pj

means that for each job j, its weight equals its processing time, whilewj =λpj indicates thatwj is proportional to pj,λ >0 which is a common ratio. Furthermore, pj =1 or pj = ¯prestricts the processing time of each job to 1 or to some other common constant value p. The new results¯ are summarized in Table 1. As we can see, three special cases can be solved in polynomial time by list scheduling;

we identify three new NP-hard variants and propose approx- imation algorithms in two cases. We emphasize that the 2-approximation algorithm is merely list scheduling using the LPT order, but the analysis of the algorithm is tricky. On the other hand, the polynomial time approximation scheme for 1|nr = 1, wj = pj,q = const.|

pjCj is rather involved, and the underlying analysis needs new ideas, which may be used in the analysis of other problems as well.

In Sect.2, we overview the related literature. In Sect.3, we generalize list scheduling to our problem and discuss spe- cial cases that can be solved optimally with this method. In Sect.4, we establish the NP-hardness of 1|nr = 1,pj =

1,aj = wj|

wjCj. In Sect. 5, we present complexity results and a 2-approximation algorithm for the special case with pj = aj =wj. Finally, in Sect.6we devise a PTAS for 1|nr=1,pj =wj,q =const.|

wjCj.

2 Literature review

Machine scheduling problems with non-renewable resources have been introduced by Carlier (1984) and Slowinski (1984). In Carlier (1984), the computational complexity of several variants with a single machine is established. In par- ticular, it is shown that 1|nr =1|

wjCjis NP-hard in the strong sense, which is also proved in Gafarov et al. (2011).

However, the problem remains NP-hard in the weak sense if q = 2 (two supplies), see Kis (2015). In Kis (2015), an FPTAS is devised for the special case 1|nr = 1,q =

2|

wjCj. Moreover, Gafarov et al. (2011) study a variant of this problem, where each job has processing time 1, and there are n supplies such thatu = M, andb˜ = M for =1, . . . ,n, whereM =

j∈Jaj/nis an integer number, andn= |J|. Without the non-renewable resource constraint, the problem 1||

wjCj can be solved optimally in polyno- mial time by scheduling the jobs in non-increasingwj/pj

order, a classical result of Smith (1956).

There are several results about the complexity and approximability of machine scheduling problems with non- renewable resources and the makespan and the maximum lateness objective, see e.g., Slowinski (1984), Toker et al.

(1991), Xie (1997), Grigoriev et al. (2005), Györgyi and Kis (2014, 2015a,b) and Györgyi (2017). For an overview, see Györgyi and Kis (2017). In particular, Slowinski (1984) con- siders a parallel machine problem with preemptive jobs, and with a single non-renewable resource, which has an initial stock and some additional supplies. It is assumed that the

(3)

Sj1=Sj2 u (a) S

t (b) S

t (c)S

t

j1 j2

j2 j1

j2 j1

Fig. 1 The caseCj

1<Sj

2of Theorem1(c). The scheduleSis depicted in part (a), where the dashed line indicates two options for the length of j2. The form of the scheduleSifCj

2uand ifCj

2<uis depicted in part (b) and (c), respectively rate of consuming the non-renewable resource is constant

during the execution of the jobs. These assumptions led to a polynomial time algorithm for minimizing the makespan.

Toker et al. (1991) prove that the single-machine schedul- ing problem with a single non-renewable resource and the makespan objective reduces to the 2-machine flow shop prob- lem provided that the single non-renewable resource has a unit supply in every time period. In Grigoriev et al. (2005), 2-approximation algorithms are devised for the makespan and the maximum lateness objective (under some additional conditions). In a series of papers Györgyi and Kis (2014, 2015a,b,2017) and Györgyi (2017), Györgyi and Kis present approximation schemes and inapproximability results for various special cases of single and parallel machine problems with the makespan and the maximum lateness objectives. In Györgyi and Kis (2018), a branch-and-cut algorithm for min- imizing the maximum lateness is devised and evaluated.

3 List scheduling

In this section, we discuss polynomially solvable special cases of 1|nr = 1|

wjCj. All the algorithms presented below are based on the following extension of the well-known list scheduling method:

1. Sort the jobs according to some total ordering relation.

LetL =(j1, . . . ,jn)be the sequence obtained. Lett :=

0,:=1, andr:= ˜b1. 2. Fori =1 tondo

3. Whileaji >rrepeat let:=+1,t:=max{t,u}, and r:=r+ ˜b. End-while.

4. Schedule ji at time t. That is, set Sji := t, and then t :=t+pji,r :=raji.

5. End-for 6. OutputS.

In the above algorithm,t represents the time when the next job may be scheduled, andr the resource level before scheduling it. In Step 3,t andr are reset if the resource

available after scheduling the previous jobs is not enough to scheduleji. Notice that in such a case, the supply of more than one period may be needed to increase the available quantity of the resource sufficiently.

The above simple algorithm is a generalization of the well- known algorithm that schedules the jobs in some given order without interruptions.

Theorem 1 All of the following special cases can be solved optimally by list scheduling:

(a) Scheduling the jobs in non-increasingwj order is opti- mal for1|nr=1,pj = ¯p,aj = ¯a|

wjCj.

(b) Scheduling the jobs in non-decreasing aj order is opti- mal for1|nr=1,pj = ¯p, wj = ¯w|

wjCj.

(c) For anyλ >0, the LPT1schedule is optimal for1|nr = 1,aj = ¯a,wj =λpj|

wjCj.

Proof The proof of optimality is left to the reader, except in the last case, that we can verify as follows. Consider any instance of 1|nr =1,aj = ¯a,wj =λpj|

wjCj, and let Sbe an optimal schedule in which the number of job pairs violating the LPT order is the smallest. DefineCj :=Sj+pj

for each job j. Suppose that there are at least two jobs that are not in LPT order. Consider the first two such consecutive jobs, say j1 and j2, where j1 is scheduled before j2, and pj1 +K = pj2 for some K > 0. Let S be the schedule where we swap the order of j1and j2. We distinguish two cases.

IfCj

1 =Sj

2, thenSj

1 =Sj

1+pj2,Sj

2 =Sj

1, andSj =Sj for all j ∈ {/ j1,j2}. It is easy to verify thatwj1(Sj1+pj1)+ wj2(Sj2+pj2)=wj2(Sj2+pj2)+wj1(Sj1+pj1), and the objective function does not change. Since Sis feasible, as each job has the same resource requirement, we reached a contradiction with the choice ofS.

Now supposeCj1 < Sj2. Hence, there is ansuch that Sj

2 =u. Note that we haveSj

2 =Sj

1,Sj

1 =max{Cj2,u}.

Further on we haveSj = Sj for each job j withSj < Sj

1, andSjSj for each job jwithSjSj

2, see Fig.1. Notice

1 Non-increasingpjorder.

(4)

that only the start time of jobj1increases after swapping job j1and jobj2. To reach a contradiction with the choice ofS, it is enough to prove thatwj1Cj

1+wj2Cj

2wj1Cj

1+wj2Cj

2. Suppose that we haveu=Sj1+pj1+LwhereL >0. We have

wj1Cj1+wj2Cj2 =λpj1(Sj1 +pj1)

+λpj2((Sj1 +pj1+L)+pj2)

=λ(pj1Sj1 +p2j1+(pj1+K)Sj1 +(pj1+K)(pj1+L)+(pj1 +K)2), and

wj1Cj1+wj2Cj2 =λpj1(Sj1 +pj1)

+λ(pj1+K)(Sj1+pj1+K)

=λ(pj1max{Cj2,u}

+p2j1+(pj1+K)Sj1+(pj1+K)2).

Thus,wj1Cj

1+wj2Cj

2(wj1Cj

1+wj2Cj

2)=λ(pj1Sj

1+

(pj1+K)·(pj1+L)−pj1max{Cj2,u}). Since max{Cj2,u}

=max{Sj1+pj1+K,Sj

1+pj1+L}, thuswj1Cj

1+wj2Cj

2 >

wj1Cj

1+wj2Cj

2 follows.

4 Problem 1 |nr = 1 , p

j

= 1, w

j

= a

j

| w

j

C

j

Theorem 2 For any λ > 0, the problem 1|nr = 1,pj = 1, wj =λaj|

wjCjis weakly NP-hard even for q =2.

Proof We reduce the NP-hard PARTITION problem to our scheduling problem. An instance of the former problem is given by a natural number n, and the sizes of n items, s1, . . . ,sn, which are nonnegative integer numbers. One has to decide whether the items can be partitioned into two sub- sets,Q1andQ2, such that

iQ1si =

iQ2si. Since all item sizes are integer numbers, the answer is “NO”, unless n

i=1si = 2A for some integer A. Therefore, we assume thatn

i=1siis an even integer, and letA:=n

i=1si/2. Let Ibe an instance of PARTITION, the corresponding instance Iof 1|nr =1,pj = 1, wj =λaj|

wjCj consists ofn jobs, and for each item j, the corresponding job has a pro- cessing timepj =1,aj :=sjandwj :=λsj, whereλ >0 is fixed arbitrarily. In addition, there is a single resource with an initial stock ofb˜1 := A, available at timeu1 := 0, and with one more supplyb˜2:= Aat timeu2:=n2A2.

We claim that I has a “YES” answer if and only if I has a feasible schedule of objective function value at most λ(n2A3+2n A). First suppose that I has a partitioning of the items Q1,Q2 of equal size. Schedule the jobs corre- sponding to the items inQ1from time 0 on consecutively

in decreasing wj order, and those in Q2 fromu2 consec- utively in decreasing wj order. This schedule is clearly feasible. Suppose Q1 = {j1, . . . , jk}, andwjiwji+1 for i =1, . . . ,k−1, andQ2= {jk+1, . . . , jn}, andwjiwji+1

fori =k+1, . . . ,n−1. Then, we compute

j

wjCj =λ k

i=1

i aji + n i=k+1

(n2A2+ik)aji

< λ(n2A3+2n A).

Conversely, suppose the scheduling problem admits a feasi- ble scheduleSof objective function value at mostλ(n2A3+ 2n A). LetCj :=Sj +1 for each job j. LetQ1= {j|Sj <

u2}andQ2 = {j | Sju2}. SinceSis feasible, the total resource consumption of those jobs inQ1is at mostA. Indi- rectly, suppose it is less than A. Then, the total weight of those jobs inQ2is at leastλ(A+1). But then we have

j

wjCjλ

jQ2

n2A2ajλ(n2A3+n2A2)

> λ(n2A3+2n A),

which is a contradiction.

Finally, notice that the transformation is of polynomial time complexity, which shows that there is a polynomial reduction from PARTITION to a decision version of the scheduling problem 1|nr =1,pj =1, wj =λaj|

wjCj.

5 Problem 1 |nr = 1 , p

j

= a

j

= w

j

| w

j

C

j We start this section by providing a non-trivial expression for the objective function value of an optimal schedule under the condition pj =wj for every job j.

Let S be any feasible schedule for the problem, and let Cj = Sj + pj be the completion time of job j inS. Let H denote the length of the idle period, if any, in schedule S in the interval[u,u+1]and let G =

ν=1Hν be the total idle time untilu+1. Let P denote the total working time (when the machine is not idle) in[u,u+1], noting that u=1

ν=1Pν+G1. See Fig.2a for an illustration. Using the new notation, we can express the objective function value ofSas follows:

(5)

Fig. 2 aThe new notations (G, HandP);bProof of Lemma1

S

u1 u2 u3 u4 u5 time

H1= 0

H2 H3 H4

G1=H1 G2= 2

ν=1Hν G3= 3

ν=1Hν G4= 4

ν=1Hν

P1 P2

P3= 0

P4 P5

(a)

S

u Ck u t u +1 time

k Total gap until B

u isG −1

(b)

Lemma 1 If pj =wjfor each job j , then the objective func- tion value of any feasible schedule S can be expressed as

j

pjCj =

jk

pjpk+ q

=2

G1P

=

jk

pjpk+ q

=2

H1(P+P+1+ · · · +Pq).

(1)

Proof Consider any working periodB= [u,t]in the sched- uleS, that is, the machine is idle right beforeuand right after t, and is working contiguously throughout B. Supposet(u,u+1], where. Letkbe an arbitrary job that is pro- cessed inB, see Fig.2b. We haveCk =

CjCk pj+G1; thus, the total weighted completion time of the jobs processed inBis

k:CkB

pk

CjCk

pj+G1

=

k:CkB

pk

CjCk

pj+G1

ν=

Pν

=

k:CkB

pk

CjCk

pj+

ν=

Gν−1Pν,

where the first equation follows from

k:CkBpk =

ν=Pμ, and the second fromGν = G1for eachμ < , since the machine is not idle in the intervalB. Since the schedule can be partitioned into working and idle periods, we derive

j

wjCj =

jk

pjpk+ q

=2

G1P.

Finally, the second equation of the statement of the lemma can be derived by using the definition ofGand by rearrang- ing terms.

Theorem 3 The problem 1|nr = 1,q = 2,pj = aj = wj|

wjCj is weakly NP-hard, and1|nr =1,pj =aj = wj|

wjCj is strongly NP-hard.

Proof Recall the definition of the PARTITION problem from the proof of Theorem2. For proving the weak NP-hardness of 1|nr =1,q = 2,pj = aj = wj|

wjCj, we reduce the PARTITION problem to this scheduling problem. For any instance of PARTITION, the corresponding instance of 1|nr = 1,q = 2,pj = aj = wj|

wjCj consists ofn jobs, one job for each item, and pi =ai =wi =si for each itemi = 1, . . . ,n. There are two supplies, one atu1 = 0 and the supplied quantity from the single resource is A, and another atu2= Awith supplied quantityA. We claim that the PARTITION problem instance has a solution if and only if the corresponding scheduling problem instance has a feasible solution of value at most

jkpjpk. Using Lemma1, the latter holds if and only if the schedule has no idle time. So, it suffices to prove that the PARTITION problem instance has a solution if and only if the corresponding scheduling problem instance admits a feasible schedule without any idle time. First suppose that the PARTITION problem instance has a “yes” answer, i.e., there is a subset Q of items with

iQsi =A. Schedule the corresponding jobs contiguously in any order in the interval[0,A]. Since pj = aj, and the supply atu1 = 0 is A, this is feasible. Now, schedule the remaining jobs without idle times fromu2=A. The result is a feasible schedule without idle times. Conversely, suppose there is a feasible schedule without idle times. Then, the machine is working throughout the interval[0,A]. Since the supply atu1=0 isA, the total processing time of the jobs starting beforeu2= AisA. Let the setQconsist of the items

(6)

Fig. 3 Notations for the LPT schedule

SLP T t

u1 u2 u3 u4 u5 u6

GLP T1 = 0

GLP T2 GLP T3 P1 P2

P3= ˜P3LP T = 0

P4 P5 P6

P˜1LP T

P˜2LP T = 0

P˜4LP T

P˜5LP T = ˜P6LP T = 0

corresponding to these jobs. This yields a feasible solution for the PARTITION problem instance.

For proving the strong NP-hardness of 1|nr = 1,pj = aj =wj|

wjCj, we reduce the 3-PARTITION problem to this scheduling problem. Recall that an instance of 3- PARTITION consists of an positive integert, and 3t items, each having a sizesi,i ∈ {1, . . . ,3t}, where the item sizes are bounded by polynomial in the input length. It is assumed that 3t

i=1si is divisible byt, and B/4 < si < B/2 for eachi, whereB =3t

i=1si/t. The question is whether the set of items can be partitioned into t groups Q1, . . . ,Qt

such that

iQsi = Bfor=1, . . . ,t. The correspond- ing instance of the scheduling problem 1|nr = 1,pj = aj =wj|

wjCjhas 3tjobs corresponding to the 3titems with pi = ai = wi = si, andq = t supplies at supply datesu = (−1)B with supplied quantities b = B for =1, . . . ,q. The rest of the proof goes along the same lines as in the first part, i.e., we argue that 3-PARTITION has a feasible solution if and only if the corresponding scheduling problem instance has a solution of objective function value

jk pjpkif and only if there is a feasible schedule without any idle times.

Theorem 4 Scheduling the jobs in LPT order is a 2- approximation algorithm for 1|nr = 1,pj = aj = wj|

wjCj.

Proof The main idea of the following proof is that first we transform the problem data such that the resource supplies are deferred until they are used in a selected optimal sched- ule, and then we bound the approximation ratio of the LPT schedule. Finally, we observe that the LPT order yields at least as good a schedule with the original problem data as the same job order for the modified problem data.

LetI be any instance of the scheduling problem and fix an optimal scheduleSfor I. LetJbe the set of jobs that start in[u,u+1)inS. Let I be a new problem instance derived from I by modifying the supplied quantities (the other problem data do not change):b1:=

j∈J1ajand for each≥2,b:=

ν=1

j∈Jνaj1 ν=1bν. Claim 1 Ihas the following properties:

(i) b ≥0for each=1, . . . ,q,

(ii) q

=1b=n

j=1aj, (iii) Sis optimal for I,

(iv) any ordering of the jobs yields at least as good a sched- ule for I as for I.

Proof The first two claims are straightforward consequences of the definitions, while (iii) and (iv) both follow from the fact that inIthe resource supplies are deferred with respect toI.

From now on we considerI.

Let SL P T denote the schedule obtained from the LPT order for problem instanceI, and letCL P Tj denote the com- pletion time of job j in this schedule. LetGL P T denote the total idle time inSL P Tin[0,u+1]andPL P Tthe total work- ing time (when the machine processes a job) in[u,u+1].

We haveu=1

ν=1Pν+GL P T1 .

Let us defineP˜L P T as follows. If the machine is working just beforeu, or idle just afteruinSL P T, thenP˜L P T =0;

otherwise, P˜L P T equals the length of the working period starting atu until the first idle period inSL P T, see Fig.3.

Notice that if the machine is working right before and also right afteru, thenP˜L P T =0 by definition.

According to Lemma1, we can express the total weighted processing time of the LPT schedule as follows:

j∈J

pjCL P Tj =

jk

pjpk+ q

=2

GL P T1 PL P T

=

jk

pjpk+ q

=2

GL P T1 P˜L P T.

(2)

Note that the second equation follows from the fact that if P˜L P T =0, thenGL P T1 =GL P T1 for the largest< with P˜L P T >0.

In the next claim, we relate (2) to (1). The notations P, G andHrefer toP,G andH in case ofS. Note that u=1

ν=1Pν+G1.

Claim 2 IfP˜L P T >0, i.e., the machine is idle just before u, and a job j()is started at uin SL P T, then

(i) 1

ν=1P˜νL P T +pj() >1

ν=1Pνandq

ν=P˜νL P T <

q

ν=Pν+pj(),

(7)

u1= 0

˜b1=n−1

u2=n2

˜b2=n LP T

t OP T

t

jn j1 j2 . . . jn−1

jn

j1 j2 . . . jn−1

Fig. 4 Tight example: the optimal schedule (above) and the LPT schedule (below) for the same instance

(ii) GL P T1 <G1+pj(). Proof If1

ν=1P˜νL P T + pj()1

ν=1bν were true, then j() could be scheduled earlier in SL P T. Thus, we have 1

ν=1P˜νL P T+pj()>1

ν=1bν. Since we have1 ν=1Pν1

ν=1bν, (i) follows. The second inequality of (i) follows fromq

ν=1P˜νL P T = q

ν=1Pν. Finally, (ii) follows from 1

ν=1P˜νL P T +GL P T1 =u=1

ν=1Pν+G1. Using (2) and Claim2(ii), we derive

j∈J

pjCL P Tj

jk

pjpk+ q

=2

(G1+pj())· ˜PL P T

≤2·

jk

pjpk+ q

=2

G1P˜L P T

=2·

jk

pjpk+ q

=2

1

ν=1

Hν

P˜L P T

=2·

jk

pjpk+ q

=2

H 1

q

μ=

P˜μL P T

,

where the first inequality follows from Claim2(ii), the sec- ond from the observation thatpj()is multiplied by the total processing time of jobj()and all those jobs following j() in the LPT order, and the rest is obtained by rearranging terms.

Since

j pjCj =

jkpjpk +q

=2H 1 qμ=

Pμ

(from Lemma1), it is enough to prove Claim 3

q μ=

P˜μL P T ≤2· q μ=

Pμ ∀≥2: H 1=0.

Note thatH 1=0 means the machine is not working before uinS,q

μ=P˜μL P Tequals the total amount of work after uinSL P T, whileq

μ=Pμis the same in the optimal sched- uleS.

Proof (of Claim3) First we prove the claim for eachsuch that P˜L P T =0. Consider such an. Ifq

μ=Pμwere less thanpj(), then each job with a processing time at leastpj()

would be scheduled beforeuinS; thus,1

ν=1bνwould be at least the total processing time of these jobs. However, this would mean that j()could be scheduled earlier (recall that the machine is idle just beforeu inSL P T); thus, we have q

μ=Pμpj(). SinceP˜L P T =0, we can use Claim2(i) and we have

q μ=

P˜μL P Tq μ=

Pμ+pj()≤2· q μ=

Pμ

Now suppose that P˜L P T =0. Ifq

μ=P˜μL P T =0, then the claim is trivial. Otherwise, let> be the smallest index such that P˜L P T = 0. Since we know that the claim is true for, we have

q μ=

P˜μL P T = q μ=

P˜μL P T ≤2· q μ=

Pμ≤2· q μ=

Pμ

and we are ready.

Finally, as we have already noted, the LPT ordering of the jobs yields at least as good a schedule forI as the same job order forI, and the theorem is proved.

Tight exampleFor any integern ≥3 consider the scheduling problem withnjobs, the firstn−1 jobs are of unit processing time, while the last job has processing timen. That is,pj = aj =wj =1 for j =1, . . . ,n−1, and pn=an =wn=n for jobn. There are two supplies, one atu1=0 with supplied quantityn−1, and another atu2=n2with supplied quantity n. In the optimal schedule, the firstn−1 jobs are scheduled from time 0, and the last job is scheduled at time n2 (at u2), see Fig.4. That is,Cj = j for j =1, . . . ,n−1, and Cn=n2+n. The optimal objective function value is n

j=1

pjCj =n(n−1)/2+(n3+n2).

In contrast, in the LPT schedule job n comes first, but it can be scheduled only at timeu2 =n2, since its demand is

Hivatkozások

KAPCSOLÓDÓ DOKUMENTUMOK

If there are 10 supply dates the results depend on the number of the resources: in case of 1 resource generating our cutting planes requires some time, but does not improve the

There are several approximation schemes for simi- lar scheduling problems with non-renewable resource con- straints (see Section 2), however, to our best knowledge, this is the

Since the makespan minimization problem with resource consuming jobs on a single machine is NP-hard even if there are only two supply dates (Carlier, 1984), all problems studied in

Bianco and Caramia [4] in turn develop a new Lagrangian relaxation based lower bound for the makespan min- imization problem with feeding precedence constraints, where the

As we will provide details later, this problem is a special case of the general multiprocessor task scheduling problem (P |set|C max ), which does not admit any constant

Neumann and Schwindt [24] studied general project scheduling problems with inventory con- straints in a more general setting, where jobs (activities) may consume as well as

Referring to the stochastic counterpart, when considering a single machine scheduling problem with arbitrarily distributed processing times and deterministic due dates, the EDD

The capacitated lot-sizing and scheduling problem with sequence-dependent setup times and costs (CLSPSD) involves N I different items able to be manufactured on a single machine over