Abstract
In enterprise management, there are often multiple agents competing for the same products to reduce production cost. On this basis, this paper investigates a two-agent slack due-date single-machine scheduling problem with deteriorating jobs, where the processing time of a job is extended as a function of position-dependent workload, resource allocation and a common deterioration rate. The goal is to find the optimal sequence and resource allocation that minimizes the maximal value of earliness, tardiness, and decision variables of one agent subject to an upper bound on cost value of the second agent. Through theoretical analysis, a polynomial time algorithm with time is proposed for the problem, where N is the maximum number of jobs between the two agents.
MSC:
90B35
1. Introduction
In practical fields such as enterprise management and production processing, there are often multiple agents competing with each other to provide the same products to consumers, with the corresponding multiple comparisons so that can choose the agent in their favor. Such problems are multi-agent scheduling problems (Agnetis et al. [1]; Tuong et al. [2]). Gu et al. [3] proposed an algorithm to minimize the makespan on the basis of given lower bound for the multi-agent scheduling problem of m parallel machine. He et al. [4] elicited pareto-optimal schedule to simultaneously minimize the maximum cost of agent A and makespan of agent B under a two-agent scheduling problem with parallel batch processing. Wang et al. [5] presented a numerical simulation of multi-agent competing for multiple jobs in a cloud manufacturing platform to minimize the total completion time as well as the weighted amount of tardy jobs to provide theoretical support for subsequent investors. Wan et al. [6] also constructed a polynomial time algorithm and a dual FPTAS (fully polynomial time approximation scheme) algorithm to minimize the weighted number of tardy jobs for the single-machine two-agent scheduling problem with unit processing time.
One cause of the tardiness in job production involves another type of scheduling problem, namely, the just-in-time scheduling, which specifies delivery date for a job that incurs excess costs if completed earlier or later. This delivery date is also known as the due date, and familiar due dates include (a) common due date: i.e., the due date of each job is the same constant (Shabtay et al. [7], Falq et al. [8], Wu et al. [9] and Liu and Wang [10]); (b) different due date: the opposite of common due date (Mosheiov et al. [11] and Hidayat et al. [12]); (c) slack due date: the due date of each job, although different, but with a common decision variable (Liu et al. [13] and Liu and Jiang [14]).
For a large due date, it is beneficial for plant production but not for competition, that is to say, the study of the multi-agent scheduling problem with due date is of great importance for practical research. Yin et al. [15] designed a pseudo-polynomial dynamic programming algorithms for a two-agent scheduling problem with minimalist common and slack due date assignment. Wang et al. [16], on the other hand, considered the two-agent single-machine scheduling problem with common, slack, and different due date simultaneously and proposed polynomial-time dynamic programming algorithms to solve them.
To improve the competition rate, the producer can allocate a certain amount of resources to each job to reduce the processing time. The multi-agent scheduling problem with resource allocation has been studied by Wang et al. [17] for a two-agent scheduling with linear resource, for which a FPTAS is proposed for the NP-hard problem. Luo [18] studied the slack due date problem with convex resource, and presented an optimal solution algorithm with time complexity of for the two-agent minmax earliness, tardiness, and common decision variable, where N is the maximum number of jobs between the two agents.
In addition, the increasing processing time due to deteriorating jobs (see Wu et al. [19], Gawiejnowicz [20], Zhang et al. [21], Sun et al. [22]) is unavoidable in practical machining. Individual agents can minimize the common objective function based on rational arrangement of job sequences. Yin et al. [23], Wang et al. [24] and Li et al. [25] explored the two-agent scheduling problem with linear deterioration.
In summary, in this paper, based on Luo [18], the processing time of the job extended as a function of position-dependent workload, resource allocation and a common deterioration rate and minimized maximum value of earliness, tardiness, and decision variable under slack due date of one agent subject to an upper bound on cost value of the second agent is investigated. The goal is to find the minimum cost and the corresponding optimal resource allocation for processing a batch of jobs simultaneously through competition between two agents. The paper is structured as follows: Section 2 describes the problem under study; Section 3 gives the specific algorithm; and Section 4 provides conclusions regarding the problem studied.
The similar literature mentioned above and the specific problem studied in this paper are detailed in Table 1.
Table 1.
Literature contents and achievement of this paper.
2. Notation Description
The symbols involved in this research are detailed in Table 2:
Table 2.
Notation table.
3. Problem Description
Consider two agents and , each with independent jobs, i.e., , where . These jobs need to be processed on a machine without interruption by competition and one job can be processed at a time. For agent (), the processing time () of job () at position x (y) can be expressed as
in which (reps. ) is the workload of (resp. ) at position x (y); (resp. ) is the amount of resources allocated to (resp. ); and (resp. ) are the deterioration rate and starting time of (resp. ), respectively.
As in the slack due date assignment mentioned in the introduction, each job () enjoys a common decision variable, which can be written as (≥0). The corresponding due date can be given as
where is given by (1) and (2) corresponding to the two agents. For the job completed earlier/later than , the amount of earliness/tardiness can be indicated as /.
As in Luo [18], this paper minimizes the maximum value of earliness, tardiness, and decision variable ; i.e., the objective function is
and , , and are the costs of earliness, tardiness, and the decision variable of .
Under the total amount of resources constraints of agents and (i.e., , ), the goal is to find the optimal sequence and the optimal quantity of resource allocations and such that the cost of agent is minimized subject to the cost of satisfies . This problem can be stated in a three-field notation as
where is slack due date and is the job processing time expressions (1) and (2).
4. Problem Solving
Let be the job at the k-th position in the sequence. According to the Equations (1) and (2), the completion time of for agent () can be organized as follows,
and the corresponding processing time can be collated as
Lemma 1.
For the given sequence of agent , the sum of processing time can be written as
where is the position-dependent coefficient, and
in which . The expression for the coefficient of agent is similar, and can be expressed in term of ς while replacing with .
Proof of Lemma 1.
□
To solve the problem , the following properties can be given.
Lemma 2
(Mor and Mosheiov [26]). The jobs in agents and are processed sequentially according to the block structure; i.e., there are two possible feasible sequences: , or .
Lemma 3
(Mor and Mosheiov [26]). For a given sequence σ and resource allocation, the optimal decision variable for agent L and the corresponding objective function value are, respectively, determined by the following equations:
in which , and and are the starting time of and , and related to the job processing sequence.
According to (7), when selecting the job processing sequence to minimize (), or to minimize while maximizing (), can be minimized. Because the position of the job is not determined, the specific values of and cannot be obtained. For this, the variables need to be introduced, i.e., and , in which ; that is, the job is assigned at the x-th position. Otherwise, ; , the job is assigned at the y-th position, otherwise . For the introduction of variables, the job sequence is also determined, then the expressions for and under the sequence can be written according to Lemma 2 as
It can be inferred from (7) that
where can be obtained by bringing (9) to the two conditions in (7) separately as follows:
Under the sequence , and can be similarly represented as
It also can be known from (7) that
where can be obtained in the same way as :
It is clear that is a constant and does not affect the ordering of the jobs; therefore, the minimization of (9) obtained above can be translated into the following optimization problem:
Obviously, the premise of minimizing is to find the optimal resource allocation , for which the solution can be converted to the following nonlinear programming problem:
and the following property can be given according to (19).
Lemma 4.
For a given sequence of jobs , the optimal resource vectors , , and the corresponding objective function value can be written specifically as
and
Proof of Lemma 4.
The proof of agent is the same.
The Lagrange multiplier method is used to solve (19), and the specific function can be written as
Take partial derivatives of and yield
Combing (24) and (25), the collation gives
Bringing (20) to the objective function in (18) yields (22). □
According to (22) obtained in this lemma, (18) can be turned into solving the following assignment problem, and agent in the same way as follows
Then, Algorithm 1 can be given for the case where the deterioration rates are all the same.
| Algorithm 1: The algorithm of |
|
Note: The optimal solution of the problem can be determined only by calculating the objective function values under two sequences, and , separately according to the steps of Algorithm 1. That is, if the objective function value is calculated for either of the two sequences, there is an optimal sequence; otherwise, there is no feasible solution.
Theorem 1.
For the problem
it can be solved in time by Algorithm 1, where .
Proof of Theorem 1.
Step 1, the solution of and takes and ; Step 2 takes or time; Steps 3–6 are constant time, then the total time complexity does not exceed (). □
5. Examples
Example 1.
Consider , as an example, , , , , , , , the workload of agent can be randomly generated by MATLAB with a matrix, as detailed in the following table (Table 3), and the workload of can be obtained by removing the last row and column from the table.
Table 3.
The workload of agent .
Because and , both agents and belong to the second case. The coefficient matrices of and can be seen in the following two tables (Table 4 and Table 5).
Table 4.
The coefficient matrices of .
Table 5.
The coefficient matrices of .
Where the assignment result of agent can be calculated by Lingo, and place in the last position of the sequence because of , in which . Then, the optimal sequence of agent . The result of agent is and (); therefore, the optimal sequence is .
Now determine whether is feasible. Calculate the optimal resource allocation for the two agents based on (20) and (21), as follows:
The corresponding processing time is
Obviously, , , , and . The corresponding can be calculated by (22) and (23) to obtain and .
The sequence is obviously not a feasible solution; now consider . At this point, , , , and . The objective function values are and . It can be seen that ; therefore, is the optimal sequence. The optimal decision variables are and . The optimal due date can be correspondingly written as
and
Example 2.
The modified date is as follows: , , , and other data are the same as Example 1. Because the workload of the job remains unchanged and the assignment is independent of the cost coefficients, the optimal sequences of and are constant, and the optimal resource allocations are also constant.
Clearly, and , then agent belongs to case 2 of (23) and agent belongs to case 1 of (23). For the sequence , , the the optimal sequence is . In addition, , , and the corresponding optimal due date is
and
6. Conclusions
This paper solved the two-agent scheduling problem with deteriorating jobs, where the processing time is a function of position-dependent workload, resource allocation, and a common deterioration rate. Under slack due date assignment, the goal was to find the optimal sequence and resource allocation through minimize the maximum value of earliness, tardiness, and decision variables (q) of one agent subject to an upper bound on cost value of the second agent. A polynomial time algorithm with time is proposed for the case where the deterioration rate of each job is the same, where N is the maximum number of jobs between the two agents. Further research should consider the problem with a general linear deterioration or extend our model to the problems with variable processing times (see Sun and Geng [27], Wu et al. [28] and Wu et al. [29]).
Author Contributions
Methology: J.-B.W., L.-H.Z. and D.-Y.L.; Writing—original draft: L.-H.Z. and D.-Y.L.; Investigation: J.-B.W.; Writing—review and editing: J.-B.W., L.-H.Z. and D.-Y.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by LiaoNing Revitalization Talents Program grant number XLYC2002017.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare there is no conflict of interest.
References
- Agnetis, A.; Pacciarelli, D.; Pacifici, A. Multi-agent single machine scheduling. Ann. Oper. Res. 2007, 150, 3–15. [Google Scholar] [CrossRef]
- Tuong, N.H.; Soukhal, A.; Billaut, J.-C. Single-machine multi-agent scheduling problems with a global objective function. J. Sched. 2012, 15, 311–321. [Google Scholar]
- Gu, M.; Gu, J.; Lu, X. An algorithm for multi-agent scheduling to minimize the makespan on m parallel machines. J. Sched. 2018, 21, 483–492. [Google Scholar] [CrossRef]
- He, G.; Wu, J.; Lin, H. Two-agent bounded parallel-batching scheduling for minimizing maximum cost and makespan. Discret. Optim. 2022, 45, 100698. [Google Scholar] [CrossRef]
- Wang, D.; Yu, Y.; Yin, Y.; Cheng, T.C.E. Multi-agent scheduling problems under multitasking. Int. J. Prod. Res. 2021, 59, 3633–3663. [Google Scholar] [CrossRef]
- Wan, L.; Mei, J.; Du, J. Two-agent scheduling of unit processing time jobs to minimize total weighted completion time and total weighted number of tardy jobs. Eur. J. Oper. Res. 2021, 290, 26–35. [Google Scholar] [CrossRef]
- Shabtay, D.; Mosheiov, G.; Oron, D. Single machine scheduling with common assignable due date/due window to minimize total weighted early and late work. Eur. J. Oper. Res. 2022, 303, 66–77. [Google Scholar] [CrossRef]
- Falq, A.E.; Fouilhoux, P.; Kedad-Sidhoum, S. Dominance inequalities for scheduling around an unrestrictive common due date. Eur. J. Oper. Res. 2022, 296, 453–464. [Google Scholar] [CrossRef]
- Wu, W.; Lv, D.-Y.; Wang, J.-B. Two due-date assignment scheduling with location-dependent weights and a deteriorating maintenance activity. Systems 2023, 11, 150. [Google Scholar] [CrossRef]
- Liu, W.; Wang, X. Group technology scheduling with due-date assignment and controllable processing times. Processes 2023, 11, 1271. [Google Scholar] [CrossRef]
- Mosheiov, G.; Oron, D.; Shabtay, D. On the tractability of hard scheduling problems with generalized due-dates with respect to the number of different due-dates. J. Sched. 2022, 25, 577–587. [Google Scholar] [CrossRef]
- Hadayat, N.P.A.; Cakravastia, A.; Aribowo, W.; Halim, A.H. A single-stage batch scheduling model with m heterogeneous batch processors producing multiple items parts demanded at different due dates. Int. J. Ind. Syst. Eng. 2022, 41, 254–275. [Google Scholar] [CrossRef]
- Liu, W.; Hu, X.; Wang, X. Single machine scheduling with slack due dates assignment. Eng. Optim. 2016, 49, 709–717. [Google Scholar] [CrossRef]
- Liu, W.W.; Jiang, C. Due-date assignment scheduling involving job-dependent learning effects and convex resource allocation. Eng. Optim. 2020, 52, 74–89. [Google Scholar] [CrossRef]
- Yin, Y.; Wang, D.J.; Wu, C.C.; Cheng, T.C.E. CON/SLK due date assignment and scheduling on a single machine with two agents. Nav. Res. Logist. 2016, 63, 416–429. [Google Scholar] [CrossRef]
- Wang, D.J.; Yin, Y.Q.; Cheng, S.R.; Cheng, T.C.E.; Wu, C.C. Due date assignment and scheduling on a single machine with two competing agents. Int. J. Prod. Res. 2016, 54, 1152–1169. [Google Scholar] [CrossRef]
- Wang, D.; Yu, Y.; Qiu, H.; Yin, Y.; Cheng, T.C.E. Two-agent scheduling with linear resource-dependent processing times. Nav. Res. Logist. 2020, 67, 573–591. [Google Scholar] [CrossRef]
- Luo, C. A two-agent slack due-date assignment single machine scheduling problem with position-dependent workload and resource constraint. J. Chongqing Norm. Univ. (Nat. Sci.) 2022, 39, 1–8. (In Chinese) [Google Scholar]
- Wu, C.-C.; Wu, W.-H.; Wu, W.-H.; Hsu, P.-H.; Yin, Y.; Xu, J. A single-machine scheduling with a truncated linear deterioration and ready times. Inf. Sci. 2014, 256, 109–125. [Google Scholar] [CrossRef]
- Gawiejnowicz, S. Models and Algorithms of Time-Dependent Scheduling; Springer: Berlin, Germany, 2020. [Google Scholar]
- Zhang, X.; Liu, S.-C.; Lin, W.-C.; Wu, C.-C. Parallel-machine scheduling with linear deteriorating jobs and preventive maintenance activities under a potential machine disruption. Comput. Ind. Eng. 2020, 145, 106482. [Google Scholar] [CrossRef]
- Sun, X.; Liu, T.; Geng, X.-N.; Hu, Y.; Xu, J.-X. Optimization of scheduling problems with deterioration effects and an optional maintenance activity. J. Sched. 2023, 26, 251–266. [Google Scholar] [CrossRef]
- Yin, Y.; Cheng, T.C.E.; Wan, L.; Wu, C.C.; Liu, J. Two-agent single-machine scheduling with deteriorating jobs. Comput. Ind. Eng. 2015, 81, 177–185. [Google Scholar] [CrossRef]
- Wang, Z.; Wei, C.M.; Wu, Y.B. Single machine two-agent scheduling with deteriorating jobs. Asia-Pac. J. Oper. Res. 2016, 33, 1650034. [Google Scholar] [CrossRef]
- Li, D.; Li, G. Cheng, F. Two-agent single machine scheduling with deteriorating jobs and rejection. Math. Probl. Eng. 2022, 2022, 3565133. [Google Scholar] [CrossRef]
- Mor, B.; Mosheiov, G. A two-agent single machine scheduling problem with due-window assignment and a common flow-allowance. J. Comb. Optim. 2017, 33, 1454–1468. [Google Scholar] [CrossRef]
- Sun, X.; Geng, X.-N. Single-machine scheduling with deteriorating effects and machine maintenance. Int. J. Prod. Res. 2019, 57, 3186–3199. [Google Scholar] [CrossRef]
- Wu, C.-C.; Bai, D.; Zhang, X.; Cheng, S.-R.; Lin, J.-C.; Wu, Z.-L.; Lin, W.-C. A robust customer order scheduling problem along with scenario-dependent component processing times and due dates. J. Manuf. Syst. 2021, 58, 291–305. [Google Scholar] [CrossRef]
- Wu, C.-C.; Bai, D.; Chen, J.-H.; Lin, W.-C.; Xing, L.; Lin, J.-C.; Cheng, S.-R. Several variants of simulated annealing hyper-heuristic for a single-machine scheduling with two-scenario-based dependent processing times. Swarm Evol. Comput. 2021, 60, 100765. [Google Scholar] [CrossRef]
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/).