Next Article in Journal
Non-Ferrous Metal Price Point and Interval Prediction Based on Variational Mode Decomposition and Optimized LSTM Network
Next Article in Special Issue
Study on Convex Resource Allocation Scheduling with a Time-Dependent Learning Effect
Previous Article in Journal
Pricing and Carbon-Emission-Reduction Decisions under the BOPS Mode with Low-Carbon Preference from Customers
Previous Article in Special Issue
Language Recovery in Discrete-Event Systems against Sensor Deception Attacks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two-Agent Slack Due-Date Assignment Scheduling with Resource Allocations and Deteriorating Jobs

School of Computer Science, Shenyang Aerospace University, Shenyang 110136, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2023, 11(12), 2737; https://doi.org/10.3390/math11122737
Submission received: 1 June 2023 / Revised: 12 June 2023 / Accepted: 15 June 2023 / Published: 16 June 2023
(This article belongs to the Special Issue Systems Engineering, Control, and Automation)

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 O ( N 3 ) time is proposed for the problem, where N is the maximum number of jobs between the two agents.

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 O ( N 3 ) 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.

2. Notation Description

The symbols involved in this research are detailed in Table 2:

3. Problem Description

Consider two agents A and B , each with N L independent jobs, i.e.,  J L = { J 1 L , J 2 L , , J N L L } , where L { A , B } . These jobs need to be processed on a machine without interruption by competition and one job can be processed at a time. For agent A ( B ), the processing time t k , x ( t h , y ) of job J k A ( J h B ) at position x (y) can be expressed as
t k , x ( w k , s k ) = ρ k , x w k κ + Y s k
t h , y ( u h , s h ) = η h , y u h κ + Y s h
in which ρ k , x (reps. η h , y ) is the workload of J k A (resp. J h B ) at position x (y); w k (resp. r h ) is the amount of resources allocated to J k A (resp. J h B ); Y and s k (resp. s h ) are the deterioration rate and starting time of J k A (resp. J h B ), respectively.
As in the slack due date assignment mentioned in the introduction, each job J k L ( k = 1 , , N L ) enjoys a common decision variable, which can be written as q L (≥0). The corresponding due date can be given as
d k L = t k L + q L , k = 1 , , N L , L { A , B }
where t k L is given by (1) and (2) corresponding to the two agents. For the job completed earlier/later than d k L , the amount of earliness/tardiness can be indicated as E k L = max { 0 , t k L + q L C k L } / T k L = max { 0 , C k L t k L q L } .
As in Luo [18], this paper minimizes the maximum value of earliness, tardiness, and decision variable q L ; i.e.,  the objective function is
F L = max 1 k N L max a L E k L + r L q L , b L T k L + r L q L , L { A , B }
and a L , b L , and  r L are the costs of earliness, tardiness, and the decision variable of J k L .
Under the total amount of resources constraints of agents A and B (i.e., k N A w k W , h = 1 N B u h U ), the goal is to find the optimal sequence and the optimal quantity of resource allocations w = { w 1 , , w N A } and u = { u 1 , , u N B } such that the cost of agent A is minimized subject to the cost of B satisfies F B O ˜ . This problem can be stated in a three-field notation as
1 s l k d d , d e , k N A w k W , h = 1 N B u h U F A : F B O ˜ ,
where s l k d d is slack due date and d e is the job processing time expressions (1) and (2).

4. Problem Solving

