Research Article | Open Access

Chuan-Li Zhao, Chou-Jung Hsu, Hua-Feng Hsu, "Single Machine Scheduling and Due Date Assignment with Past-Sequence-Dependent Setup Time and Position-Dependent Processing Time", *The Scientific World Journal*, vol. 2014, Article ID 620150, 9 pages, 2014. https://doi.org/10.1155/2014/620150

# Single Machine Scheduling and Due Date Assignment with Past-Sequence-Dependent Setup Time and Position-Dependent Processing Time

**Academic Editor:**Dehua Xu

#### Abstract

This paper considers single machine scheduling and due date assignment with setup time. The setup time is proportional to the length of the already processed jobs; that is, the setup time is past-sequence-dependent (p-s-d). It is assumed that a job's processing time depends on its position in a sequence. The objective functions include total earliness, the weighted number of tardy jobs, and the cost of due date assignment. We analyze these problems with two different due date assignment methods. We first consider the model with job-dependent position effects. For each case, by converting the problem to a series of assignment problems, we proved that the problems can be solved in time. For the model with job-independent position effects, we proved that the problems can be solved in time by providing a dynamic programming algorithm.

#### 1. Introduction

In many realistic scheduling environments, a job’s processing time may be depending on its position in the sequence [1]. Two well-known special cases of this stream of research are (i)* positional deterioration (aging effect)*, where the processing time of a job increases as a function of its position in a processing sequence and (ii)* learning effect*, where the processing time of a job decreases as a function of its position in a processing sequence. Biskup [2] and Cheng and Wang [3] independently introduced the learning concept to scheduling research. Other studies include Mosheiov and Sidney [4], Mosheiov [5, 6], Wu et al. [7, 8], and Yin et al. [9, 10]. Biskup [11] presented an updated survey of the results on scheduling problems with the learning effect. Mosheiov [6] first mentioned the* aging effect *in scheduling research. Other studies include Mosheiov [12], Kuo and Yang [13], Janiak and Rudek [14], Zhao and Tang [15], and Rustogi and Strusevich [16], among others. Moreover, some studies consider scheduling problems with general position-dependent processing time. Mosheiov [17] considered a scheduling problem with general position-dependent processing time. The polynomial algorithm is derived for makespan minimization on an m-machine proportionate flow shop. Zhao et al. [18] studied scheduling and due date assignment problem. They provided a unified model for solving the single machine problems with rejection and position-dependent processing time. Rustogi and Strusevich [19] presented a critical review of the known results for scheduling models with various positional effects.

Koulamas and Kyparisis [20] first introduced a scheduling problem with past-sequence-dependent (p-s-d) setup time. They assumed that the job setup time is proportional to the sum of processing time of all already scheduled jobs. It is proved that the standard single machine scheduling with p-s-d setup time can be solvable in polynomial time when the objectives are the makespan, the total completion time, and the total absolute differences in completion time, respectively. Wang [21] studied the single machine scheduling problems with time-dependent learning effect and p-s-d setup time considerations. He showed that the makespan minimization problem, the total completion time minimization problem, and the sum of the quadratic job completion time minimization problem can be solved in polynomial time, respectively. Yin et al. [22] considered a single machine scheduling model with p-s-d setup time and a general learning effect. They showed that the single machine scheduling problems to minimize the makespan and the sum of the* k*th power of completion time are polynomially solvable under the proposed model. Hsu et al. [23] presented a polynomial-time algorithm for an unrelated parallel machine scheduling problem with setup time and learning effects to minimize the total completion time. Lee [24] proposed a model with the deteriorating jobs, the learning effect, and the p-s-d setup time. He provided the optimal schedules for some single machine problems. Huang et al. [25] considered some single machine scheduling problems with general time-dependent deterioration, position-dependent learning, and p-s-d setup time. They proved that the makespan minimization problem, the total completion time minimization problem, and the sum of the th power of job completion time minimization problem can be solved by the SPT rule.

