Abstract

Scheduling involving jobs with time-dependent processing times has recently attracted much research attention. However, multiagent scheduling with simultaneous considerations of jobs with time-dependent processing times and ready times is relatively unexplored. Inspired by this observation, we study a two-agent single-machine scheduling problem in which the jobs have both time-dependent processing times and ready times. We consider the model in which the actual processing time of a job of the first agent is a decreasing function of its scheduled position while the actual processing time of a job of the second agent is an increasing function of its scheduled position. In addition, each job has a different ready time. The objective is to minimize the total completion time of the jobs of the first agent with the restriction that no tardy job is allowed for the second agent. We propose a branch-and-bound and several genetic algorithms to obtain optimal and near-optimal solutions for the problem, respectively. We also conduct extensive computational results to test the proposed algorithms and examine the impacts of different problem parameters on their performance.

1. Introduction

In many scheduling models researchers assume that the job processing times are known and fixed parameters. However, the job processing times can be prolonged due to deterioration or shortened due to learning over time in real-life situations. Browne and Yechiali [1] present fire-fighting as an example of job deterioration while Biskup [2] cites workers’ skill improvement as an example of job learning. Both examples and their corresponding situations are referred to as “time-dependent scheduling” in the literature.

Time-dependent scheduling was first introduced by J. N. D. Gupta and S. K. Gupta [3] and Browne and Yechiali [1] for deterioration jobs, whereas by Biskup [2] for the learning effect. Since then, a lot of scheduling models involving job time-dependent processing times have been proposed from a variety of perspectives. For more detailed reviews of scheduling problems with deteriorating jobs, we refer the reader to Alidaee and Womer [4] and Cheng et al. [5], and for a detailed review of scheduling problems with learning effects, we refer the reader to Biskup [6]. More recently, scheduling research that considers both deteriorating jobs and learning effects has become popular. For details on this stream of scheduling research, the reader may refer to Wang [7], Wang and Cheng [8, 9], Wang and Liu [10], Wang and Guo [11], Zhang and Yan [12], Yang [13], and Zhu et al. [14], among others.

In the past, the scheduling literature was dominated by studies that deal with a single criterion. In reality, jobs might come from several agents (customers) that have different requirements to meet. However, scheduling research in the multiple-agent setting involving jobs with time-dependent processing times is relatively unexplored. Among the few studies on this topic, Liu and Tang [15] studied multiagent scheduling with deteriorating jobs in which they assumed that the actual processing time of job is , where and denote the deteriorating rate and starting time of , respectively. Liu et al. [16] considered two two-agent problems with position-dependent processing times. In the aging-effect model, they assumed that the actual processing time of is () if it belongs to agent . Meanwhile, in the learning-effect model, they assumed that the actual processing time of is () if it belongs to agent , where (or ) denotes the job position and , is the aging or learning effect. Cheng et al. [17] considered a two-agent scheduling problem in which they assumed that, given a schedule, the actual processing time of a job of the first agent is a function of position-based learning while the actual processing time of a job of the second agent is a function of position-based deterioration. The objective is to minimize the total weighted completion time of the jobs of the first agent with the restriction that no tardy job is allowed for the second agent. Wu et al. [18] studied two-agent scheduling in which the actual processing time of is () if it is a job of () scheduled in the th position of a sequence. Their objective function is to find an optimal schedule to minimize , subject to . They proposed branch-and-bound and ant colony algorithms to solve the problem. However, they ignored job ready times. Wu et al. [19] considered a single-machine problem with the sum-of-processing time based learning effect and release times, where the objective is to minimize the total weighted completion time. They assumed that the actual processing time of job is if it is scheduled in the th position, where is a learning ratio common to all the jobs. They proposed a branch-and-bound algorithm and a genetic heuristic-based algorithm to treat the problem. Wu et al. [18] used a branch-and-bound and a ant colony algorithm to solve a two-agent scheduling with learning and deteriorating jobs. Lun et al. [20] and Zhang et al. [21] gave applications of multiagent scheduling of jobs with ready times in the shipping industry. Specifically, ships belonging to shipping companies (multiple agents) call at a port at different times. The port needs to find a suitable schedule to serve the ships. In this context, the port is the single machine and the arriving ships from different shipping companies are jobs belonging to different agents with ready times. Inspired by this and other applications, we study in this paper a two-agent single-machine scheduling problem in which the jobs have both time-dependent processing times and ready times. We consider the model in which the actual processing time of a job of the first agent is a decreasing function of its scheduled position while the actual processing time of a job of the second agent is an increasing function of its scheduled position. The objective is to minimize the total completion time of the jobs of the first agent with the restriction that no tardy job is allowed for the second agent.