Let [ k ] be the job at the k-th position in the sequence. According to the Equations (1) and (2), the completion time of J [ k ] for agent A ( B ) can be organized as follows,
C [ k ] A = l = 1 k ρ [ l ] , l w [ l ] κ ( 1 + Y ) k l
C [ h ] B = l = 1 h η [ l ] , l u [ l ] κ ( 1 + Y ) h l
and the corresponding processing time can be collated as
t [ k ] A = ρ [ k ] , k w [ k ] κ + Y l = 1 k 1 ρ [ l ] , l w [ l ] κ ( 1 + Y ) k l 1
t [ h ] B = ρ [ h ] , h w [ h ] κ + Y l = 1 h 1 η [ l ] , l u [ l ] κ ( 1 + Y ) h l 1
Lemma 1. 
For the given sequence σ A of agent A , the sum of processing time can be written as
k = 1 N A t [ k ] A = k = 1 N A χ k ρ [ k ] , k w [ k ] κ
where χ k is the position-dependent coefficient, and 
χ k = 1 + Y m = 1 N A k ( 1 + Y ) N A k m
in which k = 1 , , N A . The expression for the coefficient of agent B is similar, and can be expressed in term of ς while replacing N A with N B .
Proof of Lemma 1. 
k = 1 N A t [ k ] A = k = 1 N A ρ [ k ] , k w [ k ] κ + Y l = 1 k 1 ρ [ l ] , l w [ l ] κ ( 1 + Y ) k l 1 = ρ [ 1 ] , 1 w [ 1 ] κ + ρ [ 2 ] , 2 w [ 2 ] κ + Y ρ [ 1 ] , 1 w [ 1 ] κ + ρ [ 3 ] , 3 w [ 3 ] κ + Y ρ [ 2 ] , 2 w [ 2 ] κ + Y ( 1 + Y ) ρ [ 1 ] , 1 w [ 1 ] κ + + ρ [ N A ] , N A w [ N A ] κ + Y ρ [ N A 1 ] , N A 1 w [ N A 1 ] κ + Y ( 1 + Y ) ρ [ N A 2 ] , N A 2 w [ N A 2 ] κ + + Y ( 1 + Y ) N A 2 ρ [ 1 ] , 1 w [ 1 ] κ = k = 1 N A χ k ρ [ k ] , k w [ k ] κ
   □