Meeting due dates is one of the most important objectives in scheduling (Gordon et al. [26]). In some situations, the tardiness penalties depend on whether the jobs are tardy, rather than how late they are. In these cases, the number of tardy jobs should be minimized (Yin et al. [27]). Kahlbacher and Cheng [28] considered scheduling problems to minimize costs for earliness, due date assignment, and weighted number of tardy jobs. They presented nearly a full classification for the single and multiple machine models. Shabtay and Steiner [29] studied two single machine scheduling problems. The objectives are to minimize the sum of weighted earliness, tardiness, and due date assignment penalties and minimize the weighted number of tardy jobs and due date assignment costs, respectively. They proved that both problems are strongly NP-hard and give polynomial solutions for some important special cases. Koulamas [30] considered the second problem of Shabtay and Steiner [29]. He presented a faster algorithm for a due date assignment problem with tardy jobs. Gordon and Strusevich [31] addressed the problems of single machine scheduling and due date assignment problems in which a job’s processing time depends on its position in a processing sequence. The objective functions include the cost of the due dates, the total cost of discarded jobs that cannot be completed by their due dates, and the total earliness of the scheduled jobs. They presented polynomial-time dynamic programming algorithms for solving problems with two due date assignment methods, provided that the processing time of the jobs is positionally deteriorating. Hsu et al. [32] extended part of the objective functions proposed by Gordon and Strusevich [31] to the positional weighted earliness penalty and showed that the problems remain solvable in polynomial time.

#### 2. Problem Formulation and Preliminaries

This paper studies the single machine scheduling problems with simultaneous consideration of due date assignment, p-s-d setup time, and position-dependent processing time.

The problem can be described as follows.

A set of jobs has to be scheduled on a single machine. All jobs are available for processing at time zero and preemption is not permitted. Each job has a basic processing time . The actual processing time of job , if scheduled in position of a sequence, is given by where , represent an array of job-dependent positional factors.

Each job has to be assigned a due date , by which it is desirable to complete that job. Given a schedule, denote the completion time of job by . Job is called tardy if , and it is called nontardy if . Let if job is tardy and let if job is nontardy. The earliness of is defined as , provided that . In all problems considered in this paper, the jobs in set have to be split into two subsets denoted by and . We refer to the jobs in set as “nontardy,” while the jobs in set are termed “tardy.” A penalty is paid for the tardy job . Given a schedule , we assumed that the p-s-d setup time of is given as Koulamas and Kyparisis [20] did, as follows: where is a normalizing constant.

The purpose is to determine the optimal due dates and the processing sequence such that the following function is minimized: where is the sequence of jobs, is the positive unit earliness cost, is the vector of the assigned due dates, and denotes the cost of assigning the due dates that depends on a specific rule chosen for due date assignment. We denote the problem as

Most of the presented results hold for a general positional effect, that is, for any function that depends on both position and job . For each individual model, there is a particular rule that defines and explains how exactly the value of changes, for example.

*(i) Job-Dependent Learning Effect (Mosheiov and Sidney [4]).* The actual processing time of a job , if scheduled in position of a sequence, is given by
where is a job-dependent learning parameter (include as a special case, i.e., , Biskup [2]).

*(ii) Job-Dependent Aging Effect (Zhao and Tang [15]).* The actual processing time of a job , if scheduled in position of a sequence, is given by
where is a job-dependent aging parameter (include as a special case, i.e., , Moshieov [17]).

*(iii) Positional Exponential Deterioration (Wang [33]).* The actual processing time of a job , if scheduled in position of a sequence, is given by
where is a given positive constant representing a rate of deterioration, which is common for all jobs.

We study our problem with the two most frequently used due date assignment methods.

*(i) The Common Due Date Assignment Method *(usually referred to as* CON*). Where all jobs are assigned the same due date, such that is for and is a decision variable.

*(ii) The Slack Due Date Assignment Method *(usually referred to as* SLK*). Where all jobs are given an equal flow allowance that reflects equal waiting time (i.e., equal slacks), such that is for and is a decision variable.

We first provide some lemmas.

