Next Article in Journal
Blockchain-Based Task Placement and Resource Management in Edge Computing: A Survey
Previous Article in Journal
False Data Injection Attack Detection in Smart Grid Based on Learnable Unified Neighborhood-Based Anomaly Ranking
Previous Article in Special Issue
Probing Augmented Intelligent Human–Robot Collaborative Assembly Methods Toward Industry 5.0
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Efficient Job Insertion Algorithm for Hybrid Human–Machine Collaborative Flexible Job Shop Scheduling with Random Job Arrivals

1
College of Mechanical and Electrical Engineering, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China
2
Shanghai Spaceflight Precision Machinery Institute, Shanghai 201600, China
3
School of Mechanical Engineering, Yangzhou University, Yangzhou 225127, China
*
Author to whom correspondence should be addressed.
Electronics 2025, 14(17), 3397; https://doi.org/10.3390/electronics14173397
Submission received: 2 August 2025 / Revised: 22 August 2025 / Accepted: 25 August 2025 / Published: 26 August 2025
(This article belongs to the Special Issue Human–Robot Interaction and Communication Towards Industry 5.0)

Abstract

Human–machine collaborative scheduling has been widely applied in the modern manufacturing industry. Traditional scheduling algorithms often rely on frequent rescheduling when new jobs arrive, resulting in low responsiveness and difficulty in meeting the demands of high-paced production scenarios. Aiming at the hybrid human–machine collaborative flexible job shop scheduling problem (HHCFJSP) with random job arrivals, this paper proposes a hybrid algorithm based on improved job insertion strategy (HAIJI) dedicated to coping with sudden job insertion demands during the scheduling process. The algorithm constructs a two-dimensional evaluation vector based on minimum scheduling delay and residual scheduling flexibility to jointly assess potential insertion positions for each operation. A non-dominated sorting mechanism is employed to identify a set of promising insertion candidates, which are further evaluated using a tailored evaluation function. During the construction of the insertion plan, an A*-inspired greedy search strategy is adopted to guide the search process, followed by a backtracking mechanism to recover the globally optimal insertion sequence. Finally, the proposed algorithm is applied to the pre-scheduling phase and the dynamic rescheduling phase of a hybrid human–machine collaborative flexible job shop. Experimental results demonstrate that the proposed method achieves higher scheduling efficiency and stability in both stages and outperforms benchmark algorithms in terms of makespan and response time.

1. Introduction

Smart manufacturing enhances the manufacturing ecosystem by combining advanced information technology and manufacturing techniques, aiming to create a highly interconnected and intelligent production environment. However, the technology-driven development paradigm of smart manufacturing lacks consideration of human factors, which leads to a series of problems such as lack of flexibility to cope with dynamic environments and limitations in decision making for multi-scenario integration [1]. In order to deal with the appealing problems, the European Union proposed the concept of Industry 5.0, which emphasizes that human needs and values should also be paid attention to on the basis of manufacturing intelligence. Meanwhile, Zhou et al. [2] proposed the concept of the Human-Cyber-Physical System (HCPS) in smart manufacturing, which puts people in a dominant position in the manufacturing industry. Nowadays, it has become common for workers and machines to work together in scenarios of equipment manufacturing, vehicle manufacturing, and ship building [3].
As production demand gradually develops towards small batches and multiple varieties, the complexity and individuality of product orders on the shop floor are increasing. From the point of view of the production cycle and implementation costs, such production orders are difficult to realize full automation and usually need to be completed through the collaboration of workers and machines. In other words, simple and repetitive tasks are processed by fully automated machines, while processes of higher flexibility are handed over to the workers to operate the machine for processing. Therefore, how to design scheduling algorithms that comprehensively consider the multiple elements of human–machine objects in the workshop has become the key to enhancing competitiveness for the increasingly competitive manufacturing industry.
In recent years, the integration of human factors in various types of shop floor scheduling systems has received increasing attention. Geng et al. [4] proposed a multi-objective memetic algorithm to solve the hybrid flow shop scheduling problem with the objective of minimizing the maximum completion time, the total delay time, and the worker workload balance. Ferreira et al. [5] provided two algorithms based on Constraint Programming and Genetic Algorithm, which effectively reduced the total working time of the human–machine collaborative task. For the flexible production unit system scheduling problem considering worker transfer, Wu et al. [6] constructed a scheduling model that simultaneously optimizes the maximum completion time and worker labor time and proposed an adaptive decomposition algorithm incorporating deep reinforcement learning. Usman et al. [7] proposed an objective discrete Jaya algorithm designed to solve the job shop problem with worker resource constraints considering ergonomic factors. For the distributed hybrid flow shop scheduling problem with dual resource constraints considering worker fatigue, Song et al. [8] designed a Q-learning-driven multi-objective evolutionary algorithm. Bouaziz et al. [9] investigated the impact of human operational behavior on the production system, constructed a model that can dynamically assign the worker’s operational state to each workstation, and proposed a simulation framework based on a multi-intelligent body system to verify the validity of the model. Rahman et al. [10] considered the impact of skill level and work efficiency of operating workers on processing time, constructed a mathematical model with the objective of minimizing production cost and carbon emission, and proposed a genetic algorithm-based modelling algorithm to solve the problem. Betri et al. [11] paid attention to the impact of aging and fatigue of workers on productivity, introduced a resting mechanism in the job shop scheduling with workload constraints, and designed a heuristic method to optimize human resource allocation.
Flexible job shops are widely used in many fields such as electronics manufacturing, aerospace, and automotive manufacturing [12,13], etc. It adds machine flexibility to the traditional job shop, allowing more processing machines to be selected for each process. Therefore, the flexible job shop scheduling problem (FJSP) can better fit the actual workshop production situation. At the same time, with the depth of research, more and more researchers have begun to incorporate human factors into the study of FJSP, which provides new ideas for realizing more efficient and flexible production scheduling. Liu et al. [14] investigated the impact of workforce motivation effects on FJSP, proposed a distributionally robust chance-constrained formulation, and designed an improved heuristic algorithm. Lou et al. [15] constructed a multi-objective FJSP model based on human factors by considering worker flexibility and learning-forgetting effects and proposed a multi-objective memetic algorithm based on learning and decomposition. Shi et al. [16] introduced workers’ efficiency degradation due to boredom during repetitive operations into FJSP and designed a two-stage 3D particle swarm optimization algorithm to solve the problem. For sustainable scheduling of FJSP with economic, environmental, and human trade-offs, Destouet et al. [17] constructed two multi-objective mathematical models to balance the three factors and proposed a Q-learning-driven non-dominated sorting genetic algorithm framework to improve the search performance and the diversity of solutions. Vital-Soto et al. [18] proposed an improved elite multi-objective genetic algorithm to solve this scheduling problem with the optimization objectives of minimizing the maximum completion time, worker processing load, and weighted drag time. Teng [19] investigated the FJSP incorporating tool switching and worker skill constraints and designed an improved genetic algorithm to solve it. Barak et al. [20] introduced sequence-dependent setup time in a dual-resource FJSP and proposed an improved multi-objective invasive weed optimization algorithm aiming to minimize worker idle cost, machine load, and order advance or delay cost.
Although scholars have already considered the human–machine collaborative production model in the solution of FJSP, most scholars still focus mainly on resource planning research in static environments. In the actual production process, the scheduling system is frequently disturbed by unexpected factors, such as urgent customer orders, supply chain disturbances, equipment failures, etc., which make it necessary for the scheduling plan to be adjusted according to the actual situation. Therefore, the dynamic scheduling strategy, which aims to modify the scheduling plan in time after the disturbance occurs and minimize the negative impact on the production target, has emerged. Among the many dynamic disturbances, random job arrival is the most common type of scenario, which usually manifests itself as the temporary addition of new orders or tasks during the scheduling process. Therefore, the study of dynamic scheduling algorithms capable of fast and high-quality responses to random job arrival events has become a central issue in dynamic scheduling research surrounding FJSPs. Gao et al. [21] proposed a two-stage artificial bee colony algorithm, where the first stage solves the static scheduling problem in a flexible job shop and the second stage solves the rescheduling problem when new jobs arrive. Zakaria [22] describes a genetic algorithm-based rescheduling approach to solve the new order arrival problem by manipulating the available idle time on the machine and reordering operations. Li et al. [23] designed a hybrid optimization method combining tabu search and the artificial bee colony algorithm to solve the dynamic scheduling problem. Zhang et al. [24] built a dynamic simulation production environment with random job arrivals and machine failures and then designed a rescheduling method incorporating a tabu search component with the classical genetic algorithm to address the problem. Luo [25] developed a Deep Q-Network algorithm to adaptively select composite rules for a dynamic FJSP with new job insertions. Zhao et al. [26] proposed a DRL-based reactive scheduling method, proximal policy optimization with an attention-based policy network, to deal with the dynamic flexible job shop scheduling problem with random job arrivals for the total tardiness minimization. Lei et al. [27] proposed a novel end-to-end hierarchical reinforcement learning framework for solving the large-scale FJSP with dynamic job arrivals in near real-time. Lu et al. [28] designed a Double Deep Q-Network framework based on eight state features and eight compound scheduling rules for a flexible job shop scheduling problem with dynamic job arrivals and urgent job insertions.
From the above literature, for the global scheduling, it can be seen that most researchers divided the FJSP into a series of static subproblems. This makes it easy to fall into a local optimum. While for dynamic scheduling, it can be seen that the mainstream solution strategy is the complete rescheduling strategy. Every time a disturbance occurs, all of the remaining operations must be reallocated and rescheduled from scratch, discarding valuable scheduling information. It greatly increases the algorithm’s computational cost, which will disrupt the scheduling solution being executed on the production system, greatly reduce the stability of the production system, and even lead to production stagnation. Both methods have inherent limitations in finding the optimal solution and system stability guarantee.
To the best of our knowledge, there is no research to solve the FJSP in human–machine collaboration scenarios via job insertion algorithms. Moreover, the aforementioned works motivate us to introduce an improved job insertion algorithm to solve the FJSP with random job arrivals in near real time.
To address the above issues, this paper proposes an efficient job insertion algorithm that enhances search capability by proactively controlling the insertion behavior of jobs. Once a new job is assigned to the workshop, the proposed method can adaptively select the most suitable machine and insertion position for each operation, thereby maintaining scheduling stability while significantly improving local search quality and overall optimization efficiency. The main contributions of this paper are listed as follows:
(1)
The HHCFJSP is modeled as a discrete manufacturing job shop dynamic scheduling problem, where each process of a job can be processed by only machines or by the collaboration of workers and machines.
(2)
An efficient job insertion algorithm is designed to find a suitable machining resource and sequencing scheme for each new insertion process.
(3)
A two-stage scheduling framework of static pre-scheduling and dynamic re-scheduling is established. In the pre-scheduling phase, a job insertion algorithm incorporating tabu search is used to solve the FJSP static scheduling problem. In the dynamic rescheduling phase, the job insertion algorithm is used to insert randomly arriving jobs.
The proposed job insertion algorithm will obtain a new high-quality scheduling scheme with only small changes to the original scheduling scheme, as well as improve the system response speed.
The remainder of the paper begins by formulating the HHCFJSP (see Section 2). The proposed improved job insertion algorithm is introduced in Section 3. Section 4 details the two-stage scheduling framework of static pre-scheduling and dynamic re-scheduling. Section 5 assesses the performance of the proposal by conducting comparison experiments. Finally, the conclusions are presented in Section 6.

