# solving a large-scale precedence constrained scheduling problem with elastic jobs using tabu search

Post on 26-Jun-2016

212 views

Embed Size (px)

TRANSCRIPT

Computers & Operations Research 34 (2007) 20252042www.elsevier.com/locate/cor

Solving a large-scale precedence constrained scheduling problemwith elastic jobs using tabu search

Christian R. Pedersena,, Rasmus V. Rasmussena,, Kim A. AndersenbaDepartment of Operations Research, University of Aarhus, Ny Munkegade, Building 530, 8000 Aarhus C, Denmark

bDepartment of Accounting, Finance and Logistics, Aarhus School of Business, Fuglesangs All 4, 8210 Aarhus V, DenmarkAvailable online 3 October 2005

Abstract

This paper presents a solution method for minimizing makespan of a practical large-scale scheduling problemwith elastic jobs. The jobs are processed on three servers and restricted by precedence constraints, time windowsand capacity limitations. We derive a new method for approximating the server exploitation of the elastic jobs andsolve the problem using a tabu search procedure. Finding an initial feasible solution is in generalNP-complete, butthe tabu search procedure includes a specialized heuristic for solving this problem. The solution method has provento be very efcient and leads to a signicant decrease in makespan compared to the strategy currently implemented. 2005 Elsevier Ltd. All rights reserved.

Keywords: Large-scale scheduling; Elastic jobs; Precedence constraints; Practical application; Tabu search

1. Introduction

This paper focuses on a specic problem provided to us by the Danish telecommunications net operator,Sonofon. By the end of each day a rather large number of jobs (End-of-Day jobs) have to be processed onthree available servers. Each job is preassigned to one of the three servers and the objective is to schedulethe jobs on the machines in order to minimize makespan. This task is complicated by the fact that a largenumber of precedence constraints among the jobs must be fullled, that time windows must be obeyed

Corresponding authors. Tel.: +45 8942 3536; fax: +45 8613 1769.E-mail addresses: roed@imf.au.dk (C.R. Pedersen), vinther@imf.au.dk (R.V. Rasmussen), kia@asb.dk (K. A. Andersen).

0305-0548/$ - see front matter 2005 Elsevier Ltd. All rights reserved.doi:10.1016/j.cor.2005.08.001

2026 C.R. Pedersen et al. / Computers & Operations Research 34 (2007) 20252042

and that capacity limitations must be respected. In addition, the jobs are elastic which means that theduration of a particular job depends on the capacity assigned to the job. Elasticity of jobs complicatesthe problem considerably and has to the best of our knowledge not yet been considered in large-scalescheduling.

The applications of scheduling problems are wide-spread, and hence a considerable amount of promis-ing research has been devoted to such problems both within the operations research literature and thecomputer science literature. Especially during the past decade algorithms merging operations researchtechniques and constraint programming (CP) have proved efcient as exact solution methods for solv-ing scheduling problems. Among a number of interesting CP contributions to small- or medium-scaledscheduling problems we mention the work by Jain and Grossmann [1], Hooker and Ottoson [2], Hooker[3] and Baptiste et al. [4,5]. For large-scale problems, meta heuristics in particular have shown promisingresults.

One classical meta heuristic that has been successfully applied to scheduling problems is tabu search,due to Glover [6] and Glover and Laguna [7]. The papers on tabu search are numerous, but let us forbrevity only mention a few which all appeared recently and consider scheduling problems. Grabowskiand Wodecki [8] consider large-scale ow shop problems with makespan criterion and develop a veryfast tabu search heuristic focusing on a lower bound for the makespan instead of the exact makespanvalue. Ferland et al. [9] consider a practical problem of scheduling internships for physician studentsand propose several variants of tabu search procedures. The last three papers all consider the problemof scheduling a number of jobs to a set of heterogeneous machines under precedence constraints, withthe objective of minimizing makespan. In Porto et al. [10] a parallel Tabu Search heuristic is developedand proved superior to a widely used greedy heuristic for the problem. In Chekuri and Bender [11]a new approximation algorithm is presented, but unfortunately, no computational results are reported.Finally, in Mansini et al. [12] jobs with up to three predecessors each are considered among groupsof jobs requiring the same set of machines. The problem is formulated as a graph-theoretical prob-lem. In the paper a number of approximation results are provided, but no computational experience isreported.