The remainder of this paper is organized as follows. We present the problem formulation in the next section. In Section 3 we discuss the computational complexity of the problem. In Section 4 we develop some dominance properties and a lower bound to enhance the search efficiency for the optimal solution, followed by introducing a branch-and-bound and several genetic algorithms. In Section 5 we present the results of computational experiments conducted to assess the performance of the proposed algorithms. We conclude the paper and suggest some topics for future research in the last section.

2. Model Formulation

We formulate the scheduling problem under study as follows. There are jobs for processing on a single machine. Each job becomes available for processing at time . Each job belongs to one of two agents, namely, and . For job , there is a normal processing time and an agent code , where if and if . We assume that all the jobs of have a position-based learning rate with , while all the jobs of have a position-based deteriorating rate with . Under the proposed model, the actual processing time of is () if it belongs to () and is scheduled in position of a sequence.

For a given schedule , let be the completion time of , and if and zero otherwise. The objective is to find an optimal schedule to minimize , subject to . Adopting the three-field notation scheme introduced by Agnetis et al. [22], we denote the problem as .

As for the major results of research on multiagent scheduling without learning effects or deteriorating jobs, the reader may refer to Baker and Smith [23], Agnetis et al. [22], Yuan et al. [24], Cheng et al. [25, 26], Ng et al. [27], Agnetis et al. [28], Mor and Mosheiov [29, 30], Yin et al. [31, 32], and so forth.

3. Branch-and-Bound Algorithm

Due to the fact that our proposed problem is an NP-hard one (see [33]), in this section we apply the branch-and-bound technique to search for the optimal solution. In order to facilitate the searching process, we first develop some dominance properties, followed by presenting a lower bound to fathom the searching tree. We then present the procedures of branch-and-bound algorithm and suggest some heuristics.

3.1. Dominance Rules

Assume that schedule has two adjacent jobs and with immediately preceding . Perform a pairwise interchange of and to derive a new sequence . In addition, assume that and are in the th and th positions of and that the starting time to process job in is .

Lemma 1. If , then dominates .

Proof. The completion times of jobs and in and are, respectively,
From , we have It follows that , so dominates .

Lemma 2. If , and , then dominates .

Proof. By the assumption and Lemma 1, the completion times of jobs and in and can be reformulated as respectively. From and , it is easy to see that and . It follows that dominates .

Lemma 3. If , , and , then dominates .

Proof. The proof is similar to that of Lemma 2.

Lemma 4. If , , and , then dominates .

Proof. The proof is similar to that of Lemma 2.

Lemma 5. If , and , then dominates .

Proof. The completion times of jobs and in and are, respectively,
The given conditions lead to and , implying that schedule is infeasible. Hence, dominates .

Lemma 6. If and , then dominates .

Proof. The given condition implies that and , so dominates .

The proofs of Lemmas 7 to 9 are omitted since they are similar to those of Lemmas 1 and 2.

Lemma 7. If , and , then dominates .

Lemma 8. If and , then dominates .

Lemma 9. If and , then dominates .

Next, we present two lemmas to determine the feasibility of a partial sequence. Let be a sequence of jobs where is the scheduled part with jobs and is the unscheduled part. Moreover, let be the completion time of the last job in .

Lemma 10. If there is a job such that , then sequence is not a feasible solution.

Lemma 11. If all the unscheduled jobs belong to and there exists a job such that for all job , then job may be assigned to the ()th position.

Lemma 12. If all the unscheduled jobs belong to and , then the shortest processing time (SPT) rule gives an optimal sequence for the remaining unscheduled jobs.

3.2. A Lower Bound for

The efficiency of the branch-and-bound algorithm depends greatly on the lower bounds for the partial sequences. In this subsection we propose a lower bound. Let PS be a partial schedule in which the order of the first jobs is determined and US be the unscheduled part with jobs, where there are jobs belonging to and jobs belonging to with . Moreover, let , and denote the normal processing time, release time, and completion time of the th job in a sequence, respectively, where . A lower bound for the partial sequence PS is obtained by scheduling the jobs belonging to first in the SPT order and then scheduling the jobs belonging to in any order. Then the completion time of the th job is

Similarly, the completion time for the th job is

Continuing in this fashion, the completion time of the th job is

Based on the above analysis, a lower bound for partial sequence PS can be calculated as follows.

Algorithm 13. Step  1. Sort the jobs of in nondecreasing order of their processing times, that is, .
Step  2. Calculate for .

Therefore, a lower bound for the partial sequence PS is

However, this lower bound may not be tight if the release times are large. To overcome this situation, we propose a second lower bound by taking account of the ready times. By definition, the completion time of the th job is