Lemma 1 (Hardy et al. [34]). *Let there be two sequences of numbers and (). The sum of products of the corresponding elements is the least if the sequences are monotonically ordered in the opposite sense.*

It is not difficult to see that the following property is valid for both the variants of our problem.

Lemma 2. *There exists an optimal schedule in which the following properties hold: (1) all the jobs are processed consecutively without idle time and the first job starts at time 0 for both the variants of the problem; (2) all the nontardy jobs are processed before all the tardy jobs for both the variants of the problem.*

#### 3. The* CON *Due Date Assignment Method

In the* CON* model, (). We choose as the cost function , where is a positive constant. Thus, it follows from function (3) that our problem is to minimize the objective function:

The problem denotes

Kahlbacher and Cheng [28] provide an time algorithm for the problem . In this section, we consider a generalization of the basic model with p-s-d setup times and position-dependent processing times. As a result of Lemma 2, we can restrict our attention to those schedules without idle times and search for the optimal schedule only among the schedules in which one of the jobs is on time.

Let ; then

Note that we need only to consider the schedule in which all the nontardy jobs are processed before all the tardy jobs.

Lemma 3. *For the problem
**
if the number of jobs in is (denote ), there exists an optimal schedule , such that .*

*Proof. *Suppose is an optimal schedule. Since jobs are nontardy, then . Let . Moving the due date units of time to the left such that , the objective value will be decreasing , which is nonnegative. This means we can find a schedule with that is at least as good as .

As a consequence of Lemma 3, we consider the schedule with .

Thus, where

Let be a binary variable such that if job is scheduled in the* r*th position and ; otherwise, . From (12), we can formulate the problem with objective (8) as the following assignment problem* A*1(*h*), which can be solved in time:
where

Note that is the cost of assigning job () in the* r*th () position in the schedule.

In order to derive the optimal solution, we have to solve the above assignment problem* A*1(*h*) for any . We summarize the results of the above analysis and present the following solution algorithm.

*Algorithm 4. ** **Step **1.* For (, all the jobs are tardy), calculate .*Step **2.* For from 1 to , solve the assignment problem* A*1(*h*) and calculate the corresponding objective value .*Step **3.* The optimal value of the function is equal to .

As a result, we obtain the following theorem.

Theorem 5. *Problem can be solved in time.*

We demonstrate our approach using the following example.

*Example 6. *Consider the problem .

Let , . The weights are , , and .

The processing times are , , , , and .

The tardy penalties are , , , , and .

The positional effects are

The assignment problem *A*1(3) is
where

The solution is

The optimal sequence is , . The total cost is 46.8.

#### 4. The* SLK *Due Date Assignment Method

In the* SLK* model, (). We choose as the cost function , where is a positive constant. Thus, it follows from function (3) that our problem is to minimize the objective function
The problem denotes .

Similar to the* CON* model, if the number of jobs in is given, we have the following solution.

Lemma 7. *For the problem , if , there exists an optimal schedule , such that the slack time .*

*Proof. *The proof is similar to that of Lemma 3.

Let , . Thus,
Consequently,
Therefore,
where

Since the objective functions for* CON* and* SLK* due date assignment methods have the same structure, we have the following solution.

Let be a binary variable such that if job is scheduled in the* r*th position and ; otherwise, . If , then we can formulate the problem with objective (20) as the following assignment problem* A*2(*h*), which can be solved in time:
where

In order to derive the optimal solution, we have to solve the above assignment problem* A*2(*h*) for any .

As a result, we obtain the following theorem.

Theorem 8. *The problem can be solved in time.*

#### 5. Job-Independent Position Effects Case

In this section, we explore the model with job-independent position effects; that is, the actual processing time of job , if scheduled in position of a sequence, is given by , where represent an array of job-independent positional factors. In Section 4, we have shown that the general version (job-dependent position effects) can be solved in time. In the following, we present an time dynamic programming algorithm for solving the special version with job-independent position effects. The main idea that will be used in the development of our algorithm is similar to that of Shabtay et al. [35].

Based on the properties proved in Section 4, we have the following solutions.

