Abstract

The single machine scheduling problem with multi-rate-modifying activities under a time-dependent deterioration to minimize makespan is studied. After examining the characteristics of the problem, a number of properties and a lower bound are proposed. A branch and bound algorithm and a heuristic algorithm are used in the solution, and two special cases are also examined. The computational experiments show that, for the situation with a rate-modifying activity, the proposed branch and bound algorithm can solve situations with 50 jobs within a reasonable time, and the heuristic algorithm can obtain the near-optimal solution with an error percentage less than 0.053 in a very short time. In situations with multi-rate-modifying activities, the proposed branch and bound algorithm can solve the case with 15 jobs within a reasonable time, and the heuristic algorithm can obtain the near-optimal with an error percentage less than 0.070 in a very short time. The branch and bound algorithm and the heuristic algorithm are both shown to be efficient and effective.

1. Introduction

In the classical deterministic scheduling problems, job processing times are supposed to be constant; however, it is not the case for all industrial processes, for example, in cleaning assignments, fire fighting, steel production, and so on. A job that is processed later takes more time than when it is processed earlier, and the phenomenon is known as scheduling with deterioration jobs [1].

J. N. D. Gupta and S. K. Gupta [1] and Browne and Yechiali [2] first proposed the job deterioration scheduling problem, and since then, it has been extensively studied. For instance, Wang et al. present a single machine scheduling problem with deteriorating jobs, where the jobs are subject to several constraints. They proved that minimizing the makespan and the total weighted completion time can be determined in polynomial time [3]. Cheng and Sun considered the problem with a linear deteriorating function [4] and showed that several related problems are NP-hard and used dynamic programming for solution [4]. Yan et al. studied a single machine scheduling problem with the effects of deteriorating and learning based on group consumption, in which the actual processing time of a job is a function of the starting time and position in the group [5]. Wang and Cheng addressed the machine scheduling problem with deterioration and learning effects simultaneously and gave polynomial solutions for single machine problems [6]. Ng et al. also studied the problem of scheduling deteriorating jobs with release dates on a single machine [7]. These studies all focused on linear deteriorating jobs. A few papers refer to nonlinear deterioration jobs. Kuo and Yang introduced a single machine with a time-dependent learning effect based on the notion that the more the one practices, the better the one learns [8]. In this regard, jobs processed later need less time than that for normal processing due to the learning effect. They defined a time-dependent learning effect as follows. Let be the actual processing time of if it is scheduled in position in a sequence. is the normal processing time of a job if scheduled in the th position of a sequence. is the normal (sequence-independent) processing time of job . Namely, where and is a constant learning index. According to the time-dependent learning effect introduced by Kuo and Yang [8], Wang et al. considered the single machine scheduling problem with a time-dependent deterioration [9]. They defined the actual processing times as follows: where is a constant deterioration index. They showed that a single machine problem can be solved polynomially under the proposed model. Bank et al. addressed two machine scheduling problems with deterioration effects in which the actual job processing time was a function of its starting time [10]. Sun et al. considered flow shop scheduling problems with deteriorating jobs in which the actual job processing time was defined as a function of its start time [11].

On the other hand, if the machine is stopped for maintenance, it can change from a subnormal production state to a normal one [12, 13]. Therefore, a scheduling model in a realistic environment should consider machine maintenance [12]. For example, in electronic assembly lines, Lee and Leon first considered the single machine scheduling problem with a rate-modifying activity (RMA) [13]. They solved problems with a number of objective functions by polynomial and pseudopolynomial algorithms. Later, Lodree et al. introduced human characteristics into scheduling models [14]. Motivated by the rate-modifying activity, Lodree and Christopher integrated a rate-modifying activity into machine environments [15] and assumed that the processing time of each job is 1 and followed a variation of simple linear deterioration.

The concept of deterioration effects and maintenance activities has been mentioned in a few publications in the literature. However, there are no research results on scheduling models with time-dependent deterioration jobs in which the normal processing job times are arbitrary and multi-RMAs. Hence, the main contribution of this paper was two aspects: one is for jobs with arbitrary normal processing time and nonlinear deterioration, and the other is for multi-RMAs.

The remaining sections of this paper are organized as follows. In Section 2, the problem is formulated. In Section 3, the branch and bound and the heuristic algorithm are proposed for solving single machine makespan minimization problem with an RMA, under nonlinear time-dependent deterioration, and a special case of this problem is given. In Section 4, similar ideas are used to solve the problem of single machine makespan minimization with multi-RMAs under a nonlinear time-dependent deterioration, and a special case is also given. The numerical experiments are described in Section 5, followed by the conclusions in the last section.