To solve the problem 1 s l k d d , d e , k N A w k W , h = 1 N B u h U F A : F B O ˜ , the following properties can be given.
Lemma 2 
(Mor and Mosheiov [26]). The jobs in agents A and B are processed sequentially according to the block structure; i.e., there are two possible feasible sequences: σ 1 = τ { σ A , σ B } , or  σ 2 = τ { σ B , σ A } .
Lemma 3 
(Mor and Mosheiov [26]). For a given sequence σ and resource allocation, the optimal decision variable q L for agent L and the corresponding objective function value are, respectively, determined by the following equations:
q L ( σ ) = 0 , r L > b L a L s 1 L + b L s N L L a L + b L , r L b L
F L ( σ ) = b L s N L L , r L > b L b L ( a L + r L ) s N L L a L ( b L r L ) s 1 L a L + b L , r L b L
in which L { A , B } , and  s 1 L and s N L L are the starting time of J 1 L and J N L L , and related to the job processing sequence.
According to (7), when selecting the job processing sequence to minimize s N L L ( r L > b L ), or to minimize s N L L while maximizing s 1 L ( r L b L ), F L ( σ ) can be minimized. Because the position of the job is not determined, the specific values of s 1 L and s N L L cannot be obtained. For this, the 0 1 variables need to be introduced, i.e.,  { Θ k , x | k , x = 1 , , N A } and { Ω h , y | h , y = 1 , , N B } , in which Θ k , x = 1 ; that is, the job J k A is assigned at the x-th position. Otherwise, Θ k , x = 0 ; Ω h , y = 1 , the job J h B is assigned at the y-th position, otherwise Ω h , y = 0 . For the introduction of 0 1 variables, the job sequence is also determined, then the expressions for s 1 L and s N L L under the sequence σ 1 can be written according to Lemma 2 as
s 1 A ( σ 1 ) = 0 , s N A A ( σ 1 ) = k = 1 N A x = 1 N A 1 t k , x ( w k , s k ) Θ k , x = k = 1 N A x = 1 N A 1 χ x ρ k , x w k κ Θ k , x
It can be inferred from (7) that
F A ( σ 1 ) = ψ A k = 1 N A x = 1 N A 1 χ x ρ k , x w k κ Θ k , x
where ψ A can be obtained by bringing (9) to the two conditions in (7) separately as follows:
ψ A = min b A , b A ( a A + r A ) a A + b A
s 1 B ( σ 1 ) = C N A A ( σ 1 ) = k = 1 N A x = 1 N A χ x ρ k , x w k κ Θ k , x
s N B B ( σ 1 ) = k = 1 N A x = 1 N A χ x ρ k , x w k κ Θ k , x + h = 1 N B y = 1 N B 1 ς y η h , y u h κ Ω h , y
F B ( σ 1 ) = b B k = 1 N A x = 1 N A χ x ρ k , x w k κ Θ k , x + h = 1 N B y = 1 N B 1 ς y η h , y u h κ Ω h , y , r B > b B r B k = 1 N A x = 1 N A χ x ρ k , x w k κ Θ k , x + b B ( a B + r B ) a B + b B h = 1 N B y = 1 N B 1 ς y η h , y u h κ Ω h , y , r B b B
Under the sequence σ 2 , s 1 L and s N L L can be similarly represented as
s 1 B ( σ 2 ) = 0 , s N B B ( σ 2 ) = h = 1 N B y = 1 N B 1 t h , y ( u h , s h ) Ω h , y = h = 1 N B y = 1 N B 1 ς y η h , y u h κ Ω h , y
It also can be known from (7) that
F B ( σ 2 ) = ψ B h = 1 N B y = 1 N B 1 ς y η h , y u h κ Ω h , y
where ψ B can be obtained in the same way as ψ A :
ψ B = min b B , b B ( a B + r B ) a B + b B
s 1 A ( σ 2 ) = h = 1 N B y = 1 N B ς y η h , y u h κ Ω h , y
s N A A ( σ 2 ) = h = 1 N B y = 1 N B ς y η h , y u h κ Ω h , y + k = 1 N A x = 1 N A 1 χ x ρ k , x w k κ Θ k , x
F A ( σ 2 ) = b A h = 1 N B y = 1 N B ς y η h , y u h κ Ω h , y + k = 1 N A x = 1 N A 1 χ x ρ k , x w k κ Θ k , x , r A > b A r A h = 1 N B y = 1 N B ς y η h , y u h κ Ω h , y + b A ( a A + r A ) a A + b A k = 1 N A x = 1 N A 1 χ x ρ k , x w k κ Θ k , x , r A b A
It is clear that φ A 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:
min F 1 A = k = 1 N A x = 1 N A χ x ρ k , x w k κ Θ k , x s . t . k = 1 N A Θ k , x = 1 , x = 1 , , N A 1 x = 1 N A Θ k , x = 1 , k = 1 , , N A k N A w k W w k > 0 , k = 1 , , N A
Obviously, the premise of minimizing F A ( σ 1 ) is to find the optimal resource allocation w = { w 1 , , w N A } , for which the solution can be converted to the following nonlinear programming problem:
min F 1 A = k = 1 N A x = 1 N A χ x ρ k , x w k κ Θ k , x s . t . k N A w k W w k > 0 , k = 1 , , N A
and the following property can be given according to (19).
Lemma 4. 
For a given sequence of jobs σ 1 , the optimal resource vectors w * = ( w 1 , , w N A * ) , u * = ( u 1 * , , u N B * ) , and the corresponding objective function value F L ( σ 1 ) can be written specifically as
w k * = x = 1 N A χ x ρ k , x κ Θ k , x 1 κ + 1 k = 1 N A x = 1 N A χ x ρ k , x κ Θ k , x 1 κ + 1 × W
u h * = y = 1 N B ς y η h , y κ Ω h , y 1 κ + 1 h = 1 N B y = 1 N B ς y η h , y κ Ω h , y 1 κ + 1 × U
F A ( σ 1 ) = ψ A W κ k = 1 N A x = 1 N A χ x ρ k , x κ Θ k , x 1 κ + 1 κ + 1
and
F B ( σ 1 ) = b B 1 W κ k = 1 N A x = 1 N A χ x ρ k , x κ Θ k , x 1 κ + 1 κ + 1 + 1 U κ h = 1 N B y = 1 N B ς y η h , y κ Ω h , y 1 κ + 1 κ + 1 , r B > b B r B W κ k = 1 N A x = 1 N A χ x ρ k , x κ Θ k , x 1 κ + 1 κ + 1 + b B ( a B + r B ) ( a B + b B ) U κ h = 1 N B y = 1 N B ς y η h , y κ Ω h , y 1 κ + 1 κ + 1 , r B b B
Proof of Lemma 4. 
The proof of agent B is the same.
The Lagrange multiplier method is used to solve (19), and the specific function can be written as
L ( w , μ ) = k = 1 N A x = 1 N A χ x ρ k , x w k κ Θ k , x + μ k N A w k W
Take partial derivatives of w k and μ yield
L ( w , μ ) w k = κ x = 1 N A ρ k , x κ w k κ + 1 Θ k , x + μ = 0
L ( w , μ ) μ = k N A w k W = 0
Combing (24) and (25), the collation gives
w k * = x = 1 N A χ x ρ k , x κ Θ k , x 1 κ + 1 k = 1 N A x = 1 N A χ x ρ k , x κ Θ k , x 1 κ + 1 × W
Bringing (20) to the objective function F 1 A in (18) yields (22).    □
According to (22) obtained in this lemma, (18) can be turned into solving the following assignment problem, and agent B in the same way as follows
A P ( σ A ) : min k = 1 N A x = 1 N A χ x 1 κ + 1 ρ k , x κ κ + 1 Θ k , x A P ( σ B ) : min h = 1 N B y = 1 N B ς y 1 κ + 1 η h , y κ κ + 1 Ω h , y s . t . k = 1 N A Θ k , x = 1 , x = 1 , , N A 1 s . t . h = 1 N B Ω h , y = 1 , y = 1 , , N B 1 x = 1 N A Θ k , x 1 , k = 1 , , N A y = 1 N B Ω h , y 1 , h = 1 , , N B Θ k , x = 0 / 1 , k , x = 1 , , N A Ω h , y = 0 / 1 , h , y = 1 , , N B
Then, Algorithm 1 can be given for the case where the deterioration rates are all the same.
  Algorithm 1: The algorithm of 1 s l k d d , d e , k N A w k W , h = 1 N B u h U F A : F B O ˜
  • Input: N L , a L , b L , r L , κ , Y , W, U, O ˜ , where L { A , B } , and workload ( ρ k , x ) N A × A and ( η h , y ) N B × B .
  • Output: The optimal sequence σ 1 or σ 2 , or no optimal sequence, resource allocation w and u , and common decision variable q L and corresponding due date d k L .
  • Step 1. According to the assignment problem, A P ( σ A ) and A P ( σ B ) , and bring them into (22) and (23) to calculate the value of objective function. If F B ( σ 1 ) O ˜ , then output the optimal sequence σ 1 = τ { σ A , σ B } ; otherwise turn to Step 4.
  • Step 2. Calculate the optimal amount of resource allocation according to (20) and (21).
  • Step 3. Calculate the processing time t k , x ( t h , y ) of the job by using (1) and (2), q A ( σ 1 ) ( q B ( σ 1 ) ) according to Lemma 3 and d k A ( σ 1 ) ( d h B ( σ 1 ) ) according to (3).
  • Step 4. Consider the feasibility of the sequence σ 2 = τ { σ B , σ A } at this point. Calculate F B ( σ 2 ) after making appropriate adjustments from (22), if  F B ( σ 2 ) O ˜ , turn to S 5 ; otherwise turn to Step 6.
  • Step 5. Calculate F A ( σ 2 ) after adjusting according to (23), and output the optimal sequence σ 2 = τ { σ B , σ A } . The following steps are the same as Step 2 and Step 3.
  • Step 6. Output conclusion: the problem has no optimal solution. End of the algorithm.