For the* CON* model, if , , and , then
where

For the* SLK* model, if , , and , then
where

Using (27) and (29), and with any of the two previously mentioned due date assignments methods, let ; the objective function can be formulated as for the special case of , where no jobs are tardy. From Lemma 1, the optimal job sequence is obtained by matching the largest value to the job with the smallest value, the second largest value to the job with the second smallest value, and so on. The index of the matched with specifies the position of job in the optimal sequence. For example, first renumber the jobs in the LPT order such that , and then reorder the positional weights such that ( is a permutation of ), schedules job in the position .

We now consider the due date assignment problem to minimize the objective function (3). Since the objective functions for all two due date assignment methods have the same structure, we provide a generic algorithm to solve these problems with two due date assignment methods. If set is given, (), then we can reorder the positional weights such that . Thus, an optimal job sequence of is obtained in time. However, in order to find the optimal solution for the due date assignment problem, the contribution of the total cost of the tardy jobs must be taken into account. Below, we present a new dynamic programming algorithm. For a given , the idea of a dynamic programming algorithm to minimize the function (3) is as follows. We define the states of the form , where means that jobs have been considered and , (), represents how many of these jobs have been sequenced as nontardy jobs. A state is associated with , the smallest value of the objective function in the class of partial schedules for processing jobs, provided that of the these jobs has been sequenced nontardy. This method works by either each job tardy or nontardy. Next, all values can be calculated by applying the recursion for and . The condition is that is necessary to ensure that we do not consider states that might lead to a solution which has fewer than jobs in set : since and there are jobs that have been sequenced nontardy among the first jobs, the remaining nontardy jobs needed to be selected from the last jobs. The formal statement of the algorithm is below.

*Algorithm 9. ** **Step **0.* Renumber the jobs in the* LPT *order such that .*Step **1.* Calculate positional weights where
for the* CON* model and , , (), and for the* SLK *model. Reorder the positional weights such that . Initialize , for .*Step **2.* For from 1 to calculate
*Step **3.* Compute the optimal value of the function .

For a given value, calculating all possible values using the above recursion relation requires time. Since the value of positional weights (and the order of positional weights) can be altered by changing the value, we must repeat the entire programming procedure for each . Thus the minimal objective value, , is given by

Therefore, the following statement holds.

Theorem 10. *Both the problems and can be solved in time.*

*Example 11. *Consider the problem .

Let and . The weights are , , and .

The processing times are , , , , and .

The tardy penalties are , , , , and .

The positional effects are , , , , and .

Positional weights are , , and .

Positional weights are reordered such that ; that is, , , and :
Therefore, .

The optimal sequence is , . The total cost is 145.

#### 6. Conclusions

Scheduling problems involving position-dependent processing time have received increasing attention in recent years. In this paper, we considered single machine scheduling and due date assignment with setup time in which a job’s processing time depends on its position in a sequence. The setup time is past-sequence-dependent (p-s-d). The objective functions include total earliness, the weighted number of tardy jobs, and the cost of due date assignment. The due date assignment methods used in this problem include common due date (*CON*) and equal slack (*SLK*). We have presented an time algorithm for the general case and an time dynamic programming algorithm for the special cases. In the paper, the model with position-dependent effects is considered. However, in some other situations, a job’s processing time may be time-dependent or both position-dependent and time-dependent. Therefore, it is worthwhile for future research to investigate the model in which a job’s processing time depends both on its position in a sequence and its start time. It is also interesting for future research to investigate the model in the context of other scheduling settings, including multimachine and job-shop scheduling.

#### 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 three anonymous referees for their helpful comments on the earlier version of the paper. This paper was supported in part by the Ministry of Science and Technology of Taiwan under Grant no. MOST 103-2221-E-252-004.

#### References

