Abstract
In this paper, the single-machine scheduling problems under the common and slack due date assignments are studied, where the actual processing time of the job needs to consider some factors, such as convex resource allocation, maintenance activity, and learning effects. The goal of this study is to find the optimal sequence, maintenance activity location, resource allocation and common due date (flow allowance). The objective function is (1) to minimize the sum of scheduling cost (including the weighted sum of earliness, tardiness and common due date (flow allowance), where the weights are position-dependent weights) and resource consumption cost, and (2) to minimize the scheduling cost under the resource consumption cost which is bounded. We prove that these problems can be solved in polynomial time.
Keywords:
scheduling; learning effect; maintenance activity; resource allocation; due date assignment MSC:
90B35
1. Introduction
In a realistic scheduling system, the job-processing time is often affected by many practical settings, such as learning effects, resource allocation, and maintenance activities. Learning effects appear such that, for example, workers continue to process the same jobs, experience increases, and the actual processing time of the work is gradually shortened (see Mosheiov [1]; Cheng et al. [2]; Wu et al. [3]; Azzouz et al. [4]; Sun et al. [5]; Zhao [6]; and Wang et al. [7]). The manager assigns a certain amount of additional resources to the job to reduce and control the processing time of the artifact. Common limited resources are the financial budget, energy, fuel, or manpower (see Vixkson [8]; Shabtay and Kasoi [9]; Wang and Cheng [10]; Shabtay and Steiner [11]; Zhang et al. [12]; Wang et al. [13]). In production, due to machine failure or the processing time being too long, wear will inevitably occur and reduce the working rate, so maintenance activities can be carried out to reduce the job processing time (see Lee and Leon [14]; Wang and Wang [15]; Mosheiov and Sidney [16]; Bai et al. [17]; Yin et al. [18]; and Strusevich and Rustogi [19]).
In order to strengthen global business competition and improve customer satisfaction, new production technologies such as “just-in-time” (JIT) production are adopted. The emergence of the concept of JIT production and the sequencing problems have attracted widespread attention; in a just-in-time system, jobs (work pieces) can neither be completed early nor late, otherwise penalty costs will be incurred (see Parwalker et al. [20], and Cheng et al. [21]). In addition, in actual production, we found that task-processing rates can be affected by several factors simultaneously. Therefore, in previous studies, Ji et al. [22] considered a single machine due date assignment scheduling problem with job-dependent aging effects and a deteriorating maintenance activity, where due dates are assigned using the SLK due date determination method. He et al. [23] studied the single-machine sequencing problem of resource allocation with general truncated learning effects. A convex resource allocation model under the condition of finite resource consumption cost is proposed, and various optimal algorithms are given for different cases of the problem. Liu and Jiang [24] delved into due date assignment scheduling problems with learning effects and resource allocation. Under common due date assignment and slack due date assignment rules, a bi-criteria analysis is provided. Zhao et al. [25] examined a single machine scheduling problem with slack due date assignment in which the actual processing time of a job is determined by its position in a sequence, its resource allocation function, and a rate-modifying activity simultaneously.
In previous studies, two different resource allocation functions were usually employed. One was a linear function setting for the amount of resources and actual processing time associated with each job (Janiak and Kovalyov [26]), and the other was a convex function setting for the amount of resources assigned to each job (Monma et al. [27]). In general, there are two ways to model learning effects: one is a location-dependent learning effect (Biskup [28]), and the other is a time-dependent (sum-of-processing time) learning effect (Azzouz et al. [4]). Wang et al. [29] considered location-dependent learning effects and convex resource allocation to build the model where is a given constant, is the learning factor, is the normal processing time of job , and is the resource allocated to the job . Zhu et al. [30] addressed the job processing time considering the rate modification activity, learning effect and convex resource allocation, described as follows: when the rate modification activity is not carried out, the job-processing time is ; otherwise, it is , where is the modifying rate. For a comparison with other similar papers (see Table 1; the related symbols are given later), this article extends the results of Wang and Wang [15], Bai et al. [17], Ji et al. [22], Zhao et al. [25], Wang et al. [29], and Zhu et al. [30] by scrutinizing a more general scheduling model.
Table 1.
Models studied.
This paper’s contributions and novelties are as follows:
- Single-machine maintenance scheduling with convex resource constraint and learning effect is modeled and studied;
- Four algorithms are provided for the following two objective functions: (1) minimize the sum of scheduling cost (including the weighted sum of earliness, tardiness and common due date (flow allowance), where the weight is the position-dependent weight) and resource consumption cost; and (2) the resource consumption cost has an upper bound, minimizing the dispatch cost.
- It is shown that these problems can be solved in polynomial time, and the effectiveness of the algorithms is presented by numerical study.
The paper is organized as follows. Section 2 introduces the model. Section 3 describes the optimal properties. Section 4 performs an optimal analysis of the objective function and proves that it can be solved in polynomial time. In Section 5, an example is calculated, and numerical experiments are carried out to verify the effectiveness of the algorithm. Section 6 concludes this paper.
2. Problem Description
In this article, the use of symbols is listed in Table 2, and the problem can be stated as follows: there are n independent and non-preemptive jobs to be processed on a single machine. Each job is available for processing at time zero. The machine can handle one job at a time. In addition, for any sequence , there is a maintenance activity whose duration time is t and no jobs are processed during this execution.
Table 2.
Notations.
In this paper, the model considered is as follows
where , is a constant, is the non-negative learning index, is the modifying rate (it satisfies ) and l denotes the position of the job preceding the maintenance activity (i.e., position is the first position after the maintenance activity). In addition, in this article, we discuss two due date assignment models, including the common (CON) due date and slack (SLK) due date assignment. For the CON, , where is a decision variable. For the SLK, , where the common flow allowance is a decision variable. Given that the maintenance activity time is a fixed value, our goal is to determine the optimal sequence of jobs , optimal amount of resource allocation , optimal due date ( or ) and maintenance location . The first problem of this paper is to minimize
using three-field representation, the first problem () can be expressed as
where means “a maintenance activity and learning effect”, and means “convex resource allocation”.
The second problem is to minimize
using three-field representation, and the second problem () can be expressed as
The third problem is to minimize under a common due date, and the cost of the resource consumption cannot exceed a ceiling, i.e., , and this problem (denoted by ) is
where is an upper bound on . The last problem is to consider the slack due date assignment, i.e., the fourth problem (denoted by P4) is
3. Main Properties
In this section, we show some main properties of the problems. Based on the above notations and allowing to perform a maintenance activity in position l, the maintenance time is a fixed constant t, and the completion time of each job j () can be presented in the following:
Under the optimal schedule, the first job starts processing at time 0 and there is no idle time between jobs.
Lemma 1.
For any given sequence , the optimal value of is determined by the completion time of the k-th job, i.e., . The optimal value of the common flow allowance is decided by the start time of the k-th job, i.e., .
Proof.
Now, we prove . Consider a schedule , with and let Z be the corresponding objective value. Define and . Let and be the objective values for and . Then
Thus, if and otherwise. This implies that an optimal solution exists in which is equal to the completion time of some job.
The proof for is similar to that for . □
Lemma 2.
In the optimal sequence, , , where k satisfies
and
Proof.
From Lemma 1, in the CON, , through the small disturbance technique, we move .
(1) If , the total cost is
(2) If , the total cost is
(3) If , the total cost is
We have
So k satisfies both
and . □
Remark 1.
For a given schedule, if k satisfies both the above inequalities, the optimal common due date can be determined by Lemma 2. But k may not meet both of the above inequalities, so we need to set , and this term can be minimized by the HLP rule (see Hardy et al. [31]).
4. Optimal Analysis
In this section, we perform an optimal analysis of single-machine maintenance activity scheduling problems with convex resource constraints and learning effects. In each case of the above problems in Section 2, the decision consists of four parts: optimal sequence of jobs , optimal amount of resource allocation , optimal due date ( or ) and maintenance location .
4.1. Results of
In this section, we provide an optimal solution to the P1 problem. For the its objective function can be expressed as follows.
If , where , we have
where
If , where , we have
where
Lemma 3.
For a given sequence ξ, the optimal resources allocation of P1 is as follows.
If ,
If ,
Proof.
From (8) and (10), the objective function is a convex function of . For the case of , deriving (8) with respect to , we have ,
Let , we have .
Similarly, if , the result (13) can be obtained. □
Bringing optimal (i.e., Equations (12) and (13)) into the objective function (i.e., Equations (8) and (10)) yields
where
It is obvious that is a constant (if the location l of the maintenance activity location is deterministic), and is only related to the the location l so that we find the minimal value of is actually the minimal value of . Let
can be minimized by solving the next assignment problem:
where is a 0 or 1 variable, if the job is at location r, , otherwise .
Based on the above analysis, it is obtained that the problem can be solved by the next Algorithm 1.
| Algorithm 1: Solution for problem . |
Initialization: Let , , , and . Step 1. For Step 2. If , then obtain the minimum value and the schedule by using (14)–(19); If , then let , , , and ; If , then obtain the minimum value and the schedule by using (14)–(19); If , then let , , , and . Step 3. Choose the minimum value , and obtain the corresponding schedule , , and . |
Theorem 1.
The problem can be solved by Algorithm 1 in time.
Proof.
The correctness of Algorithm 1 follows the above analysis. Steps 1 need time; for each maintenance position l, the complexity of the assignment problem is . Hence, Algorithm 1 can be solved in time. □
4.2. Results of
For the , its objective function (4) can be expressed as follows.
If , where ,
where
If , where
where
Lemma 4.
The optimal resource allocation of the problem is as follows.
If
If
Proof.
The proof process is similar to that of Lemma 3. Taking a partial derivative of Equation (20) with respect to and making it equal to 0, result Equation (25) can be obtained. □
Substituting Equations (24) and (25) into Equations (20) and (22), we have
where
and it is obvious that is a constant (if the location l of the maintenance activity location is deterministic), and is only related to the location l, so that we find the minimal value of is actually the minimal value of . Let
and can be minimized by solving the next assignment problem:
where is a 0 or 1 variable, if the job is at location r, , otherwise .
Based on the above analysis, the problem can be solved by the next Algorithm 2:
| Algorithm 2: Solution for problem . |
Initialization: Let , , , and . Step 1. For Step 2. If , then obtain the minimum value and the schedule by using (26)–(30); If , then let , , , and ; If , then obtain the minimum value and the schedule by using (26)–(30); If , then let , , , and . Step 3. Choose the minimum value , and obtain the corresponding schedule , , and . |
Theorem 2.
The problem can be solved by Algorithm 2 in time.
4.3. Results of
In this subsection, we consider the problem , i.e.,
If , similarly, we have
If , similarly, we have
where
Lemma 5.
For a given sequence ξ, the corresponding optimal resources allocation for P3 is as follows.
If
If
Proof.
Obviously, when , is the smallest. Thus, this problem becomes a conditional extreme problem of minimizing subject to . For this problem, we use the Lagrange multiplier method to solve it, and the Lagrange function is
where is the Lagrange multiplier.
Deriving (37) with respect to f and , we have
From (38), we have
From (39) and (40), we have
From (40) and (41), we have
□
Bringing optimal (i.e., Equations (35) and (36)) into the objective function (i.e., Equations (31) and (32)) yields
where is given by Equation (15) (is a constant), and
it is obvious that the minimal value of is actually the minimal value of . Let
can be minimized by solving the next assignment problem:
where is a 0 or 1 variable, and if the job is at location r, ; otherwise, .
Based on the above analysis, the problem can be solved by the next Algorithm 3:
| Algorithm 3: Solution for problem . |
Initialization: Let , , , and . Step 1. For Step 2. If , then obtain the minimum value and the schedule by using (43)–(46); If , then let , , , and ; If , then obtain the minimum value and the schedule by using (43)–(46); If , then let , , , and . Step 3. Choose the minimum value , and obtain the corresponding schedule , , and . |
Theorem 3.
The problem can be solved by Algorithm 3 in time.
4.4. Results of
Similar to Section 4.3, the problem can be expressed as follows.
If
If
where
Lemma 6.
The optimal resource allocation of the problem is as follows.
If
If
Proof.
Similar to the proof of Lemma 5. □
Bringing optimal (i.e., Equations (51) and (52)) into the objective function (i.e., Equations (47) and (48)) yields
where is given by Equation (27) (is a constant), and
Let
and can be minimized by solving the next assignment problem:
where is a 0 or 1 variable, and if the job is at location r, ; otherwise, .
The problem can be solved by the following Algorithm 4:
| Algorithm 4: Solution for problem . |
Initialization: Let , , , and . Step 1. For Step 2. If , then obtain the minimum value and the schedule by using (52)–(56); If , then let , , , and ; If , then obtain the minimum value and the schedule by using (52)–(56); If , then let , , , and . Step 3. Choose the minimum value , and obtain the corresponding schedule , , and . |
Theorem 4.
The problem can be solved by Algorithm 4 in time.
5. An Example and Numerical Study
5.1. An Example
Since algorithms of and (resp. and ) are similar, we only consider the calculation steps of (resp. ).
Let , , , , , , and the remaining data are given in Table 3.
Table 3.
The remaining data.
Solution: According to Lemma 2, we can obtain .
Case 1. First, we consider the problem .
When , from Equations (17) and (18), we can obtain
and it is easy to see that
;
;
;
= 29.34345;
.
Similarly, the rest of the values of are given in Table 4.
Table 4.
The values of .
We can obtain the optimal schedule by solving the assignment problem (19), and , , , , so .
: Similarly, we can easily find the values of from Equations (17) and (18), and solve the assignment problem (19) to obtain the optimal schedule , and , , , , so .
: With the above calculation, we can obtain the optimal schedule , and , , , , so .
: As above, we can obtain the optimal schedule , and = 242.07549, , , , so .
: We can obtain the optimal schedule , and , , , , so .
: We can obtain the optimal schedule , and , , , , so .
After the above calculation, the results of Case 1 are shown in Table 5.
Table 5.
The results of Case 1.
We can see that the optimal solution for is , , and
Case 2. Next, we compute the problem .
When , from Equations (44) and (45), we can obtain
and it is easy to see that
;
;
;
;
.
Similarly, the rest of the values of are given in Table 6,
Table 6.
The values of .
We can obtain the optimal schedule by solving the assignment problem (46), and , , , , so .
: Similarly, we can easily find the values of from Equations (44) and (45), and solve the assignment problem (46) to obtain the optimal schedule , and , , , , so .
: We can obtain the optimal schedule , and , , , , so .
: As given above, we can obtain the optimal schedule , and , , , , so .
: We can obtain the optimal schedule , and , , , , so .
: We can obtain the optimal schedule , and , , = 13.81905, , so .
After the above calculation, the results of Case 2 are shown in Table 7.
Table 7.
The results of Case 2.
We can see that the optimal solution for is , , and
5.2. Numerical Study
To test the validity of Algorithms 1–4, we randomly generated the instances. We implemented all the algorithms in Java language on JetBrains 2023, and coded on a PC with Intel(R) Core(TM) i5-10500 CPU @ 3.10 GHz, 8.00 GB of RAM on a Windows 10 OS. The features of the examples are listed below:
- (1)
- , and ;
- (2)
- , and ;
- (3)
- () is drawn from a discrete uniform distribution in [1, 100] (i.e., );
- (4)
- () ∼ [0.5, 1];
- (5)
- () ∼ [1, 40];
- (6)
- () ∼ [1, 50].
For each n, 20 instances are generated randomly. The computational tests for Algorithms 1–4 are given as follows. The average (mean) and maximum (max) CPU times (milliseconds (ms)) are shown in Table 8. From Table 8, we can see that Algorithms 1–4 are effective, and their CPU times increase moderately as n increases from 35 to 135, and the maximum CPU time is 139,834.75 ms for .
Table 8.
CPU times (ms) of algorithms.
6. Conclusions
In previous studies, the influence of learning effects and resource allocation factors in single-machine scheduling was considered. In this paper, we extend this setting by allowing the execution of a maintenance activity. It is revealed that these four problems can be solved in time (see Table 1). In future work, we will incorporate more realistic settings, such as multiple maintenance activities, or multiple machine (e.g., flow shop) conditions.
Author Contributions
Investigation, L.-Y.W.; Writing—original draft, Z.-J.W.; Writing—review and editing, Z.-J.W., L.-Y.W., L.Z., J.-B.W. and E.W. All authors have read and agreed to the published version of the manuscript.
Funding
This Work was supported by the Science Research Foundation of Educational Department of Liaoning Province (LJKMZ20220527). Ershen Wang was also supported by the SongShan Laboratory Foundation (YYJC062022017), the Open Fund of Key Laboratory of Flight Techniques and Flight Safety CAAC (FZ2021KF15, FZ2021ZZ06), the Applied Basic Research Programs of Liaoning Province (2022020502-JH2/1013), and the Special Funds program of Shenyang Science and technology (22-322-3-34).
Data Availability Statement
The data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Mosheiov, G. Scheduling problems with learning effect. Eur. J. Oper. Res. 2001, 132, 687–693. [Google Scholar] [CrossRef] [Scilit]
- Cheng, M.; Tadikamalla, P.R.; Shang, J.; Zhang, B. Single machine scheduling problems with exponentially time-dependent learning effects. J. Manuf. Syst. 2015, 34, 60–65. [Google Scholar] [CrossRef] [Scilit]
- Wu, W.H.; Chen, J.C.; Lin, W.C.; Wu, J.; Wu, C.C. A heuristic-based genetic algorithm for the two-machine flow shop scheduling with learning consideration. J. Manuf. Syst. 2015, 35, 223–233. [Google Scholar] [CrossRef] [Scilit]
- Azzouz, A.; Ennigrou, M.; Said, L.B. Scheduling problems under learning effects: Classification and cartography. Int. J. Prod. Res. 2018, 56, 1642–1661. [Google Scholar] [CrossRef] [Scilit]
- Sun, X.; Geng, X.N.; Liu, F. Flow shop scheduling with general position weighted learning effects to minimise total weighted completion time. Eur. J. Oper. Res. 2021, 72, 2674–2689. [Google Scholar] [CrossRef] [Scilit]
- Zhao, S. Scheduling jobs with general truncated learning effects including proportional setup times. Mathematics 2022, 41, 146. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.-B.; Zhang, L.-H.; Lv, Z.-G.; Lv, D.-Y.; Geng, X.-N.; Sun, X. Heuristic and exact algorithms for single-machine scheduling problems with general truncated learning effects. Mathematics 2022, 41, 417. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.-B.; Cui, B.; Ji, P.; Liu, W.-W. Research on scheduling with position-dependent weights and past-sequence-dependent delivery times. J. Comb. Optim. 2021, 41, 290–303. [Google Scholar] [CrossRef] [Scilit]
- Wang, S.-H.; Lv, D.-Y.; Wang, J.-B. Research on position-dependent weights scheduling with delivery times and truncated sum-of-processing-times-based learning effect. J. Ind. Manag. Optim. 2023, 19, 2824–2837. [Google Scholar] [CrossRef] [Scilit]
- Sun, X.-Y.; Geng, X.-N.; Liu, T. Due-window assignment scheduling in the proportionate flow shop setting. Ann. Oper. Res. 2020, 292, 113–131. [Google Scholar] [CrossRef] [Scilit]
- Qian, J.; Han, H. Improved algorithms for proportionate flow shop scheduling with due-window assignment. Ann. Oper. Res. 2022, 309, 249–258. [Google Scholar] [CrossRef] [Scilit]
- Yue, Q.; Zhou, S. Due-window assignment scheduling problem with stochastic processing times. Eur. J. Oper. Res. 2021, 290, 453–468. [Google Scholar] [CrossRef] [Scilit]
- Wang, W. Single-machine due-date assignment scheduling with generalized earliness/tardiness penalties including proportional setup times. J. Appl. Math. Comput. 2022, 68, 1013–1031. [Google Scholar] [CrossRef] [Scilit]
- Lee, C.Y.; Leon, V.J. Machine scheduling with a rate-modifying activity. Eur. J. Oper. Res. 2001, 128, 119–128. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.-Y.; Wang, M.-Z. Single machine common flow allowance scheduling with a rate-modifying activity. Comput. Ind. Eng. 2010, 59, 898–902. [Google Scholar] [CrossRef] [Scilit]
- Mosheiov, G.; Sidney, J.-B. Scheduling a deteriorating maintenance activity on a single machine. Eur. J. Oper. Res. 2010, 61, 882–887. [Google Scholar] [CrossRef] [Scilit]
- Bai, J.; Li, Z.-R.; Wang, J.-J.; Huang, X. Single machine common flow allowance scheduling with deteriorating jobs and a rate-modifying activity. Appl. Math. Model. 2014, 38, 5431–5438. [Google Scholar] [CrossRef] [Scilit]
- Yin, Y.; Cheng, T.C.E.; Xu, D.; Wu, C.-C. Common due date assignment and scheduling with a rate-modifying activity to minimize the due date, earliness, tardiness, holding, and batch delivery cost. Comput. Ind. Eng. 2012, 63, 223–234. [Google Scholar] [CrossRef] [Scilit]
- Strusevich, V.-A.; Rustogi, K. Scheduling with Time-Changing Effects and Rate-Modifying Activities; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
- Parwallker, S.-S.; Smith, M.-L.; Seidmann, A. Common due-date assignment to minimize total penalty for the one machine scheduling problem. Oper. Res. 1982, 30, 391–399. [Google Scholar]
- Cheng, T.-C.-E.; Kang, L.; Ng, C.-T. Due-date assignment and single machine scheduling with deteriorating jobs. J. Oper. Res. 2004, 65, 198–203. [Google Scholar] [CrossRef] [Scilit]
- Ji, P.; Li, G.; Huo, Y.-Z.; Wang, J.-B. Single-machine common flow allowance scheduling with job-dependent aging effects and a deteriorating maintenance activity. Optim. Lett. 2014, 8, 1389–1400. [Google Scholar] [CrossRef] [Scilit]
- He, H.-Y.; Liu, M.; Wang, J.-B. Resource constrained scheduling with general truncated job dependent learning effect. J. Comb. Optim. 2017, 33, 626–644. [Google Scholar] [CrossRef] [Scilit]
- Liu, W.W.; Jiang, C. Flow shop resource allocation scheduling with due date assignment, learning effect and position-dependent weights. J. Oper. Res. 2020, 37, 2050014. [Google Scholar] [CrossRef] [Scilit]
- Zhao, X.-L.; Xu, J.; Wang, J.-B.; Li, L. Bicriteria common flow allowance scheduling with aging effect, convex resource allocation, and a rate-modifying activity on a single machine. Asia-Pac. J. Oper. Res. 2022, 21, 2150046. [Google Scholar] [CrossRef] [Scilit]
- Janiak, A.; Kovalyov, M.-Y. Single machine scheduling subjective to deadlines and resource dependent processing times. Eur. J. Oper. Res. 1996, 94, 284–291. [Google Scholar] [CrossRef] [Scilit]
- Monma, C.-L.; Schrijver, A.; Todd, M.-J.; Wei, V.-K. Convex resource allocation problems on directed acyclic graphs: Duality, complexity, special cases and extensions. Math. Oper. Res. 1990, 15, 736–748. [Google Scholar] [CrossRef] [Scilit]
- Biskup, D. Single-machine scheduling with learning considerations. Eur. J. Oper. Res. 1999, 115, 173–178. [Google Scholar] [CrossRef] [Scilit]
- Wang, D.; Wang, M.-Z.; Wang, J.-B. Single–machine scheduling with learning effect and resource-dependent processing times. Comput. Ind. Eng. 2010, 59, 458–462. [Google Scholar] [CrossRef] [Scilit]
- Zhu, Z.-G.; Chu, F.; Sun, L.-Y.; Liu, M. Single machine scheduling with resource allocation and learning effect considering the rate-modifying activity. Appl. Math. Model. 2013, 37, 5371–5380. [Google Scholar] [CrossRef] [Scilit]
- Hardy, G.-H.; Littlewood, J.-E.; Polya, G. Inequalities; Cambridge University Press: Cambridge, UK, 1976. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).