Similarly, the completion time for the th job is

Continuing in this fashion, the completion time of the th job is

Based on the above analysis, another lower bound for the partial sequence PS can be calculated as follows:

In order to make the lower bound tighter, we choose the maximum value between (8) and (12) as the lower bound for PS. That is,

3.3. Genetic Algorithms

Genetic algorithm (GA) is a meta-heuristic method that is commonly used to tackle combinatorial optimization problems [34]. A genetic algorithm starts with a set of feasible solutions (population) and iteratively replaces the current population by a new population. It requires a suitable encoding for the problem and a fitness function measures the quality of each encoded solution (chromosome or individual). The reproduction mechanism selects the parents and recombines them using a crossover operator to generate offspring that are submitted to a mutation operator in order to alter them locally [35]. The main steps of the GA are summarized in the following.

3.3.1. Representation of Structure

In this paper we adopt a structure as a sequence of the jobs of the problem based on the method by Etiler et al. [36].

3.3.2. Initial Population

To get the final solution more quickly, we construct the initial population by using three heuristics [37]. We propose the use of three initial sequences. We generate the first initial sequence by arranging the jobs of in the earliest due date (EDD) order, followed by arranging the jobs of in the smallest SPT order (recorded as GA1), followed by arranging the jobs of in the earliest ready times (ERT) first order (recorded as GA2), and followed by arranging the jobs of in the EDD order (recorded as GA3).

3.3.3. Population Size

Following Chen et al. [38], we use an initial population as one schedule and create other members by applying interchange mutation until the number of members is equal to the population size. We set the population size (say, ) equal to the number of jobs (i.e., ) based on preliminary tests.

3.3.4. Fitness Function

Given that the objective of the problem is to minimize the total completion time, we define the fitness function of the strings as follows: where is the th string chromosome in the th generation, is the total completion time of , and is the fitness function of . Therefore, the probability of selection of a schedule is to ensure that the probability of selection of a sequence with a lower value of the objective function is higher, which is defined as follows:

3.3.5. Crossover

Crossover is used to generate a new offspring from two parents. We adopt the partially matched crossover method, which is commonly used in GA [36]. In order to preserve the best schedule that has the minimum total completion time in each generation, we keep it to the next population with no change. This operation enables us to choose a higher crossover with the crossover rate .

3.3.6. Mutation

Mutation is used to prevent premature falling into a local optimal in the GA procedure. It can be considered as a transition from a current solution to its neighbourhood solution in a local search algorithm. In this study we set the mutation rate at 1.0 based on preliminary experiments.

3.3.7. Selection

In this paper we fix the population sizes at from generation to generation. Excluding the best schedule that has the minimum total completion time, the rest of the offspring are generated from the parent chromosomes by the roulette wheel method.

3.3.8. Stopping Rule

We end the procedure of the GA after generations based on preliminary experiments.

4. Computational Results

We carried out computational experiments to assess the performance of proposed branch-and-bound and genetic algorithms over a range of problem parameters. We coded all the algorithms in FORTRAN using Compaq Visual Fortran version 6.6 and conducted the experiments on a personal computer powered by an Intel Pentium(R) Dual-Core CPU E6300 @ 2.80 GHz with 2 GB RAM operating under Windows XP. We generated the job processing times from a uniform distribution . Following the design of Reeves [37], we generated the ready times of the jobs from another uniform distribution , where is the number of jobs and is a control parameter. In our tests we set the value of at , 0.25, 0.5, 0.75, and 1. In addition, following the design of Fisher [39], we generated the due dates of the jobs of from a uniform distribution , where is the sum of the normal processing times of the jobs; that is, , took the values 0.25 and 0.5, while took the values 0.25, 0.5, and 0.75. We fixed the proportion of the jobs of agent at in the experiments.

For the branch-and-bound algorithm, we recorded the average and maximum numbers of nodes, as well as the average (mean) and maximum of the execution times (in seconds). For the proposed GA algorithms, we recorded the mean and maximum percentage errors. We calculate the percentage error of a solution produced by a heuristic algorithm as where and are the total completion time of the heuristic and the optimal solution of the jobs of the first agent, respectively. We did not record the computational times of the GA algorithms because they all were less one second to obtain a solution.

We carried out the computational experiments in two parts. For the first part of the experiments, we tested instances of the problem at and 16. Moreover, we took three different values of the learning effect 70%, 80%, and 90% (corresponding to , resp.) and three different values of the deteriorating effect 70%, 80%, and 90% (corresponding to = 0.515, 0.322, and 0.152, resp.). We randomly tested a set of 100 instances for each case. As a result, we examined 54,000 instances. The instances with numbers of nodes few than were recorded as instance solved or IS. We further extracted the relative results to report in the following.

