The Scientific World Journal

Volume 2014 (2014), Article ID 471016, 7 pages

http://dx.doi.org/10.1155/2014/471016

## Some Single-Machine Scheduling Problems with Learning Effects and Two Competing Agents

^{1}Mathematics Department, Zhoukou Normal University, Zhoukou 466001, China^{2}College of Mechanical and Electrical, Harbin Institute of Technology, Harbin 150001, China^{3}College of Sciences, East China Institute of Technology, Nanchang 330013, China^{4}Faculty of Science, Kunming University of Science and Technology, Kunming 650093, China

Received 29 April 2014; Accepted 10 May 2014; Published 25 May 2014

Academic Editor: Dar-Li Yang

Copyright © 2014 Hongjie Li et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This study considers a scheduling environment in which there are two agents and a set of jobs, each of which belongs to one of the two agents and its actual processing time is defined as a decreasing linear function of its starting time. Each of the two agents competes to process its respective jobs on a single machine and has its own scheduling objective to optimize. The objective is to assign the jobs so that the resulting schedule performs well with respect to the objectives of both agents. The objective functions addressed in this study include the maximum cost, the total weighted completion time, and the discounted total weighted completion time. We investigate three problems arising from different combinations of the objectives of the two agents. The computational complexity of the problems is discussed and solution algorithms where possible are presented.

#### 1. Introduction

In traditional scheduling research, it is commonly assumed that the processing times of the jobs remain unchanged throughout the scheduling horizon. However, under certain circumstances, the job processing times may become short due to learning effects in the production environment. For example, Biskup [1] points out that the repeated processing of similar tasks will improve workers’ efficiency; that is, it takes workers shorter times to process setups, operate machines or software, or handle raw materials and components. In such an environment, a job scheduled later will consume less time than the same job when scheduled earlier. Jobs in such a setting are said to be under the “learning effect” in the literature.

Biskup [1] and Cheng and Wang [2] first introduce the idea of learning into the field of scheduling independently. Since then, a large body of literature on scheduling with learning effects has emerged. Examples of such studies are Mosheiov [3], Mosheiov and Sidney [4], Bachman and Janiak [5], Janiak and Rudek [6], Wang [7], and Yin et al. [8]. Biskup [9] provides a comprehensive review of research on scheduling with learning effects. For more recent studies in this line of research, the reader is referred to Jiang et al. [10, 11], Yang [12], S.-J. Yang and D.-L. Yang [13], Wang et al. [14], Wu et al. [15], Xu et al. [16], and Yin et al. [8].

All the above papers consider the traditional case with a single agent. In recent years scheduling researchers have increasingly considered the setting of multiple competing agents, in which multiple agents need to process their own sets of jobs, competing for the use of a common resource and each agent has its own objective to optimize. However, there is little scheduling research in the multiagent setting in which the jobs are under learning effects. Liu et al. [17] study two models with two agents and position-dependent processing times. They assume that the actual processing time of job is in the aging-effect model, while the actual processing time of is in the learning-effect model, where represents the processed position of and denotes the aging or learning index. Ho et al. [18] define the actual processing time of job as if it is processed at time , where denotes the normal processing time of job and represents a constant such that with . Inspired by Ho et al. [18], Yin et al. [19] consider some two-agent scheduling problems under the learning effect model proposed in Ho et al. [18], in which the objective functions for agent include the maximum earliness cost, the total earliness cost, and the total weighted earliness cost, and the objective function for agent is always the same, that is, maximum earliness cost, and the objective is to minimize the objective function of agent while keeping the objective function of agent not greater than a given level. Similar models have been further studied by Wang and Xia [20], Wang [21], and so on. For the other related two-agent works without time-dependent processing times, the reader can refer to Baker and Smith [22], Agnetis et al. [23, 24], Cheng et al. [25, 26], Ng et al. [27], Mor and Mosheiov [28], Lee et al. [29], Leung et al. [30], Wan et al. [31], Yin et al. [19, 32], Yu et al. [33], and Zhao and Lu [34].

This study introduces a new scheduling model in which both the two-agent concept and the learning effects exist, simultaneously. We consider the following objective functions: the maximum cost, total completion time, total weighted completion time, and discounted total weighted completion time. The structural properties of optimal schedules are derived and polynomial time algorithms are developed for the problems where possible.

The remaining part of the study is organized as follows: Section 2 introduces the notation and terminology used throughout the paper. Sections 3–6 analyze the computational complexity and derive the optimal properties of the problems under study. The last section concludes the paper and suggests topics for future research.

#### 2. Model Formulation