2. Problem Description

As shown in Figure 1, the dynamic HHCFJSP with random job arrivals addressed in this paper can be described as follows:
Machines are divided into fully automated machines and semi-automated machines. Semi-automated processing machines require workers to participate in their operation. Through the interaction and communication between humans and semi-automated machines, processes that require a high degree of flexibility can be handled. In this paper, automated machines are abstracted as the machine resource, and semi-automated machines and workers are abstracted as the human resource.
There are n new jobs J = {J1, J2, …, Jn} that arrives at the shop floor successively, and is required to be processed on m machines M = {M1, M2, …, Mm} and l humans W = {W1, W2, …, Wl}. A job Ji contains Ni operations Oi = {Ji,1, Ji,2, …, Ji,Ni} to be finished in the given sequence, where an operation Oi,j can be processed by a set of available resources Mi,j   M and humans Wi,j   W, and pi,j,k denotes the processing time of Oi,j on Mk   Mi,j or Wk   Wi,j. The optimization scheduling problem aims to assign suitable processing equipment for each operation, determine the processing sequence on each machine, and establish the start and makespan for each operation, with the goal of optimizing one or more specified performance metrics within the scheduling system.
In practical production environments, the following constraints [29] must be satisfied during the processing:
  • Each human/machine can process at most one operation at any given time.
  • Each operation can be assigned to only one human/machine from the eligible human/machine set at any given time.
  • Once processing of a job begins, it cannot be interrupted or preempted, and jobs cannot be added or removed during processing.
  • Jobs are independent of each other and share the same priority level for processing.
  • The processing sequence of the jobs follows the required technological routes, with precedence constraints existing among operations of the same job.
  • All jobs are available for processing at time zero.
In our case, the optimization goal is to minimize the makespan Cmax described by:
C max = max { C i N i } , i { 1 , , n }
where CiNi denotes the completion time of the last operation of job i.
To further introduce HHCFJSP, Table 1 shows an example of a 4 × 4 problem, which includes four jobs, each job containing three or four operations. The set of available resources for O1,1 of J1 is M1, M2, M3, corresponding to machining times of 6, 4, and 3, and so on. The randomly selected machines for each process and the corresponding machining times are given in the shaded portion of Table 1. A Gantt chart corresponding to the above allocation scheme is given in Figure 2, where the same color represents the same job.

3. Improved Job Insertion Strategy

The new job insertion strategy mainly involves two operations of deconstruction and reconstruction. The operation of deconstruction aims to remove some of the currently scheduled jobs, thereby reducing completion time. As for reconstruction, the removed jobs are inserted into the scheduling system successively to obtain a new scheduling scheme. In this paper, a job insertion strategy considering the global optimum is proposed for the HHCFJSP.
We used the data shown in Figure 2 as an example for deconstruction. As shown in Figure 3, J1 is removed, and the remaining operations are shifted to the left, reducing Cmax from 26 to 19. Next, the job insertion strategy is described in detail.