2. Problem Formulation and Notation

This paper studies the single machine scheduling problem with an RMA or multi-RMAs under a time-dependent deterioration to minimize the makespan. More formally, this problem can be described as follows.

Assume that there are independent jobs to be processed nonpreemptively on a single machine which is available at time 0. The release times of all jobs are 0. The normal processing time of each job is . If it is scheduled in position in a given sequence, then the normal processing time can be denoted as . The deterioration rate is a constant. The actual processing time of job is if it is scheduled in position in a given sequence. is a function of the normal processing times of all jobs before it; that is, . To decrease the deterioration effect, an RMA with duration (i.e., maintenance time) needs to be considered and inserted in a certain position in a sequence; namely, the RMA is assigned before the th job (such as in Figure 1), where denotes the number of RMAs inserted in the sequence. After the RMA, the machine can be fully restored [14], and the actual processing time of the first job after it is the normal processing time of the job. When multi-RMAs are inserted in a sequence, the actual processing time of a job can be denoted as follows:

The objective is to jointly find the number of RMAs and positions of each RMA and an optimal schedule to minimize the makespan . Specifically, when , the objective is to jointly find a position for inserting an RMA and the optimal schedule to minimize the makespan .

In this study, we consider the problem of minimizing the makespan with an RMA or multi-RMAs on a single machine under a time-dependent deterioration. We denote them as and , respectively, by using the three-field notation scheme introduced by Graham et al. [16], where represents inserting an RMA and denotes multi-RMAs for modifying the processing rate of the machine.

3. The Problem of

Here, the single machine problem with assigning an RMA in a sequence under a time-dependent deterioration is considered. Firstly, several preliminaries are proposed in Section 3.1, followed by the branch and bound algorithm and heuristic algorithm in Sections 3.2 and 3.3, respectively. Finally, a special case is described.

3.1. Preliminaries

In this subsection, several properties and a lower bound are proposed for solving the problem of .

For convenience, assume that is a full schedule, in which and are partial sequences, and set and . Based on these values, the following properties and lemmas are proposed.

Property 1. It is never optimal to schedule an RMA in the first sequence position (similar to Lodree et al. [14]).

Property 2. If an RMA is assigned in a given position and the elements in and are known, then there is an optimal schedule obtained by sequencing jobs in a nondecreasing order of in and , respectively.

Proof. If an RMA is assigned in a given position , the elements in and are known, and the release times of all jobs are 0. Hence, minimizing makespan of the schedule is equal to minimizing the makespan of and , respectively.
Firstly, we prove how to order jobs in so as to minimize the makespan of . Assume that with job in the th position and job in the th position. The completion time of the last job in is , and the sum of the normal processing times of jobs in is , and . Also is obtained from exchanging the position and in .
According to the above statement, the completion time of job in is as follows:
The completion time of job in is:
Set , , and , then
Since , the two sides of (6) are divided by , then
Set , and the first derivative of is
Since and , clearly ; that is, is a decreasing function for , then .
Equation (7) can be expressed as
If the two sides of (9) are multiplied by , then That is, , so there is an optimal schedule obtained by sequencing jobs in nondecreasing order of in .
Similarly, we also can prove that there is an optimal schedule obtained by sequencing jobs in nondecreasing order of in .
Therefore, if an RMA is assigned in a given position , and the elements in and are known, there is an optimal schedule obtained by sequencing jobs in nondecreasing order of in and , respectively.

Property 3. For a given schedule , and a new schedule is obtained by changing with , .

Proof. Since the job processing times after an RMA are not dependent on that of jobs before the RMA and the makespan is equal to the sum of the completion time of the last job in and that of the last job in , therefore the makespan has nothing to do with the order of and .

According to the above properties, the following two lemmas can be obtained.

Lemma 1. If an RMA is scheduled in the second position (the last position) in a full schedule and the normal processing time of the first job (the last job) in () is not equal to , then there is an optimal solution with which the normal processing time of the last job in () is .

Lemma 2. If an RMA is scheduled in the second position (the last position) in a full schedule and the normal processing time of the first job (the last job) in () is not equal to , then there is an optimal solution with which the normal processing time of the first job in () is .

The two lemmas can be easily determined from the above two properties; hence, their proofs are not included in the paper.

In the following, the lower bound is presented according to the completion time.

For the schedule , when , the completion time of the th job is

According to a similar deduction, when , the completion time of the th job is When , the completion time of the th job is .

When , the completion time of the th job is .

Similarly, when , the completion time of the th job is . That is, the makespan of schedule is Therefore, the lower bound is

