Abstract

Most studies on common due date problems discuss the topic in the context of solving the minimum penalty value for the single-machine or parallel machine scheduling environment. This study extends the problem of the common due date to the dynamic flow shop environment and proposes the enhanced heuristic algorithm to solve the minimum penalty value. The enhanced heuristic algorithm is characterized by designating mutant genomes of the child as the genomes located at the central location before mutation. The advantage is to integrate the successful experiences of the conventional common due date algorithm to improve the efficiency of the proposed heuristic algorithm. The performance of both algorithms is analyzed in terms of uniformly distributed job numbers, processing time, early penalty, and late penalty. The resulting outcomes indicate that the enhanced heuristic algorithm outperforms the conventional CDDA and EDD proposed by previous studies in the average penalties.

1. Introduction

The semiconductor manufacturing environment can be regarded as one of the most complicated production processes and usually operates hundreds of machines. Moreover, Liu et al. [1] stated that there are approximately 400 process operations in the process flow and the processing cycle may last for several months. To gain a competitive edge in semiconductor manufacturing, the enterprises intend to shorten the cycle time, reduce the production costs, and improve the quality by executing effective controls on the production process. Mönch et al. [2] claimed that production scheduling can be an appropriate approach to solving the mentioned problems. Furthermore, a manager would like to satisfy those chips that are in the processing list at a predetermined time point. That is, they are of a common due date. The objective can be to find the optimal schedule of the jobs, which minimizes the total penalty based on the due date and the earliness or tardiness of each job [3]. The earliness and tardiness objective functions are motivated by the just-in-time (JIT) philosophy. Moreover, JIT is applied in many back-end facilities due to the need to reduce holding costs and meet internal and external due dates. This leads to production cycles being optimized so that companies produce products in an efficient manner from their manufacturing facilities. For instance, service companies would adopt the JIT scheduling concept to reduce inventory costs and focus on the satisfaction of customers. In general, the cost of being early can be considered as a holding cost for finished goods, deterioration of perishable goods, and opportunity costs. The cost of being tardy may be the backlogging cost, which includes performance penalties, lost sales, and lost goodwill [4]. Lauff and Werner [5] argued that although there are lots of studies investigating single-machine problems with earliness and tardiness penalties, a few articles deal with parallel machine problems and only very few ones treat shop scheduling problems with earliness and tardiness penalties.

We can see that previous studies mostly discussed the common due date of the single-machine or parallel machine scheduling; thus, this study extends the common due date problem to the dynamic flow shop scheduling environment. Because the dynamic flow shop scheduling environment is an NP-hard problem [69], we developed the enhanced genetic algorithm. By the conventional genetic algorithm, the specific shipping dates expected by different customers are encoded to the maternal gene sequence, and thus the children are generated through the genetic evolution of crossover and mutation. As a result, the most elite child with the solution of the minimum acceptable penalty value is selected to be the common due date. In order to optimize the number of evolutions and iterations, our proposed method adds iteration optimizing factors to force the children to mutate at each iteration and utilizes the evolved mutated children for decoding the common due date schedule. After comparing with the normally evolved children through the traditional genetic algorithm, any child with the minimum penalty value is selected to be the common due date for the jobs reported to customers. In this article, we utilize Monte Carlo simulation to generate numerical examples. The results show that the average penalties obtained by our proposed method are less than those obtained by the traditional genetic algorithm with a 95% confidence interval in terms of uniformly distributed job numbers, processing time, early penalty, and late penalty.

The remaining parts of this article can be organized as follows. The literature review is surveyed in Section 2. Section 3 presents our proposed algorithm and Section 4 utilizes the illustrative case study and further conducts the analysis based on the results. Finally, Section 5 concludes this study and provides the future direction of the research.

2. Literature Review

