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 kth 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 rth position and ; otherwise, . From (12), we can formulate the problem with objective (8) as the following assignment problem A1(h), which can be solved in time: where

Note that is the cost of assigning job () in the rth () position in the schedule.

In order to derive the optimal solution, we have to solve the above assignment problem A1(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 A1(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 A1(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 rth position and ; otherwise, . If , then we can formulate the problem with objective (20) as the following assignment problem A2(h), which can be solved in time: where

In order to derive the optimal solution, we have to solve the above assignment problem A2(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.