Skip to Content
MachinesMachines
  • Article
  • Open Access

15 October 2026

31 Pages

Multi-Agent Reinforcement Learning for Dynamic Parallel-Machine Scheduling with Human–Robot Collaboration and Worker Fatigue

,
,
and
Business School, Hohai University, Nanjing 211100, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section Advanced Manufacturing

Abstract

This study investigates a dynamic parallel-machine scheduling problem with human–robot collaboration (DPMS-HRC), where dynamically arriving jobs are assigned to eligible workstations and processed by workers, robots, or human–robot collaboration based on real-time system states. Worker-involving modes improve operational flexibility but may increase actual processing times and cause uneven fatigue distribution due to fatigue accumulation. To coordinate production responsiveness and fatigue management, a weighted objective combining average flow time and the worker fatigue balance index is minimised. A mixed-integer nonlinear programming (MINLP) formulation is developed to model dynamic job arrivals, alternative processing modes, worker–robot allocation, and fatigue-dependent processing times. An action-masked and potential-shaped multi-agent proximal policy optimisation (AMPS-MAPPO) algorithm is then designed. Action masking restricts policy sampling to structurally feasible job-mode-resource combinations, while time-scaled potential shaping provides dense feedback for long-horizon learning. Experiments on dynamic instances of different scales show that AMPS-MAPPO achieves millisecond-level online inference, reduces average flow time by 40.98% relative to the best dispatching-rule benchmark and by 8.17–20.92% relative to deep reinforcement learning baselines, and obtains the lowest overall worker fatigue balance index among the compared deep reinforcement learning algorithms.

1. Introduction

Advances in intelligent manufacturing and the growing demand for personalised products are driving manufacturing systems away from conventional large-scale, rigid production towards small-batch, multi-variety, and flexible production [1]. Compared with mass production, such environments are characterised by heterogeneous order types, variable quantities, uncertain arrival times, and diverse processing requirements. These features give rise to dynamic scheduling problems, which differ fundamentally from their static counterparts. In static scheduling, jobs and resource requirements are usually known in advance, whereas in dynamic shop-floor environments, new jobs arrive during execution and resource states evolve over time. Pre-generated schedules may no longer match the current shop-floor state [2]. Dynamic scheduling requires online adjustment to continuously coordinate jobs and resources in response to real-time changes, while controlling unnecessary waiting and average flow time [3].
Human–robot collaboration (HRC) provides an important means of improving shop-floor flexibility in dynamic production environments [4,5]. Its flexibility comes from the complementarity between workers and robots: workers are suitable for judgement-based and complex operations, whereas robots provide stable performance in repetitive and high-intensity tasks [4,5]. HRC scheduling cannot be reduced to job sequencing, because worker, robot and human–robot collaborative processing modes differ in processing efficiency, resource occupation and coordination requirements [6]. The scheduling system must jointly determine job selection, workstation assignment, processing-mode selection, and worker–robot resource allocation [7].
One important distinction between human workers and robots is that worker fatigue changes with work and rest [8]. Continuous work causes fatigue accumulation, while idle or rest periods allow fatigue to recover [9]. Changes in fatigue make worker availability and processing efficiency state-dependent rather than fixed resource attributes [10]. A worker-involving assignment affects not only the current job but also the worker’s fatigue state, later processing times and subsequent resource assignment [8,9]. Therefore, focusing only on job-flow efficiency may lead to uneven fatigue distribution among workers. Coordinating production responsiveness and fatigue management, measured by average flow time and the worker fatigue balance index, is a key challenge in dynamic HRC scheduling.
The parallel-workstation setting is considered because each single-operation job can be processed on one of several eligible workstations, while workers and robots are shared across workstations and allocated dynamically according to the current system state. Accordingly, the aim of this study is to develop an online scheduling framework for the DPMS-HRC problem that coordinates job-flow efficiency and worker fatigue balance under dynamic job arrivals, fatigue-dependent processing times, and shared human–robot resources. To this end, average flow time and the worker fatigue balance index are combined through a weighted-sum objective, and a mixed-integer nonlinear programming (MINLP) formulation together with an action-masked and potential-shaped multi-agent proximal policy optimisation (AMPS-MAPPO) algorithm is developed.
The study contributes to dynamic HRC scheduling in three respects. It formulates the interaction among dynamic job arrivals, fatigue-dependent processing times, three processing modes, and shared human–robot resources in a parallel-workstation environment. It also develops an event-driven multi-agent scheduling framework in which workstation decisions are coordinated through sequential micro-steps over shared resources. Finally, the computational study examines the scheduling performance of the proposed approach across different problem scales, arrival conditions, resource configurations, and  algorithmic settings.
The remainder of this study is organised as follows. Section 2 reviews the related literature. Section 3 describes the DPMS-HRC problem and presents its MINLP formulation. Section 4 presents the AMPS-MAPPO algorithm for solving the problem. Section 5 reports the numerical experiments and results. Section 6 discusses the main findings, managerial implications, and limitations, while Section 7 concludes the study.

2. Literature Review

The related literature is reviewed along three streams: human–robot collaborative scheduling, human factors in production scheduling, and deep-reinforcement-learning-based scheduling.

2.1. Human–Robot Collaborative Scheduling

For HRC assembly-line balancing and scheduling, Nourmohammadi et al. [11] considered straight and U-shaped layouts and developed a mixed-integer linear programming model to optimise station configuration, cycle time and energy cost. Zheng et al. [12] studied HRC assembly lines with heterogeneous collaborative robots and limited resources. They proposed a constraint programming model and an improved fruit fly optimisation algorithm to optimise cycle time under human–robot parallel operations.
Beyond assembly lines, Inkulu and Bahubalendruni [13] investigated human–robot task allocation and estimated the allocation ratio between human and robotic resources to reduce total idle time. Huang et al. [14] addressed fixed-type multi-robot collaborative scheduling in flexible job shops. They decomposed the problem into flexible job-shop scheduling with controllable processing times and multi-robot task balancing, and proposed a hybrid GA-CP method. Zhang and Fujimura [15] studied HRC assembly lines with shared workstations. They used an enhanced simulated annealing algorithm with a task reassignment heuristic to reduce workload imbalance, cycle time and the number of operators. More recently, Wu et al. [16] studied dynamic HRC flexible job-shop scheduling under safety-proximity disruptions and developed a multi-agent reinforcement learning approach considering carbon emissions and human workload imbalance.

2.2. Human Factors in Production Scheduling

Early studies considered how learning and fatigue affect processing performance in scheduling. Dondeti and Mohanty [17] incorporated learning and fatigue into single-machine scheduling by treating processing time as a workload-dependent variable, while Biskup [18] analysed position-dependent learning effects. Later studies incorporated fatigue and recovery into multi-resource scheduling. Berti et al. [19] considered rest allowance and human energy expenditure in dual-resource job-shop scheduling and designed a task-assignment heuristic to balance production performance and worker well-being. Tan et al. [20] addressed a flexible job-shop scheduling problem and minimised makespan and maximum worker fatigue using an enhanced NSGA-II algorithm. Song et al. [21] considered real-time productivity changes in a distributed hybrid flow shop and used a Q-learning-driven multi-objective evolutionary algorithm to optimise makespan and energy consumption.
Other studies have extended human-factor modelling from fatigue to cognition, emotion, behavioural uncertainty and individual differences. Tropschuh et al. [22] reviewed physiological and psychological factors in employee scheduling. Zhang and Fujimura [23] considered cycle time, cognitive load balance and ergonomic risk in HRC assembly lines. Shi et al. [24] described boredom caused by repetitive tasks through an efficiency degradation function. Djogdom et al. [25] and Bouaziz et al. [26] examined the influence of operator execution deviations and punctuality uncertainty on collaboration fluency and system throughput. Herrmann et al. [27] focused on workers’ task-sequencing autonomy and incorporated individual sequencing preferences into flexible job-shop scheduling through a learning-to-rank method.
Human factors have also been integrated into HRC scheduling [28]. You et al. [29] studied HRC assembly task planning under uncertainty in physical exertion and execution time, and used reinforcement learning to learn adaptive task allocation policies. Park et al. [30] developed a scheduling model for HRC assembly workstations by considering ergonomic fatigue and simultaneous cooperation constraints. Hill and Vossen [31] analysed project scheduling with autonomous learning opportunities and examined how learning opportunities accelerate subsequent activities.

2.3. Deep Reinforcement Learning Scheduling