- A. Bachman and A. Janiak, “Scheduling jobs with position-dependent processing times,”
*Journal of the Operational Research Society*, vol. 55, no. 3, pp. 257–264, 2004. View at: Publisher Site | Google Scholar - D. Biskup, “Single-machine scheduling with learning considerations,”
*European Journal of Operational Research*, vol. 115, no. 1, pp. 173–178, 1999. View at: Publisher Site | Google Scholar | Zentralblatt MATH - T. C. E. Cheng and G. Wang, “Single machine scheduling with learning effect considerations,”
*Annals of Operations Research*, vol. 98, pp. 273–290 (2001), 2000. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - 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 Site | Google Scholar | Zentralblatt MATH | MathSciNet - G. Mosheiov, “Scheduling problems with a learning effect,”
*European Journal of Operational Research*, vol. 132, no. 3, pp. 687–693, 2001. View at: Publisher Site | Google Scholar | MathSciNet - G. Mosheiov, “Parallel machine scheduling with a learning effect,”
*Journal of the Operational Research Society*, vol. 52, no. 10, pp. 1165–1169, 2001. View at: Google Scholar - C. Wu, W. Lee, and T. Chen, “Heuristic algorithms for solving the maximum lateness scheduling problem with learning considerations,”
*Computers and Industrial Engineering*, vol. 52, no. 1, pp. 124–132, 2007. View at: Publisher Site | Google Scholar - C. Wu, P. Hsu, J. C. Chen, and N. S. Wang, “Genetic algorithm for minimizing the total weighted completion time scheduling problem with learning and release times,”
*Computers & Operations Research*, vol. 38, no. 7, pp. 1025–1034, 2011. View at: Publisher Site | Google Scholar | MathSciNet - Y. Q. Yin, W. H. Wu, T. C. E. Cheng, and C. C. Wu, “Single-machine scheduling with time-dependent and position-dependent deteriorating jobs,”
*International Journal of Computer Integrated Manufacturing*, 2014. View at: Publisher Site | Google Scholar - Y. Q. Yin, T. C. E. Cheng, and C. C. Wu, “Scheduling with time-dependent processing times,”
*Mathematical Problems in Engineering*, vol. 2014, Article ID 201421, 2 pages, 2014. View at: Publisher Site | Google Scholar - 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 Site | Google Scholar | Zentralblatt MATH | MathSciNet - G. Mosheiov, “A note on scheduling deteriorating jobs,”
*Mathematical and Computer Modelling*, vol. 41, no. 8-9, pp. 883–886, 2005. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - W.-H. Kuo and D.-L. Yang, “Minimizing the makespan in a single-machine scheduling problem with the cyclic process of an aging effect,”
*Journal of the Operational Research Society*, vol. 59, no. 3, pp. 416–420, 2008. View at: Publisher Site | Google Scholar - A. Janiak and R. Rudek, “Scheduling jobs under an aging effect,”
*Journal of the Operational Research Society*, vol. 61, no. 6, pp. 1041–1048, 2010. View at: Publisher Site | Google Scholar - C. L. Zhao and H. Y. Tang, “Single machine scheduling with general job-dependent aging effect and maintenance activities to minimize makespan,”
*Applied Mathematical Modelling*, vol. 34, no. 3, pp. 837–841, 2010. View at: Publisher Site | Google Scholar | MathSciNet - K. Rustogi and V. A. Strusevich, “Single machine scheduling with general positional deterioration and rate-modifying maintenance,”
*Omega*, vol. 40, no. 6, pp. 791–804, 2012. View at: Publisher Site | Google Scholar - G. Mosheiov, “Proportionate flowshops with general position-dependent processing times,”
*Information Processing Letters*, vol. 111, no. 4, pp. 174–177, 2011. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - C. Zhao, Y. Yin, T. C. E. Cheng, and C. Wu, “Single-machine scheduling and due date assignment with rejection and position-dependent processing times,”
*Journal of Industrial and Management Optimization*, vol. 10, no. 3, pp. 691–700, 2014. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - K. Rustogi and V. A. Strusevich, “Simple matching vs linear assignment in scheduling models with positional effects: a critical review,”
*European Journal of Operational Research*, vol. 222, no. 3, pp. 393–407, 2012. View at: Publisher Site | Google Scholar | MathSciNet - C. Koulamas and G. J. Kyparisis, “Single-machine scheduling problems with past-sequence-dependent setup times,”
*European Journal of Operational Research*, vol. 187, no. 3, pp. 1045–1049, 2008. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - J. Wang, “Single-machine scheduling with past-sequence-dependent setup times and time-dependent learning effect,”
*Computers and Industrial Engineering*, vol. 55, no. 3, pp. 584–591, 2008. View at: Publisher Site | Google Scholar - Y. Yin, D. Xu, and J. Wang, “Some single-machine scheduling problems with past-sequence-dependent setup times and a general learning effect,”
*International Journal of Advanced Manufacturing Technology*, vol. 48, no. 9–12, pp. 1123–1132, 2010. View at: Publisher Site | Google Scholar - C.-J. Hsu, W.-H. Kuo, and D.-L. Yang, “Unrelated parallel machine scheduling with past-sequence-dependent setup time and learning effects,”
*Applied Mathematical Modelling*, vol. 35, no. 3, pp. 1492–1496, 2011. View at: Publisher Site | Google Scholar | MathSciNet - W. Lee, “Single-machine scheduling with past-sequence-dependent setup times and general effects of deterioration and learning,”
*Optimization Letters*, vol. 8, no. 1, pp. 135–144, 2014. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - X. Huang, G. Li, Y. Huo, and P. Ji, “Single machine scheduling with general time-dependent deterioration, position-dependent learning and past-sequence-dependent setup times,”
*Optimization Letters*, vol. 7, no. 8, pp. 1793–1804, 2013. View at: Publisher Site | Google Scholar | MathSciNet - V. Gordon, J. Proth, and C. Chu, “A survey of the state-of-the-art of common due date assignment and scheduling research,”
*European Journal of Operational Research*, vol. 139, no. 1, pp. 1–25, 2002. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - Y. Yin, M. Liu, T. C. E. Cheng, C. Wu, and S. Cheng, “Four single-machine scheduling problems involving due date determination decisions,”
*Information Sciences. An International Journal*, vol. 251, pp. 164–181, 2013. View at: Publisher Site | Google Scholar | MathSciNet - H. G. Kahlbacher and T. C. E. Cheng, “Parallel machine scheduling to minimize costs for earliness and number of tardy jobs,”
*Discrete Applied Mathematics*, vol. 47, no. 2, pp. 139–164, 1993. View at: Publisher Site | Google Scholar | MathSciNet - D. Shabtay and G. Steiner, “Two due date assignment problems in scheduling a single machine,”
*Operations Research Letters*, vol. 34, no. 6, pp. 683–691, 2006. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - C. Koulamas, “A faster algorithm for a due date assignment problem with tardy jobs,”
*Operations Research Letters*, vol. 38, no. 2, pp. 127–128, 2010. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - V. S. Gordon and V. A. Strusevich, “Machine scheduling and due date assignment with positionally dependent processing times,”
*European Journal of Operational Research*, vol. 198, pp. 57–62, 2009. View at: Google Scholar - C. Hsu, S. Yang, and D. Yang, “Two due date assignment problems with position-dependent processing time on a single-machine,”
*Computers and Industrial Engineering*, vol. 60, no. 4, pp. 796–800, 2011. View at: Publisher Site | Google Scholar - J. Wang, “Flow shop scheduling jobs with position-dependent processing times,”
*Journal of Applied Mathematics & Computing*, vol. 18, no. 1-2, pp. 383–391, 2005. View at: Publisher Site | Google Scholar | MathSciNet - G. H. Hardy, J. E. Littlewood, and G. Polya,
*Inequalities*, Cambridge University Press, London, UK, 1967. - D. Shabtay, N. Gaspar, and L. Yedidsion, “A bicriteria approach to scheduling a single machine with job rejection and positional penalties,”
*Journal of Combinatorial Optimization*, vol. 23, no. 4, pp. 395–424, 2012. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet

#### Copyright

Copyright © 2014 Chuan-Li Zhao 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.