Moore [10] proposed the algorithm considering computational efficiency for large problems and formulated for sequencing jobs through a single facility to minimize the number of tardy jobs. Lawler [11] considered a sequence minimizing the maximum of the incurred costs. The cost can be incurred by completing the job at time t. Panwakar et al. [7] investigated the penalty function based on the due date value and the earliness or the tardiness of each job in the selected sequence. Ow and Morton [12] proposed their algorithm to minimize total early and tardy costs by a given set of jobs processed on a single machine. Two dispatch priority rules are proposed and tested for this NP-complete problem. Lee et al. [6] studied the case of job-dependent penalties under a certain condition on the ratio of processing times and weights. They developed dynamic programming algorithms to solve the solutions. Błazewicz et al. [13] presented the two-machine non-preemptive flow shop scheduling problem with a total weighted late work criterion and a common due date. The late work performance measure estimates the quality of the obtained solution with regard to the duration of late parts of tasks, not taking into account the quantity of this delay. Yang et al. [14] investigated the assignment of single-machine multiple common due dates and scheduling problems with consideration of position and resource allocation-dependent processing time. They proposed two algorithms that can be executed within polynomial time. Wang and Wang [15] studied a single-machine earliness-tardiness scheduling problem with due date assignment where the job processing time is dependent on its starting time and resource allocation. Liu et al. [16] proposed a new metaheuristic algorithm based on the architecture of the iterated greedy algorithm with enhanced destruction, construction, and new repair method to solve dynamic scheduling in the permutation flow shop with the new order arrival. Koulamas [17] considered the single-machine common due date assignment problem with generalized earliness and tardiness penalties and showed that the problem can be solved optimally in the polynomial time by dynamic programming. Li and Chen [9] addressed a single-machine scheduling and common due date assignment problem in which the actual processing time of a job is a linearly increasing function of the total basic processing times of already processed jobs. Sun et al. [18] studied the problem of two-machine no-wait flow shop scheduling with a learning effect and convex resource-dependent processing times. They provided a bicriteria analysis where the first criterion is to minimize the weighted sum of earliness, tardiness, and flow allowance costs, and the second criterion is to minimize the weighted sum of resource consumption cost. Fu et al. [19] draw a decision on the common due date, resource allocation, and the sequence of jobs by minimizing total earliness, tardiness, common due date cost, and total resource cost. Lu et al. [20] developed a hybrid multiobjective grey wolf optimizer (HMOGWO) to solve the multiobjective dynamic welding scheduling problem (MODWSP). Their model considers machines breakdown, jobs with poor quality, and job release delay to fulfill the needs of dynamic production. Zhou et al. [21] considered an event-triggered dynamic scheduling problem in the cloud manufacturing environment. They further utilized the case study to demonstrate its model capability in task execution time. Yan et al. [22] solved a real-time dynamic job-shop scheduling problem in a robotic cell where multiple jobs enter into the cell with unexpected arriving rates. They formulate the problem as a sophisticated mixed-integer programming (MIP) model and propose an exact iterative algorithm. The resulting outcomes validate the effectiveness and efficiency of the strengthened MIP model and the iterative algorithm.

3. Methodology

The common due date algorithm [4] indicates that the advantage completion dates with the lowest total penalty cost are all sets at the center of job numbers sequences. Therefore, the proposed GAE designates the optimizing factors mutant genomes of the children as the centrally located genomes of the offspring before mutation in the dynamic flow shop scheduling. This advantage intends to integrate the successful experiences of the common due date algorithm to improve the efficiency of GAE.

3.1. Notations and the Mathematical Model

The notations used in this article are given as follows: P, the total penalty cost; Cj, the completion time of job j; CDDj, the common due date of job j; EPj, the early penalty cost of job j; LPj, the late penalty cost of job j;

The objective function of our model is to minimize the total penalty cost and can be formulated as follows:

In (1), we sum up the penalty of each job. Note that Ej + Lj = 1 means that the early penalty cost and late penalty cost of job j cannot exist simultaneously. The early penalty cost of job j can be calculated by , and we can obtain the late penalty cost of job j by . In our solution procedure, we apply the enhanced genetic algorithm, common due date algorithm, and early due date rule to solve our model.