Studies on state representation and end-to-end decision architectures improve DRL scheduling policies by designing problem-specific representations of operations, machines, jobs and resources. Wang et al. [32] and Zhao et al. [33,34] enhanced feature representation for flexible job-shop scheduling through attention-based networks and heterogeneous disjunctive graph modelling, allowing operation–machine relations, random job arrivals and processing–transportation resource coordination to be captured in the decision process. Kim and Lee [35] combined deep reinforcement learning with a look-ahead search mechanism to improve robotic cell scheduling under uncertain processing times.
For dynamic disruptions, multi-objective optimisation and resource-related scheduling, DRL has been combined with local search, event-driven modelling and problem-specific policy design [36]. Panda et al. [37] formulated dynamic manufacturing resource matching as a sequential decision process and used DRL to learn resource-matching policies. Li et al. [38] and Yang et al. [39] incorporated problem-specific features into DQN-based scheduling methods. Rolim et al. [40] integrated Q-learning with simulated annealing for parallel-batch scheduling with setup times. Duan et al. [41] formulated event-driven predictive-reactive scheduling as a Markov jump decision process and solved it with a multi-objective hybrid deep Q-network. Ding et al. [42] incorporated human feedback into the reinforcement learning reward model to adapt scheduling policies to decision- maker preferences.
Multi-agent reinforcement learning has been used to coordinate decisions among multiple scheduling agents in distributed and collaborative production systems [43]. Zhang et al. [44] and Gu et al. [45] applied multi-agent learning to dynamic manufacturing scheduling. Zhang et al. [44] focused on cooperative job allocation and scheduling in distributed flexible job shops with dynamic disruptions and energy-efficiency requirements. Gu et al. [45] introduced large language models into MAPPO-based hybrid flow shop scheduling to enhance state representation and action selection.

2.4. Summary

Taken together, the literature shows that HRC scheduling has gradually moved from task allocation and assembly-line balancing towards the joint coordination of tasks and human–robot resources. In parallel, human-factor scheduling has incorporated fatigue, recovery, ergonomics, and other worker-related states into processing and assignment decisions, while DRL and multi-agent learning have increasingly been applied to dynamic scheduling with changing system states and coupled decisions. However, the reviewed studies address these aspects largely in separate settings, and their integration in dynamic HRC scheduling remains limited.
Recent studies have begun to extend HRC scheduling towards dynamic environments. Wu et al. [16], for example, considered safety-proximity disruptions in an HRC flexible job shop. However, dynamic job arrivals combined with fatigue-dependent processing times and shared human–robot resources in parallel-workstation environments remain insufficiently investigated. In such an environment, a scheduling decision at one workstation can affect both the immediate availability of shared workers and robots at other workstations and the subsequent processing efficiency of the assigned worker through fatigue evolution. Job selection, processing-mode selection, and human–robot resource allocation are therefore interdependent decisions rather than separate scheduling stages. The problem considered in this study captures these interactions under dynamic job arrivals and parallel-workstation processing.
Accordingly, a MINLP formulation is developed for the DPMS-HRC problem, together with an event-driven multi-agent scheduling framework for online decision-making. Workstations act as decision agents, while sequential micro-steps with temporary reservations of jobs, workers, and robots coordinate simultaneous decisions over shared resources. Action masking is used to maintain structural feasibility, and time-scaled potential shaping provides additional feedback during policy learning. Table 1 summarises the main characteristics of representative studies and the problem considered in this study.
Table 1. Comparison of related studies.

3. Mathematical Formulation for the DPMS-HRC Problem

3.1. Problem Formulation

As shown in Figure 1, the studied DPMS-HRC problem is defined on a dynamic shop-floor environment. A set of single-operation jobs, denoted as I = { I 1 , I 2 , … , I n } , arrives dynamically over time. These jobs are processed on a set of parallel workstations, denoted as M = { M 1 , M 2 , … , M m } . Each job I i can be processed only on a job-specific subset of eligible workstations, denoted by M i ⊆ M . The system is equipped with a shared multi-skilled resource pool consisting of workers W = { W 1 , W 2 , … , W w } and robots R = { R 1 , R 2 , … , R r } . Both workers and robots can be allocated to different workstations according to the real-time system state. Worker fatigue is also considered, which accumulates during processing and recovers during idle periods. The scheduling horizon ends when all dynamically arriving jobs have been completed, and its end time is denoted by T = max i ∈ I C i .
Figure 1. Scheduling environment.
The baseline processing time of each job depends on the assigned workstation, whereas the actual processing time is further affected by the selected processing mode and, when a worker is involved, the worker fatigue state. As illustrated in Figure 2, each job can be processed under one of three processing modes. In the worker mode, one worker independently processes the job. In the robot mode, one robot independently processes the job. In the collaborative mode, one worker and one robot jointly process the job at the same workstation.
Figure 2. Three processing modes in the system.
To focus on the studied DPMS-HRC problem, the following assumptions are made (The assumptions are based on common settings in dynamic scheduling and HRC scheduling studies, including Poisson job arrivals, multi-skilled resources, and collaborative processing modes [46,47,48,49]).
(1)
Jobs arrive dynamically, and their arrival time follows a Poisson process.
(2)
Workers are assumed to be homogeneous in processing capability and share the same fatigue accumulation and recovery parameters, while robots are assumed to have identical processing capabilities.
(3)
Each worker or robot can process at most one job at a time.
(4)
All workers and robots are initially idle at time zero, and inter-workstation transfer times are neglected under the assumed compact shop-floor setting.
(5)
Each workstation can process at most one job at a time.
(6)
Once a job arrives, its eligible workstation set and baseline processing times are known and deterministic.
(7)
Once the processing of a job starts, it is non-preemptive and must continue until completion.
(8)
Each job must be assigned to exactly one eligible workstation and processed under exactly one processing mode.
A sequence-based formulation is adopted for the DPMS-HRC problem. Job assignments and resource conflicts are represented by assignment and sequencing variables, while immediate-successor variables are introduced for workers to link their processing sequences with fatigue recovery.
Table 2 summarises the parameters and decision variables used in the mixed-integer nonlinear programming (MINLP) formulation.
Table 2. Description of DPMS-HRC symbols.
Based on the above definitions, the optimisation objective is formulated as follows. The objective function in Equation (1) jointly considers production responsiveness and worker fatigue balance. The average flow time in Equation (2) measures the average time that dynamically arriving jobs spend in the system from arrival to completion. The worker fatigue balance index in Equation (3) measures the dispersion of workers’ fatigue levels at the end of the scheduling horizon and is used to evaluate the balance of residual worker fatigue. The two objectives are combined through a weighted-sum scalarisation, where ω controls the relative emphasis placed on fatigue balance.
min F = f 1 + ω f 2
f 1 = 1 | I | ∑ i ∈ I ( C i − A i )
f 2 = 1 | W | ∑ w ∈ W F w end − F end ¯ 2 , F end ¯ = 1 | W | ∑ w ∈ W F w end .
Because the formulation contains nonlinear fatigue-dependent relationships and the worker fatigue balance objective, the resulting model is treated as a MINLP. In the Gurobi implementation, logarithmic and exponential terms are represented using general function constraints, while the fatigue-recovery product and fatigue-balance relationship are retained as nonconvex bilinear and quadratic constraints. Assignment and sequencing activation relationships are handled using Big-M and indicator constraints; no manual MILP linearisation of these nonlinear relationships is introduced. The constraints of the MINLP formulation are given as follows:
S i ≥ A i , C i = S i + P T i , ∀ i ∈ I , T = max i ∈ I C i .
P T i = ∑ m ∈ M i ∑ w ∈ W 0 ∑ r ∈ R 0 x i , m , w , r P T ˜ i , m , w , r , ∀ i ∈ I .
∑ m ∈ M i ∑ w ∈ W 0 ∑ r ∈ R 0 x i , m , w , r = 1 , ∀ i ∈ I , ∑ m ∈ M i x i , m , w 0 , r 0 = 0 , ∀ i ∈ I .
S j ≥ C i − H ( 1 − δ i , j m ) − H 2 − ∑ w ∈ W 0 ∑ r ∈ R 0 x i , m , w , r − ∑ w ∈ W 0 ∑ r ∈ R 0 x j , m , w , r , S i ≥ C j − H δ i , j m − H 2 − ∑ w ∈ W 0 ∑ r ∈ R 0 x i , m , w , r − ∑ w ∈ W 0 ∑ r ∈ R 0 x j , m , w , r , ∀ i , j ∈ I , i < j , m ∈ M i ∩ M j .
y w , i = ∑ m ∈ M i ∑ r ∈ R 0 x i , m , w , r , ∀ w ∈ W , i ∈ I , y w , i ≤ q w , ∀ w ∈ W , i ∈ I , q w ≤ ∑ i ∈ I y w , i , ∀ w ∈ W .
∑ i ∈ I a w , i = q w , ∑ i ∈ I b w , i = q w , ∀ w ∈ W , a w , i + ∑ j ∈ I : j ≠ i γ j , i w = y w , i , b w , i + ∑ j ∈ I : j ≠ i γ i , j w = y w , i , ∀ w ∈ W , i ∈ I .
S j ≥ C i − H ( 1 − γ i , j w ) , ∀ w ∈ W , i , j ∈ I , i ≠ j .
S j ≥ C i − H ( 1 − ζ i , j r ) − H 2 − ∑ m ∈ M i ∑ w ∈ W 0 x i , m , w , r − ∑ m ∈ M j ∑ w ∈ W 0 x j , m , w , r , S i ≥ C j − H ζ i , j r − H 2 − ∑ m ∈ M i ∑ w ∈ W 0 x i , m , w , r − ∑ m ∈ M j ∑ w ∈ W 0 x j , m , w , r , ∀ i , j ∈ I , i < j , r ∈ R .
x i , m , w , r , δ i , j m , ζ i , j r , y w , i , q w , a w , i , b w , i , γ i , j w ∈ { 0 , 1 } , S i , C i , P T i , T , F w , i S , F w , i C , F w end ≥ 0 ,
where the index domains of the variables are those defined in Table 2.
The constraints define the feasible scheduling space of the DPMS-HRC problem. Equation (4) gives the arrival, completion, and scheduling-horizon relationships, while Equation (5) links the actual processing time to the selected workstation, processing mode, and resources. Equation (6) ensures that each job is assigned exactly once to an eligible workstation with a feasible worker–robot combination. Equation (7) prevents workstation overlap. Equations (8)–(10) construct the processing sequence of each worker. Worker participation is first determined from the assignment decisions, after which the first, last, and immediate-successor relationships are identified to establish the corresponding processing order. Equation (11) imposes the corresponding non-overlap requirement for robots, and Equation (12) specifies the variable domains.