The problem investigated in this paper can be formally described as follows. Suppose that there are two agents and , each of whom has a set of nonpreemptive jobs. The two agents compete to process their jobs on a common machine. Agent has to process the job set , while agent has to process the job set . All the jobs are available for processing at time , where . Let . The jobs belonging to agent are called -jobs. Associated with each job , there are normal processing time and weight . Due to the learning effect, the actual processing time of job is defined as where denotes job’s starting time and represents constant such that , where (see Ho et al. [18] for details).

Given a feasible schedule of the jobs, we use to denote the completion time of job and omit the argument whenever this does not cause confusion. The makespan of agent is . For each job , let be a nondecreasing function. In this case, the maximum cost is defined as . The objective function of agent considered in this paper includes the following: (maximum cost), (total completion time), (total weighted completion time), and (discounted total weighted completion time).

Using the three-field notation scheme introduced by Graham et al. [35], the problems considered in this paper are denoted as follows: , , , and .

Note that all the objective functions involved in the considered problems are regular; that is, they are nondecreasing in the job completion times. Hence there is no benefit in keeping the machine idle.

#### 3. Problem

In this section we address the problem and show that it can be solved optimally in polynomial time. We first develop some structural properties of optimal schedules for the problem which will be used in developing the algorithm.

Lemma 1 (see [19]). *For problem , the makespan is equal to
*

*In the sequel, we set . Then the following results hold.*

*Proposition 2. For the problem , if there is a B-job such that , then there exists an optimal schedule such that is scheduled last and there is no optimal schedule where an A-job is scheduled last.*

*Proof. *Assume that is an optimal schedule where the -job is not scheduled in the last position. Let denote the set of jobs scheduled prior to job . We construct from a new schedule by moving job to the last position and leaving the other jobs unchanged in . Then, the completion times of the jobs processed before job in are the same as that in since there is no change for any job preceding in . The jobs belonging to are scheduled earlier, so their completion times are smaller in by Lemma 1. It follows that for any job in , where . By the assumption that , job is feasible in , so schedule is feasible and optimal, as required.

*For each -job , let us define a deadline such that for and for (if the inverse function is available, the deadlines can be evaluated in constant time; otherwise, this requires logarithmic time).*

*Proposition 3. For the problem , there exists an optimal schedule where the -jobs are scheduled according to the nondecreasing order of .*

*Proof. *Assume that is an optimal schedule where the -jobs are not scheduled according to the nondecreasing order of . Let and be the first pair of jobs such that . In this schedule, job is processed earlier; then a set of -jobs, denoted as , are consecutively processed and then job . In addition, denote by the set of jobs processed after job . We construct from a new schedule by extracting job , reinserting it just after job and leaving the other jobs unchanged in schedule . Then the completion times of the jobs processed prior to job in are the same as that in . By Lemma 1, the completion time of job in equals that of job in ; that is, , so the completion times of the jobs belonging to are identical in both and . Since is feasible, it follows that , so job is feasible in . The -jobs and job are scheduled earlier in , implying that their actual processing times are smaller in , so their completion times are earlier in , and thus they remain feasible. Therefore, schedule is feasible and optimal.

Thus, repeating doing this procedure for all the -jobs not sequenced according to nondecreasing order of completes the proof.

*Proposition 4. For the problem , if for any -job , then there exists an optimal schedule where the -job with the smallest cost is processed in the last position.*

*Proof. *Assume that is an optimal schedule where the -job with the smallest cost , that is, , is not processed in the last position. By the hypothesis, the last job in schedule is an -job, say . This means . In this schedule, job is scheduled earlier. Let denote the set of jobs scheduled after job and prior to job . We construct from a new schedule by extracting job , reinserting it just after job , and leaving the other jobs unchanged in schedule . There is no change for any job preceding in . We claim the following.(1)Schedule is feasible. First, the completion times of the jobs processed prior to job in are the same as that in . Since the jobs belonging to are scheduled earlier in , their actual processing times are smaller in , so their completion times are earlier in . It follows that for any job in , where , as required.(2)Schedule is a better schedule than . By Lemma 1, the completion time of the last job in equals that of the last job in ; that is, . Thus, to prove that is better than , it suffices to show that
Since is a nondecreasing function of the completion time of job and , we have . Thus , as required.

The result follows.

*Summing up the above analysis, our algorithm for problem can be formally described as in Algorithm 1.*

*Theorem 5. Algorithm 1 solves problem in time.*

*Proof. *Step 1 requires a sorting operation of the -jobs, which takes time. Step 2 takes time since the calculation of the functions in Step 2 can be evaluated in constant time by the assumption. In Step 3 we calculate the value for all the remaining unscheduled -jobs, which takes time. Thus, after iterations, Step 3 can be executed in time. Therefore, the overall time complexity of the algorithm is indeed .