3.2. Enhanced Genetic Algorithm

This study proposes the enhanced genetic algorithm (refer to GAE) performed by the following 9 steps:Step 1. Population size: Set the job order number (n) under the dynamic flow shop scheduling environment as the number of population size.Step 2. Parent selection: Take the work order with the maximum delay penalty value as the last genome of the maternal gene sequences and arrange the remaining gene sequences randomly. After arrangement, if the last delay penalty value appears the same and the work order can be selected from multiple options, then the last job is randomly arranged in priority and the remaining jobs are randomly arranged.Step 3. Rule of crossover: Arrange the parents in a descending sequence based on the total penalty cost from high to low. The parents with the largest total penalty value are crossed over with those with the second largest value; the parents with the third maximum value are mated with those with the fourth maximum value, and so on. They iteratively cross over with each other until the same number of children is generated.Step 4. Crossover value (child): The child from the crossover is generated as follows: add up the parents of every pair and calculate the mean value of the total penalty, and then conduct unconditional rounding up. If the roundup value is repeated, assign the next unrepeated order to replace the value. For example, the mean value of the parents 1 and 2 is 3.5; thus, the children will be rounded up in value 4. This roundup value is the offspring of this crossover. Stop the procedure when all children are completely generated.Step 5. Mutation probability of children: Set the mutation probability as 1/n (for instance, if there are four generations of children, set the mutation probability as 1/n= 1/4 = 0.25). The children with the lowest total penalty cost before mutation are selected for mutation.Step 6. Selection of the centrally located genomes of the children before mutation: The GAE designates the mutant genomes of the children as the centrally located genomes of the offspring before its mutation. For example, the genome at the central location of children 1 before mutation is 5 and the genome at the central location of children 2 after mutation is random value 1.Step 7. Application of the backward-forward heuristic: Find out the minimum total penalty value of this job order scheduling by applying the backward-forward heuristic [4]. In the backward phase, the initial job sequence is developed. The sequential job assignments start from the last position and proceed backward toward the first position. The assignments are completed when the first position is assigned to a job. Perform the forward pass on the job sequence found in the backward phase that is the "best" sequence at this stage. The forward pass progresses from the job in position 1 toward the job in position N. Let k define the lag between two jobs that are exchanged in the sequence. For example, jobs occupying positions 1 and 3 have lag k equal to 2.Step 8. Select the minimum total penalty value obtained at Step 7, and its scheduling is the optimal solution for the common due date problem.Step 9. Termination rule: repeat Step 1 to Step 8 and continue crossover for N/2 times. If one observes no improvement in regard to the currently attempted optimal solution, then stop GAE algorithm. The lowest total penalty cost during the crossover is considered the optimal solution.

3.3. The Encoding and Decoding of the GAE

In Figure 1(a), given n jobs, an order is encoded by a permutation of integers between 1 and m our GAE. In Figure 1(b), the genetic evolution of crossover rules can be seen in Step 3 and Step 4. In Figure 1(c), when the optimum sequence is found, we first decode it back to a route where the sequence is represented and the job n is processed on machines. Then, we decode a route back to a schedule as Gantt chart. We can derive the specific completion time Cj according to equation (1) with the minimum penalty value. The resulting outcomes can be generated as the common due date for the jobs, which can be provided for customers.

4. Parameter Design and Case Study

4.1. Numerical Results
4.1.1. Parameter Design

Based on [4], Table 1 shows three scenarios with its parameter setup. We assume all parameters following the uniform distribution on a specific interval. For instance, in scenario 1, the processing time of machine 1 has a uniform distribution on the interval [6, 23].

4.2. The GAE Algorithm Procedure