3.2. Worker Fatigue Accumulation and Recovery Model

Worker fatigue is a dynamic human factor that affects processing efficiency and subsequent scheduling decisions. In this study, worker fatigue is modelled from two aspects: fatigue accumulation during processing and fatigue recovery during idle periods. The former describes the increase in fatigue caused by continuous work, whereas the latter describes the reduction in fatigue during rest. At the beginning of the scheduling horizon, all workers are assumed to be fully rested, and the initial fatigue level of each worker is set to 0. Under the homogeneous-worker assumption, all workers share the same fatigue accumulation and recovery parameters, while their fatigue states evolve differently according to their individual processing and recovery histories. The resulting fatigue state is used as a scheduling-level indicator of workload-related fatigue rather than as a direct physiological measurement.
During job processing, worker fatigue increases with the processing duration. Linear fatigue accumulation has been adopted in previous fatigue-aware production and scheduling studies to represent the progressive increase in worker fatigue with continuous working time [8]. Accordingly, the fatigue level of worker w after completing job I i is calculated as follows:
F w , i C = F w , i S + λ f P T i y w , i , ∀ i ∈ I , w ∈ W .
F max is used as an operational threshold for new worker assignments. A worker can start a new job only when the pre-processing fatigue level does not exceed this threshold, while fatigue may exceed F max during the subsequent processing operation. These conditions are written compactly as
0 ≤ F w , i S ≤ F max y w , i , F w , i S ≤ H ( 1 − a w , i ) , ∀ w ∈ W , i ∈ I .
During idle periods, worker fatigue gradually recovers. Compared with fatigue accumulation during processing, fatigue recovery usually exhibits a diminishing marginal effect; that is, recovery is faster at the beginning of rest and then gradually slows down. This pattern is commonly represented by an exponential recovery function in fatigue and rest-allowance modelling [50]. For two consecutive jobs I i and I j processed by worker w, the recovery duration between them is S j − C i . Using the immediate-successor variable γ i , j w , the fatigue recovery relationship is written as follows:
− H ( 1 − γ i , j w ) ≤ F w , j S − F w , i C exp [ − μ f ( S j − C i ) ] ≤ H ( 1 − γ i , j w ) , ∀ w ∈ W , i , j ∈ I , i ≠ j .
The Big-M terms deactivate the recovery relationship when I j does not immediately follow I i for worker w. After completing the last assigned job, the worker continues to recover until the end of the scheduling horizon, and the final fatigue level is defined as follows:
0 ≤ F w end ≤ H q w , ∀ w ∈ W , − H ( 1 − b w , i ) ≤ F w end − F w , i C exp [ − μ f ( T − C i ) ] ≤ H ( 1 − b w , i ) , ∀ w ∈ W , i ∈ I .

3.3. Actual Processing Time Calculation

The mode-dependent processing time P T ˜ i , m , w , r in Equation (5) is determined by the selected processing mode and, when a worker is involved, the worker fatigue state:
P T ˜ i , m , w , r = p t i , m base η R , w = w 0 , r ≠ r 0 , p t i , m base η W 1 + β f W ln ( 1 + F w , i S ) , w ≠ w 0 , r = r 0 , p t i , m base η Co 1 + β f Co ln ( 1 + F w , i S ) , w ≠ w 0 , r ≠ r 0 .
The first case in Equation (17) corresponds to the robot mode, where no worker is involved, so worker fatigue does not affect the processing time. The second case corresponds to the worker mode, where the processing time increases with the worker’s fatigue level. The third case corresponds to the human–robot collaborative mode, in which the efficiency coefficient η Co reflects the improvement brought by human–robot collaboration, while the fatigue-related term captures the impact of worker fatigue on processing efficiency.

3.4. Illustrative Example

A small instance is used to illustrate the DPMS-HRC problem. Two feasible schedules are constructed using the same instance data to show how workstation assignment, processing-mode selection, and worker–robot resource allocation affect the resulting objective values. The arrival times and baseline processing times are given in Table 3.
Table 3. Data for the illustrative example.
The actual processing time and worker fatigue are calculated according to the processing-time and fatigue-evolution models in Section 3.2 and Section 3.3. The parameters are set as η W = 1 , η R = 0.5 , η Co = 1.43 , λ f = 0.03 , μ f = 0.02 , β f W = 0.2 , and  β f Co = 0.1 . Figure 3 presents the two schedules.
Figure 3. Two schedules for the illustrative example: (a) Schedule with better fatigue balance; (b) Schedule with shorter average flow time.
For the schedule in Figure 3a, the completion times of jobs I 1 – I 4 are 8, 10, 13.57, and 25, respectively. The average flow time is calculated as follows:
f 1 a = ( 8 − 0 ) + ( 10 − 0 ) + ( 13.57 − 0 ) + ( 25 − 2 ) 4 = 13.64 .
The final fatigue levels of workers W 1 and W 2 are 0.3378 and 0.4500, respectively. Thus, the worker fatigue balance index is
f 2 a = ( 0.3378 − 0.3939 ) 2 + ( 0.4500 − 0.3939 ) 2 2 = 0.0561 .
For the schedule in Figure 3b, jobs I 2 and I 3 are completed earlier, but jobs I 1 and I 4 are both assigned to worker W 1 , leading to greater fatigue imbalance. The completion times of jobs I 1 – I 4 are 10, 8, 11.5, and 25.79, respectively. The average flow time is
f 1 b = ( 10 − 0 ) + ( 8 − 0 ) + ( 11.5 − 0 ) + ( 25.79 − 2 ) 4 = 13.32 .
The final fatigue levels of workers W 1 and W 2 are 0.7736 and 0.1050, respectively. Accordingly, the worker fatigue balance index is
f 2 b = ( 0.7736 − 0.4393 ) 2 + ( 0.1050 − 0.4393 ) 2 2 = 0.3343 .
To compare the two schedules under the composite objective, the representative intermediate weight ω = 50 is used in this example. According to F = f 1 + ω f 2 , the objective values of the two schedules are 16.45 and 30.04, respectively.
Although the schedule in Figure 3b achieves a smaller average flow time, it concentrates more workload on worker W 1 and therefore yields a larger worker fatigue balance index. The reduction in average flow time is outweighed by the increase in fatigue imbalance, so the schedule in Figure 3a obtains a lower composite objective value. This comparison illustrates that scheduling decisions in the DPMS-HRC problem jointly affect production efficiency and fatigue management, and thus workstation assignment, processing-mode selection, and worker–robot resource allocation need to be coordinated.

4. AMPS-MAPPO Algorithm

4.1. AMPS-MAPPO Framework

The overall AMPS-MAPPO framework for the DPMS-HRC problem is shown in Figure 4 and consists of the scheduling environment, offline training, and online scheduling. The environment maintains the current job, workstation, worker, robot, and worker-fatigue states and triggers scheduling decisions at job-arrival or job-completion events. Given the current environment state and scheduling actions, the next-state distribution is independent of earlier history, satisfying the Markov property. Since decisions are triggered by job-arrival and job-completion events and the elapsed time between consecutive decision epochs is variable, the scheduling process is formulated as an event-driven semi-Markov decision process (SMDP).
Figure 4. Framework of AMPS-MAPPO for the DPMS-HRC problem.
Each workstation is treated as an agent and makes a decision when it becomes idle with eligible jobs waiting. The shared actor selects a workstation-level scheduling action that jointly determines job selection, processing mode, and resource allocation. Detailed definitions of the local observation, global state, and action space are given in Section 4.2 and Section 4.3.
When multiple workstations become decision-ready at the same event time, their actions are generated through sequential micro-steps. Temporary reservations of selected jobs, workers, and robots are maintained within the decision epoch and update the feasible choices of subsequent workstation agents before the joint action set is committed. This mechanism coordinates workstation-level decisions under shared-resource constraints.
AMPS-MAPPO adopts centralised training and decentralised execution. All workstation agents share the actor network π θ for action selection, while the centralised critic V ϕ evaluates the global state during training. After the selected assignments are executed, the environment advances to the next event and stores the resulting transitions for policy updates. During online scheduling, only the trained shared actor is retained for real-time decision-making.
The overall offline training procedure is summarised in Algorithm 1; the subsequent algorithms describe the micro-step decision, event-driven transition, reward assignment, and PPO update procedures.