Note: The optimal solution of the problem can be determined only by calculating the objective function values F B under two sequences, σ 1 = τ { σ A , σ B } and σ 2 = τ { σ B , σ A } , separately according to the steps of Algorithm 1. That is, if the objective function value F B < O ˜ is calculated for either of the two sequences, there is an optimal sequence; otherwise, there is no feasible solution.
Theorem 1. 
For the problem
1 s l k d d , d e , k N A w k W , h = 1 N B u h U F A : F B O ˜ ,
it can be solved in O ( N 3 ) time by Algorithm 1, where N = max { N A , N B } .
Proof of Theorem 1. 
Step 1, the solution of A P ( σ A ) and A P ( σ B ) takes O ( N A 3 ) and O ( N B 3 ) ; Step 2 takes O ( N A ) or O ( N B ) time; Steps 3–6 are constant time, then the total time complexity does not exceed O ( N 3 ) ( N = max { N A , N B } ). □

5. Examples

Example 1. 
Consider N A = 7 , N B = 6 as an example, Y = κ = 2 , W = 100 , U = 80 , O ˜ = 2000 , ( a A , a B ) = ( 15 , 7 ) , ( b A , b B ) = ( 10 , 8 ) , ( r A , r B ) = ( 6 , 8 ) , the workload of agent A can be randomly generated by MATLAB with a 7 × 7 matrix, as detailed in the following table (Table 3), and the workload of B can be obtained by removing the last row and column from the table.
Because b A = 10 > 6 = r A and b B = 8 = r B , both agents A and B belong to the second case. The coefficient matrices of A G ( σ A ) and A G ( σ B ) can be seen in the following two tables (Table 4 and Table 5).
Where the assignment result Θ 1 , 4 = Θ 2 , 3 = Θ 4 , 2 = Θ 5 , 6 = Θ 6 , 1 = Θ 7 , 5 = 1 of agent A can be calculated by Lingo, and place J 3 A in the last position of the sequence because of Θ 3 , x = 0 , in which x = 1 , , 7 . Then, the optimal sequence of agent σ A = { J 6 A , J 4 A , J 2 A , J 1 A , J 7 A , J 5 A , J 3 A } . The result of agent B is Ω 1 , 4 = Ω 2 , 3 = Ω 3 , 1 = Ω 4 , 2 = Ω 6 , 5 = 1 and Ω 5 , y = 0 ( y = 1 , , 6 ); therefore, the optimal sequence is σ B = { J 3 B , J 4 B , J 2 B , J 1 B , J 6 B , J 5 B } .
Now determine whether σ 1 = τ { σ A , σ B } is feasible. Calculate the optimal resource allocation for the two agents based on (20) and (21), as follows:
w * = ( w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 ) = ( 32.6087 , 30.9295 , 20.5422 , 5.9009 , 1.6237 , 2.8368 , 5.5581 )
u * = ( u 1 , u 2 , u 3 , u 4 , u 5 , u 6 ) = ( 29.9360 , 23.8381 , 15.8323 , 4.5480 , 3.6592 , 2.1864 )
The corresponding processing time is
( t 1 A , t 2 A , t 3 A , t 4 A , t 5 A , t 6 A , t 7 A ) = ( 0.0940 , 0.4556 , 1.6324 , 4.8235 , 14.3903 , 44.7798 , 144.0368 )
( t 1 A , t 2 A , t 3 A , t 4 A , t 5 A , t 6 A ) = ( 0.1886 , 0.8277 , 2.9301 , 8.6663 , 27.0924 , 82.7570 )
Obviously, s 1 A ( σ 1 ) = 0 , s 7 A ( σ 1 ) = 66.1756 , s 1 B ( σ 1 ) = 210.2124 , and s 6 B ( σ 1 ) = 249.9175 . The corresponding can be calculated by (22) and (23) to obtain F A ( σ 1 ) = 1766.1 and F B ( σ 1 ) = 2661.7 > 2000 .
The sequence σ 1 = τ { σ A , σ B } is obviously not a feasible solution; now consider σ 2 = τ { σ B , σ A } . At this point, s 1 B ( σ 2 ) = 0 , s 6 B ( σ 2 ) = 39.7051 , s 1 A ( σ 2 ) = 122.4621 , and s 7 A ( σ 2 ) = 188.6377 . The objective function values are F B ( σ 2 ) = 979.6931 and F A ( σ 2 ) = 2500.9 . It can be seen that F B ( σ 2 ) = 979.6931 < 2000 ; therefore, σ 2 = τ { σ B , σ A } is the optimal sequence. The optimal decision variables are q B ( σ 2 ) = 21.1761 and q A ( σ 2 ) = 148.9323 . The optimal due date can be correspondingly written as
( d 1 * , d 2 * , d 3 * , d 4 * , d 5 * , d 6 * ) ( B ) = ( 21.3647 , 22.0038 , 24.1062 , 29.8424 , 48.2685 , 103.9331 )
and
( d 1 * , d 2 * , d 3 * , d 4 * , d 5 * , d 6 * , d 7 * ) ( A ) = ( 149.0263 , 149.3879 , 150.5647 , 153.7558 , 163.3226 , 193.7121 , 292.9691 )
Example 2. 
The modified date is as follows: ( a A , a B ) = ( 6 , 4 ) , ( b A , b B ) = ( 7 , 5 ) , ( r A , r B ) = ( 6 , 8 ) , 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 A and B are constant, and the optimal resource allocations are also constant.
Clearly, r A < b A and r B > b B , then agent A belongs to case 2 of (23) and agent B belongs to case 1 of (23). For the sequence σ 1 = τ { σ A , σ B } , F B ( σ 1 ) = 1633.5 < 2000 , the the optimal sequence is σ 1 = τ { σ A , σ B } . In addition, q A = 35.6330 , q B = 0 , and the corresponding optimal due date is
( d 1 * , d 2 * , d 3 * , d 4 * , d 5 * , d 6 * , d 7 * ) ( A ) = ( 35.7270 , 36.0886 , 37.2654 , 40.4565 , 50.0233 , 80.4128 , 179.6698 )
and
( d 1 * , d 2 * , d 3 * , d 4 * , d 5 * , d 6 * ) ( B ) = ( 0.1886 , 0.8277 , 2.9301 , 8.6663 , 27.0924 , 82.7570 )

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 O ( N 3 ) 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

  1. Agnetis, A.; Pacciarelli, D.; Pacifici, A. Multi-agent single machine scheduling. Ann. Oper. Res. 2007, 150, 3–15. [Google Scholar] [CrossRef] [Green Version]
  2. 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]
  3. 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]
  4. 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]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. Liu, W.; Wang, X. Group technology scheduling with due-date assignment and controllable processing times. Processes 2023, 11, 1271. [Google Scholar] [CrossRef]
  11. 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]
  12. 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]
  13. Liu, W.; Hu, X.; Wang, X. Single machine scheduling with slack due dates assignment. Eng. Optim. 2016, 49, 709–717. [Google Scholar] [CrossRef]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. 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]
  19. 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]
  20. Gawiejnowicz, S. Models and Algorithms of Time-Dependent Scheduling; Springer: Berlin, Germany, 2020. [Google Scholar]
  21. 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]
  22. 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]
  23. 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]
  24. 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]
  25. 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]
  26. 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]
  27. 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]
  28. 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]
  29. 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]