3.2. The Branch and Bound Algorithm

The branch and bound algorithm mainly uses a backtracking method, which incorporates a system with jumping characteristics. The former adapts the depth first search strategy to start from a root node to the whole solution space. When the algorithm searches any node in the solution space tree, it needs to judge whether the subtree of the node as a root contains solutions of the problem or not. If not, it will jump over all the subtrees of the node as a root and then backtrack to its father node step by step. Otherwise, it continues to search for its subtrees. If a whole sequence is obtained and its objective value is less than the current one, then it will replace the current one. These reflect the method using jumping characteristics. Moreover, since the backtracking method only records a current sequence and its lower bound, it makes the storage space become small, to a great extent. In this paper, the depth first search and the lower bound are adopted in the branch and bound procedure, respectively. Dominance properties and the lower bound are used for eliminating a node which does not satisfy the solutions of the problem. The primary procedure of the branch and bound algorithm is described as follows.

Step 1 (the position of the RMA). Set the initial position of the RMA .

Step 2 (initial solution). Obtain an initial solution according to the short processing time rule.

Step 3 (branching). Search the whole solution space tree according to the depth first search strategy.

Step 4 (eliminating). Apply the properties and lemmas in Section 3.1 to eliminate the dominant partial sequences.

Step 5 (calculating). Calculate the lower bound for the partial sequences. If it is less than the current optimal solution, continue to search in its branches. When a whole sequence is obtained, replace the current optimal sequence with it. Otherwise, eliminate it, and go to Step 6.

Step 6 (backtracking). Backtrack to the father node of the current node and continue to search for other branches.

Step 7 (stopping). Repeat Steps 3 to 5 until no more nodes can be searched, then set , and go to Step 3.

Obtain the makespan of an optimal solution from the above steps. Then, in the case without scheduling an RMA, compute the makespan of a sequence by ordering the normal job processing time using the short processing time (SPT) rule, compare with , and select the smallest value between of them.

3.3. A Heuristic Algorithm

Since the branch and bound algorithm takes a long time for a large size and cannot be accepted, a heuristic algorithm is proposed for obtaining the near-optimal solution to a problem. To understand easily, firstly, we give a heuristic algorithm for the problem .

Based on the above Property 2 and Lemma 1, a heuristic algorithm is proposed. The main idea is to order the normal job processing time according to the SPT rule. Then, for each job with a current maximum normal processing time in set , we try to determine where it is scheduled, in or . The details of the heuristic algorithm are as follows. Assume that and and are empty.

Step 1. Obtain a sequence by ordering the normal processing time of jobs using the SPT rule.

Step 2. Select the job with the largest normal processing time added to and eliminate from set .

Step 3. Select the job with the largest normal processing time adding to and eliminate from the set .

Step 4. Select the job with the largest normal processing time inserted before all jobs in , eliminate from the set , and calculate the makespan . Then, eliminate from , insert it before all jobs in , and calculate the makespan .

Step 5. Compare and , and if , eliminate from and insert it before all jobs in . Otherwise, go to Step 6.

Step 6. Repeat Steps 4 to 5 until . At this time, the algorithm stops.

Obtain the makespan of an optimal solution from the above steps. Then, in the case without scheduling an RMA, compute the makespan of a sequence by ordering the normal job processing time using the short processing time (SPT) rule, compare with , and select the smallest one of them.

It is easy to see the normal job processing time ordered by the SPT rule in Step 1. The job with the largest normal processing time is assigned in in Step 2. The job with the second largest normal processing time is assigned in in Step 3. In Steps 4 and 5, the job with the current largest normal processing time in set is assigned in or according to Property 2 and Lemma 1. The stopping condition of the algorithm is given in Step 6.

In order to better understand the details of the heuristic algorithm, an example is given.

Example 3. Consider that , , , , , and . The deterioration rate is , and the duration of the RMA is .

For solving, we have the following. (1)According to the SPT rule, obtain a sequence , , and . Go to Step 2.(2)Job with the largest normal processing time , add it to and eliminate it from the set , then , and . Go to Step 3.(3)Job with the largest normal processing time ; add it to and eliminate it from the set ; then , , and . Go to Step 4.(4)Job with the largest normal processing time . Firstly, insert job before all jobs in ; then , , and . Calculate the makespan . Secondly, eliminate job from , insert job 3 before all jobs in , then , and . Calculate the makespan . Go to Step 5.(5)Since , then , , and . Go to Step 6.(6)Since , go to Step 4.(7)Job with the largest normal processing time . Firstly, insert job before all jobs in , then , , and . Calculate the makespan . Secondly, eliminate the job from , insert job before all jobs in , then , , and . Calculate the makespan . Go to Step 5.(8)Since , eliminate job from , and insert it before all jobs in again; then , , and . Go to Step 6.(9)Since , go to Step 4.(10)Job is the only one in . Firstly, insert job before all jobs in , then , , and . Calculate the makespan . Secondly, eliminate job from , insert job before all jobs in , then , , and . Calculate the makespan . Go to Step 5.(11)Since , eliminate job from , and insert it before all jobs in again, then , and . Go to Step 6.(12)Since , the algorithm stops, . Compute the makespan of a sequence by ordering the normal job processing time using the short processing time (SPT) rule in the case without scheduling an RMA. Clearly, an optimal schedule is obtained from the heuristic algorithm.

