Completion Time Scheduling and the WSRPT Algorithm
|
|
|
- Jayson Copeland
- 9 years ago
- Views:
Transcription
1 Completion Time Scheduling and the WSRPT Algorithm Bo Xiong, Christine Chung Department of Computer Science, Connecticut College, New London, CT Abstract. We consider the online scheduling problem of minimizing the total weighted and unweighted completion time on identical parallel machines with preemptible jobs. We show a new general lower bound of 21/ on the competitive ratio of any deterministic online algorithm for the unweighted problem and for the weighted 11 problem. We then analyze the performance of the natural online algorithm WSRPT (Weighted Shortest Remaining Processing Time). We show that WSRPT is 2-competitive. We also prove that the lower bound on the competitive ratio of WSRPT for this problem is Introduction We consider the well-studied online problem of preemptively scheduling jobs on identical parallel machines to minimize total completion time, both in the case that the jobs have weights and in the case that the jobs are unweighted. We have m machines and a set of n jobs that arrive over time. Each job j is characterized by a positive integer processing time, p j, and an nonnegative integer release time, r j. In the weighted case, each job also has a positive integer weight w j. (The unweighted case is equivalent to all jobs having equal weights.) A job s processing time, release time, and weight are not known until a job arrives. We cannot schedule a job on a machine before its release time and each job is preemptible. We use c j to denote the completion time of job j, and our goal is to minimize j c j in the unweighted case and j w jc j in the weighted case. The unweighted problem is denoted P r j, pmtn j c j and the weighted problem is P r j, pmtn j w jc j using the standard scheduling notation of [1]. The weighted problem is NP-Hard, even for the single-machine case [2], and the unweighted problem is NP-Hard for two or more machines [3]. The best known general lowerbound on the competitive ratio for any deterministic algorithm (for both the weighted and unweighted case) due to Vestjens [4] was and has held since With respect to upperbounds, for weighted completion time scheduling, Megow and Schulz [5] showed that the algorithm WSPT (Weighted Shortest Processing Time), which schedules jobs in order of non-decreasing weight-to-size ratio, is 2-competitive. Sitters [6] then recently gave an algorithm that is competitive for weighted completion time scheduling.
2 In this work, we give an updated general lower bound of 21/ for the competitive ratio of any deterministic online algorithm for the unweighted case and for the weighted case. We then analyze the performance of the algorithm WSRPT (Weighted Shortest Remaining Processing Time). WSRPT is an extension of the famous SRPT (Shortest Remaining Processing Time) algorithm, which is used for unweighted job scheduling. At any point in the schedule, SRPT always runs the job(s) with the shortest remaining processing time. SRPT is optimal for the unweighted problem on one machine. The competitiveness of SRPT for parallel machines was first analyzed in 1995 by [7], has been evaluated experimentally (e.g., [8 10]), and has continued to be widely used and studied. It was a long-held belief that SRPT was close to optimal, and most recently, [6] finally showed that SRPT is 5/4-competitive. (Prior to that, the original proof of SRPT s 2- competitiveness [7] was the best known ratio for fifteen years until [11] showed it was 1.86-competitive.) The current lowerbound on the competitiveness of SRPT is 21/ [11]. WSRPT is a natural extension of SRPT to the weighted case of the problem, as it schedules jobs based on smallest remaining weight-to-size ratio. (WSPT, by contrast, schedules jobs based only on smallest initial weight-to-size ratio, without taking into account how much of a job has been processed at any point in the schedule.) Megow [12] proves WSRPT is 2-competitive for the single machine case. To the best of our knowledge, ours is the first analysis of WSRPT for the parallel machine case. We show that WSRPT is 2-competitive for the problem P r j, pmtn j w jc j, and we suspect it actually yields a much better performance guarantee. We also exhibit an instance of the problem, by modifying a lowerbound instance from [12], where the WSRPT schedule has a total weighted completion time times that of the optimal offline schedule. While our result for WSRPT does not beat the competitiveness of the best known algorithm for the problem P r j, pmtn j w jc j (which is due to [6]), our contribution is with respect to the WSRPT algorithm and techniques for analyzing the algorithm as applied to parallel machines. While the algorithm itself is simple to state, it has proven somewhat difficult to analyze, due to the interplay of the static job weights with the changing nature of the remaining processing times. Further, analyzing the algorithm for multiple parallel machines rather than one machine (as in [12]) demands that we handle additional possible situations that can cause the priorities of two jobs to change order as time unfolds. Given that SRPT is so popular and effective an algorithm, we speculate that many implementations of SRPT are in application domains where weights on the jobs are becoming a relevant factor. Easily tweaking SRPT implementations into WSRPT implementations will then be quite alluring for programmers. Our conjecture is that not only is WSRPT a simpler and more natural algorithm, but it is also a better algorithm for the problem P r j, pmtn j w jc j than the current proven leading algorithm, with respect to competitiveness. To summarize, our contributions are: We show that WSRPT is 2-competitive for the problem P r j, pmtn j w jc j.
3 We show that the competitive ratio of WSRPT for the problem 1 r j, pmtn j w jc j (and hence P r j, pmtn j w jc j ) is no better than We prove a general lower bound of on the competitive ratio of any deterministic algorithm for the problem P r j, pmtn j w jc j. We prove a general lower bound of 21/19 on the competitive ratio of any deterministic algorithm for the problem P r j, pmtn j c j. 2 Preliminaries Each instance of our scheduling problem consists of m machines and a set of jobs J = {1,..., n} that arrive over time, and we start at time t = 0. Each of the machines can only process one of the n jobs at a time, and each job can be processed by at most one machine at a time. Each job j is characterized by a positive integer processing time p j and an nonnegative integer release time r j. For unweighted completion time scheduling, all jobs have weight of one. For weighted completion time scheduling, each job has a positive integer weight w j. We cannot schedule a job j before its release time r j, which is not known in advance. Each job is preemptible, so a job may be suspended and resumed later on any machine at any time at no extra cost. For convenience, and without loss of generality, we assume each job may only be suspended or resumed on any machine at integer times. In the unweighted problem, if σ is a scheduling of the jobs in J, we define cost(σ) = j c j(σ) (i.e., total completion time), where c j (σ) denotes the completion time of job j in the schedule σ. When σ refers to a schedule for the weighted problem, then we define cost(σ) = j w jc j (σ), referred to as total weighted completion time. When the schedule being referenced is clear from context, we write c j (σ) simply as c j. For both problems, our goal is to minimize cost(σ) over all possible schedules. A problem is an online problem if the inputs arrive over time and there is no prior knowledge of inputs that will arrive in the future. The competitive ratio of an online algorithm is the maximum (over all input instances) of the ratio of the total weighted completion time of the schedule produced by the algorithm and the total weighted completion time of an optimal offline schedule (one that knows all future inputs in advance). More formally, if OP T (I) is the optimal offline schedule on an instance I and A(I) is the schedule produced by online algorithm A on instance I, then the competitive ratio of an algorithm A can be expressed as max I I cost(a(i)) cost(op T (I)), where I is the set of all possible input instances. An algorithm is called ρ-competitive if it has a competitive ratio of at most ρ. The competitive ratio is the standard measure by which algorithms for online problems are evaluated.
4 3 General Lower Bound In this section, we show a lower bound of 21/ on the competitive ratio of any algorithm for unweighted completion time scheduling and a lower bound of for weighted completion time scheduling. We prove these lower bounds by giving a simple scheme for constructing an instance where the nature of the jobs that arrive depends on the choices the algorithm has made so far. The scheme is based on the lower bound instance for the algorithm SRPT, from [11]. Theorem 1. There is no deterministic algorithm that has a competitive ratio better than 21/19 for the problem P r j, pmtn j c j. Proof. Consider the following instance with only two machines. At time 0, a set of three jobs arrives, two of which have a processing time of 1 and one of which has a processing time of 2. In order to minimize the total completion time, we assume without loss of generality that the online algorithm always processes an available job if a machine is available. Since preemption is allowed only at integer times, the online algorithm will either have processed none or one unit of the job of length 2 at time 1. Suppose the online algorithm does not process any of the job of length 2 by time t = 1. Then we release a set of 4 jobs of length 1 at time t = 2. Consequently, at this point the best schedule σ for this instance would be to schedule the job of length 2 at t = 1 and the 4 jobs of length 1 one after another when the machines become available. Thus total completion time is cost(σ) = = 21. However, the optimal schedule σ is to begin processing the job of length 2 at t = 0, which achieves cost(σ ) = = 19. (Please refer to Case 1 of Figure 1.) Now suppose the algorithm has processed one unit of the job of length 2 at t = 1. In this case, we release only one job of length 1 at t = 1. Consequently, the best schedule σ at this point for this instance would be to schedule any remaining jobs one after another when machines become available. Hence, cost(σ) = = 8. However, if we schedule both jobs of length 1 at t = 0, we can achieve an optimal schedule σ with cost(σ ) = = 7. The competitive ratio in the first case was 21/19 and the second was 8/7. Combining both cases, we conclude that there is no deterministic algorithm that has a competitive ratio better than 21/19 for unweighted completion time scheduling. Theorem 2. There is no deterministic algorithm that has a competitive ratio better than for the problem P r j, pmtn j w jc j. Proof. We use a similar idea as in the proof of previous theorem to prove this lower bound. However, we add weights to the jobs. We first release three jobs,
5 Fig. 1. The input instance for each case and the corresponding online (σ) and optimal (σ ) schedules. The job number being processed is indicated within each integer time segment of each schedule. two of which have processing time 1 and weight 1, the other one of which has processing time 2 and weight In the first case, suppose the online algorithm does not process any of the job of length 2 at t = 1. We then release four jobs of weight and processing time 1 at t = 2. In the second case, suppose the online algorithm has processed one unit of the job of length 2 at t = 1. We then release one job of weight 1 and processing time 1 at t = 1. The online and optimal schedules for these two cases reflects that of the two cases in Figure 1. In the first case, cost(σ) for any online schedule σ, and cost(σ ) = for the optimal schedule σ. In the second case, cost(σ) and cost(σ ) = The competitive ratio in either case is at least Thus, there is no deterministic algorithm that has a competitive ratio better than for weighted completion time scheduling. 4 WSRPT In this section, we analyze the performance of the algorithm WSRPT (Weighted Shortest Remaining Processing Time). A related well-known algorithm, SRPT (Shortest Remaining Processing Time), applies to the variant of our problem where the jobs are unweighted. At every point in time, SRPT simply schedules the m jobs with shortest remaining processing time. SRPT is known to be 5/4- competitive for the unweighted variant of the problem [6]. WSRPT can be seen as the weighted version of SRPT.
6 The WSRPT algorithm proceeds as follows. Define the remaining priority of a job at a given time to be the weight of the job over the remaining processing time of the job. At any time, process the m available jobs with highest remaining priority, or fewer if less than m jobs are available. Ties are broken by choosing the job with the smaller job index. Note that the remaining priority of a job will change as the job is processed. When new jobs arrive, we recalculate the remaining priority of all jobs and reschedule the jobs based on the new values. 4.1 Lower Bound of WSRPT Megow [12] showed that the algorithm WSRPT does not have a competitive ratio less than for the weighted completion scheduling problem on single machine. We slightly modify her instance to improve the lower bound from to and note that it also applies to the problem P r j, pmtn j w jc j. For completeness, we reproduce the entire instance with modification here. Theorem 3. If the algorithm WSRPT is ρ competitive for the scheduling problem 1 r j, pmtn w j c j, then ρ is at least j Proof. Consider the following instance with one machine and k + x + 1 jobs: x high priority jobs with weight 1/x and processing time 1/x, one low priority job l with weight 1 and processing time p l and k small jobs of length ɛ = (p l 1)/k. The job l and the first small job are released at time 0. The remaining small jobs are released at r j = (j 1)ɛ for j = 2, 3,..., k and all the high priority jobs are released at p l 1. (Note that it is feasible for all small jobs to be completed by the time this high priority job is released.) The weight of the small jobs are w j = ɛ/(p l (j 1)ɛ) for j = 1, 2,.., k. Since the priority of job l and the first small job are the same, we assume without loss of generality that WSRPT starts processing job l at time 0. Note that as each small job is released, it is tied in priority with the remaining priority of job l. Hence, we do not preempt job l until at t = p l 1 when all the jobs with high priority are released. Then we start processing all the jobs with high priority one after another. After all the jobs with high priority are finished, we then finish processing l and all the small jobs. The total weighted completion time of WSRPT is thus x i=1 (p l 1 + i x ) x + p l k ɛ (p l iɛ) p l (k i)ɛ i=1 The optimal schedule in the instance should process all small jobs first, then all the jobs with high priority and job l at last. The weighted completion time for optimal schedule is x i=1 (p l 1 + i x ) x + 2p l + k ɛ iɛ p l (i 1)ɛ i=1
7 As k and x tend to infinity, then the competitive ratio of WSRPT is no less than for p l p l (3 ln 1 p l 1 + ln p l p l 1 ) p l + p l ln p l 4.2 Upper Bound of WSRPT We begin this section by distinguishing the term initial priority from remaining priority. The initial priority of a job j is defined as the weight of j, w j, divided by the total processing time of j, p j. Initial priority does not change over time. We contrast this with remaining priority of a job j at time t, which we have defined as the weight divided by the remaining processing time of job j at time t, and we denote it p j (t). As the remaining processing time of a job decreases, its remaining priority increases. For convenience and without loss of generality, we assume all the jobs are indexed in non-decreasing initial priority: w 1 /p 1 w 2 /p 2... w n /p n. Megow and Schulz [5] showed that the algorithm WSPT (Weighted Shortest Remaining Time) is 2-competitive. They also give a matching lower bound on the competitive ratio of WSPT, proving that WSPT is no better than 2-competitive. Since the algorithm WSPT only considers the initial priority of the job, it has the helpful property that the job s scheduling priority never changes. However, WSRPT schedules jobs based on remaining priority, which changes as the job is processed. In this section, we show the algorithm WSRPT is 2-competitive. We note, however, that its counterpart SRPT is 5/4-competitive for the unweighted version of the problem, so we conjecture WSRPT in fact has a strictly lower competitive ratio than the algorithm WSPT. Our overarching strategy will be to bound the total weighted idle time of all jobs in the schedule. We will then be able to bound an expression for total completion time that is broken down into two components: idle time and processing time. We now present three lemmas that will help us toward this goal. The first two lemmas establish the fact that in a WSRPT schedule, if job j has higher remaining priority than job k at some point, and job k has higher remaining priority than job j later, then job j will never have higher remaining priority than job k again. Lemma 1. Consider two jobs a and b in a WSRPT schedule. After a and b are released, if we have w a /p a (t 1 ) > w b /p b (t 1 ) and w a /p a (t 2 ) < w b /p b (t 2 ) for some t 1 and t 2 such that t 1 < t 2, then p a (t 1 ) > p b (t 1 ) and w a > w b. Proof. We prove the above lemma by contradiction. Assume p a (t 1 ) p b (t 1 ). Let t be the earliest time such that w a /p a (t ) < w b /p b (t ). According to the definition of WSRPT, and the fact that job a had greater remaining priority than job b in the interval [t 1, t ), we have
8 We can then conclude By assumption, we also know that and It follows that p a (t 1 ) p a (t ) p b (t 1 ) p b (t ). p a (t ) p b (t ) = p a(t 1 ) (p a (t 1 ) p a (t )) p b (t 1 ) (p b (t 1 ) p b (t )) < p a(t 1 ) p b (t 1 ) w a > p a(t 1 ) w b p b (t 1 ) w a < p a(t ) w b p b (t ) p a (t ) p b (t ) > p a(t 1 ) p b (t 1 ) At this point we reach a contradiction. When we combine the fact that p a (t 1 ) > p b (t 1 ) and w a /p a (t 1 ) > w b /p b (t 1 ), we can conclude w a > w b. Lemma 2. Consider two jobs c and d in a WSRPT schedule. After c and d are released, if we have w c /p c (t 1 ) > w d /p d (t 1 ) and w c /p c (t 2 ) < w d /p d (t 2 ) for some t 1 and t 2 such that t 1 < t 2, then w c /p c (t 3 ) < w d /p d (t 3 ) is true for any t 3 > t 2. Proof. Let t be the earliest time such that w c /p c (t ) < w d /p d (t ). From Lemma 1 we know w c > w d. Combined with the fact that w c /p c (t ) < w d /p d (t ), we can conclude p c (t ) > p d (t ). Assume for contradiction that at some t 3 > t we have w c /p c (t 3 ) > w d /p d (t 3 ). Applying Lemma 1 again, we have p d (t ) > p c (t ), a contradiction. For the next lemma, we first define some notation. We define the idle time of a job as the total time that a job is not being processed between its release date and completion time. Let d j (σ) denote the idle time of job j in schedule σ. Then d j (σ) = c j (σ) r j p j. (We omit the σ when it is clear from context.) We can then rewrite the total weighted completion time for a schedule σ as cost(σ) = j w j(p j + r j ) + j w jd j. We use W (σ) to denote the total weighted idle time for a schedule σ, that is, W (σ) = j w jd j. Akin to [5], for any job j, we partition the interval between c j and r j into two non-overlapping set of subintervals I(j) and I (j), where I(j) denotes the set of subintervals in which job j is being processed and I (j) denotes the set of remaining subintervals. Note that in I (j), all machines are busy, otherwise job j would be processed. Also notice that the sum of lengths of the subintervals in I (j) is equal to d j, the idle time of job j. Let δ j (k) denote the amount of job k that is being processed in I (j). The idle time d j can then be expressed as k D(j) δ j(k)/m where D(j) is the set of jobs that are being processed in I (j). We partition set D(j) into two sets A(j) and B(j), where A(j) = {k D(j) : k < j} and B(j) = {k D(j) : k > j}. We are now ready to prove the following lemma.
9 Lemma 3. For any job j in a WSRPT schedule σ, if a job b is in set B(j), we have w b δ b (j) + w j δ j (b) w b p j Proof. Let s j and s b refer to the times that jobs j and b first start processing in σ. We consider two cases. Case 1: s j s b. Since δ j (b) > 0 by definition of B(j), then at some time in I (j), job b has higher remaining priority than job j. (For an illustration of this situation, see Figure 2.) Let t be the earliest time that job b first has remaining priority higher than j, so w b /p b (t ) > w j /p j (t ). Since, by Lemma 2, job j will never have higher remaining priority than job b after t, we can conclude δ j (b) p b (t ) and δ b (j) p j p j (t ). Thus, we have w j δ j (b) + w b δ b (j) w j p b (t ) + w b (p j p j (t )) We add nonnegative term w b p j (t ) w j p b (t )to the right hand side and obtain w j δ j (b) + w b δ b (j) w b p j Fig. 2. An example instance where job 2 originally has higher priority than job 3, but at time t = 1, the remaining priority of job 3 overtakes that of job 2. Hence δ 2(3) > 0 even though job 3 has lower initial priority than job 2. Case 2: s j > s b. In this case, since job j has higher initial priority than b, job b must be released before job j. When job j is released at time r j, we have two subcases: either job j has higher remaining priority or job b does. (Note that at this point, remaining priority of j is the same as the initial priority). If w j /p j > w b /p b (r j ), then we are back in Case 1, by simply treating time r j as time 0. (Note that the before time r j, both δ j (b) and δ b (j) remain at 0.) If w b /p b (r j ) w j /p j, we can view the remainder of job b as a job with higher initial priority than job j. Hence, by switching the roles of j and b, and again by treating time r j as time 0, we can again apply Case 1 above, which yields w b δ b (j) + w j δ j (b) w j p b (r j ).
10 By assumption, we have w b p j w j p b (r j ), concluding our proof. We are now ready to bound the total weighted idle time in the schedule. Lemma 4. Let σ be a WSRPT schedule. Then W (σ) p k w j m. Proof. We begin by observing that W (σ) = = w j w j d j = a,b J:a<b k A(j) w j δ j (k) m ( wb δ b (a) m k<j k D(j) + δ j (k) m w j + w aδ a (b) m k B(j) δ j (k) m (1) ). (2) δ For inequality (2), note that if a < b, then w a(b) a m can only appear in the second δ summation term of (1), and w b (a) b m can only appear in the first summation term of (1). Finally, applying Lemma 3, the claim follows. Theorem 4. If WSRPT is c-competitive, then c 2. Proof. In a WSRPT schedule σ, the total weighted completion time can be written: cost(σ) = w j (p j + r j + d j ) = w j d j + w j (p j + r j ) w j k<j p k m + w j (p j + r j ), where the inequality holds by Lemma 4. At this point, we can echo the WSPT proof of [5] to complete our proof as follows. On a single machine, when all jobs are released at time 0, the optimal strategy for minimizing weighted completion time is to schedule the job with the lowest initial priority first [13]. If we assume the single machine is m times faster than each of our m parallel machines, the optimal cost for this easier problem can be expressed p w km j. Since the aforementioned single-machine problem is a k<j relaxation of our problem, and any schedule for our m machines can be mapped to a single m-fast machine so that weighted completion time only improves, we have p k w j m cost(σ ). k<j
11 Clearly, we also have: w j (p j + r j ) cost(σ ). Thus, we have cost(σ) 2 cost(σ ). 5 Conclusion In this work we have provided a first analysis of the algorithm WSRPT for the problem P r j, pmtn j w jc j. We show that WSRPT is 2-competitive, and demonstrate a lower bound of on its competitive ratio. We conjecture the true competitive ratio of WSRPT for this problem is closer to the lower bound. We also provide improved general lower bounds of 21/ and on the competitive ratio of any deterministic algorithm for the problems P r j, pmtn j c j and P r j, pmtn j w jc j, respectively. We believe that 21/19 is the correct answer for the unweighted problem, as we agree with the conjecture of [11] that the algorithm SRPT is 21/19-competitive. References 1. Graham, R.L., Lawler, E.L., Lenstra, J.K., Rinnooy Kan, A.H.G.: Optimization and approximation in deterministic sequencing and scheduling theory: a survey. ADM 5 (1979) Labetoulle, J., Lawler, E.L., Lenstra, J.K., Rinnooy Kan, A.H.G.: Preemptive scheduling of uniform machines subject to release dates (1982) 3. Du, J., Leung, J., Young, G.: Minimizing mean flow time with release time constraint. Theoretical Computer Science 75 (1990) 4. A.P.A.Vestjens: On-line machine scheduling, ph.d. thesis, Eindhoven University of Technology (1997) 5. Megow, N., Schulz, A.S.: On-line scheduling to minimize average completion time revisited. In: Operations Research Letters 32: (2004) 6. Sitters, R.: Efficient algorithms for average completion time scheduling. In: Proceedings 14th Conference on Integer Programming and Combinatorial Optimization (IPCO). (2010) 7. Phillips, C.A., Stein, C., Wein, J.: Minimizing average completion time in the presence of release dates. Math. Program. 82 (1998) Bansal, N., Harchol-Balter, M.: Analysis of srpt scheduling: investigating unfairness. In: Proceedings of the 2001 ACM SIGMETRICS international conference on Measurement and modeling of computer systems. SIGMETRICS 01 (2001) Harchol-Balter, M., Schroeder, B., Bansal, N., Agrawal, M.: Size-based scheduling to improve web performance. ACM Trans. Comput. Syst. 21 (2003) Gong, M., Williamson, C.: Quantifying the properties of srpt scheduling. Modeling, Analysis, and Simulation of Computer Systems, International Symposium on 0 (2003) Chung, C., Nonner, T., Souza, A.: Srpt is 1.86-competitive for completion time scheduling. In: Proceedings of the Twenty-First Annual ACM-SIAM Symposium on Discrete Algorithms. SODA 10 (2010)
12 12. Megow, N.: Coping with incomplete information in scheduling - stochastic and online models, Technische Universitt Berlin (2006) 13. Smith, W.E.: Various optimizers for single-stage production. Naval Research Logistics Quarterly 3 (1956) 59 66
Stiffie's On Line Scheduling Algorithm
A class of on-line scheduling algorithms to minimize total completion time X. Lu R.A. Sitters L. Stougie Abstract We consider the problem of scheduling jobs on-line on a single machine and on identical
Scheduling Single Machine Scheduling. Tim Nieberg
Scheduling Single Machine Scheduling Tim Nieberg Single machine models Observation: for non-preemptive problems and regular objectives, a sequence in which the jobs are processed is sufficient to describe
List Scheduling in Order of α-points on a Single Machine
List Scheduling in Order of α-points on a Single Machine Martin Skutella Fachbereich Mathematik, Universität Dortmund, D 4422 Dortmund, Germany [email protected] http://www.mathematik.uni-dortmund.de/
Duplicating and its Applications in Batch Scheduling
Duplicating and its Applications in Batch Scheduling Yuzhong Zhang 1 Chunsong Bai 1 Shouyang Wang 2 1 College of Operations Research and Management Sciences Qufu Normal University, Shandong 276826, China
Classification - Examples
Lecture 2 Scheduling 1 Classification - Examples 1 r j C max given: n jobs with processing times p 1,...,p n and release dates r 1,...,r n jobs have to be scheduled without preemption on one machine taking
Scheduling Real-time Tasks: Algorithms and Complexity
Scheduling Real-time Tasks: Algorithms and Complexity Sanjoy Baruah The University of North Carolina at Chapel Hill Email: [email protected] Joël Goossens Université Libre de Bruxelles Email: [email protected]
Dimensioning an inbound call center using constraint programming
Dimensioning an inbound call center using constraint programming Cyril Canon 1,2, Jean-Charles Billaut 2, and Jean-Louis Bouquard 2 1 Vitalicom, 643 avenue du grain d or, 41350 Vineuil, France [email protected]
Load balancing of temporary tasks in the l p norm
Load balancing of temporary tasks in the l p norm Yossi Azar a,1, Amir Epstein a,2, Leah Epstein b,3 a School of Computer Science, Tel Aviv University, Tel Aviv, Israel. b School of Computer Science, The
Analysis of Approximation Algorithms for k-set Cover using Factor-Revealing Linear Programs
Analysis of Approximation Algorithms for k-set Cover using Factor-Revealing Linear Programs Stavros Athanassopoulos, Ioannis Caragiannis, and Christos Kaklamanis Research Academic Computer Technology Institute
Analysis of Micro-Macro Transformations of Railway Networks
Konrad-Zuse-Zentrum für Informationstechnik Berlin Takustraße 7 D-14195 Berlin-Dahlem Germany MARCO BLANCO THOMAS SCHLECHTE Analysis of Micro-Macro Transformations of Railway Networks Zuse Institute Berlin
Minimizing the Number of Machines in a Unit-Time Scheduling Problem
Minimizing the Number of Machines in a Unit-Time Scheduling Problem Svetlana A. Kravchenko 1 United Institute of Informatics Problems, Surganova St. 6, 220012 Minsk, Belarus [email protected] Frank
Distributed Load Balancing for Machines Fully Heterogeneous
Internship Report 2 nd of June - 22 th of August 2014 Distributed Load Balancing for Machines Fully Heterogeneous Nathanaël Cheriere [email protected] ENS Rennes Academic Year 2013-2014
Offline sorting buffers on Line
Offline sorting buffers on Line Rohit Khandekar 1 and Vinayaka Pandit 2 1 University of Waterloo, ON, Canada. email: [email protected] 2 IBM India Research Lab, New Delhi. email: [email protected]
6.2 Permutations continued
6.2 Permutations continued Theorem A permutation on a finite set A is either a cycle or can be expressed as a product (composition of disjoint cycles. Proof is by (strong induction on the number, r, of
Single machine parallel batch scheduling with unbounded capacity
Workshop on Combinatorics and Graph Theory 21th, April, 2006 Nankai University Single machine parallel batch scheduling with unbounded capacity Yuan Jinjiang Department of mathematics, Zhengzhou University
A Constant-Approximate Feasibility Test for Multiprocessor Real-Time Scheduling
Algorithmica manuscript No. (will be inserted by the editor) A Constant-Approximate Feasibility Test for Multiprocessor Real-Time Scheduling Vincenzo Bonifaci Alberto Marchetti-Spaccamela Sebastian Stiller
On-line machine scheduling with batch setups
On-line machine scheduling with batch setups Lele Zhang, Andrew Wirth Department of Mechanical Engineering The University of Melbourne, VIC 3010, Australia Abstract We study a class of scheduling problems
CMSC 858T: Randomized Algorithms Spring 2003 Handout 8: The Local Lemma
CMSC 858T: Randomized Algorithms Spring 2003 Handout 8: The Local Lemma Please Note: The references at the end are given for extra reading if you are interested in exploring these ideas further. You are
Topic: Greedy Approximations: Set Cover and Min Makespan Date: 1/30/06
CS880: Approximations Algorithms Scribe: Matt Elder Lecturer: Shuchi Chawla Topic: Greedy Approximations: Set Cover and Min Makespan Date: 1/30/06 3.1 Set Cover The Set Cover problem is: Given a set of
Ronald Graham: Laying the Foundations of Online Optimization
Documenta Math. 239 Ronald Graham: Laying the Foundations of Online Optimization Susanne Albers Abstract. This chapter highlights fundamental contributions made by Ron Graham in the area of online optimization.
Fairness in Routing and Load Balancing
Fairness in Routing and Load Balancing Jon Kleinberg Yuval Rabani Éva Tardos Abstract We consider the issue of network routing subject to explicit fairness conditions. The optimization of fairness criteria
Ph.D. Thesis. Judit Nagy-György. Supervisor: Péter Hajnal Associate Professor
Online algorithms for combinatorial problems Ph.D. Thesis by Judit Nagy-György Supervisor: Péter Hajnal Associate Professor Doctoral School in Mathematics and Computer Science University of Szeged Bolyai
Real-Time Scheduling (Part 1) (Working Draft) Real-Time System Example
Real-Time Scheduling (Part 1) (Working Draft) Insup Lee Department of Computer and Information Science School of Engineering and Applied Science University of Pennsylvania www.cis.upenn.edu/~lee/ CIS 41,
Introduction to Scheduling Theory
Introduction to Scheduling Theory Arnaud Legrand Laboratoire Informatique et Distribution IMAG CNRS, France [email protected] November 8, 2004 1/ 26 Outline 1 Task graphs from outer space 2 Scheduling
Class constrained bin covering
Class constrained bin covering Leah Epstein Csanád Imreh Asaf Levin Abstract We study the following variant of the bin covering problem. We are given a set of unit sized items, where each item has a color
Online Scheduling for Cloud Computing and Different Service Levels
2012 IEEE 201226th IEEE International 26th International Parallel Parallel and Distributed and Distributed Processing Processing Symposium Symposium Workshops Workshops & PhD Forum Online Scheduling for
Scheduling Shop Scheduling. Tim Nieberg
Scheduling Shop Scheduling Tim Nieberg Shop models: General Introduction Remark: Consider non preemptive problems with regular objectives Notation Shop Problems: m machines, n jobs 1,..., n operations
Single machine models: Maximum Lateness -12- Approximation ratio for EDD for problem 1 r j,d j < 0 L max. structure of a schedule Q...
Lecture 4 Scheduling 1 Single machine models: Maximum Lateness -12- Approximation ratio for EDD for problem 1 r j,d j < 0 L max structure of a schedule 0 Q 1100 11 00 11 000 111 0 0 1 1 00 11 00 11 00
THE SCHEDULING OF MAINTENANCE SERVICE
THE SCHEDULING OF MAINTENANCE SERVICE Shoshana Anily Celia A. Glass Refael Hassin Abstract We study a discrete problem of scheduling activities of several types under the constraint that at most a single
SCORE SETS IN ORIENTED GRAPHS
Applicable Analysis and Discrete Mathematics, 2 (2008), 107 113. Available electronically at http://pefmath.etf.bg.ac.yu SCORE SETS IN ORIENTED GRAPHS S. Pirzada, T. A. Naikoo The score of a vertex v in
Online Scheduling with Bounded Migration
Online Scheduling with Bounded Migration Peter Sanders, Naveen Sivadasan, and Martin Skutella Max-Planck-Institut für Informatik, Saarbrücken, Germany, {sanders,ns,skutella}@mpi-sb.mpg.de Abstract. Consider
Scheduling a sequence of tasks with general completion costs
Scheduling a sequence of tasks with general completion costs Francis Sourd CNRS-LIP6 4, place Jussieu 75252 Paris Cedex 05, France [email protected] Abstract Scheduling a sequence of tasks in the acceptation
3. Mathematical Induction
3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)
JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS. Received December May 12, 2003; revised February 5, 2004
Scientiae Mathematicae Japonicae Online, Vol. 10, (2004), 431 437 431 JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS Ondřej Čepeka and Shao Chin Sung b Received December May 12, 2003; revised February
A Hybrid Heuristic Rule for Constrained Resource Allocation in PERT Type Networks
World Applied Sciences Journal 7 (10): 1324-1330, 2009 ISSN 1818-4952 IDOSI Publications, 2009 A Hybrid Heuristic Rule for Constrained Resource Allocation in PERT Type Networks Siamak Baradaran and S.M.T.
A Note on Maximum Independent Sets in Rectangle Intersection Graphs
A Note on Maximum Independent Sets in Rectangle Intersection Graphs Timothy M. Chan School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1, Canada [email protected] September 12,
Competitive Analysis of On line Randomized Call Control in Cellular Networks
Competitive Analysis of On line Randomized Call Control in Cellular Networks Ioannis Caragiannis Christos Kaklamanis Evi Papaioannou Abstract In this paper we address an important communication issue arising
A Near-linear Time Constant Factor Algorithm for Unsplittable Flow Problem on Line with Bag Constraints
A Near-linear Time Constant Factor Algorithm for Unsplittable Flow Problem on Line with Bag Constraints Venkatesan T. Chakaravarthy, Anamitra R. Choudhury, and Yogish Sabharwal IBM Research - India, New
Math 55: Discrete Mathematics
Math 55: Discrete Mathematics UC Berkeley, Fall 2011 Homework # 5, due Wednesday, February 22 5.1.4 Let P (n) be the statement that 1 3 + 2 3 + + n 3 = (n(n + 1)/2) 2 for the positive integer n. a) What
Approximability of Two-Machine No-Wait Flowshop Scheduling with Availability Constraints
Approximability of Two-Machine No-Wait Flowshop Scheduling with Availability Constraints T.C. Edwin Cheng 1, and Zhaohui Liu 1,2 1 Department of Management, The Hong Kong Polytechnic University Kowloon,
Aperiodic Task Scheduling
Aperiodic Task Scheduling Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund, Informatik 12 Germany Springer, 2010 2014 年 11 月 19 日 These slides use Microsoft clip arts. Microsoft copyright
R u t c o r Research R e p o r t. A Method to Schedule Both Transportation and Production at the Same Time in a Special FMS.
R u t c o r Research R e p o r t A Method to Schedule Both Transportation and Production at the Same Time in a Special FMS Navid Hashemian a Béla Vizvári b RRR 3-2011, February 21, 2011 RUTCOR Rutgers
n k=1 k=0 1/k! = e. Example 6.4. The series 1/k 2 converges in R. Indeed, if s n = n then k=1 1/k, then s 2n s n = 1 n + 1 +...
6 Series We call a normed space (X, ) a Banach space provided that every Cauchy sequence (x n ) in X converges. For example, R with the norm = is an example of Banach space. Now let (x n ) be a sequence
14.1 Rent-or-buy problem
CS787: Advanced Algorithms Lecture 14: Online algorithms We now shift focus to a different kind of algorithmic problem where we need to perform some optimization without knowing the input in advance. Algorithms
SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH
31 Kragujevac J. Math. 25 (2003) 31 49. SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH Kinkar Ch. Das Department of Mathematics, Indian Institute of Technology, Kharagpur 721302, W.B.,
! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.
Approximation Algorithms 11 Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of three
Page 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.
Page 331, 38.2 Assignment #11 Solutions Factor the following positive integers into primes. a. 25 = 5 2. b. 4200 = 2 3 3 5 2 7. c. 10 10 = 2 10 5 10. d. 19 = 19. e. 1 = 1. Page 331, 38.4 Suppose a is a
Algorithm Design and Analysis
Algorithm Design and Analysis LECTURE 27 Approximation Algorithms Load Balancing Weighted Vertex Cover Reminder: Fill out SRTEs online Don t forget to click submit Sofya Raskhodnikova 12/6/2011 S. Raskhodnikova;
HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!
Math 7 Fall 205 HOMEWORK 5 SOLUTIONS Problem. 2008 B2 Let F 0 x = ln x. For n 0 and x > 0, let F n+ x = 0 F ntdt. Evaluate n!f n lim n ln n. By directly computing F n x for small n s, we obtain the following
PRIME FACTORS OF CONSECUTIVE INTEGERS
PRIME FACTORS OF CONSECUTIVE INTEGERS MARK BAUER AND MICHAEL A. BENNETT Abstract. This note contains a new algorithm for computing a function f(k) introduced by Erdős to measure the minimal gap size in
Math 115 Spring 2011 Written Homework 5 Solutions
. Evaluate each series. a) 4 7 0... 55 Math 5 Spring 0 Written Homework 5 Solutions Solution: We note that the associated sequence, 4, 7, 0,..., 55 appears to be an arithmetic sequence. If the sequence
Modeling and Performance Evaluation of Computer Systems Security Operation 1
Modeling and Performance Evaluation of Computer Systems Security Operation 1 D. Guster 2 St.Cloud State University 3 N.K. Krivulin 4 St.Petersburg State University 5 Abstract A model of computer system
The Student-Project Allocation Problem
The Student-Project Allocation Problem David J. Abraham, Robert W. Irving, and David F. Manlove Department of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK Email: {dabraham,rwi,davidm}@dcs.gla.ac.uk.
! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.
Approximation Algorithms Chapter Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of
Real Time Scheduling Basic Concepts. Radek Pelánek
Real Time Scheduling Basic Concepts Radek Pelánek Basic Elements Model of RT System abstraction focus only on timing constraints idealization (e.g., zero switching time) Basic Elements Basic Notions task
Applied Algorithm Design Lecture 5
Applied Algorithm Design Lecture 5 Pietro Michiardi Eurecom Pietro Michiardi (Eurecom) Applied Algorithm Design Lecture 5 1 / 86 Approximation Algorithms Pietro Michiardi (Eurecom) Applied Algorithm Design
Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar
Complexity Theory IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Outline Goals Computation of Problems Concepts and Definitions Complexity Classes and Problems Polynomial Time Reductions Examples
8 Divisibility and prime numbers
8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express
Hardware Task Scheduling and Placement in Operating Systems for Dynamically Reconfigurable SoC
Hardware Task Scheduling and Placement in Operating Systems for Dynamically Reconfigurable SoC Yuan-Hsiu Chen and Pao-Ann Hsiung National Chung Cheng University, Chiayi, Taiwan 621, ROC. [email protected]
Fast Sequential Summation Algorithms Using Augmented Data Structures
Fast Sequential Summation Algorithms Using Augmented Data Structures Vadim Stadnik [email protected] Abstract This paper provides an introduction to the design of augmented data structures that offer
The Goldberg Rao Algorithm for the Maximum Flow Problem
The Goldberg Rao Algorithm for the Maximum Flow Problem COS 528 class notes October 18, 2006 Scribe: Dávid Papp Main idea: use of the blocking flow paradigm to achieve essentially O(min{m 2/3, n 1/2 }
Section 4.2: The Division Algorithm and Greatest Common Divisors
Section 4.2: The Division Algorithm and Greatest Common Divisors The Division Algorithm The Division Algorithm is merely long division restated as an equation. For example, the division 29 r. 20 32 948
Nan Kong, Andrew J. Schaefer. Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA
A Factor 1 2 Approximation Algorithm for Two-Stage Stochastic Matching Problems Nan Kong, Andrew J. Schaefer Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA Abstract We introduce
Weighted Sum Coloring in Batch Scheduling of Conflicting Jobs
Weighted Sum Coloring in Batch Scheduling of Conflicting Jobs Leah Epstein Magnús M. Halldórsson Asaf Levin Hadas Shachnai Abstract Motivated by applications in batch scheduling of jobs in manufacturing
24. The Branch and Bound Method
24. The Branch and Bound Method It has serious practical consequences if it is known that a combinatorial problem is NP-complete. Then one can conclude according to the present state of science that no
Chapter 2: Binomial Methods and the Black-Scholes Formula
Chapter 2: Binomial Methods and the Black-Scholes Formula 2.1 Binomial Trees We consider a financial market consisting of a bond B t = B(t), a stock S t = S(t), and a call-option C t = C(t), where the
The Relative Worst Order Ratio for On-Line Algorithms
The Relative Worst Order Ratio for On-Line Algorithms Joan Boyar 1 and Lene M. Favrholdt 2 1 Department of Mathematics and Computer Science, University of Southern Denmark, Odense, Denmark, [email protected]
A simpler and better derandomization of an approximation algorithm for Single Source Rent-or-Buy
A simpler and better derandomization of an approximation algorithm for Single Source Rent-or-Buy David P. Williamson Anke van Zuylen School of Operations Research and Industrial Engineering, Cornell University,
Definition 11.1. Given a graph G on n vertices, we define the following quantities:
Lecture 11 The Lovász ϑ Function 11.1 Perfect graphs We begin with some background on perfect graphs. graphs. First, we define some quantities on Definition 11.1. Given a graph G on n vertices, we define
Introduction. Appendix D Mathematical Induction D1
Appendix D Mathematical Induction D D Mathematical Induction Use mathematical induction to prove a formula. Find a sum of powers of integers. Find a formula for a finite sum. Use finite differences to
Online and Offline Selling in Limit Order Markets
Online and Offline Selling in Limit Order Markets Kevin L. Chang 1 and Aaron Johnson 2 1 Yahoo Inc. [email protected] 2 Yale University [email protected] Abstract. Completely automated electronic
ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION
ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION Aldrin W. Wanambisi 1* School of Pure and Applied Science, Mount Kenya University, P.O box 553-50100, Kakamega, Kenya. Shem Aywa 2 Department of Mathematics,
Security Analysis for Order Preserving Encryption Schemes
Security Analysis for Order Preserving Encryption Schemes Liangliang Xiao University of Texas at Dallas Email: [email protected] Osbert Bastani Harvard University Email: [email protected] I-Ling
Polynomial Degree and Lower Bounds in Quantum Complexity: Collision and Element Distinctness with Small Range
THEORY OF COMPUTING, Volume 1 (2005), pp. 37 46 http://theoryofcomputing.org Polynomial Degree and Lower Bounds in Quantum Complexity: Collision and Element Distinctness with Small Range Andris Ambainis
Decentralized Utility-based Sensor Network Design
Decentralized Utility-based Sensor Network Design Narayanan Sadagopan and Bhaskar Krishnamachari University of Southern California, Los Angeles, CA 90089-0781, USA [email protected], [email protected]