3.1. Main Framework

Traditional insertion heuristic algorithms commonly adopt the sequence-by-sequence greedy insertion strategy. Only one operation to be scheduled is selected at one time, which is inserted into the current scheduling result, and the scheduling state of the system is instantly updated after each insertion [30]. Although this method is easy to implement and applicable to most heuristic construction processes, it exposes the following two significant drawbacks in complex scheduling problems:
(1)
Obvious trap of local optimization: This strategy only considers the optimal insertion position of the current process at each step and lacks the global consideration of the overall scheduling structure of the jobs. This early optimal decision method will easily lead to the compression of the scheduling space for the remaining operations, making it difficult to insert them reasonably.
(2)
Inefficient utilization of computing resources: Since the processes are inserted one by one, and the scheduling state needs to be reevaluated each time a process is inserted, including the information of resource occupation, priority conflict, etc., the frequent state update significantly increases the computational overhead and affects the overall efficiency of the solution in the case of a large scheduling scale.
In view of this, a job insertion strategy with global optimization search is proposed. Firstly, a bi-objective function is used in conjunction with a non-dominated sorting mechanism to screen potential insertion points. Secondly, an evaluation function is designed to evaluate each potential insertion point. Finally, a heuristic path search method similar to the A* algorithm is introduced to construct a complete insertion scheme. The flow of the proposed job insertion strategy is shown in Figure 4, and the specific steps can be found in Section 3.4. For the proposed strategy, the key techniques involve the selection of operation insertion locations, the design of the evaluation function, and the construction of the insertion scheme, each of which will be described in detail below.

3.2. Selection of Insertion Position

Traditional greedy insertion approaches may seem to be optimal at the early stage of selection, but it will be difficult to insert the remaining processes reasonably due to the compression of the subsequent scheduling space and eventually fall into the local optimum. To solve this problem, this paper introduced a two-dimensional vector evaluation mechanism. The insertion point is jointly evaluated from two dimensions during the insertion process of each operation: (1) Scheduling delay cost G; (2) insertion interval of the remaining processes H.
On the basis of two-dimensional evaluation metrics, the advantages of an insertion point are often characterized by a conflicting relationship between two objectives. For example, one insertion point may greatly compress the scheduling space for subsequent processes although the current delay is minimized. One insertion point, although more flexible, is accompanied by a larger delay cost. At this point, a simple weighted sum method or a single index sort method can easily lead to a bias in favor of one target, masking out the candidate insertion point that has significant advantages in another target. Consequently, this paper introduced a non-dominated sorting mechanism, which maps all candidate insertion points to a two-dimensional target space and identifies solutions that are not simultaneously dominated by other insertion points in both dimensions. This mechanism can effectively retain the potential insertion points that are optimally balanced among a set of objectives, avoiding the distortion of preferences caused by artificial weights, and thus improving the robustness and scalability of the insertion strategy.
Specifically, for each process, all its feasible insertion position segments on the target machine are enumerated. For each insertion point [s, e], the 2D evaluation vector (G, H) is calculated. The set of insertion points satisfying the Pareto frontier is extracted by the non-dominated sorting method and used to construct an A*-like insertion path search structure, which ensures that the insertion strategy achieves a balance between local optimization and global feasibility.
For example, as shown in Figure 5, there are three machines with a total of 11 insertion positions to choose from when O11 is re-inserted into the scheduling scheme. The scheduling cost of O11 and the insertion intervals of the remaining processes are analyzed, and the results are shown in Table 2. We performed a non-dominated sorting method of the results and retained the first level of non-dominated solutions (the set of Pareto fronts) as the potential insertion points. It can be found that three potential insertion locations will be retained, which are locations 1, 8, and 9, and the remaining locations are deleted.

3.3. Design of Evaluation Function

Since the delay distance and the insertion interval of the remaining processes are two independent metrics, an evaluation function is designed in this paper to evaluate the retained potential insertion location, as shown in Equation (2):
F m y s , e j , i = G m y s , e j , i + H m y s , e j , i
where  F m y s , e j , i  denotes the evaluation value of operation i of job j when the insertion position on machine my is [s, e].  G m y s , e j , i  denotes the current scheduling cost.  H m y s , e j , i  denotes the minimum delay distance for the remaining processes in the remaining insertion interval.
The calculation of  H m y s , e j , i  is shown in Equation (3):
H m y s , e j , i = min ( t q t z , 0 )
where tq denotes the length of the insertion interval of remaining processes, and tz denotes the sum of the minimum processing time of remaining processes.

3.4. Framework of A*-like Insertion Path Search

In order to improve the overall feasibility and consistency of the scheduling solution in the job insertion process, this paper incorporates the heuristic path search idea of the A* algorithm in the minimum-delayed insertion strategy and designs a path construction framework applicable to workpiece-level insertion scheduling. The framework considers each process of a workpiece as a stage node on the path and completes the reasonable insertion of the whole process sequence in the target workshop by gradually expanding the insertion path.
A backtracking mechanism is incorporated to prevent some quality solutions from being missed during the insertion process. Firstly, the first process is scheduled, and the relevant parameters are recorded in the candidate queue. Subsequently, the system continuously selects the insertion position with the optimal evaluation index from the queue to guide the arrangement of the subsequent processes. The algorithm terminates and outputs the globally optimal scheduling scheme when the last process is successfully placed. The specific steps are shown below:
Step1: Input information. The job j = {Oj,1, …, Oj,i, …, Oj,n} to be inserted and the existing scheduling scheme are known.
Step2: Initialize the insertion processes. The details are as follows:
(1)
For the first process Oj,1, enumerate all feasible insertion points.
(2)
Calculate the 2D evaluation vector (G, H) for each insertion point.
(3)
Perform non-dominated sorting to extract potential insertion points.
(4)
Evaluate each potential insertion point with the evaluation function fdelay.
(5)
Add the potential insertion points as well as the evaluation value to the OPEN list.
Step3: Circulate insertion process. The details are as follows:
(1)
Select the insertion position information with currently minimum fdelay from the OPEN list and move it into the CLOSE list.
(2)
If the insertion position information is generated by the final process, skip to step 4. Otherwise, perform insertion for the next process Oj,i+1 (in a similar way to step 2).
(3)
Add the potential insertion points for Oj,i+1 as well as the evaluation value to the OPEN list.
Step4: Backtrack insertion scheme. Backtrack sequentially from the last process to the first process and record the insertion positions of all processes.
Step5: Update. Perform the insertion operation in the backtracking path to insert all the processes into the scheduling solution in sequence.
To visualize the search process, we continue to take the insertion of j1 = {O11, O12, O13, O14} as an example. For the first process O11, all its feasible insertion points are shown in Figure 5. We calculate the 2D evaluation vector (G, H) for each point and obtain three potential insertion points after non-dominated sorting of the results (as shown in Table 2). Then we calculate the evaluation value of the 3 potential insertion points according to the evaluation function fdelay in Equation (2). The potential insertion points as well as the evaluation value are added to the OPEN list. The information of the insertion position with current minimum fdelay is selected from the OPEN list and added into the CLOSE list.
After the first search, the OPEN list and the CLOSE list are shown in Table 3. O11_m3[5, 9], which has the smallest evaluation value in the OPEN list, is selected to be removed from the OPEN list and added to the CLOSE list.
After the second search, the OPEN list and the CLOSE list are shown in Table 4. O11_m1[0, 5], which has the smallest evaluation value in the OPEN list, is selected to be removed from the OPEN list and added to the CLOSE list.
We circulate the above operations until the last process is inserted. Table 5 shows the full process of reinserting job 1 into the scheduling plan. After the 5th search, the search ends because the last process O14 is included. The optimal insertion scheme O11_m1[0, 5] → O12_m3[6, 9] → O13_m2[10, 15] → O14_w1[14, 19] is backtracked in the CLOSE list, and the insertion positions are shown in Figure 6a. The scheduling scheme is re-decoded after the insertion is completed. As shown in Figure 6b, the maximum completion time is reduced from 26 to 20 because the insertion position with the smallest total delay is selected for each process.

4. Two-Stage Job Insertion Algorithm

Prior to the execution of production planning, the workshop must perform pre-scheduling. Pre-scheduling is essential to ensure the smoothness of the production process and helps to avoid production delays and quality degradation due to resource shortages. Therefore, this paper adopts two-stage scheduling. We first complete the static scheduling of pre-scheduling. Then, on the basis of pre-scheduling, we do the re-scheduling operations in the face of the random job arrivals dynamically. The process framework is shown in Figure 7.

4.1. Pre-Scheduling

In the pre-scheduling phase, this section will introduce a hybrid algorithm based on improved job insertion strategy (HAIJI), as shown in Algorithm 1. Firstly, the job insertion algorithm is used to perturb the scheduling scheme globally and adjust the machining order and machine allocation of key jobs dynamically. Subsequently, the tabu search algorithm is used to make local adjustments. Thus, the balance in global as well as local search is realized.
Algorithm 1 Pseudo-code for HAIJI
Input: the problem information, including workpiece information, machine information, process routing, etc.
Output: the best solution xb
1:Set algorithm parameters, iter = 0, maximum number of iterations Maxiter = 300
2:Generate an initial solution x0, complete time f(x0), current solution xcx0, best solution xbx0
3:While (iter <= Maxiter) do
4:    For j = {1, 2, …, n}                      //j-th job in the workshop
5:        (j, x0′) ← Deconstruction (x0)         //remove j, remaining scheduling x0
6:        πj = Reconstruction (j, x0′)         //job insertion algorithm
7:    End For                            //neighborhood solution set π = {π1, π2, …, πn}
8:    For i = {1, 2, …, n}                      //local search
9:        Πi ← Tabu Search (πi)
10:    End For                                       //Π = {Π1, Π2, …, Πn}
11:    xb′ ← Select the best solution among (Ππ)
12:    If f(xb′) < f(xb)
13:        xbxb′, xcxb
14:    Else
15:        xc ← Randomly select a solution from Π
16:    End if
17:    iter = iter + 1
18:End While
19:Return xb

4.1.1. Encoding, Decoding and Initial Solution

There are two main issues to consider when encoding: machine selection and process sequencing. In this paper, segmented integer encoding is used to define the feasible solution, as shown in Figure 8. The machine selection part is responsible for solving the problem of which machine each operation is processed on. The process sequencing part is responsible for solving the problem of ordering all processes. The value at each position represents the job index, which indicates the first process of the job when it appears for the first time, the second process when it appears for the second time, and so on. Decoding is done in a semi-active way, i.e., the processes on the code are processed from left to right according to the earliest start time.
It is found that the initial solution will not have a big impact on the final result of the pre-scheduling. Meanwhile, the pre-scheduling does not have strict requirements on the running time. Thus, this paper adopts a randomized generation of the initial solution, i.e., the order of the process and the selection of the machine are randomized.

4.1.2. Job Insertion Algorithm

The job insertion algorithm is the core optimization method in the pre-scheduling phase, aiming at reducing the total completion time by dynamically adjusting the machining sequence and machine allocation of the processes and gradually optimizing the initial scheduling solution. The algorithm deconstructs and reconstructs each critical job in the current solution. The deconstruction and reconstruction phases make the scheduling scheme progressively approximate a more optimal solution by iteratively removing and reinserting critical jobs.
In the deconstruction phase, the algorithm first identifies the critical job in the current scheduling solution. Critical jobs contain critical processes, which constitute the longest machining path (i.e., the process chain that has the greatest impact on makespan). The specific steps are as follows: Removing critical job: Temporarily remove the selected the critical job from the current scheduling scheme while leaving the machine allocation and the machining sequence of the other jobs unchanged. Shifting the remaining processes to the left: Shift the remaining processes to the left without changing the process order to shorten the idle time and thus reduce the temporary makespan.
In the reconfiguration phase, the algorithm reinserts the removed critical job into the left-shift scheduling scheme using the job insertion algorithm.
The algorithm progressively optimizes the scheduling scheme by executing the deconstruction and reconstruction phases several times. In each iteration, the removal and reinsertion of critical jobs leads to a potential improvement in makespan. When a predefined number of iterations is reached or makespan is no longer significantly improved, the algorithm terminates and outputs the final pre-scheduling solution.

4.1.3. Local Search

Since the job insertion algorithm is a large change in scheduling optimization, it is necessary to use local search to improve the solution. Tabu search combined with the designed neighborhood structure will have a powerful local search capability. In the hybrid algorithm, Tabu search performs a local search only on the neighborhood solution generated by the job insertion algorithm. The process generates neighborhood solutions by the neighborhood structure for each neighborhood solution πi. To avoid falling into a local optimum, a tabu list is used to tabu the solutions that have already been searched. In the hybrid algorithm, the N7 [31] and Nk [32] neighborhood structures are used to generate a neighborhood solution, and an approximate evaluation method [33] is used to evaluate the neighborhood solution. Other components, including the tabu table, amnesty criterion, move attribute, and termination criteria, can be found in the literature [31].

4.2. Random Job Arrival

The scheduling system must react quickly after the disturbance occurs to maintain smooth execution of production on the shop floor. Dynamic rescheduling strategies are generally categorized into event-driven and cycle-driven. Event-driven rescheduling means that the rescheduling strategy is carried out immediately when a dynamic event occurs in the work shop. Cycle-driven rescheduling means that the rescheduling detection is carried out at intervals in the work shop, no matter whether there is a dynamic disturbance or not. Event-driven rescheduling has good real-time performance and minimizes the impact of disturbance events on production and processing. Therefore, an event-driven rescheduling strategy is used in this paper.
When a new job arrives at a certain time, insertion rescheduling is performed using the job insertion algorithm proposed in this paper. Taking Figure 9 as an example, at t = 5, the new job J5 arrives. The machines selected for each process as well as the processing time are shown in Table 6. At this time, the processes in the scheduling plan can be divided into three categories: been processed, being processed, and to be processed. We keep the processes that have been processed and those that are being processed unchanged on the left side of the dotted line and on the dotted line. The new processes are inserted between the processes that are to be processed on the right side of the dotted line.
Take the insertion of O51 as an example; O51 can be processed on M2 or W1. After the arrival time, we select all interval between the processes that are to be processed as candidate insertion points. As shown in Figure 10, there are 5 candidate insertion points on the right side of the dotted line. We calculate the 2D evaluation vector (G, H) of each point and get 1 potential insertion point w1[8, 8] after non-dominated sorting of the result. We insert the remaining 2 processes and finally get the insertion scheme: w1[8, 8] → m2[11, 16] → w1[16, 19]. As shown in Figure 11, the scheduling scheme with a makespan of 19 is finally obtained. Table 7 demonstrates the process of the job insertion algorithm to insert the newly arrived J5 into the pre-scheduled schedule.

5. Experimental Studies and Results

In order to verify the effectiveness of the job insertion algorithm for random job arrival events in a flexible job shop environment, this paper carries out simulation experiments of two-stage scheduling and analyzes the experimental results in detail. The algorithms in this paper are implemented using MATLAB R2023b programming on a test computer with a CPU of 3.40 GHz and 32 GB of RAM.

5.1. Test of Pre-Scheduling

In this paper, 10 Brandimarte benchmark instances as well as 21 BCdata benchmark instances are taken as test instances for experiments. Each instance is tested 20 times, and the results are shown in Table 8, where n × m denotes that there are n jobs and m machines in the instance, LB denotes the lower bound of the optimal solution, Cmaxdenotes the optimal maximum completion time, AV (Cmax) denotes the average value of the optimal maximum completion time, AV (CPU) denotes the average time spent in each time of solving for the optimal maximum completion time, and RE denotes the relative deviation of Cmax from LB. MRE is the mean value of RE and can be used to comparatively measure the overall performance of different algorithms.
The test results of the Brandimarte instances were compared with three comparison algorithms, namely hGA [34], CDDS [35], and BEDA [36]. As shown in Table 9, our algorithm achieves better solutions than the comparison algorithms on mk06 and mk10. For the mk06, the three comparison algorithms obtained the Cmaxof hGA (58), CDDS (58), and BEDA (60). The algorithm in this paper optimized Cmaxto 57. For the mk10, the three comparison algorithms obtained the Cmaxof hGA (199), CDDS (210), and BEDA (206). The algorithm in this paper optimized Cmaxto 198. The Gantt chart for the mk10 case obtained by our algorithm is given in Figure 12. In addition, the MRE of our algorithm is 14.67, which is lower than that of hGA (15.04), CDDS (18.76), and BEDA (17.58).
The test results of the BCdata instances were compared with three comparison algorithms, namely hGA [35], eGA [37], and TSBM2H [38]. As shown in Table 10, our algorithm achieves better solutions than the comparison algorithms on setb4cc and setb4xy. For the setb4cc, the three comparison algorithms obtained the Cmaxof hGA (914), eGA (909), and TSBM2H (909). The algorithm in this paper optimized Cmaxto 908. For the setb4xy, the three comparison algorithms obtained the Cmaxof hGA (916), eGA (916), and TSBM2H (912). The algorithm in this paper optimized Cmaxto 911. In addition, the MRE of our algorithm is 22.46, which is lower than that of hGA (22.61), eGA (22.47), and TSBM2H (22.52).

5.2. Test of Random Job Arrival

To verify the effectiveness of the job insertion algorithm in solving the random job arrival problem, this paper deals with the random job arrival events with the objective of minimizing the completion time. The initial scheduling scheme Gantt chart is shown in Figure 13. Assuming that a new job J11 arrives at the time t = 20, the information of this job is shown in Table 11. In this case, as shown in Figure 14, the completion time of 53 is obtained using the right-shift rescheduling method. As shown in Figure 15, the completion time of 47 is obtained using the job insertion algorithm proposed in this paper.
According to the simulation experiments in Figure 14 and Figure 15, it is shown that when random job arrival events occur, the job insertion algorithm is able to maintain the stability of the scheduling scheme and achieve the desirable completion time while changing the original scheme by only a small margin.
To further verify the impact of the job insertion algorithm on the current scheduling scheme when inserting new jobs, the Delay Rate (DR) is introduced as shown in Equation (4):
D R = C max C max C max × 100 %
where Cmaxdenotes the maximal completion time for static scheduling and Cmax′ denotes the maximal completion time after re-scheduling. The smaller the DR is, the smaller the impact on the maximal completion time is caused by the arrival of new jobs. MDR denotes the mean delay rate.
Take Brandimarte instances (mk01–mk10) as test instances. After pre-scheduling, the jobs are simulated to arrive randomly, where the random arrival time t is uniformly distributed in [1, Cmax]. The randomized jobs are the randomized jobs in the current instance. We performed 20 simulation experiments with the right-shift rescheduling method and the proposed algorithm, respectively, on each instance and counted the average delay rate. The results are shown in Table 12. In all 10 benchmark instances, the MDR of the proposed algorithm is significantly better than that of the traditional right-shift rescheduling method. The proposed algorithm possesses better stability. Meanwhile, the solving time of the proposed algorithm is less than 0.1 s each time, which reflects the extremely fast response speed.

6. Conclusions

In this paper, an efficient job insertion algorithm is proposed for the hybrid human–machine collaborative flexible job shop scheduling problem with random job arrivals. The proposed algorithm filters potential insertion points through a bi-objective evaluation function and a non-dominated sorting mechanism. It combines the A*-like heuristic path search framework to achieve the global balance between the scheduling delay cost and the remaining job insertion space when inserting new jobs, which effectively avoids the local optimal traps of the traditional greedy insertion strategy. The two-stage scheduling framework (pre-scheduling static scheduling and dynamic re-scheduling) is used to optimize the initial scheduling scheme with taboo search in the pre-scheduling stage and to respond to random job arrivals quickly with the event-driven strategy in the dynamic re-scheduling stage, which takes into account the stability of the production system and the quality of the scheduling. Experiments show that the proposed algorithm is able to obtain a shorter maximum completion time under static scheduling. While under dynamic scheduling, it can significantly reduce the maximum completion time with only a small change to the original scheduling scheme, which improves the equipment utilization rate and system response speed.
This paper delves into the impact of HAIJI on production efficiency within a human–machine collaborative production model, offering practical guidance for real-world applications. However, the human–machine collaboration model examined in this study is limited to single-worker, single-machine scenarios and does not account for more complex collaborative modes. In real production there are workshops with different production functions. Therefore, we will use HAIJI to solve the more complex workshop scheduling problems.

Author Contributions

Conceptualization, methodology, software, validation, formal analysis, investigation, data curation, writing—original draft preparation, J.S.; resources, Y.S.; writing—review and editing, L.W. and C.L.; funding acquisition, D.T.; writing standards, English verification—review and editing, Q.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Key Research and Development Program of China (grant number 2023YFB3308200), National Natural Science Foundation of China (grant number 92267109 and 52305539), the Natural Science Foundation of Jiangsu Province (grant number BK20230880).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
HHCFJSPHybrid human–machine collaborative flexible job shop scheduling problem
HAIJIHybrid algorithm based on improved job insertion strategy
HCPSHuman-Cyber-Physical System
FJSPFlexible job shop scheduling problem
hGAHybrid Genetic Algorithm
CDDSClimbing Depth-bound Discrepancy Search
BEDABi-population based estimation of distribution algorithm
eGAEffective Genetic Algorithm
TSBM2HTabu search-based meta2heuristics

References

  1. Zhou, J.; Li, P.; Zhou, Y.; Wang, B.; Zang, J.; Meng, L. Toward New-Generation Intelligent Manufacturing. Engineering 2018, 4, 11–20. [Google Scholar] [CrossRef]
  2. Zhou, J.; Zhou, Y.; Wang, B.; Zang, J. Human–Cyber–Physical Systems (HCPSs) in the Context of New-Generation Intelligent Manufacturing. Engineering 2019, 5, 624–636. [Google Scholar] [CrossRef]
  3. Lu, C.; Gao, R.; Yin, L.; Zhang, B. Human–Robot Collaborative Scheduling in Energy-Efficient Welding Shop. IEEE Trans. Ind. Inform. 2024, 20, 963–971. [Google Scholar] [CrossRef]
  4. Geng, K.; Ye, C.; Liu, L. Research on Multi-Objective Hybrid Flow Shop Scheduling Problem With Dual Resource Constraints Using Improved Memetic Algorithm. IEEE Access 2020, 8, 104527–104542. [Google Scholar] [CrossRef]
  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]
  6. Wu, Y.; Wang, L.; Li, R.; Chen, J. A Reinforcement Learning-Driven Adaptive Decomposition Algorithm for Multi-Objective Hybrid Seru System Scheduling Considering Worker Transfer. Swarm Evol. Comput. 2024, 88, 101602. [Google Scholar] [CrossRef]
  7. Usman, S.; Lu, C. Job-Shop Scheduling with Limited Flexible Workers Considering Ergonomic Factors Using an Improved Multi-Objective Discrete Jaya Algorithm. Comput. Oper. Res. 2024, 162, 106456. [Google Scholar] [CrossRef]
  8. 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]
  9. 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]
  10. Rahman, H.F.; Servranckx, T.; Chakrabortty, R.K.; Vanhoucke, M.; El Sawah, S. Manufacturing Project Scheduling Considering Human Factors to Minimize Total Cost and Carbon Footprints. Appl. Soft Comput. 2022, 131, 109764. [Google Scholar] [CrossRef]
  11. Berti, N.; Finco, S.; Battaïa, O.; Delorme, X. Ageing Workforce Effects in Dual-Resource Constrained Job-Shop Scheduling. Int. J. Prod. Econ. 2021, 237, 108151. [Google Scholar] [CrossRef]
  12. Gao, K.Z.; Suganthan, P.N.; Chua, T.J.; Chong, C.S.; Cai, T.X.; Pan, Q.K. A Two-Stage Artificial Bee Colony Algorithm Scheduling Flexible Job-Shop Scheduling Problem with New Job Insertion. Expert Syst. Appl. 2015, 42, 7652–7663. [Google Scholar] [CrossRef]
  13. Fan, J.; Zhang, C.; Liu, Q.; Shen, W.; Gao, L. An Improved Genetic Algorithm for Flexible Job Shop Scheduling Problem Considering Reconfigurable Machine Tools with Limited Auxiliary Modules. J. Manuf. Syst. 2022, 62, 650–667. [Google Scholar] [CrossRef]
  14. Liu, M.; Liu, X.; Chu, F.; Zhang, E.; Chu, C. Service-Oriented Robust Worker Scheduling with Motivation Effects. Int. J. Prod. Res. 2021, 59, 2328–2351. [Google Scholar] [CrossRef]
  15. Lou, H.; Wang, X.; Dong, Z.; Yang, Y. Memetic Algorithm Based on Learning and Decomposition for Multiobjective Flexible Job Shop Scheduling Considering Human Factors. Swarm Evol. Comput. 2022, 75, 101204. [Google Scholar] [CrossRef]
  16. 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]
  17. Destouet, C.; Tlahig, H.; Bettayeb, B.; Mazari, B. Multi-Objective Sustainable Flexible Job Shop Scheduling Problem: Balancing Economic, Ecological, and Social Criteria. Comput. Ind. Eng. 2024, 195, 110419. [Google Scholar] [CrossRef]
  18. Vital-Soto, A.; Baki, M.F.; Azab, A. A Multi-Objective Mathematical Model and Evolutionary Algorithm for the Dual-Resource Flexible Job-Shop Scheduling Problem with Sequencing Flexibility. Flex. Serv. Manuf. J. 2023, 35, 626–668. [Google Scholar] [CrossRef]
  19. Teng, G. An Improved Genetic Algorithm for Dual-Resource Constrained Flexible Job Shop Scheduling Problem with Tool-Switching Dependent Setup Time. Expert Syst. Appl. 2025, 281, 127496. [Google Scholar] [CrossRef]
  20. Barak, S.; Javanmard, S.; Moghdani, R. Dual Resource Constrained Flexible Job Shop Scheduling with Sequence-Dependent Setup Time. Expert Syst. 2024, 41, e13669. [Google Scholar] [CrossRef]
  21. Gao, K.Z.; Suganthan, P.N.; Tasgetiren, M.F.; Pan, Q.K.; Sun, Q.Q. Effective Ensembles of Heuristics for Scheduling Flexible Job Shop Problem with New Job Insertion. Comput. Ind. Eng. 2015, 90, 107–117. [Google Scholar] [CrossRef]
  22. Zakaria, Z.; Petrovic, S. Genetic Algorithms for Match-up Rescheduling of the Flexible Manufacturing Systems. Comput. Ind. Eng. 2012, 62, 670–686. [Google Scholar] [CrossRef]
  23. Li, X.; Peng, Z.; Du, B.; Guo, J.; Xu, W.; Zhuang, K. Hybrid Artificial Bee Colony Algorithm with a Rescheduling Strategy for Solving Flexible Job Shop Scheduling Problems. Comput. Ind. Eng. 2017, 113, 10–26. [Google Scholar] [CrossRef]
  24. Zhang, L.; Gao, L.; Li, X. A Hybrid Genetic Algorithm and Tabu Search for a Multi-Objective Dynamic Job Shop Scheduling Problem. Int. J. Prod. Res. 2013, 51, 3516–3531. [Google Scholar] [CrossRef]
  25. Luo, S. Dynamic Scheduling for Flexible Job Shop with New Job Insertions by Deep Reinforcement Learning. Appl. Soft Comput. 2020, 91, 106208. [Google Scholar] [CrossRef]
  26. 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]
  27. Lei, K.; Guo, P.; Wang, Y.; Zhang, J.; Meng, X.; Qian, L. Large-Scale Dynamic Scheduling for Flexible Job-Shop With Random Arrivals of New Jobs by Hierarchical Reinforcement Learning. IEEE Trans. Ind. Inform. 2024, 20, 1007–1018. [Google Scholar] [CrossRef]
  28. 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]
  29. Xu, S.; Li, Y.; Li, Q. A Deep Reinforcement Learning Method Based on a Transformer Model for the Flexible Job Shop Scheduling Problem. Electronics 2024, 13, 3696. [Google Scholar] [CrossRef]
  30. Huang, L.; Tang, D.; Zhang, Z.; Zhu, H.; Cai, Q.; Zhao, S. An Iterated Greedy Algorithm Integrating Job Insertion Strategy for Distributed Job Shop Scheduling Problems. J. Manuf. Syst. 2024, 77, 746–763. [Google Scholar] [CrossRef]
  31. Zhang, C.; Li, P.; Guan, Z.; Rao, Y. A Tabu Search Algorithm with a New Neighborhood Structure for the Job Shop Scheduling Problem. Comput. Oper. Res. 2007, 34, 3229–3242. [Google Scholar] [CrossRef]
  32. Mastrolilli, M.; Gambardella, L.M. Effective Neighbourhood Functions for the Flexible Job Shop Problem. J. Sched. 2000, 3, 3–20. [Google Scholar] [CrossRef]
  33. Balas, E.; Vazacopoulos, A. Guided Local Search with Shifting Bottleneck for Job Shop Scheduling. Manag. Sci. 1998, 44, 262–275. [Google Scholar] [CrossRef]
  34. Gao, J.; Sun, L.; Gen, M. A Hybrid Genetic and Variable Neighborhood Descent Algorithm for Flexible Job Shop Scheduling Problems. Comput. Oper. Res. 2008, 35, 2892–2907. [Google Scholar] [CrossRef]
  35. Ben Hmida, A.; Haouari, M.; Huguet, M.-J.; Lopez, P. Discrepancy Search for the Flexible Job Shop Scheduling Problem. Comput. Oper. Res. 2010, 37, 2192–2201. [Google Scholar] [CrossRef]
  36. Wang, L.; Wang, S.; Xu, Y.; Zhou, G.; Liu, M. A Bi-Population Based Estimation of Distribution Algorithm for the Flexible Job-Shop Scheduling Problem. Comput. Ind. Eng. 2012, 62, 917–926. [Google Scholar] [CrossRef]
  37. Zhang, G.; Gao, L.; Shi, Y. An Effective Genetic Algorithm for the Flexible Job-Shop Scheduling Problem. Expert Syst. Appl. 2011, 38, 3563–3573. [Google Scholar] [CrossRef]
  38. Bożejko, W.; Uchroński, M.; Wodecki, M. Parallel Hybrid Metaheuristics for the Flexible Job Shop Problem. Comput. Ind. Eng. 2010, 59, 323–333. [Google Scholar] [CrossRef]
Figure 1. Hybrid human–machine collaborative production mode.
Figure 1. Hybrid human–machine collaborative production mode.
Electronics 14 03397 g001
Figure 2. A 4 × 4 HHCFJSP Gantt chart.
Figure 2. A 4 × 4 HHCFJSP Gantt chart.
Electronics 14 03397 g002
Figure 3. Deconstruction operation.
Figure 3. Deconstruction operation.
Electronics 14 03397 g003
Figure 4. Flowchart of the improved job insertion strategy.
Figure 4. Flowchart of the improved job insertion strategy.
Electronics 14 03397 g004
Figure 5. Insertion position Gantt chart.
Figure 5. Insertion position Gantt chart.
Electronics 14 03397 g005
Figure 6. Insertion process Gantt chart.
Figure 6. Insertion process Gantt chart.
Electronics 14 03397 g006
Figure 7. Flowchart of the two-stage job insertion algorithm.
Figure 7. Flowchart of the two-stage job insertion algorithm.
Electronics 14 03397 g007
Figure 8. Chromosome coding.
Figure 8. Chromosome coding.
Electronics 14 03397 g008
Figure 9. Gantt chart when the new job arrives.
Figure 9. Gantt chart when the new job arrives.
Electronics 14 03397 g009
Figure 10. Insertion positions for operation O51.
Figure 10. Insertion positions for operation O51.
Electronics 14 03397 g010
Figure 11. Insertion complete Gantt chart.
Figure 11. Insertion complete Gantt chart.
Electronics 14 03397 g011
Figure 12. Gantt chart of the mk10 obtained by HAIJI (Cmax = 198).
Figure 12. Gantt chart of the mk10 obtained by HAIJI (Cmax = 198).
Electronics 14 03397 g012
Figure 13. Pre-scheduling Gantt chart.
Figure 13. Pre-scheduling Gantt chart.
Electronics 14 03397 g013
Figure 14. Right-shift rescheduling Gantt chart.
Figure 14. Right-shift rescheduling Gantt chart.
Electronics 14 03397 g014
Figure 15. Job insertion algorithm rescheduling Gantt chart.
Figure 15. Job insertion algorithm rescheduling Gantt chart.
Electronics 14 03397 g015
Table 1. A 4 × 4 HHCFJSP instance.
Table 1. A 4 × 4 HHCFJSP instance.
JobOperationAvailable Resources and Processing Time
M1M2M3W1
Job 1O1,1643-
O1,2--43
O1,3-323
O1,43--2
Job 2O2,1345-
O2,24--5
O2,334-3
Job 3O3,1-45-
O3,2-344
O3,3--45
O3,43-3-
Job 4O4,1343-
O4,23-42
O4,3-3-4
O4,43-2-
Table 2. Evaluation of insertion positions.
Table 2. Evaluation of insertion positions.
OperationNo.Insertion PositionDelay Cost/GInsertion Interval of Remaining Processes/HPareto Front
O111m1[0, 5]1[6, 19]/13
2m1[9, 14]1[15, 19]/4×
3m1[17, 19]4[23, 19]/−4×
4m2[0, 0]4[4, 19]/15×
5m2[4, 4]4[8, 19]/11×
6m2[8, 15]0[12, 19]/7×
7m2[19, 19]4[23, 19]/−4×
8m3[0, 0]3[3, 19]/16
9m3[5, 9]0[8, 19]/11
10m3[11, 11]3[14, 19]/5×
11m3[15, 19]0[18, 19]/1×
Table 3. The OPEN list and CLOSE list after the first search.
Table 3. The OPEN list and CLOSE list after the first search.
OPEN List
OperationInsertion positionEvaluation value
O11m1[0, 5]1
m3[0, 0]3
m3[5, 9]0
CLOSE List
OperationInsertion positionEvaluation value
O11m3[5, 9]0
Table 4. The OPEN list and CLOSE list after the second search.
Table 4. The OPEN list and CLOSE list after the second search.
OPEN List
OperationInsertion positionEvaluation value
O11m1[0, 5]1
m3[0, 0]3
O12m4[8, 8]3
w1[14, 19]2
CLOSE List
OperationInsertion positionEvaluation value
O11m3[5, 9]0
m1[0, 5]1
Table 5. Insertion process of job 1.
Table 5. Insertion process of job 1.
Search NumberOperationInsertion PositionInsertion Interval of Remaining ProcessesEvaluation Value
GHF
1O11m1[0, 5][6, 19]/13101
m3[0, 0][3, 19]/16303
m3[5, 9][8, 19]/11000
Select O11_m3[5, 9] and guide the insertion of next process
2O12w1[8, 8][11, 19]/8303
w1[14, 19][17, 19]/2022
Select O11_m1[0, 5] and guide the insertion of next process
3O12m3[6, 9][10, 19]/9101
Select O12_m3[6, 9] and guide the insertion of next process
4O13m2[10, 15][13, 19]/6000
m3[10, 10][12, 19]/7202
Select O13_m2[10, 15] and guide the insertion of next process
5O14w1[14, 19][16, 19]/3000
Select O14_w1[14, 19] and end the insertion
Table 6. Information of job 5 to be inserted.
Table 6. Information of job 5 to be inserted.
JobOperationAvailable Resources and Processing Time
M1M2M3W1
Job 5O5,1-4-3
O5,2-33-
O5,3-323
Table 7. Insertion process of job 5.
Table 7. Insertion process of job 5.
Search NumberOperationInsertion PositionInsertion Interval of Remaining ProcessesEvaluation Value
GHF
1O51w1[8, 8][11, 16]/5303
Select O51_w1[8, 8] and guide the insertion of next process
2O52m2[11, 12][14, 16]/2202
Select O52_m2[11, 12] and guide the insertion of next process
3O53w1[14, 16][17, 16]/-1112
Select O53_w1[14, 19] and end the insertion
Table 8. The solution results of the Brandimarte example and the BCdata example.
Table 8. The solution results of the Brandimarte example and the BCdata example.
Problemn × mLBProposed Algorithm
CmaxAV (Cmax)AV (CPU)RE
mk0110 × 6364040.000.7611.11
mk0210 × 6242626.151.778.33
mk0315 × 8204204204.002.840.00
mk0415 × 8486060.451.3425.00
mk0515 × 4168172172.952.132.38
mk0610 × 15335758.559.4872.73
mk0720 × 5133139139.501.784.51
mk0820 × 10523523523.005.410.00
mk0920 × 10299307307.1510.082.68
mk1020 × 15165198201.7523.4820.00
mt10c110 × 11655927928.452.7041.53
mt10cc10 × 12655910912.702.1738.93
mt10x10 × 11655918919.702.0740.15
mt10xx10 × 12655918918.551.7740.15
mt10xxx10 × 13655918918.101.8240.15
mt10xy10 × 12655905906.251.7838.17
mt10xyz10 × 13655847858.501.6729.31
setb4c915 × 11857914920.653.696.65
setb4cc15 × 12857908913.353.375.95
setb4x15 × 11846925934.352.859.34
setb4xx15 × 12846925933.552.319.34
setb4xxx15 × 13846925933.853.039.34
setb4xy15 × 12845911922.702.387.81
setb4xyz15 × 13838905913.952.188.00
seti5c1215 × 16102711741185.104.6914.31
seti5cc15 × 1795511361146.304.5618.95
seti5x15 × 1695512001212.955.0925.65
seti5xx15 × 1795511991205.606.2225.55
seti5xxx15 × 1895511981206.904.5925.45
seti5xy15 × 1795511361146.204.6218.95
seti5xyz15 × 1895511271133.904.4418.01
Table 9. Comparative analysis of HAIJI and other algorithms in solving Brandimarte instances.
Table 9. Comparative analysis of HAIJI and other algorithms in solving Brandimarte instances.
ProblemLBhGACDDSBEDAOurs
CmaxRECmaxRECmaxRECmaxRE
mk01364011.114011.114011.114011.11
mk0224268.33268.33268.33268.33
mk032042040204020402040
mk04486025.006025.006025.006025.00
mk051681722.381734.171722.981722.38
mk06335875.765896.976090.915772.73
mk071331394.511399.021397.521394.51
mk085235230523052305230
mk092993072.683072.683072.683072.68
mk1016519920.6121030.3020627.2719820.00
MRE--15.04-18.76-17.58-14.67
Table 10. Comparative analysis of HAIJI and other algorithms in solving BCdata instances.
Table 10. Comparative analysis of HAIJI and other algorithms in solving BCdata instances.
ProblemLBhGAeGATSBM2HOurs
CmaxRECmaxRECmaxRECmaxRE
mt10c165592741.5392741.5392741.5392741.53
mt10cc65591038.9391038.9390838.6391038.93
mt10x65591840.1591840.1592240.7691840.15
mt10xx65591840.1591840.1591840.1591840.15
mt10xxx65591840.1591840.1591840.1591840.15
mt10xy65590538.1790538.1790538.1790538.17
mt10xyz65584929.6284729.3184929.3184729.31
setb4c98579146.659146.659146.659146.65
setb4cc8579146.659096.079096.079085.95
setb4x8469259.349259.349259.349259.34
setb4xx8469259.349259.349259.349259.34
setb4xxx8469259.349259.349259.349259.34
setb4xy8459168.409167.939127.939117.81
setb4xyz8389058.009058.009038.009058.00
seti5c121027117514.41117414.31117414.31117414.31
seti5cc955113819.16113618.95113618.95113618.95
seti5x955120426.07120925.65119826.07120025.65
seti5xx955120225.86120425.45119725.65119925.55
seti5xxx955120426.07120425.45119725.55119825.45
seti5xy955113618.95113618.95113618.95113618.95
seti5xyz955112617.91112518.01112818.01112718.01
MRE--22.61-22.47-22.52-22.46
Table 11. Information of job 11 to be inserted.
Table 11. Information of job 11 to be inserted.
JobOperationAvailable Resources and Processing Time
M1M2M3M4W1W2
Job 11O11,1-6----
O11,2--42-6
O11,316-5--
O11,4-646-8
O11,51---5-
Table 12. Delay rate.
Table 12. Delay rate.
ProblemRight-Shift ReschedulingProposed Algorithm
mk0112.32%2.15%
mk0215.14%2.06%
mk0320.56%5.21%
mk0419.83%4.78%
mk0521.73%5.06%
mk0620.86%6.73%
mk0723.76%6.48%
mk0825.35%9.79%
mk0918.91%10.74%
mk1016.68%10.31%
MDR19.51%6.33%
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

Song, J.; Shen, Y.; Wang, L.; Liu, C.; Tang, D.; Nie, Q. An Efficient Job Insertion Algorithm for Hybrid Human–Machine Collaborative Flexible Job Shop Scheduling with Random Job Arrivals. Electronics 2025, 14, 3397. https://doi.org/10.3390/electronics14173397

AMA Style

Song J, Shen Y, Wang L, Liu C, Tang D, Nie Q. An Efficient Job Insertion Algorithm for Hybrid Human–Machine Collaborative Flexible Job Shop Scheduling with Random Job Arrivals. Electronics. 2025; 14(17):3397. https://doi.org/10.3390/electronics14173397

Chicago/Turabian Style

Song, Jiaye, Yiping Shen, Liping Wang, Changchun Liu, Dunbing Tang, and Qingwei Nie. 2025. "An Efficient Job Insertion Algorithm for Hybrid Human–Machine Collaborative Flexible Job Shop Scheduling with Random Job Arrivals" Electronics 14, no. 17: 3397. https://doi.org/10.3390/electronics14173397

APA Style

Song, J., Shen, Y., Wang, L., Liu, C., Tang, D., & Nie, Q. (2025). An Efficient Job Insertion Algorithm for Hybrid Human–Machine Collaborative Flexible Job Shop Scheduling with Random Job Arrivals. Electronics, 14(17), 3397. https://doi.org/10.3390/electronics14173397

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