4.2. Local Observation and Global State

For workstation m at decision time t, the local observation is denoted by o m , t = ( o 1 , o 2 , … , o 17 ) . It contains workstation status, candidate-job information, resource availability, fatigue-related information, system load, and time-related features, as shown in Table 4. The local observation is used by the shared station actor network for action selection.
Table 4. Local observation of each workstation agent.
During centralised training, the critic uses an aggregated global-state representation obtained by concatenating the local observations of all workstations:
s t = o 1 , t ⊤ , o 2 , t ⊤ , … , o | M | , t ⊤ ⊤ .
The actor uses only the local observation o m , t for action selection, whereas the critic uses s t for state-value estimation during training. Since s t is obtained by concatenating the local observations of all workstations, its dimension is 17 | M | for a system with | M | workstations. Before being fed into the actor network, each local observation is standardised feature-wise using the running mean and variance estimated from training observations. The resulting values are clipped to [ − 10 , 10 ] to limit extreme inputs. The running statistics are updated during training and kept fixed during evaluation and online scheduling.
Algorithm 1 Training procedure of AMPS-MAPPO
Input: 
DPMS-HRC environment E ; shared station actor network π θ with actor parameters θ ; centralised critic network V ϕ with critic parameters ϕ ; maximum episodes E max ; maximum decision steps per episode T max ; PPO epochs K PPO ; minibatch size B mb ; discount factor γ RL ; GAE parameter λ GAE ; policy clip range ϵ clip ; value loss coefficient c v ; entropy coefficient α ent ; actor learning rate α θ ; critic learning rate α ϕ ; gradient clipping norm g max .
Output: 
Trained actor parameters θ and critic parameters ϕ .
  1:
Initialise π θ , V ϕ , observation normaliser, and reward normaliser.
  2:
for  e = 1   to  E max   do
  3:
    Reset E , obtain the initial global state s 0 , set s t ← s 0 , and set d o n e ← false .
  4:
    Initialise episode trajectory buffer D e ← Ø and decision counter n dec ← 0 .
  5:
    while not  d o n e  and  n dec < T max  do
  6:
        Identify the current set of decision workstations M t dec .
  7:
        if  M t dec = Ø  then
  8:
           Execute an empty action dictionary in E to advance the system and obtain s t + Δ t and d o n e .
  9:
           Set s t ← s t + Δ t ; no transition is stored because no workstation action is generated.
10:
           continue
11:
        end if
12:
        Apply Algorithm 2 to obtain conflict-free action dictionary A t and temporary transition set B t .
13:
        Apply Algorithm 3 to commit A t and obtain s t + Δ t , shaped reward R t shp , and  d o n e .
14:
        Apply Algorithm 4 to normalise R t shp , assign it to B t and update D e .
15:
         s t ← s t + Δ t and set n dec ← n dec + | B t | .
16:
    end while
17:
    Apply Algorithm 5 to update θ and ϕ using D e .
18:
end for
19:
return  θ , ϕ .

4.3. Action Space

4.3.1. Rule-Combination Composite Action Space

After constructing the local observation, each decision workstation selects a scheduling action from a discrete rule-combination action space. The action of workstation m at time t is denoted by a m , t . In this study, the production actions are constructed by combining a job selection rule, a processing mode, and a resource allocation rule:
a m , t = ( a m , t job , a m , t mode , a m , t res ) .
In addition to these production actions, an independent IDLE action is included. Thus, the action space consists of 2 × 3 × 2 + 1 = 13 discrete actions. The action components are shown in Table 5.
Table 5. Action space.

4.3.2. Action Masking

In a dynamic scheduling environment, some rule combinations may be structurally infeasible at a given decision epoch. For example, a workstation cannot select a job outside its eligible set, and the collaborative mode cannot be selected when no robot is available. Therefore, an action masking mechanism is used to remove structurally infeasible actions before action sampling, while the IDLE action is retained only when no feasible production action is available.
For workstation m at time t, the environment generates a binary action mask m a s k m , t ∈ { 0 , 1 } 13 . If the qth action is structurally feasible, m a s k m , t ( q ) = 1 ; otherwise, m a s k m , t ( q ) = 0 . The present study adopts a non-delay scheduling rule; therefore, if at least one structurally feasible production action exists, the IDLE action is masked. The shared station actor is a feed-forward neural network with three fully connected hidden layers, whose detailed configuration is reported in Section 5.1. Given the normalised local observation o m , t , the actor outputs z θ ( o m , t ) ∈ R 13 . Each component of z θ ( o m , t ) is an un-normalised preference score, or logit, associated with one of the 13 discrete actions. The action mask is applied to these logits before softmax normalisation. The masked policy is defined as
π θ ( a m , t ∣ o m , t , m a s k m , t ) = Softmax z θ ( o m , t ) + log m a s k m , t ,
where log 0 is treated as − ∞ , so structurally infeasible actions receive zero probability after the softmax operation. When multiple workstations make decisions at the same event time, Algorithm 2 generates their actions sequentially and maintains temporary reservation sets for selected jobs, workers and robots. These reservations update the action masks of subsequent workstations within the same decision epoch, thereby avoiding resource conflicts before the action dictionary is committed.

4.3.3. Illustrative Example of Micro-Step Decision

To illustrate the micro-step decision process, the small example in Table 3 is further used. The transition is explained based on Schedule b in Figure 3b. Figure 5 presents a representative decision of workstation M 1 and the corresponding update of the local observation.
Figure 5. Illustrative example of the micro-step decision process.
As shown in Figure 5a, when the system time reaches 8, workstation M 1 completes job I 2 and becomes available, thereby triggering a scheduling decision. Given the local observation o 1 , 8 , the selected action is a 1 , 8 = ( FIFO , Co , EA ) , which means that the next job is selected according to the FIFO rule, the collaborative mode is adopted, and the worker–robot pair is assigned according to the earliest-available rule. Accordingly, job I 3 is assigned to workstation M 1 and processed in Co mode by worker W 2 and robot R 1 .
Algorithm 2 Micro-step decision with action masking
Input: 
Global state s t ; current decision workstation set M t dec ; DPMS-HRC environment E ; shared station actor network π θ ; centralised critic network V ϕ ; observation normaliser.
Output: 
Action dictionary A t ; temporary transition set B t .
  1:
Initialise action dictionary A t ← Ø , temporary transition set B t ← Ø , and temporary reservation sets U t I , U t W , U t R ← Ø .
  2:
Sort M t dec by ascending idle time, with ties broken by workstation index.
  3:
for each workstation m ∈ M t dec  do
  4:
    Construct local observation o m , t for workstation m from s t and the current temporary reservations.
  5:
    Normalise o m , t using the observation normaliser.
  6:
    Generate action mask m a s k m , t by excluding infeasible actions under s t and the current temporary reservations.
  7:
    Estimate state value v t ← V ϕ ( s t ) .
  8:
    Sample action a m , t from π θ ( · ∣ o m , t , m a s k m , t ) and record its log probability log p m , t old .
  9:
    Decode a m , t into a concrete assignment ξ m , t under the current temporary reservations.
10:
    Add ( m , a m , t , ξ m , t ) to A t .
11:
    Update U t I , U t W , U t R according to ξ m , t .
12:
    Store ( o m , t , s t , a m , t , m a s k m , t , log p m , t old , v t ) in B t .
13:
end for
14:
return  A t , B t .
After the selected assignment is committed to the environment, the system state is updated, and the event-driven environment advances to the next event time. In this example, the next event occurs at time 10, when workstation M 2 completes job I 1 and becomes available. Therefore, the next local observation considered by the actor changes from o 1 , 8 to o 2 , 10 , as shown in Figure 5b. The updated observation reflects changes in workstation status, candidate-job information, resource availability, worker fatigue, system load, and time-related features.
This example illustrates how a local observation, a masked action, and the resulting worker–robot resource allocation are linked within one micro-step decision. It also shows how the event-driven mechanism updates the scheduling environment after the selected assignment is committed.

4.4. Reward Design

4.4.1. Base Reward

For an event-driven time interval Δ t , the base reward considers the unfinished-job proportion E ( t ) , fatigue dispersion B ( t ) , fatigue range G ( t ) , high-fatigue risk R risk ( t ) , and delay term D ( t + Δ t ) . Their detailed definitions are given in Table 6. The base reward is defined as follows:
R t base = − ρ E E ( t ) + ρ B B ( t ) F max + ρ G G ( t ) + ρ R R risk ( t ) Δ t τ − ρ D Δ t D ( t + Δ t ) .
Table 6. Components of the base reward.
The base reward is designed to guide policy learning from intermediate scheduling states. Specifically, E ( t ) measures the proportion of arrived but unfinished jobs, and its accumulation over event-driven intervals reflects the evolution of job flow time. The fatigue-related terms B ( t ) and G ( t ) describe the dispersion of worker fatigue during the scheduling process, thereby encouraging more balanced fatigue states. The risk penalty R risk ( t ) penalises high-fatigue states relative to the operational threshold F max . The delay term D ( t + Δ t ) is used as an auxiliary signal to reduce excessive waiting and job starvation. These components provide process-level guidance for policy learning.

4.4.2. Time-Scaled Potential Shaping

To provide intermediate feedback for long-horizon scheduling, a potential function Φ ( s t ) is defined from the unfinished workload of arrived jobs. Let p i min = min m ∈ M i p t i , m base denote the minimum base processing time of job I i among its eligible workstations:
Φ ( s t ) = − η p ∑ i ∈ I t unf p i min ∑ i ∈ I p i min .
To account for variable durations between event-driven decision epochs, the shaping reward uses the duration-dependent coefficient Γ t = γ RL Δ t / τ , where Δ t is the elapsed simulation time and τ is the time-scaling parameter:
R t shape = Γ t Φ ( s t + Δ t ) − Φ ( s t ) , Γ t = γ RL Δ t / τ .
This formulation retains the potential-difference structure of potential-based reward shaping, but  Γ t is used only in the shaping term, whereas PPO and GAE retain the fixed per-decision discount factor γ RL . The classical policy-invariance guarantee therefore does not directly apply to the present event-driven SMDP. The term is consequently treated as a time-scaled potential-shaping signal, whose effect is evaluated through the ablation experiments in Section 5.4.
The total shaped reward is
R t shp = R t base + R t shape .
The reward parameters are set as ρ E = 12.0 , ρ B = 0.2 , ρ G = 0.2 , ρ R = 1.0 , ρ D = 0.5 , σ risk = 0.2 , τ = 10.0 , η p = 0.2 , and  γ RL = 0.99 , and are fixed across all experiments. Before trajectory storage, R t shp is normalised by the running standard deviation of the discounted return and clipped to [ − 5 , 5 ] . Algorithms 3 and 4 summarise the resulting reward calculation and assignment procedure.
Algorithm 3 Event-driven time advancement and reward calculation
Input: 
DPMS-HRC environment E with simulation clock t and event queue Q ; action dictionary A t .
Output: 
Advanced global state s t + Δ t ; shaped reward R t shp ; terminal flag d o n e .
  1:
Commit the conflict-free assignments in A t at the current decision time.
  2:
Lock the selected job, workstation, worker and robot resources in E .
  3:
Compute the actual processing times and insert the corresponding completion events into Q .
  4:
Record the potential value Φ ( s t ) before event-driven advancement.
  5:
Advance the simulation clock to the next job-arrival or job-completion event.
  6:
Process all concurrent events at the new event time and update job, workstation, worker and robot states.
  7:
Compute the base reward accumulated over the elapsed interval.
  8:
Obtain the advanced global state s t + Δ t and compute Φ ( s t + Δ t ) .
  9:
Set the duration-dependent shaping coefficient Γ t ← γ RL Δ t / τ .
10:
Compute the shaped reward:
R t shp = R t base + Γ t Φ ( s t + Δ t ) − Φ ( s t ) .
11:
Determine whether all jobs have been completed and update d o n e .
12:
return  s t + Δ t , R t shp , d o n e .
Algorithm 4 Reward normalisation and trajectory storage
Input: 
Temporary transition set B t ; shaped reward R t shp ; terminal flag d o n e ; reward normaliser; episode trajectory buffer D e .
Output: 
Updated episode trajectory buffer D e .
  1:
if  B t = Ø   then
  2:
    return  D e .
  3:
end if
  4:
Replace R t shp with its normalised value.
  5:
for each transition record b ∈ B t  do
  6:
    Retrieve ( o m , t , s t , a m , t , m a s k m , t , log p m , t old , v t ) from b.
  7:
    Assign the same normalised shaped reward R t shp to b.
  8:
    Append ( o m , t , s t , a m , t , m a s k m , t , log p m , t old , R t shp , d o n e , v t ) to D e .
  9:
end for
10:
return  D e .

4.5. Actor and Critic Network Update

Each transition contains the local observation, global state, selected action, action mask, old log probability, normalised shaped reward, terminal flag, and critic value estimate. The advantage estimate A ^ m , t and the target return R ^ m , t are computed using GAE. The station actor network π θ is updated using masked action probabilities, whereas the centralised critic network V ϕ is updated using global state values.
For a transition generated by workstation m at decision time t, the probability ratio is computed using the old log probability stored during trajectory collection:
r m , t ( θ ) = exp log π θ ( a m , t ∣ o m , t , m a s k m , t ) − log p m , t old .
The clipped actor objective is defined as follows:
L clip ( θ ) = E ^ m , t min r m , t ( θ ) A ^ m , t , clip r m , t ( θ ) , 1 − ϵ clip , 1 + ϵ clip A ^ m , t + α ent H ( π θ ) .
For the centralised critic network, the value-function loss is defined as the mean-squared error between the predicted state value and the GAE target return:
L vf ( ϕ ) = E ^ m , t V ϕ ( s t ) − R ^ m , t 2 .
The GAE-based policy update procedure is summarised in Algorithm 5.
Algorithm 5 GAE-based PPO update
Input: 
Episode trajectory buffer D e ; shared station actor network π θ with actor parameters θ ; centralised critic network V ϕ with critic parameters ϕ ; PPO epochs K PPO ; minibatch size B mb ; discount factor γ RL ; GAE parameter λ GAE ; policy clip range ϵ clip ; value loss coefficient c v ; entropy coefficient α ent ; actor learning rate α θ ; critic learning rate α ϕ ; gradient clipping norm g max .
Output: 
Updated actor parameters θ and critic parameters ϕ .
  1:
Compute the advantage estimates and target returns, denoted by A ^ m , t and R ^ m , t , for all transitions in D e using GAE.
  2:
Normalise the advantage estimates.
  3:
for  k = 1   to  K PPO   do
  4:
    Shuffle D e and divide it into minibatches of size B mb .
  5:
    for each minibatch do
  6:
        Recompute masked log probabilities log π θ ( a m , t ∣ o m , t , m a s k m , t ) .
  7:
        Compute the probability ratio:
r m , t ( θ ) = exp log π θ ( a m , t ∣ o m , t , m a s k m , t ) − log p m , t old .
  8:
        Compute the clipped actor objective using Equation (29).
  9:
        Compute the critic loss as c v L vf ( ϕ ) using Equation (30).
10:
        Update actor parameters θ using learning rate α θ after gradient clipping by g max .
11:
        Update critic parameters ϕ using learning rate α ϕ after gradient clipping by g max .
12:
    end for
13:
end for
14:
return  θ , ϕ .

5. Numerical Experiments and Results

All experiments were implemented in Python 3.12 on a Windows 11 computer with an Intel Core i5-12500H CPU at 2.50 GHz and 16 GB RAM. This section reports the convergence, arrival-rate sensitivity, comparative, statistical, and ablation results.

5.1. Experimental Settings and Parameter Configuration

Table 7, Table 8 and Table 9 report the training, environment, and scale settings. The learned policies are evaluated on separately generated test instances with seeds distinct from training; no test-set-specific hyperparameter tuning is performed, and the reported settings remain fixed across test configurations.
Table 7. Training hyperparameters of AMPS-MAPPO.
Table 8. Environment parameters.
Table 9. Scale  settings.
The fatigue-related parameters in Table 8 are used as fixed simulation settings across all experiments rather than as empirically calibrated physiological coefficients.

5.2. Convergence and Arrival-Rate Sensitivity Analysis

To assess training variability, AMPS-MAPPO was independently trained with seeds 42, 1042, and 2042 at λ = 0.067 for each problem scale. Episode rewards were smoothed using a 100-episode moving average, and Figure 6 reports the across-seed mean and 95% Student’s t confidence interval.
Figure 6. Multi-seed training curves of AMPS-MAPPO for three problem scales.
Figure 6 shows rapid early improvement followed by stable rewards at all three scales. The medium- and large-scale settings have narrower confidence intervals, while the small-scale setting shows greater between-seed variability.
Arrival-rate sensitivity is evaluated at λ = 0.05 , 0.067 , and  0.10 for all three problem scales using 20 independently generated test instances per setting and common test seeds across arrival rates. Table 10 reports f 1 and f 2 .
Table 10. Effect of job arrival rate on AMPS-MAPPO performance.
Table 10 shows that f 1 increases with the arrival rate at all three scales, whereas f 2 varies non-monotonically: it decreases in the small-scale setting, increases in the medium-scale setting, and first decreases and then increases in the large-scale setting. This difference arises because f 2 measures end-of-horizon fatigue dispersion rather than workload intensity.

5.3. Comparative Experiments

Each configuration is evaluated on 20 independently generated test instances matched across methods by test seed. Comparisons report f 1 and f 2 separately, while the composite objective is used only where a common reference weight is required.

5.3.1. Comparison with Gurobi Under Small-Scale Settings

AMPS-MAPPO is compared with Gurobi at the reference weight ω = 50 . The fixed AMPS-MAPPO policy is scored ex post, while Gurobi uses a 300 s time limit, a relative MIP gap of 0.10, and NonConvex = 2. Table 11 reports objective values and computational times. Gurobi reports the best incumbent within the time limit, so optimality is not guaranteed; AMPS-MAPPO time refers only to online inference.
Table 11. Comparison with Gurobi.
At ω = 50 , Gurobi obtains lower objective values in all three one-worker settings, whereas AMPS-MAPPO obtains lower values in five of the six settings with two or three workers. Gurobi generally approaches the 300 s time limit, while AMPS-MAPPO retains millisecond-level online inference.

5.3.2. Comparison with Rule-Based Dispatching Methods

AMPS-MAPPO is compared with 12 rule-based dispatching methods over 24 medium- and large-scale configurations. Table 12 reports f 1 and f 2 .
Table 12. Comparison with rule-based dispatching methods.
AMPS-MAPPO achieves the lowest f 1 in all 24 configurations, with an overall mean of 33.16. Some collaborative-mode rules obtain comparable or lower f 2 values in individual configurations, but generally with longer flow times. The results therefore show a clear scheduling-efficiency advantage for AMPS-MAPPO while retaining competitive fatigue-balance performance.

5.3.3. Comparison with Baseline Reinforcement Learning Algorithms

DQN, PPO, SAC, and D3QN are used as reinforcement-learning baselines. All methods use the same DPMS-HRC environment, 17-dimensional local observation, 13-action definition, reward specification, 10,000-episode training horizon, and matched test instances. The baselines are trained with seed 42 and evaluated on the same 20 test-instance seeds per configuration, distinct from training, without test-set-specific hyperparameter tuning. All use a learning rate of 3 × 10 − 4 . PPO and D3QN incorporate feasibility during action selection. DQN and SAC do not mask infeasible actions during training; the environment handles them without resampling or an additional penalty. During evaluation, an infeasible DQN or SAC action is replaced by IDLE when feasible, or otherwise by the first feasible action. SAC uses a one-dimensional Gaussian policy over [ 0 , 12 ] , whose output is rounded and clipped to the 13 discrete actions. DQN uses a 2 × 256 ReLU Q-network, batch size 256, replay buffer 3 × 10 5 , one update per step, and target updates every 500 steps. PPO uses 2 × 256 Tanh policy and value networks, rollout and minibatch size 2048, and four update epochs. SAC uses a 2 × 256 ReLU Gaussian actor and twin Q-networks, batch size 1024, replay buffer 3 × 10 5 , four updates every four steps, τ = 0.005 , and automatic entropy tuning. D3QN uses a 2 × 256 ReLU feature network with duelling heads, batch size 256, replay buffer 1.2 × 10 5 , one update per step, and target updates every 500 steps.
AMPS-MAPPO obtains the lowest f 1 in 18 of 24 configurations and the lowest overall mean of 31.78, corresponding to mean reductions of 20.92%, 12.06%, 8.17%, and 13.59% relative to DQN, PPO, SAC, and D3QN. For f 2 , it also achieves the lowest overall mean (0.4365), although AMPS-MAPPO and D3QN each obtain the lowest value in 10 configurations. Thus, the flow-time advantage is more consistent than the fatigue-balance advantage.

5.3.4. Process-Level Fatigue Analysis

Four process-level indicators supplement f 2 : maximum fatigue, time-above-threshold ratio, cumulative fatigue exposure, and temporal workload dispersion. The latter is the mean cross-worker standard deviation of utilisation over ten equal intervals of the scheduling horizon. Results are summarised over the same 24 medium- and large-scale configurations used in Table 12 and Table 13.
Table 13. Comparison with baseline reinforcement learning algorithms.
Table 14 shows that AMPS-MAPPO has the lowest time-above-threshold ratio in both groups and the lowest cumulative fatigue exposure in the large group. Collaborative-mode rules perform better on some other fatigue indicators, particularly maximum fatigue and temporal workload dispersion.
Table 14. Process-level fatigue indicators for AMPS-MAPPO and rule-based methods.
Table 15 shows that AMPS-MAPPO achieves the lowest maximum fatigue and temporal workload dispersion in both groups. PPO gives the lowest time-above-threshold ratio and cumulative exposure in the medium group, whereas D3QN gives the lowest values for these two indicators in the large group.
Table 15. Process-level fatigue indicators for AMPS-MAPPO and reinforcement-learning baselines.

5.3.5. Weight Sensitivity and Instance-Level Statistical Analysis

Weight sensitivity is examined by recalculating F = f 1 + ω f 2 from unchanged scheduling outcomes; ω therefore affects only the ex-post evaluation, not the trained policy.
Figure 7 shows that AMPS-MAPPO maintains the lowest average ranking among the compared learning and rule-based methods over the examined weight range. As the midpoint of the examined weight range, ω = 50 is used as a representative reference setting for the composite-objective comparisons rather than as an optimal weight.
Figure 7. Average rankings under different weight settings.
Paired statistical comparisons are conducted separately within each of the 24 configurations using 20 independently generated test instances matched across methods by test seed. For each objective and baseline, a two-sided Wilcoxon signed-rank test with Holm correction is applied within the corresponding method family; 95% Student’s t confidence intervals for paired mean differences and matched-pairs rank-biserial correlations are also reported.
For f 1 , AMPS-MAPPO is significantly better than both representative rules and DQN in all 24 configurations, PPO in 21, SAC in 16, and D3QN in 15, with median rank-biserial correlations of 0.895–1.000. For f 2 , significant advantages occur against DQN, PPO, and SAC in 13, 14, and 14 configurations, while the D3QN comparison is more balanced. Thus, the flow-time advantage is stronger and more consistent than the fatigue-balance advantage.
Table 16 summarises the configuration-level paired statistical comparisons.
Table 16. Configuration-level paired statistical comparisons with AMPS-MAPPO.

5.4. Ablation Experiments

AMPS-MAPPO is compared with variants without action masking, without reward shaping, and without both mechanisms, while retaining the same shared-actor and centralised-critic architecture. In the no-mask variant, all 13 actions remain selectable; infeasible production actions are neither resampled nor separately penalised and result in no assignment in the current micro-step.
Table 17 reports the ablation results.
Table 17. Ablation experiment results.
AMPS-MAPPO achieves the lowest f 1 in all 18 settings, with a mean of 41.45 versus 103.88, 54.56, and 79.43 without action masking, reward shaping, and both mechanisms, respectively. The corresponding mean f 2 values are 0.4369, 0.4401, 0.3626, and 0.3276, confirming that fatigue balance varies non-monotonically across the ablations.

6. Discussion

6.1. Main Findings and Relation to Previous Studies

The numerical results show that AMPS-MAPPO has its most consistent advantage in average flow time, achieving the lowest f 1 in all rule-based comparisons and in most reinforcement-learning comparisons. In contrast, fatigue-related performance is more configuration-dependent. AMPS-MAPPO obtains favourable overall results for f 2 , maximum fatigue, and temporal workload dispersion, but other methods achieve better values for some fatigue indicators in individual configurations. These results show that scheduling efficiency and fatigue-related performance do not necessarily improve in the same manner and should therefore be considered jointly.
Compared with previous HRC scheduling studies that mainly address task and resource coordination, and fatigue-aware scheduling studies that focus on worker fatigue or ergonomic factors, the present problem combines dynamic job arrivals, fatigue-dependent processing times, alternative human–robot processing modes, and shared resources in a parallel-workstation environment [12,20,30]. The event-driven multi-agent framework represents these coupled decisions at the workstation level, while sequential micro-steps coordinate competition for shared workers and robots at the same decision epoch.
The sensitivity and ablation results further clarify the behaviour of the proposed framework. Increasing the job-arrival rate consistently increases average flow time, whereas the fatigue balance index varies with problem scale. In the ablation experiments, the complete AMPS-MAPPO framework achieves the lowest f 1 in all examined settings, while f 2 changes non-monotonically when action masking or reward shaping is removed. This again indicates that improvements in flow-time performance do not necessarily correspond to improvements in fatigue balance.

6.2. Managerial Implications

The results suggest that human–robot resource planning should consider resource composition as well as production scale. Across the examined configurations, similar total resource levels can produce different flow-time performance under different worker–robot combinations. Therefore, resource planning should consider how workers and robots jointly support the available processing modes under the expected workload, rather than relying only on the total number of resources.
The results also indicate that scheduling efficiency and fatigue-related performance should be evaluated together. Methods that perform well in average flow time do not always achieve the best final fatigue balance or process-level fatigue indicators, and their relative performance varies across fatigue measures and configurations. The weight ω therefore represents an ex-post evaluation preference for this trade-off rather than a universally optimal setting. Since the present results are based on simulated scenarios and a scheduling-level fatigue model, application to a specific shop floor would require calibration using plant-specific processing and worker data.

6.3. Limitations and Future Research