*4. Problem *

*Leung et al. [30] show that problem is NP-hard in the strong sense. Since our problem is a generalization of the problem , then so is our problem. In what follows we show that the problem is polynomially solvable if the -jobs have reversely agreeable weights; that is, implies for all jobs and . It is clear that Propositions 2 and 3 still hold for this problem. We modify Proposition 4 as follows.*

*Proposition 6. For the problem , if the -jobs have reversely agreeable weights, then there exists an optimal schedule where the -jobs are assigned according to the nondecreasing order of , that is, in the weighted shortest processing time (WSPT) order.*

*Proof. *Assume that is an optimal schedule where -jobs are not scheduled in the WSPT order. Let and be the first pair of jobs such that . Then and due to the fact that the -jobs have reversely agreeable weights. Assume that, in schedule , job starts its processing at time ; then a set of -jobs are consecutively processed and then job . In addition, let denote the set of jobs processed after job . We construct a new scheduling from by swapping jobs and and leaving the other jobs unchanged. We conclude the following. (1)Schedule is feasible. By Lemma 1, the completion time of job in equals that of job in ; that is, , so the completion times of the jobs belonging to are identical in both and . Since , we have . Hence the -jobs are scheduled earlier in , implying that their actual processing times are smaller in , so their completion times are earlier in . Hence for any job in , as required.(2)Schedule is better than . By the proof of (1), it is sufficient to show that
Since and , we have
as required.

Thus, repeating this swapping argument for all the -jobs not sequenced in the WSPT order yields the theorem.

*Based on the results of Propositions 2, 3, and 6, our algorithm to solve the problem for the case where the -jobs have reversely agreeable weights can be formally described as in Algorithm 2.*

*Theorem 7. The problem can be solved in time by applying Algorithm 2 if all -jobs have reversely agreeable weights.*

*Proof. *The correctness comes from the above analysis. Now we turn to the time complexity of the algorithm. Step 1 requires two sorting operations of the -jobs and -jobs, respectively, which take time and time, respectively. Both Steps 2 and 3 take time. Therefore, the overall time complexity of the algorithm is indeed .

*5. Problem *

*This section address the problem . We show that it is polynomially solvable if the -jobs have reversely agreeable weights. It is clear that Propositions 2 and 3 still hold for this problem. We give Proposition 8 as follows.*

*Proposition 8. For the problem , if the -jobs have reversely agreeable weights, then there exists an optimal schedule where the -jobs are assigned according to the nondecreasing order of , that is, in the weighted discount shortest processing time (WDSPT) order.*

*Proof. *We adopt the same notation as that used in the proof of Proposition 6. Assume that . Since -jobs have reversely agreeable weights, we have and . Then by the proof of Proposition 6, we know that , , and for all the other jobs and that schedule is feasible. To show that is better than , it is sufficient to show that
In fact, since , , and , we have
Hence, . Therefore, is not worse than . Thus, repeating this swapping argument for all the -jobs not sequenced in the WDSPT order yields the theorem.

*Based on the above analysis, our algorithm to solve the problem for the case where the -jobs have reversely agreeable weights can be described as in Algorithm 3.*

*Theorem 9. The problem can be solved in time by applying Algorithm 3 for the case that the -jobs have reversely agreeable weights.*

*Proof. *The proof is analogous to that of Theorem 7.

*6. Conclusions*

*This paper introduced a new scheduling model on a single machine that involves two agents and learning effects simultaneously. We studied the problem of finding an optimal schedule for agent , subject to the constraint that the maximum cost of agent does not exceed a given value. We derived the optimal structural properties of optimal schedules and provided polynomial time algorithms for the problem . We also showed that the problems and can also be solved in polynomial time under certain agreeable conditions. Future research may consider the scheduling model with more than two agents.*

*Conflict of Interests*

*The authors declare that there is no conflict of interests regarding the publication of this paper.*

*Acknowledgments*

*The authors are grateful to the Editor and two anonymous referees for their helpful comments on an earlier version of their paper. This research was supported by the National Natural Science Foundation of China (no. 71301022).*

*References*