In scenario 1, from the simulated results of the uniform distribution shown in Table 1, we can obtain the simulated datasets of the dynamic flow shop scheduling shown in Table 2. To clearly explain our proposed algorithm, we detail the solution procedure of the simulation result of scenario 1 as follows.Step 1. Simulate the population size under scenario 1, as shown in Table 3.Step 2. Take job order 1 with the maximum delay penalty value as the last genome of the initial population genetic sequences and arrange the remaining genetic sequences randomly.Step 3. Arrange the parents in a descending sequence based on the total penalty cost from high to low. The member with the largest total penalty value is crossed over with that with the second largest value (i.e., parents 1 and 2), and the member with the third maximum value is crossed over with that with the fourth largest value (i.e., parents 3 and 4), and so on.Step 4. Generate children from the crossover. Add up the parents of every pair and calculate the mean value of the total penalty, and then conduct unconditional rounding up. This roundup value is the crossover of the child in this iteration. Stop the procedure until all children are completely produced, as shown in Table 3.Step 5. Set the mutation probability of child as 1/n: For instance, for scenario 1, if there are six generations of offspring after mating, set the mutation probability as 1/n= 1/6 = 0.1667). Next, from iteration 2, select the children member 24 with the lowest total penalty cost of $1344 before mutation as a candidate for mutation, as shown in Table 4.Step 6. Select 4 as the centrally located genome of the children (member 24, 3-5-6-4-1-2) before mutation, and the centrally located genome, 1, of the child (member 26, 2-5-3-1-6-4) after mutation. The total penalty cost is reduced to $1313. So far, the GAE algorithm shown in Table 4 completes the iterated application of scenario 1 for the second time.Step 9. Termination rule: after iterative crossover for 6/2 = 3 times in scenario 1, the simulation results indicate during crossover that, among all the members, parent member 6 is the one with the lowest total penalty cost—the order processing sequence is 3-5-6-2-4-1, the optimum solution is $1267, and the optimum delivery date set by GAE is 112 days.

In scenario 2, from the simulated results in Tables 5 and 6, it is found that, during the crossover, among all the child members, the children member 34 after mutation is the one with the lowest total penalty cost, its order processing sequence is 5-1-6-7-2-4-3-8, the optimum solution is $418, and the optimum shipping date set by GAE is 72 days. In scenario 3, from the simulated results in Tables 7 and 8, it is found that, during crossover, among all the child members, the children member 20 is the one with the lowest total penalty cost, the order processing sequence is 5-3-4-1-2, the optimum solution is $350, and the optimum delivery date set by GAE is 84 days.

4.3. The Common Due Date Algorithm
4.3.1. The Common Due Date Algorithm Procedure

Sule [4] proposed the general common due date algorithm (CDDA) in the following steps:Step 1. Select the early and late penalty values of all unscheduled job orders and find out the minimum one.Step 2. As for N job orders, arrange the one with the maximum early penalty value in the first place for production in priority and similarly arrange the one with the minimum late penalty value in the last place for production. Among the work orders with early penalty values, those taking a long time for processing are arranged forward, and among the work orders with late penalty values, those taking a long time for processing are arranged backward. For any work order with the same early and late penalty cost, the arrangement can be optional, either the earliest scheduling or the latest scheduling.Step 3. Respectively, calculate the total penalty value for the common due date of each job order according to the scheduling determined in Step 2.Step 4. Find out the minimum total penalty value of this work order scheduling in the backward-forward heuristic [4].Step 5. Select the minimum total penalty value obtained in Step 4, and its scheduling is the optimal solution for the common due date.

4.3.2. The Numerical Results of the Common Due Date Algorithm

The initial scheduling of the specific shipping dates for three scenarios in Table 9 is obtained. As for scenario 2 in Table 10, the order processing sequence is 5-1-2-4-7-6-8-3, the optimum solution is $440, and the optimum delivery date set by CDDA is 77 days. By comparing the performance of CDDA and GAE in three scenarios in Table 11, the results indicate that the optimum solutions of GAE is smaller than those of CDDA, and the penalty value respectively is reduced 2.08%, 5%, and 47.29%.

4.3.3. Statistics and Informatics