3.4. The Special Case

This subsection considers the special case , where the normal processing time for all jobs is .

In a given sequence, while an RMA is inserted in position , the makespan can be expressed as follows:

Clearly, the makespan is related to the sequence position . The problem can be solved by determining the value to minimize (15). To determine the value , we propose the following properties.

Property 4. (a) For an odd and , it has ; and if , then ; if , then .
(b) For an even and , if , then ; if , then .

Proof. (a) When the RMA is scheduled in the sequence position and , the makespan can be expressed as follows: That is, .
If and , we have , .
If and , we have , .
The proof for (b) is analogous.

Theorem 4. The optimal policy for scheduling an RMA of length under a time-dependent deterioration with for all jobs is as follows. If is an odd integer and , assign the RMA to sequence position or . If is an even integer and , assign the RMA to sequence position . Otherwise, do not schedule the RMA.

Proof. (For an odd ). Based on Property 4, we have Since , (17) imply that the minimum makespan occurs when or .
Let represent the makespan without scheduling an RMA. Thus the RMA is scheduled only if ; that is, Since , then .
Again, an analogous proof holds if is an even integer. This concludes the proof.

4. The Problem of

In this section, the single machine problem assigning multi-RMAs in a sequence under time-dependent deterioration is considered. Firstly, several preliminaries are proposed in Section 4.1, followed by the branch and bound algorithm and a heuristic algorithm in Sections 4.2 and 4.3, respectively. Finally, a special case is shown.

4.1. Preliminaries

In this subsection, several properties and a lower bound are proposed for solving the problem of .

Property 5. If RMAs are assigned in given positions, jobs are divided into groups, and the elements in each group are known, then there is an optimal schedule that can be obtained by sequencing jobs in nondecreasing order of in each group.

The proof of Property 5 is similar to that of Property 2.

Property 6. For a given schedule , the makespan remains equivalent by arbitrarily exchanging two groups.

The proof of Property 6 is similar to Property 3.

4.2. The Branch and Bound Algorithm

In solving the problem , the branch and bound algorithm needs to add an outside cycle and change properties. The primary procedure is described as follows.

Step 1. Set the number of RMAs .

Step 2 (the position of the RMA). Set the initial position of the RMA for .

Step 3 (initial solution). Obtain the initial solution according to the short processing time rule.

Step 4 (branching). Search the whole solution space tree according to the depth first search strategy.

Step 5 (eliminating). Apply properties in Section 4.1 to eliminate the dominant partial sequences.

Step 6 (calculating). Calculate the lower bound for the partial sequences. If it is less than the current optimal solution, continue to search in its branch. When a whole sequence is obtained, replace the current optimal sequence with it. Otherwise, eliminate it, and go to Step 7.

Step 7 (backtracking). Backtrack to the father node of the current node and continue to search other branches.

Step 8 (stopping). Repeat Steps 4 to 6 until no more nodes can be searched, and then set , and go to Step 4. Repeat the above steps until , then set , and go to Step 4. Repeat the above steps until . At this time, the algorithm stops.

Similarly, obtain the makespan of an optimal solution from the above steps. Then, in the case without scheduling an RMA, compute the makespan of a sequence by ordering the normal job processing time using the short processing time (SPT) rule, and compare with , selecting the smallest one of them.

4.3. A Heuristic Algorithm

For the problem , the above heuristic algorithm is still efficient. It only needs to add cycles, then assign jobs to groups according to the heuristic algorithm.

4.4. The Special Case

This subsection considers the special case , where the normal processing time for all jobs is , and denotes the multi-rate-modifying activities inserted in the sequence.

Property 7. If the number of multi-rate-modifying activities is given, and jobs are divided into groups, then there exists an optimal schedule in which each group includes or jobs.

Proof. Assume that one of the groups includes the number of jobs greater than , then jobs are moved in other groups to decrease the makespan until each group includes or jobs.