- D. Biskup, “Single-machine scheduling with learning considerations,”
*European Journal of Operational Research*, vol. 115, no. 1, pp. 173–178, 1999. View at Publisher · View at Google Scholar · View at Scopus - T. C. E. Cheng and G. Wang, “Single machine scheduling with learning effect considerations,”
*Annals of Operations Research*, vol. 98, no. 1–4, pp. 273–290, 2000. View at Google Scholar · View at Scopus - G. Mosheiov, “Scheduling problems with a learning effect,”
*European Journal of Operational Research*, vol. 132, no. 3, pp. 687–693, 2001. View at Publisher · View at Google Scholar · View at Scopus - G. Mosheiov and J. B. Sidney, “Scheduling with general job-dependent learning curves,”
*European Journal of Operational Research*, vol. 147, no. 3, pp. 665–670, 2003. View at Publisher · View at Google Scholar · View at Scopus - A. Bachman and A. Janiak, “Scheduling jobs with position-dependentprocessing times,”
*Journal of the Operational Research Society*, vol. 55, no. 3, pp. 257–264, 2004. View at Publisher · View at Google Scholar · View at Scopus - A. Janiak and R. Rudek, “A new approach to the learning effect: beyond the learning curve restrictions,”
*Computers and Operations Research*, vol. 35, no. 11, pp. 3727–3736, 2008. View at Publisher · View at Google Scholar · View at Scopus - J.-B. Wang, “Single-machine scheduling with general learning functions,”
*Computers and Mathematics with Applications*, vol. 56, no. 8, pp. 1941–1947, 2008. View at Publisher · View at Google Scholar · View at Scopus - Y. Yin, D. Xu, K. Sun, and H. Li, “Some scheduling problems with general position-dependent and time-dependent learning effects,”
*Information Sciences*, vol. 179, no. 14, pp. 2416–2425, 2009. View at Publisher · View at Google Scholar · View at Scopus - D. Biskup, “A state-of-the-art review on scheduling with learning effects,”
*European Journal of Operational Research*, vol. 188, no. 2, pp. 315–329, 2008. View at Publisher · View at Google Scholar · View at Scopus - Z. Jiang, F. Chen, and H. Kang, “Single-machine scheduling problems with actual time-dependent and job-dependent learning effect,”
*European Journal of Operational Research*, vol. 227, no. 1, pp. 76–80, 2013. View at Publisher · View at Google Scholar · View at Scopus - Z. Jiang, F. Chen, and C. Wu, “Minimizing the maximum lateness in a single-machine scheduling problem with the normal time-dependent and job-dependent learning effect,”
*Applied Mathematics and Computation*, vol. 218, no. 18, pp. 9438–9441, 2012. View at Publisher · View at Google Scholar · View at Scopus - S.-J. Yang, “Single-machine scheduling problems with both start-time dependent learning and position dependent aging effects under deteriorating maintenance consideration,”
*Applied Mathematics and Computation*, vol. 217, no. 7, pp. 3321–3329, 2010. View at Publisher · View at Google Scholar · View at Scopus - S.-J. Yang and D.-L. Yang, “Minimizing the makespan on single-machine scheduling with aging effect and variable maintenance activities,”
*Omega*, vol. 38, no. 6, pp. 528–533, 2010. View at Publisher · View at Google Scholar · View at Scopus - J.-B. Wang, L. Sun, and L. Sun, “Single machine scheduling with exponential sum-of-logarithm-processing-times based learning effect,”
*Applied Mathematical Modelling*, vol. 34, no. 10, pp. 2813–2819, 2010. View at Publisher · View at Google Scholar · View at Scopus - C.-C. Wu, Y. Yin, and S.-R. Cheng, “Single-machine and two-machine flowshop scheduling problems with truncated position-based learning functions,”
*Journal of the Operational Research Society*, vol. 64, no. 1, pp. 147–156, 2013. View at Publisher · View at Google Scholar · View at Scopus - D. Xu, Y. Yin, and H. Li, “Comments on “a note on minimizing maximum lateness in an m-machine scheduling problem with a learning effect”,”
*Applied Mathematics and Computation*, vol. 217, no. 2, pp. 939–943, 2010. View at Publisher · View at Google Scholar · View at Scopus - P. Liu, X. Zhou, and L. Tang, “Two-agent single-machine scheduling with position-dependent processing times,”
*International Journal of Advanced Manufacturing Technology*, vol. 48, no. 1–4, pp. 325–331, 2010. View at Publisher · View at Google Scholar · View at Scopus - K. I.-J. Ho, J. Y.-T. Leung, and W.-D. Wei, “Complexity of scheduling tasks with time-dependent execution times,”
*Information Processing Letters*, vol. 48, no. 6, pp. 315–320, 1993. View at Publisher · View at Google Scholar · View at Scopus - Y. Yin, S.-R. Cheng, and C.-C. Wu, “Scheduling problems with two agents and a linear non-increasing deterioration to minimize earliness penalties,”
*Information Sciences*, vol. 189, pp. 282–292, 2012. View at Publisher · View at Google Scholar · View at Scopus - J.-B. Wang and Z.-Q. Xia, “Scheduling jobs under decreasing linear deterioration,”
*Information Processing Letters*, vol. 94, no. 2, pp. 63–69, 2005. View at Publisher · View at Google Scholar · View at Scopus - J.-B. Wang, “A note on single-machine scheduling with decreasing time-dependent job processing times,”
*Applied Mathematical Modelling*, vol. 34, no. 2, pp. 294–300, 2010. View at Publisher · View at Google Scholar · View at Scopus - K. R. Baker and J. C. Smith, “A multiple-criterion model for machine scheduling,”
*Journal of Scheduling*, vol. 6, no. 1, pp. 7–16, 2003. View at Publisher · View at Google Scholar · View at Scopus - A. Agnetis, P. B. Mirchandani, D. Pacciarelli, and A. Pacifici, “Scheduling problems with two competing agents,”
*Operations Research*, vol. 52, no. 2, pp. 229–242, 2004. View at Publisher · View at Google Scholar · View at Scopus - A. Agnetis, D. Pacciarelli, and A. Pacifici, “Multi-agent single machine scheduling,”
*Annals of Operations Research*, vol. 150, no. 1, pp. 3–15, 2007. View at Publisher · View at Google Scholar · View at Scopus - T. C. E. Cheng, C. T. Ng, and J. J. Yuan, “Multi-agent scheduling on a single machine to minimize total weighted number of tardy jobs,”
*Theoretical Computer Science*, vol. 362, no. 1–3, pp. 273–281, 2006. View at Publisher · View at Google Scholar · View at Scopus - T. C. E. Cheng, C. T. Ng, and J. J. Yuan, “Multi-agent scheduling on a single machine with max-form criteria,”
*European Journal of Operational Research*, vol. 188, no. 2, pp. 603–609, 2008. View at Publisher · View at Google Scholar · View at Scopus - C. T. Ng, T. C. E. Cheng, and J. J. Yuan, “A note on the complexity of the problem of two-agent scheduling on a single machine,”
*Journal of Combinatorial Optimization*, vol. 12, no. 4, pp. 386–393, 2006. View at Publisher · View at Google Scholar · View at Scopus - B. Mor and G. Mosheiov, “Scheduling problems with two competing agents to minimize minmax and minsum earliness measures,”
*European Journal of Operational Research*, vol. 206, no. 3, pp. 540–546, 2010. View at Publisher · View at Google Scholar · View at Scopus - K. Lee, B.-C. Choi, J. Y.-T. Leung, and M. L. Pinedo, “Approximation algorithms for multi-agent scheduling to minimize total weighted completion time,”
*Information Processing Letters*, vol. 109, no. 16, pp. 913–917, 2009. View at Publisher · View at Google Scholar · View at Scopus - J. Y.-T. Leung, M. Pinedo, and G. Wan, “Competitive two-agent scheduling and its applications,”
*Operations Research*, vol. 58, no. 2, pp. 458–469, 2010. View at Publisher · View at Google Scholar · View at Scopus - G. Wan, S. R. Vakati, J. Y.-T. Leung, and M. Pinedo, “Scheduling two agents with controllable processing times,”
*European Journal of Operational Research*, vol. 205, no. 3, pp. 528–539, 2010. View at Publisher · View at Google Scholar · View at Scopus - Y. Yin, S.-R. Cheng, T. C. E. Cheng, W.-H. Wu, and C.-C. Wu, “Two-agent single-machine scheduling with release times and deadlines,”
*International Journal of Shipping and Transport Logistics*, vol. 5, no. 1, pp. 75–94, 2013. View at Publisher · View at Google Scholar · View at Scopus - X. Yu, Y. Zhang, D. Xu, and Y. Yin, “Single machine scheduling problem with two synergetic agents and piece-rate maintenance,”
*Applied Mathematical Modelling*, vol. 37, no. 3, pp. 1390–1399, 2013. View at Publisher · View at Google Scholar · View at Scopus - K. Zhao and X. Lu, “Approximation schemes for two-agent scheduling on parallel machines,”
*Theoretical Computer Science*, vol. 468, pp. 114–121, 2013. View at Publisher · View at Google Scholar · View at Scopus - R. L. Graham, E. L. Lawler, J. K. Lenstra, and A. H. G. R. Kan, “Optimization and heuristic in deterministic sequencing and scheduling: a survey,”
*Annals of Discrete Mathematics*, vol. 5, pp. 287–326, 1979. View at Publisher · View at Google Scholar · View at Scopus

*
*