Table 1. Literature contents and achievement of this paper.
Table 1. Literature contents and achievement of this paper.
Research ContentsAlgorithm ComplexityResearch Conte References
1 | c o n d d | r A q A + k = 1 N A ϖ k A U k A : h = 1 N B C h B O ˜ O ( N A 2 N B / ε + N A 2 N B log N A ) Yin et al. [15]
1 | s l k d d | r A q A + k = 1 N A ϖ k A U k A : h = 1 N B C h B O ˜ O ( N A 3 N B / ε + N A 3 N B log N A ) Yin et al. [15]
1 | c o n d d | r A d A + k = 1 A ( a A E k A + ϖ A U k A ) : r B d B + h = 1 B ( a B E h B + ϖ B U h B ) O ˜ O ( N A 2 N B 2 O ˜ ) Wang et al. [16]
1 | s l k d d | r A q A + k = 1 A ( a A E k A + ϖ A U k A ) : r B q B + h = 1 B ( a B E h B + ϖ B U h B ) O ˜ O ( N A 2 N B 2 O ˜ ) Wang et al. [16]
1 | d i f d d | k = 1 A ( r A d k A + a A E k A + ϖ A U k A ) : h = 1 B ( r B d h B + a B E h B + ϖ B U h B ) O ˜ O ( N A 2 N B 2 O ˜ ) Wang et al. [16]
1 | t k L = p k L ( c + v s ) , d k A = d A | k = 1 N A a k A E k A : F max B ( E B ) O ˜ O ( N A log N A + N B log N B ) Yin et al. [23]
1 | t k L = Y k ( c + v s ) | k = 1 A ω k C k A + z L max B NP-hardWang et al. [24]
1 | s l k d d , c o n v , k N A w k W , h = 1 N B u h U |
max 1 k N A max a A E k A + r A q A , b A T k A + r A q A : O ( N 3 ) ( N = max { N A , N B } )Luo [18]
max 1 h N B max a B E h B + r B q B , b B T h B + r B q B O ˜
1 | s l k d d , d e , k N A w k W , h = 1 N B u h U |
max 1 k N A max a A E k A + r A q A , b A T k A + r A q A : O ( N 3 ) ( N = max { N A , N B } )This paper
max 1 h N B max a B E h B + r B q B , b B T h B + r B q B O ˜
Table 2. Notation table.
Table 2. Notation table.
NotationSignificance
s l k d d slack due date
d e deteriorating jobs
A (resp. B )agent A (agent B )
Lset of agents
N A (resp. N B )number of jobs of A (number of jobs of B )
J L set of jobs of two agents
J k A (resp. J h B )job J k of agent A , k = 1 , , N A (job J h of agent B , h = 1 , , N A )
J k , x J k A at position x ( k = 1 , , N A , x = 1 , , N A )
J h , y J h B at position y ( h = 1 , , N B , y = 1 , , N B )
t k , x ( t h , y )processing time of J k , x (processing time of J h , y )
ρ k , x ( η h , y )workload of J k , x (workload of J h , y )
w k ( u h )resource of J k A (resource of J h B )
k N A w k W upper bound of resource allocation of A
h = 1 N B u h U upper bound of resource allocation of B
Y deterioration rate
s k ( s h )starting time of J k A (starting time of J h B )
q L common decision variable
d k L due date of J k L
C k L completion time J k L
E k L amount of earliness
T k L amount of tardiness
σ job scheduling
Table 3. The workload of agent A .
Table 3. The workload of agent A .
k / x ( h / y )1234567
18255814668377
291961585187080
313974394713219
49216926849649
56498807628445
61096967554465
72849664013971
Table 4. The coefficient matrices of A G ( σ A ) .
Table 4. The coefficient matrices of A G ( σ A ) .
k / x 1234567
1169.870790.249381.00007.559533.971127.442618.0992
2182.0833130.832726.316257.996314.286624.496618.5664
349.7590131.739753.105662.021235.665914.53707.1204
4183.414839.623188.176649.97975.241530.238113.3905
5144.0000132.643680.332053.826619.18023.634212.6515
641.7743130.832790.714353.35346.082217.975316.1662
782.987983.560270.662835.08822.080116.586317.1464
The bold values are the optimal solution.
Table 5. The coefficient matrices of A G ( σ B ) .
Table 5. The coefficient matrices of A G ( σ B ) .
k / x 123456
1117.781762.575456.16235.241523.554319.0277
2126.249590.714318.246640.21249.905816.9850
334.500991.343236.821443.003124.729310.0794
4127.172727.473161.138334.65403.634220.9659
599.844091.969955.699137.321313.29882.5198
628.964790.714362.897836.99324.217212.4634
The bold values are the optimal solution.
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.

Share and Cite

MDPI and ACS Style

Zhang, L.-H.; Lv, D.-Y.; Wang, J.-B. Two-Agent Slack Due-Date Assignment Scheduling with Resource Allocations and Deteriorating Jobs. Mathematics 2023, 11, 2737. https://doi.org/10.3390/math11122737

AMA Style

Zhang L-H, Lv D-Y, Wang J-B. Two-Agent Slack Due-Date Assignment Scheduling with Resource Allocations and Deteriorating Jobs. Mathematics. 2023; 11(12):2737. https://doi.org/10.3390/math11122737

Chicago/Turabian Style

Zhang, Li-Han, Dan-Yang Lv, and Ji-Bo Wang. 2023. "Two-Agent Slack Due-Date Assignment Scheduling with Resource Allocations and Deteriorating Jobs" Mathematics 11, no. 12: 2737. https://doi.org/10.3390/math11122737

APA Style

Zhang, L. -H., Lv, D. -Y., & Wang, J. -B. (2023). Two-Agent Slack Due-Date Assignment Scheduling with Resource Allocations and Deteriorating Jobs. Mathematics, 11(12), 2737. https://doi.org/10.3390/math11122737

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop