We investigate a common due-date assignment scheduling
problem with a variable maintenance on a single machine. The goal is
to minimize the total earliness, tardiness, and due-date cost. We
derive some properties on an optimal solution for our problem. For a
special case with identical jobs we propose an optimal polynomial
time algorithm followed by a numerical example.
1. Introduction
Recently, as a competitive strategy to provide high quality service for customer demand, just-in-time (JIT) production has received considerable attention from the manufacturing enterprises [1]. In JIT production, jobs should be completed as close as possible to their due-dates. A job which is completed earlier or later than its due-date will incur penalty. Thus, both earliness and tardiness are discouraged in JIT production. Motivated by the JIT production, in the last two decades scheduling problem with due-date assignment has been extensively investigated. For the related surveys, we refer the readers to Cheng and Gupta [2], Baker and Scudder [3], and Gordon et al. [4]. For some recent related models on the due-date assignment scheduling, see Xu et al. [5], Gerstl and Mosheiov [6], Yin et al. [7], and Janiak et al. [8].
On the other hand, to prevent production disruption caused by machine breakdown, machine maintenance needs to be performed to perserve production efficiency. Since 1996, researchers begun to take maintenance into consideration in scheduling (see Lee [9], Lee and Chen [10], Kubzin and Strusevich [11], Mosheiov and Sidney [12], and Zhao and Tang [13]). For a maintenance (which is optional or mandatory), we usually use two parameters to define it. One is its starting time and the other is its duration. In some papers, the occupied period by maintenance was also called nonavailable interval. For the recent related survey, we refer the readers to Ma et al. [14].
In the papers by Kubzin and Strusevich [11] and Mosheiov and Sidney [12], they considered a more realistic case on the duration of maintenance. In their models, they assume the duration of maintenance is variable; that is, the duration of maintenance depends on its starting time in that the later maintenance is performed, the longer time is needed to perform the maintenance. Such maintenance can be called a variable maintenance or a deteriorating maintenance.
Another popular topic in recent years is that of scheduling with simultaneous considerations of due-date assignment and maintenance. Mosheiov and Oron [15] studied a single-machine scheduling problem jointly with rate-modifying activity and common due-date assignment considerations to minimize the total of earliness, tardiness, and due-date costs. X. Y. Wang and M. Z. Wang [16] addressed a single-machine slack due-date scheduling with a rate-modifying activity for minimizing the objective function which contains the total earliness, tardiness, and the common slack time costs. Yang et al. [17] investigated single-machine common due-date assignment and scheduling problems with an aging effect under a deteriorating maintenance consideration simultaneously. Yin et al. [18] considered a common due-date assignment and scheduling problem with a rate-modifying activity to minimize the due-date, earliness, tardiness, holding, and batch delivery cost.
In this paper we introduce a new scheduling model which combines the due-date assignment and the machine maintenance. We assume that the duration of maintenance is variable and the maintenance must be started prior to a given deadline.
As a practical example for the proposed model, we may consider the steel-making process in the steel plant [19]. In the steel-making process, a charge, that is, a concurrent smelting in the same converter, is regarded as a “job.” A refining furnace is used to refine the charges. Naturally, the refining furnace is regarded as “the machine.” In the refining process, there will be some garbage. Before a given deadline, we must clear the garbage to maintain the production efficiency and thus the clearing operation can be regarded a maintenance.
In the second section we provide the notation and formulation on our model. The third section derives some important properties on an optimal solution. In Section 4, we propose an optimal polynomial time algorithm for a special case with identical jobs, followed by a numerical example. Concluding remarks are discussed in the last section.
2. Problem Statement
Our problem can be described as follows. There are n independent jobs J1,J2,…,Jn to be nonpreemptively processed on a single machine, all of which are available at time zero. A mandatory maintenance must be started before a given deadline on the machine and the duration of maintenance depends on its starting time; that is, the duration is a nonnegative and nondecreasing function of the starting time. Let pj and dj denote the processing time and the due-date of job Jj, j=1,2,…,n, respectively. For a given schedule, we use Cj to denote the completion time of job Jj, j=1,2,…,n. We define the earliness and tardiness of job Jj as Ej=max{dj-Cj,0} and Tj=max{Cj-dj,0}, j=1,2,…,n, respectively. The unit earliness and tardiness penalties are denoted by α (>0) and β (>0), respectively. In the case of a common due-date (i.e., dj=d, which is a decision variable), we denote the penalty per unit time of delaying the due-date by γ (>0). Furthermore, we denote the given deadline of maintenance with sg and the duration of maintenance with l. Then according to our previous assumption, we can denote l=f(s), where s (≤sg) is the starting time of maintenance and f is a nonnegative and nondecreasing function. The goal is to find an optimal sequence of all the jobs, the common due-date, and the staring time of maintenance such that the objective ∑j=1n(αEj+βTj)+γd is minimized. Following the three-field notation proposed by Graham et al. [20], we denote our problem as 1,VM∥∑j=1n(αEj+βTj)+γd, where VM in the first field stands for a variable maintenance.
3. The Properties on an Optimal Solution
The classical due-date assignment scheduling problem (without maintenance) was introduced by Panwalkar et al. [21]. In their model, in addition to the traditional job sequencing decisions, the common due-date is a decision variable. Both earliness and tardiness incur penalty cost. The goal is to find an optimal sequence of the jobs and the due-date that minimizes the total earliness, tardiness, and due-date cost. By using the small perturbations technique, Panwalkar et al. [21] proposed a polynomial time algorithm.
In order to solve our problem, we first derive some properties on an optimal solution. We also use the small perturbations technique.
Lemma 1.
There exists an optimal solution in which the schedule starts at time zero and contains no idle time among the jobs, and the maintenance is scheduled between the two consecutive jobs without idle time.
Proof.
First we show that there is no idle time between the jobs.
Assume that there exists idle time between the jobs Ji and Jj, as shown in Figure 1, where Ci denotes the completion time of job Ji and Sj denotes the starting time of job Jj. Clearly we have Ci<Sj. If d<Ci, we move job Jj by (Sj-Ci) units of time to the left without increasing the objective value. If d>Sj, we may move job Ji by (Sj-Ci) units of time to the right without increasing the objective value. If Ci≤d≤Sj, we may move job Ji to the right and job Jj to the left such that job Ji just finishes at time d and job Jj starts at time d without increasing the objective value. In the end, by clearing the idle time between the jobs we always obtain a better solution.
Next, we show that the maintenance is scheduled between the two consecutive jobs without idle time.
Assume that there exists idle time between the job Ji and the maintenance, as shown in Figure 2, where Ji is scheduled before the maintenance and s denotes the starting time of the maintenance. Clearly, we have Ci<s. If d<Ci, we move the maintenance by (s-Ci) units of time to the left without increasing the objective value. If d>s, we may move job Ji by (s-Ci) units of time to the right without increasing the objective value. If Ci≤d≤s, we may move job Ji to the right and the maintenance to the left such that job Ji finishes at time d and the maintenance starts at time d without increasing the objective value.
Assume that there exists idle time between the maintenance and the job Jj, also shown in Figure 3, where Jj is scheduled after the maintenance and t denotes the finishing time of the maintenance.
Clearly, we know t<Sj. If d<t, we move job Jj by (Sj-t) units of time to the left without increasing the objective value. If d>Sj, we may delay the starting time of maintenance such that the maintenance finishes at time Sj. If t≤d≤Sj, we may delay the starting time of maintenance and move job Jj to the left such that the maintenance finishes at time d and job Jj starts at time d.
By the above analysis, we can treat all the jobs and the maintenance as a consecutive whole without idle time.
Finally, we show that the schedule starts at time zero. Assume that there exists a solution which does not start at time zero. Then we move the whole to the left by some times to assure that the new schedule starts at time zero and reset a smaller common due-date than the original due-date to obtain a new solution, which does not increase the objective value.
With the above argument, we conclude Lemma 1 holds.
Idle time between jobs Ji and Jj.
Idle time between job Ji and the maintenance VM.
Idle time between the maintenance VM and job Jj.
Lemma 2.
The optimal common due-date is the completion time of the job in position m, where m=⌈(nβ-γ)/(α+β)⌉.
Proof.
First we show that in an optimal solution the common due-date d is the completion time of some job. We distinguish two cases.
Case 1. Consider a solution with Ci<d<Ci+1, where i denotes the job scheduled in the ith location. Let Z be the corresponding objective value. Define x=d-Ci and y=Ci+1-d. Let Z1 and Z2 be the objective value for d=Ci and d=Ci+1. Then
(1)Z1=Z+β(n-i)x-αxi-γx=Z+x(β(n-i)-αi-γ),Z2=Z-β(n-i)y+αiy+γy=Z-y(β(n-i)-αi-γ).
Thus, we have Z1≤Z if β(n-i)-αi-γ≤0 and Z2≤Z otherwise. This implies that an optimal solution exists in which d is equal to the completion time of some job.
Case 2. Consider a solution with s≤d≤s+f(s), where s denotes the starting time of maintenance and f(s) denotes the duration of maintenance. Similar to Case 1, using the small perturbations technique we can show that the objective value can reduce by resetting d=s or d=s+f(s). Since the case d=s is shown in Case 1, thus we only need to consider the case d=s+f(s). Let Z be the corresponding objective value with d=s+f(s) and Z1 and Z2 the corresponding objective values for d=Ci and d=Ci+1, where the maintenance is scheduled between the job Ji and the job Ji+1; that is, s=Ci and s+f(s)=Ci+1-pi+1, as shown in Figure 4.
Then
(2)Z1=Z+f(s)(β(n-i)-αi-γ),Z2=Z-pi+1(β(n-i)-αi-γ).
Thus, we have Z1≤Z if β(n-i)-αi-γ≤0 and Z2≤Z otherwise.
With the above discussion, we conclude that in an optimal solution the optimal common due-date d is the completion time of some job.
Now, we assume that the common due-date d is the completion time of job in the mth location; that is, d=Cm. To prove that m=⌈(βn-γ)/(α+β)⌉, let Z be the objective value of optimal solution. Applying Z1 and Z2 to the situation that x=d-Cm-1 and y=Cm+1-d, respectively, we conclude that
(3)β(n-m+1)-α(m-1)-γ≥0,β(n-m)-αm-γ≤0.
Thus, we have m=⌈(nβ-γ)/(α+β)⌉.
The case s≤d≤s+f(s).
Lemma 3.
In an optimal solution, the maintenance is scheduled either at time 0, or after the common due-date.
Proof.
Suppose that there exists a solution in which the maintenance starts at time s, where s>0 and is scheduled before the common due-date d. Then the maintenance occupies the time interval[s,s+f(s)] with s≤sg and s+f(s)≤d. Furthermore, we assume that the job Ji is just prior to the maintenance and the completion time of job Jm is equal to the due-date, as shown in Figure 5.
Now we construct a new solution as follows. Starting the maintenance at time zero and scheduling all the jobs according to their original order just after the maintenance. Setting the common due-date to the new completion time of job Jm. As shown in Figure 6, then we have the following.
The duration of the maintenance decreases as it starts earlier.
The earliness of jobs Ji and its predecessors are reduced.
The common due-date d is reduced.
The above (i), (ii), and (iii) imply that the total earliness cost of job Ji and its predecessors and the due-date cost are reduced, and the earliness and tardiness cost of other jobs remain unchanged. Thus, we conclude that the maintenance should be scheduled either at time 0, or after the due-date.
The maintenance starts at time s (>0).
The maintenance starts at time 0.
4. A Special Case 1,VM|pj=p|∑j(αEj+βTj)+γd
In this section we consider a special case for our problem. We assume all the jobs are identical; that is, pj=p. Next, we propose a polynomial time algorithm for this special case based on the previous properties on an optimal solution.
Recall that the due-date is the completion time of job in the mth location, where m=⌈(βn-γ)/(α+β)⌉. Because the jobs are identical jobs, by Lemma 3 we claim that the maintenance must be started at time 0 if d=mp>sg and the maintenance is started after the due-date otherwise. Then there are at most n-m+1 choices for the starting time of the maintenance.
With the above analysis, we propose our algorithm as follows.
Algorithm H.
Step 1.
If d=mp>sg, where m=⌈(βn-γ)/(α+β)⌉, construct schedule π=(VM,J1,J2,…,Jn). Output it as our solution by setting the due-date as the completion time of job Jm and stop. Otherwise go to Step 2.
Step 2.
Compute k such that pk≤sg≤p(k+1). Construct a series of schedules π0=(VM,J1,J2,…,Jn), πi=(J1,J2,…,Ji,VM,Ji+1,…,Jn), i=m,m+1,…,k.
Step 3.
Output the schedule with the minimal objective value from all the constructed schedules π0, πi, i=m,m+1,…,k, and denote it as π, where Z(π)=Mini=0,m,m+1,…,kZ(πi).
From the properties on an optimal solution as shown in Lemmas 1, 2, and 3, we conclude that Algorithm H is correct since all the possible cases are tried and we select the best one. For a given schedule, the computation of objective value requires O(n) time. There are at most n+1 schedules to be considered; thus the total running time is O(n2). Finally we obtain the following.
Theorem 4.
The 1,VM|pj=p|∑j(αEj+βTj)+γd problem can be solved in O(n2)time.
A Numerical Example. To illustrate Algorithm H, a solution of an instance of 10 jobs is demonstrated in the following.
The job processing times are identical with pj=3, j=1,2,…,10. The deadline of maintenance sg is equal to 25 and the duration of maintenance l is equal to 2+s/3, where s (≤sg), as a decision variable, is the starting time of maintenance. The penalty parameters are as follows: α=2, β=3, and γ=4.
Applying Algorithm H, we first compute the parameters as follows: m=⌈(βn-γ)/(α+β)⌉=⌈(3×10-4)/(2+3)⌉=6, d=mp=6×3=18, and k=8 with 3×k≤sg≤3×(k+1). Because 16<25, that is, d<sg, we construct a series of schedules as follows:
(4)π0=(VM,J1,J2,…,J10),π6=(J1,J2,…,J6,VM,J7,J8,…,J10),π7=(J1,J2,…,J6,J7,VM,J8,…,J10),π8=(J1,J2,…,J6,J7,J8,VM,J9,J10).
Their corresponding objective values are Z(π0)=260, Z(π6)=348, Z(π7)=324, and Z(π8)=300.
When comparing the costs in π0, π6, π7, and π8, we conclude that the global optimum is obtained in π0, the maintenance starts at time zero, the common due-date d is equal to 20, six jobs are early, and four jobs are tardy. The total cost is Z(π0)=260.
5. Concluding Remarks
In this paper we consider the common due-date assignment scheduling problem with a variable maintenance on a single machine. The goal is to minimize the total earliness, tardiness, and due-date cost. We derive some properties on an optimal solution for our problem. For a special case with identical jobs we propose an optimal polynomial time algorithm running in O(n2) time.
For the general case with nonuniform processing times of jobs, whether problem is NP-hard or not is open and deserves the further research.
Conflict of Interests
The author declares that there is no conflict of interests regarding the publication of this paper.
Acknowlegments
The author is grateful to the editor and two anonymous referees for their helpful comments and suggestions.
ChengT. C. E.PodolskyS.1996London, UKChapman & HallChengT. C. E.GuptaM. C.Survey of scheduling research involving due date determination decisions198938215616610.1016/0377-2217(89)90100-8MR983950ZBL0658.900492-s2.0-0024303531BakerK. R.ScudderG. D.Sequencing with earliness and tardiness penalties: a review1990381223510.1287/opre.38.1.22MR10412302-s2.0-0025211593GordonV. S.ProthJ. M.ChuC.A survey of the state-of-the-art of common due date assignment and scheduling research2002139112510.1016/S0377-2217(01)00181-3MR18882592-s2.0-0037118177XuD.LiC.-L.HanQ.A note on parallel-machine due-window assignment201263682182510.1057/jors.2011.752-s2.0-84860787412GerstlE.MosheiovG.Minmax due-date assignment with a time window for acceptable lead-times201321116717710.1007/s10479-013-1458-5MR3151431ZBL1286.90081YinY.ChengT. C. E.HsuC.WuC.Single-machine batch delivery scheduling with an assignable common due window201341221622510.1016/j.omega.2012.06.0022-s2.0-84867017496JaniakA.JaniakW.KovalyovM. Y.KozanE.PeschE.Parallel machine scheduling and common due window assignment with job independent earliness and tardiness costs201322410911710.1016/j.ins.2012.10.024MR30062312-s2.0-84870977094LeeC.Machine scheduling with an availability constraint199693-439541610.1007/BF00121681MR14218362-s2.0-0000541519LeeC.-Y.ChenZ.-L.Scheduling jobs and maintenance activities on parallel machines2000472145165MR1739551KubzinM. A.StrusevichV. A.Planning machine maintenance in two-machine shop scheduling200654478980010.1287/opre.1060.0301ZBL1167.906692-s2.0-33749503018MosheiovG.SidneyJ. B.Scheduling a deteriorating maintenance activity on a single machine201061588288710.1057/jors.2009.5ZBL1193.901062-s2.0-77950556108ZhaoC.TangH.Single machine scheduling with general job-dependent aging effect and maintenance activities to minimize makespan201034383784110.1016/j.apm.2009.07.002MR2563361ZBL1185.901062-s2.0-70350367239MaY.ChuC. B.ZuoC. R.A survey of scheduling with deterministic machine availability constraints201058219921110.1016/j.cie.2009.04.0142-s2.0-76349087153MosheiovG.OronD.Due-date assignment and maintenance activity scheduling problem20064411-121053105710.1016/j.mcm.2006.03.008MR2256947ZBL1161.903972-s2.0-33746924022WangX. Y.WangM. Z.Single machine common flow allowance scheduling with a rate-modifying activity201059489890210.1016/j.cie.2010.08.0202-s2.0-78049402527YangS. J.HsuC. J.YangD. L.Single-machine scheduling with due-date assignment and aging effect under a deteriorating maintenance activity consideration2010212177195MR26634632-s2.0-77954255414YinY. Q.ChengT. C. E.XuD. H.WuC. C.Common due date assignment and scheduling with a rate-modifying activity to minimize the due date, earliness, tardiness, holding, and batch delivery cost201263122323410.1016/j.cie.2012.02.0152-s2.0-84858991366TangL.LuhP. B.LiuJ.FangL.Steel-making process scheduling using Lagrangian relaxation2002401557010.1080/00207540110073000ZBL1175.901502-s2.0-0037050386GrahamR. L.LawlerE. L.LenstraJ. K.Rinnooy KanA. H. G.Optimization and approximation in deterministic sequencing and scheduling: a survey1979528732610.1016/S0167-5060(08)70356-XMR558574ZBL0411.900442-s2.0-74849101820PanwalkarS. S.SmithM. L.SeidmannA.Common due-date assignment to minimize total penalty for the one machine scheduling problem198230391399