Several limitations define the scope of the present results. Workers and robots are assumed to be homogeneous within their respective resource pools, inter-workstation transfer times are neglected, and dynamic job arrivals follow a Poisson process. Worker fatigue is represented by a scheduling-level accumulation and recovery model rather than by direct physiological measurements, and the current experiments do not consider machine failures, material shortages, or stochastic processing-time disturbances. Future research could therefore examine heterogeneous worker and robot capabilities, explicit transfer processes, more general arrival distributions, task-dependent worker states, additional production disturbances, and richer fatigue information obtained from shop-floor observations or sensors. Recent studies also illustrate possible sensing and recognition pathways for measured human-state information. EMG-based biological signals have been used for continuous human–machine control [51], while multi-IMU sensing combined with TimeGAN-based data augmentation and attention mechanisms has been developed for robust human-activity recognition [52]. These approaches provide possible technical pathways for incorporating measured worker-state information into future fatigue-aware scheduling models. The transferability of the learned policies to problem scales beyond those considered in the present experiments also remains to be evaluated. Further validation using real production data or a calibrated digital-twin environment would also be valuable for assessing the practical applicability of the proposed scheduling framework.

7. Conclusions

This study investigated a dynamic parallel-machine scheduling problem with human–robot collaboration and worker fatigue. A MINLP formulation was developed to represent dynamic job arrivals, alternative processing modes, shared worker–robot allocation, fatigue evolution, and fatigue-dependent processing times. An event-driven AMPS-MAPPO framework was then developed for online scheduling, combining workstation-level multi-agent decisions, action masking, sequential micro-step coordination, and time-scaled potential shaping.
The computational results show that AMPS-MAPPO exhibits stable training behaviour across the considered problem scales and maintains competitive scheduling performance under different job-arrival rates. Its most consistent advantage is observed in average flow time, while fatigue-balance and process-level fatigue performance vary more with the specific configuration and comparison method. Taken together, the comparative, statistical, sensitivity, and ablation results show that the proposed framework coordinates scheduling efficiency and fatigue-related considerations in the studied DPMS-HRC environment. Future research may further examine heterogeneous human–robot resources, broader dynamic disturbances, and policy transfer to unseen production conditions.

Author Contributions

Conceptualisation, W.X., F.S. and R.X.; methodology, W.X., F.S., R.X. and Y.X.; software, F.S. and R.X.; validation, F.S. and R.X.; formal analysis, W.X., F.S., R.X. and Y.X.; investigation, W.X., F.S. and R.X.; resources, R.X.; data curation, W.X. and F.S.; writing—original draft preparation, W.X., F.S., R.X. and Y.X.; writing—review and editing, W.X., F.S., R.X. and Y.X.; visualisation, F.S.; supervision, R.X.; project administration, W.X. and R.X.; funding acquisition, W.X. and R.X. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Fundamental Research Funds for the Central Universities [grant number B250207085], Jiangsu Provincial Social Science Fund [grant number 26GLC029], and the Philosophy and Social Science Fund of Education Department of Jiangsu Province [grant number 2024SJYB0054].

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