This section presents statistics and informatics of the numerical results by simulation dataset (e.g., scenarios 1, 2, and 3) corresponding to the average penalties and standard deviation of due dates between CDDA and GAE and the mean plot of penalties. Table 12 shows that the average penalties are 1261.789 dollars for the CDDA method and 913.889 dollars for the GAE method. Furthermore, the average penalties obtained by the GAE method lead to a 28% reduction compared to that obtained by the CDDA method.

4.4. The Most Compared Algorithms and Their Statistics

This article further applies the earliest due date (EDD) rule to see our model performance. The EDD rule is that jobs are processed according to the due date, the earliest due date first. We assume that the total processing time is set up to be the due date once this article employs the EDD rule. In addition, this article utilizes the Monte Carlo simulation method to generate the validation data, the processing time, early penalty, and late penalty, as shown in Tables 2, 5, 7. It simulates 30 replications of datasets, including the processing time of machines from 3 to 26, early penalty with a range between 1 and 9 dollars, and a late penalty with a range between 5 and 15 dollars. The resulting outcomes derived by GAE, CDDA, and EDD can be found in Tables 1315. One would know that analysis of variance (ANOVA) is a statistical technique to check if the means of two or more groups are significantly different from each other. In this article, we compare the performance of these three methodologies using ANOVA. In scenario 1, the average penalty derived by GAE model is $1328.77, by CDDA model is $1709.20, and by EDD model is $2835.93 in Table 13. Based on the data, the statistic can be 61.97 and p value is less than 0.05. It means that a significant difference exists among the three models. Moreover, we further apply Tukey’s honestly significant difference (HSD) test to see all possible pairwise comparisons while keeping the familywise error rate low. The resulting outcomes can be arranged in Table 16. Table 13 indicates that GAE outperforms the other two models in penalties. Following the same procedure, our proposed model results in improved penalties compared to those obtained by CDDA and EDD models of scenarios 2 and 3 in Tables 17 and 18. Obviously, our proposed solution procedure can be applied to solve the scheduling problem in an efficient manner. The manufacturing companies would benefit substantially from the application of our proposed model.

5. Conclusion

By the simulation results derived in this study, we can see that employing the modified genetic algorithm can improve the optimum solution quality of common due date for the minimum total penalty value in the dynamic flow shop scheduling. Furthermore, the modified genetic algorithm can solve the complicated problem of common due date in the dynamic flow shop scheduling through a more simplified method, as shown in Section 4.2. At last, through iterative experiments, the modified genetic algorithm is proved to be superior to the CDDA approach proposed by Suel [4]. This article considers the advantage of genetic algorithm to design the termination rule, crossover, and mutation to generate diversified children at the initial stage; thus, the problems can be solved in a simple, timesaving manner. Furthermore, our studies compare the performance of the proposed GAE EDD and CDDA. The resulting outcomes show that our model outperforms CDDA and EDD. The manufacturing companies would implement our solution procedure to gain the benefits.

One would note that during the process of obtaining the optimal solution, the study determines that the expected delivery date arising from permutation and combination of delivery date must be set at the central location of combination, a significant characteristic to be adopted to the enhanced genetic algorithm for solving the common due date problem in the three-stage dynamic flow shop. The following three points are proposed for future researchers to study. From the conclusion, it is known that the genetic algorithm is suitable for large population sizes and job orders. From the experiments, we find that, in the case of small population size and job orders, the CDDA can be directly used to avoid wasting too much calculating time and cost. When designing a new genetic algorithm, attempt to diversify the children after crossover. Furthermore, the simple crossover would generate homogeneous children without much variety. After several crossovers are iterated, similar children are more likely to be generated, but no optimum solution is provided. Hence, the variety or mutation rate should be increased during the crossover process to produce more diversified offspring. More combination modes shall be added in terms of child mutation. The homogeneous models may only be applicable in the case that the job orders are in small number; when the work orders are in large number, the children after mutation will easily become identical with those generated through general crossover; therefore, the importance of mutation cannot be accentuated and the significance of mutation is lost.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

This research was funded by the Ministry of Science and Technology of Taiwan under Grant 110-2221-E-005-087-.