As regards the performance of the branch-and-bound algorithm, we see from Figures 1, 2, 3, 4, 5, and 6 that the number of nodes declines as the value of , , or increases no matter whether or 16. The reason is due to the fact that our proposed dominance rules and lower bound are more effective at a bigger value of , , or .

We observe from Figures 7 and 8 the performance trend of the learning effect. As shown in Figures 9 and 10, the instances with larger deteriorating values are easier to solve than those with smaller deteriorating values.

We also see that the branch-and-bound algorithm generates more nodes for instances with a bigger value of , , or . This also implies that the number of IS at a bigger value of , , or is higher than that at a smaller value (i.e., see Figures 11 and 12).

Moreover, Figures 13 and 14 show that the instances with a weaker learning effect are easier to solve than those with a stronger learning effect, whereas Figures 15 and 16 show that the deteriorating effect keeps the same trend of IS. The performance of the branch-and-bound algorithm in terms of CPU time over the range of problem parameters tested is similar to that in terms of number of nodes generated.

For the performance of the GA heuristics, Figures 17, 18, and 19 show that when , the mean percentage errors of GA1, GA2, and GA3 are within the ranges 4.3%–4.7%, 3.7%–4.1%, and 3.75%–3.95%, respectively, regardless of value of . Since all the GAs only take less than a second of CPU time to obtain a solution, we further take as .

We observe from Figure 20 that the mean percentage error of GA* declines to within the range 2.3%–2.7%. When , Figures 21, 22, 23, and 24 show that at a bigger value of (), GA1, GA2, GA3, and GA* yield smaller percentage errors than at a smaller value of (); however, Figures 25, 26, 27, and 28 show that at a smaller value of , GA1, GA2, GA3, and GA* yield smaller percentage errors than at a bigger value of .

As regards the impacts of learning or deteriorating on the proposed GAs, Figures 29, 30, 31, and 32 show that all the GAs perform better at a weaker learning effect than a stronger one, but the performance reverses under the deteriorating effect as shown in Figures 33, 34, 35, and 36.

Overall, we observe from Figures 37 and 38 that the grand means of the mean error percentages of GA2 and GA3 are smaller than those of GA1 when and 16, respectively.

The result also shows that GA* performs well and keeps about 3% of the grand means of the mean error percentages, which is clearly lower than those of GA1, GA2, and GA3.

In the second part of the experiments, we further assessed the performance of the proposed GA algorithms in solving instances with large numbers of jobs. We set at 30 and 40 and fixed the parameters as follows: took the values of 0.25 and 0.5, while took the values of 0.25, 0.50, and 0.75. We fixed the proportion of the jobs of agent at in the experiments. We set the learning effect at 70%, 80%, and 90% (corresponding to = −0.515, −0.322, and −0.152, resp.) and the values of the deteriorating effect at 70%, 80%, and 90% (corresponding to = 0.515, 0.322, and 0.152, resp.). We randomly generated a set of 100 instances for each situation. As a result, we examined 270 experimental situations. For each GA heuristic, we calculate its relative percentage deviation as where is the objective function value generated by the GA heuristic and is the GA heuristic that yields the smallest objective function value among the three GA algorithms. We recorded the average and maximum RPD, and the mean execution time for each heuristic. The results are summarized in the following figures.

As shown in Figures 39, 40, and 41, we observe that the RPD mean of GA1 is in general smaller than those of GA2 and GA3. The effects of , and are similar to those with smaller numbers of jobs.

Overall, we observe from Figures 42 and 43 that the grand mean of the RPD of GA1 is smaller than that of GA2 and GA3. The result also shows that GA2 and GA3 slightly outperform GA1 with smaller numbers of jobs, but the result is reversed with larger numbers of jobs. This implies that there is no absolute dominance relationship among three GAs. Thus, we recommend that the GA* be used in order to attain stability and good quality solutions.

5. Conclusions

In this paper we study a two-agent single-machine scheduling problem with simultaneous considerations of deteriorating jobs, learning effects, and ready times. To search for optimal and near-optimal solutions, we propose a branch-and-bound algorithm incorporated with some dominance rules and a lower bound and three genetic algorithms, respectively.

The computational results show that our proposed branch-and-bound algorithm can solve instances with up to 16 jobs with reasonable numbers of nodes and execution times. In addition, the computational experiments reveal that the proposed GA* does well in terms of efficiency and solution quality. Future research may consider other scheduling criteria or study the problem in the multimachine setting.

Acknowledgments

The authors would like to thank the Editor and three anonymous referees for their helpful comments on an earlier version of the paper.