The authors acknowledge the use of ChatGPT (OpenAI, version GPT-5.4) for language improvement and coding assistance during the preparation of this manuscript. The authors have thoroughly reviewed and edited all output and take full responsibility for the content of the published work.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Guo, D.; Li, M.; Lyu, Z.; Kang, K.; Wu, W.; Zhong, R.Y.; Huang, G.Q. Synchroperation in Industry 4.0 manufacturing. Int. J. Prod. Econ. 2021, 238, 108171. [Google Scholar] [CrossRef] [Scilit]
  2. Liu, R.; Piplani, R.; Toro, C. Deep reinforcement learning for dynamic scheduling of a flexible job shop. Int. J. Prod. Res. 2022, 60, 4049–4069. [Google Scholar] [CrossRef] [Scilit]
  3. Zhou, L.; Jiang, Z.; Geng, N.; Niu, Y.; Cui, F.; Liu, K.; Qi, N. Production and operations management for intelligent manufacturing: A systematic literature review. Int. J. Prod. Res. 2022, 60, 808–846. [Google Scholar] [CrossRef] [Scilit]
  4. Dolgui, A.; Sgarbossa, F.; Simonetto, M. Design and management of assembly systems 4.0: Systematic literature review and research agenda. Int. J. Prod. Res. 2022, 60, 184–210. [Google Scholar] [CrossRef] [Scilit]
  5. Ferreira, C.; Figueira, G.; Amorim, P. Scheduling human-robot teams in collaborative working cells. Int. J. Prod. Econ. 2021, 235, 108094. [Google Scholar] [CrossRef] [Scilit]
  6. Stecke, K.E.; Mokhtarzadeh, M. Balancing collaborative human-robot assembly lines to optimise cycle time and ergonomic risk. Int. J. Prod. Res. 2022, 60, 25–47. [Google Scholar] [CrossRef] [Scilit]
  7. Cai, M.; Liang, R.; Luo, X.; Liu, C. Task allocation strategies considering task matching and ergonomics in the human-robot collaborative hybrid assembly cell. Int. J. Prod. Res. 2023, 61, 7213–7232. [Google Scholar] [CrossRef] [Scilit]
  8. Xu, S.; Hall, N.G. Fatigue, personnel scheduling and operations: Review and research opportunities. Eur. J. Oper. Res. 2021, 295, 807–822. [Google Scholar] [CrossRef] [Scilit]
  9. Baucells, M.; Zhao, L. It is time to get some rest. Manag. Sci. 2019, 65, 1717–1734. [Google Scholar] [CrossRef] [Scilit]
  10. Jeunet, J.; Salassa, F. Optimised break scheduling vs. Rest breaks in collective agreements under fatigue and non preemption. Int. J. Prod. Econ. 2024, 275, 109343. [Google Scholar] [CrossRef] [Scilit]
  11. Nourmohammadi, A.; Fathi, M.; Ng, A.H.C. Balancing and scheduling human-robot collaborated assembly lines with layout and objective consideration. Comput. Ind. Eng. 2024, 187, 109775. [Google Scholar] [CrossRef] [Scilit]
  12. Zheng, C.; Li, Z.; Janardhanan, M.; Zhang, Z.; Zhang, L. Balancing and scheduling human-robot collaborative assembly lines with heterogeneous robots and limited resources: Constraint programming approach and fruit fly optimization algorithm. Comput. Ind. Eng. 2025, 203, 111046. [Google Scholar] [CrossRef] [Scilit]
  13. Inkulu, A.K.; Bahubalendruni, M.V.A.R. Optimal resource allocation for multiple shop floor tasks in collaborative assembly. Comput. Ind. Eng. 2023, 185, 109695. [Google Scholar] [CrossRef] [Scilit]
  14. Huang, J.; Li, X.; Gao, L. A novel GA-CP method for fixed-type multi-robot collaborative scheduling in flexible job shop. IEEE Trans. Autom. Sci. Eng. 2025, 22, 13531–13543. [Google Scholar] [CrossRef] [Scilit]
  15. Zhang, J.; Fujimura, S. An innovative meta-heuristic for balancing and scheduling human-robot collaborative assembly lines in Industry 5.0. J. Ind. Prod. Eng. 2026, 43, 117–137. [Google Scholar] [CrossRef] [Scilit]
  16. Wu, F.; Zheng, Y.; Zhang, W. Carbon-aware dynamic human–robot collaborative flexible job shop scheduling under safety-proximity disruption. Machines 2026, 14, 931. [Google Scholar] [CrossRef] [Scilit]
  17. Dondeti, V.R.; Mohanty, B.B. Impact of learning and fatigue factors on single machine scheduling with penalties for tardy jobs. Eur. J. Oper. Res. 1998, 105, 509–524. [Google Scholar] [CrossRef] [Scilit]
  18. Biskup, D. Single-machine scheduling with learning considerations. Eur. J. Oper. Res. 1999, 115, 173–178. [Google Scholar] [CrossRef] [Scilit]
  19. Berti, N.; Finco, S.; Battaia, O.; Delorme, X. Ageing workforce effects in dual-resource constrained job-shop scheduling. Int. J. Prod. Econ. 2021, 237, 108151. [Google Scholar] [CrossRef] [Scilit]
  20. Tan, W.; Yuan, X.; Wang, J.; Zhang, X. A fatigue-conscious dual resource constrained flexible job shop scheduling problem by enhanced NSGA-II: An application from casting workshop. Comput. Ind. Eng. 2021, 160, 107557. [Google Scholar] [CrossRef] [Scilit]
  21. Song, H.; Li, J.; Du, Z.; Yu, X.; Xu, Y.; Zheng, Z.; Li, J. A Q-learning driven multi-objective evolutionary algorithm for worker fatigue dual-resource-constrained distributed hybrid flow shop. Comput. Oper. Res. 2025, 175, 106919. [Google Scholar] [CrossRef] [Scilit]
  22. Tropschuh, B.; Cegarra, J.; Battaia, O. Integrating physiological and mental aspects in employee scheduling: An overview for practitioners in production management. Int. J. Prod. Res. 2024, 62, 2093–2106. [Google Scholar] [CrossRef] [Scilit]
  23. Zhang, J.; Fujimura, S. Multi-objective metaheuristic approach for balancing and scheduling human-robot collaborative assembly lines with cognitive and ergonomic considerations. Int. J. Prod. Res. 2026, 64, 6550–6573. [Google Scholar] [CrossRef] [Scilit]
  24. Shi, J.; Chen, M.; Ma, Y.; Qiao, F. A new boredom-aware dual-resource constrained flexible job shop scheduling problem using a two-stage multi-objective particle swarm optimization algorithm. Inf. Sci. 2023, 643, 119141. [Google Scholar] [CrossRef] [Scilit]
  25. Djogdom, G.V.T.; Meziane, R.; Otis, M.J.-D. Robust dynamic robot scheduling for collaborating with humans in manufacturing operations. Robot. Comput.-Integr. Manuf. 2024, 88, 102734. [Google Scholar] [CrossRef] [Scilit]
  26. Bouaziz, N.; Bettayeb, B.; Sahnoun, M.; Yassine, A. Incorporating uncertain human behavior in production scheduling for enhanced productivity in Industry 5.0 context. Int. J. Prod. Econ. 2024, 274, 109311. [Google Scholar] [CrossRef] [Scilit]
  27. Herrmann, J.-P.; Tackenberg, S.; Srirajan, T.P.; Nitsch, V. Incorporating scheduling autonomy of workers into flexible job shop scheduling: Learning and balancing decentralized task sequencing decisions with overall scheduling performance. J. Manuf. Syst. 2026, 84, 541–560. [Google Scholar] [CrossRef] [Scilit]
  28. Bao, Q.; Zhang, X.; Su, S.; Guo, F. Ergonomics-aware task allocation for human-centric collaborative assembly: A systematic review. Machines 2026, 14, 894. [Google Scholar] [CrossRef] [Scilit]
  29. You, Y.; Ji, Z.; Wei, C. Towards human-centric manufacturing: Task planning under uncertainties in human-robot collaborative assembly. Robot. Comput.-Integr. Manuf. 2026, 101, 103293. [Google Scholar] [CrossRef] [Scilit]
  30. Park, K.-T.; Lim, C.; Lee, J.-Y. Production scheduling for human-robot collaborative assembly workstations under constraints of ergonomic fatigue and simultaneous cooperation. J. Manuf. Syst. 2025, 83, 337–356. [Google Scholar] [CrossRef] [Scilit]
  31. Hill, A.; Vossen, T.W.M. Efficient project scheduling with autonomous learning opportunities. Inf. J. Comput. 2025, 37, 761–783. [Google Scholar] [CrossRef] [Scilit]
  32. Wang, R.; Wang, G.; Sun, J.; Deng, F.; Chen, J. Flexible job shop scheduling via dual attention network-based reinforcement learning. IEEE Trans. Neural Netw. Learn. Syst. 2024, 35, 3091–3102. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Zhao, L.; Fan, J.; Zhang, C.; Shen, W.; Zhuang, J. A DRL-based reactive scheduling policy for flexible job shops with random job arrivals. IEEE Trans. Autom. Sci. Eng. 2024, 21, 2912–2923. [Google Scholar] [CrossRef] [Scilit]
  34. Zhao, X.; Qu, H.; Zhang, M.; Feng, J.; Wang, L.; Wu, Q. A flexible job shop scheduling method based on heterogeneous disjunctive graph and deep reinforcement learning. Eng. Appl. Artif. Intell. 2025, 158, 111356. [Google Scholar] [CrossRef] [Scilit]
  35. Kim, H.-J.; Lee, J.-H. Deep reinforcement learning with a look-ahead search for robotic cell scheduling. IEEE Trans. Syst. Man Cybern. Syst. 2024, 54, 622–633. [Google Scholar] [CrossRef] [Scilit]
  36. Liu, M.; Han, S. Preference-conditioned graph reinforcement learning with dual-pool guidance for multi-objective flexible job shop scheduling. Machines 2026, 14, 500. [Google Scholar] [CrossRef] [Scilit]
  37. Panda, S.K.; Xiang, Y.; Liu, R. Dynamic resource matching in manufacturing using deep reinforcement learning. Eur. J. Oper. Res. 2024, 318, 408–423. [Google Scholar] [CrossRef] [Scilit]
  38. Li, R.; Gong, W.; Wang, L.; Lu, C.; Dong, C. Co-evolution with deep reinforcement learning for energy-aware distributed heterogeneous flexible job shop scheduling. IEEE Trans. Syst. Man Cybern. Syst. 2024, 54, 201–211. [Google Scholar] [CrossRef] [Scilit]
  39. Yang, Y.-Y.; Qian, B.; Hu, R.; Li, Z.; Zhang, Z.-Q.; Jin, H.-P.; Yang, J.-B. Deep reinforcement learning algorithm incorporating problem characteristics for dynamic multi-objective permutation flow-shop scheduling problem. Swarm Evol. Comput. 2025, 96, 101973. [Google Scholar] [CrossRef] [Scilit]
  40. Rolim, G.A.; Tomazella, C.P.; Nagano, M.S. On the integration of reinforcement learning and simulated annealing for the parallel batch scheduling problem with setups. Eur. J. Oper. Res. 2025, 326, 220–233. [Google Scholar] [CrossRef] [Scilit]
  41. Duan, C.; Mo, Y.; Zhang, Z. Deep reinforcement learning for event-driven predictive-reactive multi-objective scheduling in dynamic flexible job shop. J. Manuf. Syst. 2025, 83, 992–1008. [Google Scholar] [CrossRef] [Scilit]
  42. Ding, C.; Qiao, F.; Wang, D.; Liu, J. A novel hybrid intelligent scheduling: Integrating human feedback into reinforcement learning for adaptive preference objectives. Int. J. Prod. Res. 2025, 63, 6037–6055. [Google Scholar] [CrossRef] [Scilit]
  43. Peng, S.; Xiong, G.; Yang, J.; Shen, Z.; Tamir, T.S.; Tao, Z.; Han, Y.; Wang, F.-Y. Multi-agent reinforcement learning for extended flexible job shop scheduling. Machines 2024, 12, 8. [Google Scholar] [CrossRef] [Scilit]
  44. Zhang, Z.-Q.; Fang, M.-H.; Qian, B.; Hu, R.; Chen, W. A hierarchical collaborative multi-agent deep reinforcement learning framework for distributed flexible job shop scheduling problems considering energy efficiency and dynamic disruption in IIoTs. Appl. Soft Comput. 2026, 186, 113992. [Google Scholar] [CrossRef] [Scilit]
  45. Gu, W.; Cao, Y.; Li, Y.; Li, N.; Wang, L.; Tang, N.; Yuan, M.; Pei, F. Large language model-empowered dynamic scheduling for intelligent hybrid flow shop using multi-agent deep reinforcement learning. Adv. Eng. Inform. 2026, 71, 104294. [Google Scholar] [CrossRef] [Scilit]
  46. Lu, S.; Wang, Y.; Kong, M.; Wang, W.; Tan, W.; Song, Y. A double deep Q-network framework for a flexible job shop scheduling problem with dynamic job arrivals and urgent job insertions. Eng. Appl. Artif. Intell. 2024, 133, 108487. [Google Scholar] [CrossRef] [Scilit]
  47. Tian, B.; Kaul, H.; Janardhanan, M. Balancing heterogeneous assembly line with multi-skilled human-robot collaboration via adaptive cooperative co-evolutionary algorithm. Swarm Evol. Comput. 2024, 91, 101762. [Google Scholar] [CrossRef] [Scilit]
  48. Mao, Z.; Sun, Y.; Fang, K.; Huang, D.; Zhang, J. Balancing and scheduling of assembly line with multi-type collaborative robots. Int. J. Prod. Econ. 2024, 271, 109207. [Google Scholar] [CrossRef] [Scilit]
  49. Mao, Z.; Sun, Y.; Fang, K.; Huang, D.; Zhang, J. Model and metaheuristic for human-robot collaboration assembly line worker assignment and balancing problem. Comput. Oper. Res. 2024, 165, 106605. [Google Scholar] [CrossRef] [Scilit]
  50. Calzavara, M.; Persona, A.; Sgarbossa, F.; Visentin, V. A model for rest allowance estimation to improve tasks assignment to operators. Int. J. Prod. Res. 2019, 57, 948–962. [Google Scholar] [CrossRef] [Scilit]
  51. Huang, J.; Li, G.; Su, H.; Li, Z. Development and continuous control of an intelligent upper-limb neuroprosthesis for reach and grasp motions using biological signals. IEEE Trans. Syst. Man Cybern. Syst. 2022, 52, 3431–3441. [Google Scholar] [CrossRef] [Scilit]
  52. Qi, W.; Ma, S.; Li, Q.; Guerrieri, A.; Thakur, D.; Fortino, G.; Aliverti, A. An adaptive TimeGAN-augmented attention for multi-IMU human activity recognition. IEEE J. Biomed. Health Inform. 2026, early access. [Google Scholar] [CrossRef] [Scilit] [PubMed]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.