Property 8. The time complexity for the problem is .

Proof. For finding the optimal schedule with the determinate number , we need to check the value of from to , and calculate the makespan corresponding with each . Then, we compare them and select the value of corresponding to the minimal makespan. Moreover, the time complexity in calculating the makespan is . Hence, the time complexity of the problem is .

5. Numerical Experiments

In this section, the numerical experiment designs are as follows. The normal processing times of all jobs are generated from a uniform distribution over the integers between 1 and 100. The deterioration rate takes the values of 0.05, 0.07, and 0.09. For the single machine scheduling problem with a rate-modifying activity, the size of job takes the values of 5, 10, 15, 20, 25, 30, 35, 40, 45, and 50. For the single machine scheduling problem with multi-rate-modifying activities, the size of job takes the values of 5, 7, 9, 11, 13, and 15, with the duration of the RMA . There are 50 combinations. Based on these, the CPU time and the solution performance of the branch and bound (B & B) and the heuristic algorithm (HA) are tested.

Two algorithms are used on the same personal computer with an Intel (R) Core (TM) 2 processor. The results of and are recorded in Tables 1 and 2, respectively. In Table 1, it shows the optimal position of the RMA from the heuristic algorithm and the error percentage of the heuristic algorithm relative to the optimal solution obtained from the branch and bound algorithm; that is, the error percentage is , where is a solution from the heuristic algorithm and is the optimal solution from the branch and bound. It also gives the CPU time of the branch and bound, the optimal position of the RMA , and the optimal solutions from the branch and bound. Since the CPU time of the heuristic algorithm for all sizes of jobs is less than 1 s, it is omitted. Difference between Tables 1 and 2 records the number of RMAs and their positions. Here, “—” denotes no position.

Observations from Table 1 are as follows. (1)The branch and bound algorithm can obtain the optimal solution when the job size is less than or equal to 50, and the running time gradually increases with increase of the job size.(2)For the heuristic algorithm, the maximum error percentage of the heuristic algorithm is no more than 0.053. For certain sizes of jobs, the error percentage of the heuristic algorithm slowly increases with deterioration rate increase. Moreover, according to Table 1, the mean error percentage related to the job size for the heuristic algorithm is given in Figure 2. From Figure 2, it is seen that the mean error percentage decreases with increase of the job size, and the maximum mean error percentage is only 0.042.

Observations of the results from Table 2 are as follows. (1)The branch and bound algorithm can obtain the optimal solution when the job size is less than or equal to 15, and the running time suddenly increases when the job size is 15.(2)For the heuristic algorithm, the maximum error percentage of the heuristic algorithm is not more than 0.070. According to Table 2, the mean error percentage related to the job size for the heuristic algorithm is shown in Figure 3. From Figure 3, it is seen that the mean error percentage still decreases with job size increase, and the maximum mean error percentage is only 0.041.

Based on the above analysis, the branch and bound algorithm can solve problems with RMA or multi-rate-modifying activity within a reasonable time. The heuristic algorithm can obtain near-optimal solutions for the problem in a very short time. Therefore, the two algorithms proposed in this paper are very efficient and effective for the single machine scheduling problem with rate-modifying activity under a time-dependent deterioration. At the same time, they can be also used as a reference for other problems with the rate-modifying activity.

6. Conclusion

This paper integrates a time-dependent deterioration considered as a nonlinear function multi-rate-modifying activities into the single machine scheduling problem to minimize makespan. A branch and bound algorithm and a heuristic algorithm are proposed to solve such problems. At the same time, for special cases, the propositions, theorems, correlated proofs on the optimal policy of scheduling the RMA for minimal makespan are derived. Finally, the results of numerical experiments indicate that the branch and bound algorithm and the heuristic algorithm are efficient. In future, the research will be extended to single machine scheduling problems with release dates and due dates, which are more general cases in actuality.

Acknowledgments

This work is supported by the National Natural Science Foundation of China under Grants no. 71071028, no. 71021061, no. 70931001, and No. 61070162, the National Science Foundation for Distinguished Young Scholars of China under Grant no. 61225012; the Specialized Research Fund of the Doctoral Program of Higher Education for the Priority Development Areas under Grant no. 20120042130003; Specialized Research Fund for the Doctoral Program of Higher Education under Grants no. 20110042110024 and no. 20100042110025; the Specialized Development Fund for the Internet of Things from the ministry of industry and information technology of the P.R. China; the Fundamental Research Funds for the Central Universities under Grants no. N110204003 and no. N120104001. This work was also supported by Department of ISE of The Hong Kong Polytechnic University (H-ZJE5).