Clearly, the vast solution space and the complexity of the present problem called for a heuristic pro-cedure. Due to the high exibility of tabu search and its promising results with scheduling problems, wechose that method.

The contributions of this paper can be summarized as follows:

We present a special designed heuristic based on tabu search to solve a large-scale practical prob-lem provided to us by a large Danish telecommunications net operator, Sonofon. Today Sonofonfaces the problem that the average completion time exceeds the deadline by 41 min. This meansthat with the existing scheduling strategy new hardware needs to be purchased in order to keepsatisfying the given requirements. This paper shows that the existing hardware is, in fact, suf-cient to complete the jobs in time and indeed spare capacity is available, when a good schedule ischosen.

The algorithm is capable of handling large-scale scheduling problems with precedence constraintsamong jobs and time windows, and a new approximate method for scheduling elastic jobs isdeveloped.

A heuristic procedure for obtaining an initial feasible solution is provided. This proves to work verywell on the specic application which cannot be solved by traditional IP/CP code.

C.R. Pedersen et al. / Computers & Operations Research 34 (2007) 20252042 2027

The solution method provides a signicant improvement in makespan compared to the strategy cur-rently implemented by Sonofon, and an improvement of 25 percent to the current solution is reportedwithin 56 min of computation time. Sonofon expects to use the proposed solution method in thefuture.

The algorithm quickly nds a good solution and can be aborted at any time. Therefore as long as thejobs are known just prior to the actual scheduling process our algorithm is capable of producing agood feasible schedule.

The remaining part of the paper is organized as follows. In Section 2, we present the practical prob-lem offered by Sonofon, followed by the derivation of a hybrid IP/CP model. In Section 3, we give athorough introduction to the developed tabu search heuristic, and computational results are provided inSection 4.

2. Problem formulation

The Danish telecommunications net operator, Sonofon, faces a three-machine scheduling problem,with 346 End-of-Day jobs (EOD). Each job is dedicated to a particular server in advance and it has to beprocessed on that server without preemption.1 This means that the allocation of jobs to machines is notpart of the problem.

The scheduling time horizon runs from 7.00 p.m. to 8.00 a.m., and each job receives a time win-dow in which it should be processed. The time windows are wide, leaving numerous feasible start-ing times for each job. Since most scheduling tools applying Constraint Programming rely heavily onpropagation techniques, the wide time windows have a negative inuence on the performance of suchscheduling packages. The time windows will be explored further in Section 3.1. Since the servers imme-diately after completing the EOD-jobs are assigned to other operations, the objective will be to minimizemakespan.

Because of interrelations between jobs, a number of precedence constraints must be fullled. It mightoccur that a job need information from a database to which another job (a predecessor) has writtenearlier.

In a real-world application each job can execute with varying capacity consumption during its runtime,as illustrated by job 1 in Fig. 1(b). However, due to limitations of server exploitation, we can assumethat each job has an upper bound of capacity consumption. In Fig. 1(a) we have illustrated a situation inwhich three jobs are placed at a machine to start processing at time 0. Each of the three jobs is assumedto have a maximal capacity consumption of 15 units, and the machine has capacity 30. Since all the jobsare scheduled to start at time 0, they must share the available capacity, as shown in Fig. 1(b). Observethat in Figs. 1(a) and (b) the two corresponding boxes for a job have the same area. This would bean incorrect representation of a real-world application, since in general (duration capacity) increaseswith decreasing capacity, due to lost server efciency from swapping.2 This fact is represented by theinclusion of the shaded area in Fig. 1(c).

1 Preemption means that jobs can be interrupted during processing.2 Swapping or trashing means time being spent for reading jobs into and out of the temporary memory, not processing

any job.

2028 C.R. Pedersen et al. / Computers & Operations Research 34 (2007) 20252042

0

10

20

30

40

0 10 20 30 40

capa

city

time(a)

job1

job2

job3

0

10

20

30

40

0 10 20 30 40

capa

city

0

10

20

30

40

capa

city

time(b)

job1

job2

job3

0 10 20 30 40time(c)

job1

job2

job3

Fig. 1. (Duration capacity) increases with decreasing capacity.

0

5

10

15

20

0 10 15 20 25

capa

city

Recommended