1. Introduction
In the context of green sustainable development, the Energy-Aware Flexible Job Shop Scheduling Problem (EA-FJSP) is an extension of the Flexible Job Shop Scheduling Problem (FJSP) [
1,
2]. It considers not only traditional efficiency indicators during the scheduling process but is also energy-aware and achieves collaborative optimization. As a typical multi-objective optimization problem, EA-FJSP exhibits higher complexity and has attracted considerable research attention [
3]. Similar to studies on traditional multi-objective optimization scheduling problems, the solutions for EA-FJSP include exact [
4,
5], heuristic [
6,
7], metaheuristic [
8,
9,
10] and deep reinforcement learning [
11,
12,
13] methods. Exact methods employ mathematical programming to obtain the global optimal solution. As the problem scale enlarges, the computational complexity exhibits exponential growth, rendering them unsuitable for large-scale problem solving [
14]. Heuristic methods employ heuristic rules and search strategies to generate high-quality approximate solutions in a shorter period. Characterized by randomness and flexibility, heuristic methods cannot guarantee global optimal solutions owing to the lack of systematic exploration over the solution space [
15]. Metaheuristic methods balance solution quality and computational efficiency by intelligently exploring the solution space. However, they require extensive iterative computations when addressing larger-scale problems and are susceptible to local optima [
16].
In recent years, Deep Reinforcement Learning (DRL) [
17,
18] has been widely applied to various job shop scheduling problems due to its strong fitting ability, advantages in solving sequential decision-making problems and characteristics of interaction-based learning. By interacting with the scheduling environment, DRL can learn autonomously and continuously optimize scheduling policies. It addresses the limitations of traditional scheduling methods in utilizing historical scheduling data and provides efficient scheduling solutions for real-world production requirements [
19]. Existing studies have shown that DRL exhibits excellent capabilities in scheduling, but it still suffers from low sample efficiency, unstable training, and limited generalization in complex scheduling scenarios. Especially for multi-objective scheduling problems, differences in reward functions and behavioral strategies make it difficult for a single DRL agent to optimize all objectives simultaneously [
20]. Nowadays, Hierarchical Reinforcement Learning (HRL) has made significant progress in solving complex decision-making problems [
21]. HRL integrates the advantages of hierarchical optimization and DRL. It decomposes complex tasks into easily solvable subtasks and solves them step by step, which enables the derivation of the global policy from the subtask policies. HRL usually uses a two-layer architecture: the high-level controller generates policies and sub-objectives from a global perspective at the macro time scale, while the low-level controller is responsible for achieving these sub-objectives. During the scheduling process, the high-level controller adaptively selects optimization objectives and collaborates with the low-level controller. This enables dynamic balancing among multiple objectives, improving the effectiveness of global optimization. Based on the HRL architecture, this paper proposes a Dual-Layer Proximal Policy Optimization (DL-PPO) algorithm. It simultaneously considers both efficiency and energy consumption objectives in EA-FJSP while reducing the overall solution complexity.
The main contributions are as follows:
A hierarchical scheduling framework based on DL-PPO is designed for EA-FJSP to minimize the makespan and total energy consumption. In this framework, both the high-level and low-level controllers employ the PPO algorithm to achieve hierarchical and collaborative optimization. The high-level controller determines a temporary optimization objective in accordance with the real-time scheduling state from a global optimization perspective, and the objective is passed to the low-level controller. The low-level controller selects a feasible dispatching rule in accordance with the current state and the temporary optimization objective.
To reduce the complexity of solving the problem, twelve key state features are extracted from four dimensions: time, energy consumption, job, and machine. These features comprehensively capture the essential characteristics of the scheduling environment while filtering out irrelevant and redundant information, improving the learning efficiency and overall performance of the algorithm.
In response to the need for collaborative optimization of the makespan and total energy consumption in the EA-FJSP, four sub-objectives are designed for the high-level controller. Each sub-objective is associated with a dedicated reward function to guide the DL-PPO in making optimal decisions in terms of time and energy consumption. Taking into account the two key decisions of job selection and machine assignment in the scheduling process, twenty dual-decision-point dispatching rules are designed as the action space for the low-level controller. This ensures that the low-level controller can select effective scheduling policies to achieve the temporary optimization objectives.
To evaluate the effectiveness and applicability of DL-PPO, experiments are conducted on benchmark instances. The experimental results are compared with dispatching rules and other deep reinforcement learning methods, which indicate that the proposed algorithm demonstrates significant advantages.
4. Solving the EA-FJSP Based on DL-PPO
4.1. DL-PPO Hierarchical Scheduling Framework
The DL-PPO hierarchical scheduling framework is shown in
Figure 3. It consists of three core modules: scheduling environments and a hierarchical controller. The main components are described as follows:
The scheduling environment is the core component of the scheduling framework. It handles interactions between the hierarchical controller and the energy-aware flexible job scheduling system. Its primary functions are to accurately simulate the energy-aware flexible job scheduling process and ensure alignment between scheduling policies and actual production logic. It also provides feedback mechanisms for policy optimization. Specifically, the scheduling environment establishes the operational mechanism of the EA-FJSP to provide accurate state information to the hierarchical controller and receive and execute scheduling decisions in real time. It also provides real-time feedback on changes in job and machine state, thereby effectively responding to actual production requirements and resource constraints.
The hierarchical controller consists of a high-level controller and a low-level controller, each responsible for scheduling decisions at its respective level. The high-level controller employs the PPO algorithm. It includes the high-level sampling phase, high-level update phase, high-level memory buffer, and loss function module. The high-level memory buffer stores relevant data generated during the interactions between the high-level controller and the scheduling environment. This data includes high-level states , sub-objectives , and reward information. During the high-level update phase, it is used to compute advantage estimates, policy loss, and value function loss. These metrics are then used to optimize the parameters of both the high-level policy network and the high-level value network . The high-level scheduling decision process is divided into the high-level sampling phase and the high-level update phase. During the high-level sampling phase, the high-level controller extracts high-level state features () based on the current state . The high-level controller then selects a sub-objective from the set of sub-objectives through the high-level old policy network . Here, represents the set of sub-objectives derived from the decomposition of the global optimization objective. The sub-objective is then passed to the low-level controller to guide its further decision-making. During the high-level training phase, the high-level controller samples data from the high-level memory buffer. It then utilizes the high-level value network to estimate the state value, computes the advantage, and employs the clipping objective function of the PPO algorithm to limit the deviation between the old and new policies during the update process. Finally, the optimized high-level policy network parameters replace the high-level old policy network parameters , providing support for decision updates in the next round.
The low-level controller is responsible for the selection of feasible dispatching rules according to the selected sub-objectives. It also employs the PPO algorithm, which includes the low-level sampling phase, low-level update phase, low-level memory buffer, and loss function module. The low-level memory buffer stores state features , selected dispatching rules , and reward information. It provides scheduling data samples for parameter updates of the low-level policy network and the low-level value network . Similar to the high-level controller, the low-level controller is divided into two phases in the scheduling decision process. During the low-level sampling phase, the low-level controller combines the sub-objective selected by the high-level controller with the current state to construct the low-level state features . In accordance with these features, it selects a feasible dispatching rule from the predefined rule set . The selected rule is then applied to the scheduling environment. In the low-level training phase, the low-level controller samples data from the memory buffer to optimize the policy for dispatching rule selection. Finally, the parameters (, ) of the low-level policy network and value network are updated by computing the advantage function and employing the clipped objective function in PPO.
By leveraging hierarchical collaboration between the high-level and low-level controllers, continuous interaction with the scheduling environment, and DL-PPO-based scheduling policy optimization at different levels, the high-level controller is able to select an appropriate temporary optimization objective (sub-objective) in accordance with the current state at each decision point. The low-level controller then executes a feasible dispatching rule according to the given sub-objective. This hierarchical framework effectively decomposes the complex EA-FJSP and improves the overall scheduling performance.
In the scheduling framework, the action space consists of a set of dispatching rules that can be executed by the low-level controller. Each rule defines an independent scheduling policy that guides the low-level controller in making optimal scheduling decisions during the energy-aware flexible job shop scheduling process. These rules are tailored to specific energy-aware scheduling scenarios and optimization objectives, encompassing various scheduling policies. The goal is to improve the overall scheduling performance by considering production efficiency and energy consumption.
4.2. Multi-Dimensional State Features
In DL-PPO, state features serve as inputs to neural networks within both the high-level and low-level controllers, providing support for scheduling decisions at different levels. These features need to accurately and intuitively reflect the scheduling information at different times while uniformly characterizing the scheduling environments. This ensures that the algorithm has a high degree of adaptability and effectiveness in complex environments. Based on this goal, state features are extracted from four dimensions: job, machine, time, and energy consumption. Twelve representative state features are designed. The combination of these state features reflects scheduling information from different dimensions, providing a comprehensive representation of the scheduling environment. The definitions and calculation formulas for each state feature are as follows.
To avoid shortsightedness and promote global optimality, DL-PPO adopts a hierarchical decision-making mechanism. The high-level controller captures the global production state based on state features extracted from four dimensions, i.e., job, machine, time, and energy, and uses this information to guide the long-term optimization direction while selecting a temporary optimization objective. The low-level controller takes both the current state features and the selected objective as input and determines the feasible dispatching rule accordingly. In this way, the dynamic interaction between global state information and objective selection jointly determines the final scheduling decision, enabling adaptive rule selection under different production conditions. Specifically, the input features of the high-level controller are represented as:
The input features of the low-level controller are represented as:
4.3. Action Space
In the scheduling process, the action space of the low-level controller refers to a set of dispatching rules executable at each decision step. These rules are used to dynamically adjust the scheduling environment and advance the scheduling process. In addition, compared to the traditional job shop scheduling problem, the EA-FJSP exhibits greater flexibility. Specifically, each operation of a job can be processed by multiple machines that meet the processing requirements. Each decision step in this process involves two decision points: job selection and machine assignment. To enhance scheduling flexibility and achieve optimal scheduling policies in both time and energy consumption dimensions, twenty dual-decision-point dispatching rules are designed as the action space for the low-level controller. These rules aim to comprehensively cover the corresponding scheduling scenarios and adapt to complex optimization requirements.
Table 3 presents the twenty dual-decision-point dispatching rules and their descriptions.
4.4. Sub-Objective
The collaborative optimization of makespan and total energy consumption in EA-FJSP remains a challenging problem due to the complex interactions among flexible routing, machine states, and energy consumption characteristics. Therefore, the global optimization objective is decomposed into different dimensions to better address the diverse requirements of scheduling. Four targeted sub-objectives are designed to construct the high-level decision-making system. The four sub-objectives are machine utilization , the inverse of the maximum job completion time , the variation ratio of energy consumption , and the uniformity of energy consumption distribution . These sub-objectives help balance scheduling policies across multiple dimensions, thereby improving the overall optimization performance. The design and meaning of the four sub-objectives are as follows.
Machine utilization
: the average utilization rate of machines. Maximizing this rate reduces machine idle time and increases workload saturation. This indirectly optimizes energy consumption and enhances overall scheduling efficiency.
where
is the utilization of machine
.
The inverse of the maximum job completion time
: refers to the completion time of the last completed job among all jobs at time
, which is expressed as its reciprocal. Optimizing this metric can shorten the makespan and improve scheduling efficiency.
where, to avoid division by zero, the value of
is initialized to 0 at the beginning.
The variation ratio of energy consumption
: the ratio of the total energy consumption expected to be generated by machines at time
to the total energy consumption expected in the unscheduled state. It evaluates the effectiveness of the current scheduling policy in optimizing energy consumption. Optimizing this ratio allows the evaluation of the effectiveness of the scheduling policy in reducing energy consumption while satisfying task constraints.
where
is the total energy generated by all machines at time
.
is the estimated total energy consumption required for the machines to process the remaining operations.
is the estimated total energy consumption of the machines in the unscheduled state.
The uniformity of energy consumption distribution
: the ratio between the maximum energy consumption and the average energy consumption among all machines at time
. It measures the disparity between the highest and the average machine energy consumption. This ratio helps evaluate the balance of energy consumption across machines, optimizes resource allocation, and improves overall energy efficiency.
where
is the current total energy consumption of each machine at time
.
With the four sub-objectives, the high-level controller can dynamically evaluate the scheduling environment at each decision step. By analyzing the impact of time and energy consumption on the current scheduling environment from different dimensions, it adaptively selects the most influential sub-objective as the optimization objective for the current phase. The high-level controller guides the low-level controller to select feasible dual-decision-point dispatching rules at the local optimization level, thus achieving goal-driven scheduling optimization. At the same time, this method takes into account both short-term gains and long-term scheduling stability, enhancing the adaptability and efficiency of the algorithm.
4.5. Reward Function
To ensure that the cumulative reward in the scheduling process is consistent with the optimization direction of the global objectives while alleviating the issue of sparse rewards, the reward function is designed to be closely related to the sub-objectives at each decision step. At decision time step , the high-level controller dynamically selects a sub-objective according to the current system state . Based on the selected sub-objective, a corresponding reward function is activated to guide the optimization process. Subsequently, the low-level controller executes the selected dual-decision-point dispatching rule, which drives the system to transition from state to state . The reward is then determined by evaluating the variation of the selected sub-objective before and after the state transition. Specifically, the reward is calculated according to whether the selected sub-objective is improved at time step compared with its value at time step , thereby providing immediate feedback to the learning agent.
To meet the optimization requirements of different sub-objectives, four corresponding reward functions are designed. These reward functions are evaluated from the four dimensions of , , , and , respectively. Each reward function is formulated to reflect the local improvement in its associated sub-objective, thereby enhancing the effectiveness and stability of the hierarchical learning process. The specific forms are as follows:
At time
, if the sub-objective
is selected,
and
are selected as the reward indicators. The
is calculated according to Equation (33).
At time
, if the sub-objective
is selected,
and
are selected as the reward indicators. The
is calculated according to Equation (34).
At time
, if the sub-objective
is selected,
and
are selected as the reward indicators. The
is calculated according to Equation (35).
At time
, if the sub-objective
is selected,
and
are selected as the reward indicators. The
is calculated according to Equation (36).
The four reward functions effectively guide the scheduling optimization process toward the optimization directions of sub-objectives. They also continuously motivate the low-level controller to take favorable actions during state transitions. This enables effective coordination between local and global optimization, enhancing the adaptability and convergence efficiency of the scheduling policy.
4.6. DL-PPO Training Process
During training, the scheduling environment and the scheduling state are first initialized. Then, the system enters the scheduling decision loop. At each scheduling decision point, the high-level controller extracts high-level state features from the current state and selects a sub-objective through the high-level old policy network . This sub-objective then guides the low-level controller to make low-level scheduling decisions. The low-level controller takes the selected sub-objective and the current state as low-level state features . It utilizes the low-level old policy network to select a feasible dual-decision-point dispatching rule. After executing the action, the environment returns a reward and updates the scheduling state . The high-level and low-level states are then updated accordingly.
In DL-PPO, the high-level and low-level memory buffers store their respective interaction data with the scheduling environment. When the memory buffer reaches the predefined threshold, the high-level and low-level discounted returns and advantage functions are calculated. The algorithm is employed to update the parameters of the policy and value networks, enabling the iterative optimization of both high-level and low-level policy networks. Finally, the optimized policy is applied to guide the energy-aware flexible job shop scheduling process. The objective is to achieve collaborative optimization of energy consumption and makespan. The complete training process of the DL-PPO is shown in Algorithm 1.
| Algorithm 1. The training process of DL-PPO. |
| | Input: policy network and value network with trainable parameters
Learning rates , discount factor , memory buffer size update epochs , PPO clipping factor , training cycles . |
| Output: Trained policy network and experimental results. |
| 1: | for cycle < do |
| 2: | Reset the energy-aware flexible job shop scheduling environment. |
| 3: | Initialize |
| 4: | while scheduling is not finished, do |
| 5: | Extract high-level state features |
| 6: | Use to select sub-objective |
| 7: | Extract low-level state features |
| 8: | Use to select action |
| 9: | Execute receive reward and update scheduling state |
| 10: | Update high-level state features |
| 11: | Use to select sub-objective |
| 12: | Update low-level state features |
| 13: | Store in high-level memory buffer |
| 14: | Store in low-level memory buffer |
| 15: | end while |
| 16: | if then |
| 17: | Compute return for each step using discount factor |
| 18: | Compute advantage function |
| 19: | for epoch < do |
| 20: | Update the policy network parameters using gradient ascent based on PPO objective. |
| 21: | Update the value network parameters |
| 22: | end for |
| 23: | Update |
| 24: | end if |
| 25: | if then |
| 26: | Compute return for each step using discount factor |
| 27: | Compute advantage function |
| 28: | for epoch < do |
| 29: | Update the policy network parameters using gradient ascent based on PPO objective. |
| 30: | Update the value network parameters |
| 31: | end for |
| 32: | Update |
| 33: | end if |
| 34: | end for |
5. Numerical Experiments
5.1. Parameter Settings
The experiments are conducted on a PC with an Intel Core i9-14900HX CPU, using Python and the PyTorch framework, and the development environment is PyCharm Community Edition 2020.1.3 (x64). In DL-PPO, both the high-level and low-level controllers employ the PPO algorithm. The policy network and value network are respectively responsible for decision-making and value estimation. The policy network extracts state features through fully connected layers. It first generates unnormalized actions, which are then transformed into a probability distribution via the softmax function for sampling. The value network adopts a similar structure and outputs a single scalar representing the state value estimate. The neural networks of both the high-level and low-level controllers consist of one input layer, three hidden layers, and one output layer.
All neural network parameters are updated using the Adam optimizer to improve training efficiency and stability. The specific parameter settings are shown in
Table 4. Specifically, the selection of these parameters is based on a combination of empirical analysis, prior studies on PPO-based scheduling methods, and preliminary tuning experiments on representative scheduling instances. In particular, the parameter configuration considers the characteristics of hierarchical decision-making, the complexity of the scheduling environment, and the stability requirements of policy optimization. In DL-PPO, the high-level controller is responsible for macro-level strategy and sub-objective selection, featuring a relatively small decision space; therefore, its batch size is set to 32 to ensure stable and efficient learning. In contrast, the low-level controller handles job selection and machine assignment with a larger action space and higher decision complexity, and its batch size is set to 128 to improve state coverage and learning stability. This hierarchical configuration facilitates effective coordination between local sub-objective optimization and global scheduling performance. For the remaining parameters, both the policy and value networks adopt a learning rate of 0.004 to balance convergence speed and stability. The PPO clipping parameter is set to 0.1 to constrain policy updates and prevent instability, while the discount factor is set to 0.9 to balance short-term and long-term rewards in sequential decision-making. In addition, the number of update epochs is set to 10 to enhance sample efficiency without causing overfitting, and the total number of training cycles is set to 3000 to ensure sufficient exploration and convergence in the complex scheduling environment.
5.2. Performance Metrics
Experiments are conducted using benchmark instances provided by Benchmark [
58]. Since these instances do not originally account for machine energy consumption, an energy-aware extension is introduced by incorporating both processing and idle energy components into the model. Specifically, for each machine, two types of power parameters are defined: processing power and idle power. The processing power represents the energy consumption rate when the machine is actively executing an operation, while the idle power corresponds to the energy consumed when the machine is not processing but remains operational. To simulate heterogeneous energy characteristics across machines, these parameters are randomly generated using a uniform distribution. For all MK benchmark instances, the processing power is sampled from the range [
1,
5], and the idle power is sampled from the range [0.1, 1]. Furthermore, the total energy consumption of each machine is calculated based on the scheduling results, including both processing energy and idle energy over the entire scheduling horizon. The processing energy is determined by the product of processing power and operation duration, while the idle energy is computed according to the machine idle time multiplied by its idle power.
This study addresses the EA-FJSP, aiming to minimize both the makespan and total energy consumption. The goal is to find a set of Pareto-optimal solutions uniformly distributed in the Pareto-optimal front. To comprehensively evaluate the quality of the obtained Pareto-optimal solutions, five performance metrics are adopted. These include Average Makespan (), Average Total Energy Consumption of Machines (), Generational Distance (GD), Inverted Generational Distance (IGD), and Spread (). Specifically, the metric evaluates the ability of scheduling algorithms to minimize the makespan, with smaller values indicating better optimization performance. The metric evaluates the ability of scheduling algorithms to minimize the total machine energy consumption, with smaller values indicating that the algorithm performs better in optimizing total energy consumption. The GD and metrics evaluate the convergence and diversity of the obtained Pareto-optimal solutions, respectively, with smaller values indicating better convergence and diversity. The IGD metric provides a more comprehensive evaluation. It reflects both the convergence and diversity of the solution set, with smaller values indicating better performance. The definitions of these five metrics are listed as follows.
Efficiency metric: Average makespan.
where
is the number of training times,
is the makespan in the
-th training.
Energy consumption metric: Average total energy consumption of machines.
where
is the total energy consumption of machines in the
-th training.
Convergence metric: Generational Distance.
where
is the true Pareto-optimal front of an optimization problem and
is the approximate Pareto-optimal front obtained by the algorithm to be evaluated.
is the Euclidean distance between the
-th solution in
and its closest neighbor in
.
Comprehensive metric: Inverse Generational Distance.
where
is the Euclidean distance between the
-th solution in
and its closest neighbor in
.
Diversity metric: Spread.
where
is the Euclidean distance of the
-th solution in
to its closest neighbor in
, and
is the average value of all
.
is the Euclidean distance between the extreme solution of
and the boundary solution of
with regard to the
-th objective.
is the number of objectives.
Because the true Pareto-optimal front is unknown, all Pareto-optimal solutions obtained from multiple independent runs of DL-PPO and other comparison methods are first aggregated in the comparative experiments. Then, the non-dominated solutions are selected to construct . This method improves the approximation accuracy of with respect to the true Pareto front. It also ensures the representativeness and robustness of the solution set in performance evaluation, making it a reliable benchmark for comparative analysis.
5.3. Comparisons with Dispatching Rules
The experiments compare DL-PPO with the proposed dual-decision-point dispatching rules. Based on the training performance of the algorithm on all MK benchmark instances, six frequently used dual-decision-point dispatching rules are selected for comparison. The usage frequency of each dual-decision-point dispatching rule is statistically analyzed, as shown in
Figure 4.
To further evaluate the ability of the hierarchical controller to learn and execute effective policies at different decision levels, a random policy (Random) is introduced for comparison. Specifically, at each decision point, the high-level and low-level controllers randomly select a sub-objective and a dual-decision-point dispatching rule, respectively. To ensure the reliability of the results, each method is run 10 times independently on each benchmark instance. The
,
, GD, IGD, and
obtained from different methods on each benchmark instance are calculated and compared. The comparative results are shown in
Table 5,
Table 6,
Table 7,
Table 8 and
Table 9.
It can be observed from
Table 6,
Table 7,
Table 8,
Table 9 and
Table 10 that the proposed DL-PPO method consistently outperforms the dual-decision-point dispatching rules across all benchmark instances. From the perspective of solution quality, DL-PPO achieves lower average makespan and total energy consumption in most cases, showing that the proposed hierarchical decision mechanism can effectively balance production efficiency and energy optimization in the EA-FJSP environment. Its consistent improvement over the Random policy demonstrates that DL-PPO can learn stable and effective scheduling strategies rather than relying on stochastic rule selection.
In terms of convergence performance, DL-PPO generally obtains better GD and IGD values, indicating that the obtained solutions are closer to the Pareto front. The Spread results show that DL-PPO can generate well-distributed Pareto solutions, reflecting its ability to maintain solution diversity while optimizing multiple objectives. Compared with fixed dispatching rules, DL-PPO shows stronger adaptability by dynamically selecting dual-decision-point rules according to the current scheduling state, which further improves optimization performance.
Figure 5 and
Figure 6 further illustrate that DL-PPO achieves better trade-offs between makespan and energy consumption across different benchmark instances. As the problem scale increases, the superiority of DL-PPO becomes more evident, and it consistently generates more competitive and well-distributed Pareto fronts under larger-scale scheduling scenarios. Moreover,
Figure 7,
Figure 8 and
Figure 9 present the Gantt charts of the scheduling results obtained by the proposed method under different problem scales. These figures provide a clear and intuitive visualization of operation sequences and machine assignments, further demonstrating the effectiveness and practical applicability of the proposed scheduling strategy.
5.4. Comparisons with Deep Reinforcement Learning Methods
To further verify the effectiveness of DL-PPO, it is compared with three other DRL methods, including DQN, DDQN, and PPO. In addition, to evaluate the training efficiency of the algorithm, a comparison is made with the Dual-Layer Double Deep Q-Network (DL-DDQN) algorithm under the condition that other experimental settings remain identical. Specifically, both the high-level and low-level controllers in DL-DDQN are implemented based on the DDQN algorithm. To ensure fairness, all methods employ the same dual-decision-point dispatching rules. Each method is run 10 times independently on each benchmark instance. The
,
, GD, IGD and
obtained from different methods on each benchmark instance are calculated and compared. The comparative results are shown in
Table 10,
Table 11,
Table 12,
Table 13 and
Table 14.
From the experimental results reported in
Table 10,
Table 11,
Table 12,
Table 13 and
Table 14, it can be observed that DL-PPO achieves the best or near-best performance in most benchmark instances in terms of makespan and energy consumption. Compared with DQN, DDQN, and PPO, DL-PPO consistently reduces both objective values, indicating that the hierarchical policy learning mechanism can more effectively coordinate scheduling decisions under energy-aware constraints. Compared with DL-DDQN, DL-PPO still shows overall improvement, which demonstrates the advantage of policy-gradient-based optimization in learning more stable scheduling strategies. For convergence-related indicators, DL-PPO generally obtains the lowest GD and IGD values across most instances, indicating that the obtained solutions are closer to the true Pareto front and exhibit better convergence performance. In several cases, DL-PPO achieves the best results among all compared methods, further confirming its effectiveness in multi-objective optimization. In addition, the Spread results show that DL-PPO maintains good performance in most instances, indicating a reasonable balance between the convergence and diversity of the obtained Pareto solutions.
Figure 10 compares the average values of two objectives obtained by DL-PPO and other DRL methods across benchmark instances of different scales.
Figure 11 compares the Pareto frontiers obtained by DL-PPO and other DRL methods for the same instances.
To further verify the performance of the proposed algorithm, comparative experiments on training time and convergence episodes of different algorithms are conducted using benchmark instances.
Table 15 shows the overall training time of the proposed DL-PPO algorithm. DL-PPO has longer training time than DQN, DDQN, PPO and DL-DDQN, with its time gap rising slightly. This result stems from DL-PPO’s hierarchical reinforcement learning structure. Its dual decision-making framework and multi-dimensional state feature extraction raise computational consumption in model propagation and parameter optimization, increasing total training time. The gap values verify the rational time difference between DL-PPO and comparison algorithms, with no serious efficiency loss.
Table 16 presents the convergence episodes of all algorithms. DL-PPO obtains the minimum convergence episodes in all test instances and shows better convergence efficiency than other comparison methods. The hierarchical reinforcement learning structure brings extra computational cost, leading to no advantage in total training time, but effectively optimizes the policy update process, reduces model convergence iteration steps, and cuts numerous invalid iterative operations. DL-PPO sacrifices acceptable training time cost to achieve high convergence performance and stable solution ability. The proposed DL-PPO method has superior comprehensive performance in solving energy-aware flexible job shop scheduling problems.
5.5. Engineering Case Validation
The engineering case in this section comes from the welding workshop of a Tunnel Boring Machine cutterhead manufacturing enterprise. This workshop is used to complete welding and forming tasks of key cutterhead structures. Specifically, the workshop includes 17 machines. These machines cover welding, heat treatment, and machining processes. The equipment includes two gas-shielded welding machines, two submerged arc welding machines, three repair welding stations, two surfacing welding stations, and one riveting welding station. It also includes auxiliary machines. These machines include two CNC milling machines, two heating furnaces, one quenching furnace, one grinding station, and one cooling station.
Some welding operations of the TBM cutterhead can be processed by multiple alternative machines. These machines meet the same processing requirements. Therefore, machine assignment has high flexibility and uncertainty. This feature increases the complexity of scheduling decisions in the workshop. It also makes the problem suitable for modeling as a Markov decision process and solving by deep reinforcement learning. This section uses real production data from the TBM cutterhead welding workshop. It constructs an engineering case with three typical cutterhead types. These types include the center cutterhead, the assembled cutterhead, and the integral cutterhead. The process routes and related information are shown in
Table 17. The processing time of each welding operation on different machines is obtained from actual production data.
The power parameters of all machines are defined based on actual operating data from the workshop. The setup ignores the energy consumption caused by machine start-up and preheating. Each machine has two states. These states include the processing state and the idle state. The power values for these states are specified according to real production conditions. The related parameters are listed in
Table 18.
This study evaluates the performance of DL-PPO under different production scales. It builds multiple practical scheduling scenarios based on real workshop conditions. The total number of cutterheads is set to 10, 15, 20, 25, 30, 35, 40, 45, and 50. These scenarios cover small-batch and large-batch production. They reflect different levels of scheduling complexity. The current scheduling in the TBM cutterhead welding workshop relies on manual experience. This study collects and simulates scheduling data under the given production scales. The results of manual scheduling are reported in
Table 19 and
Table 20. These results are listed as “Current workshop”. The evaluation considers the makespan and total energy consumption. This study further evaluates DL-PPO in the same instances. It compares MAHRL-CS with DQN, DDQN, PPO, and DL-DDQN. Each method runs 10 independent trials for each production scale. Each trial records makespan and total energy consumption. The minimum value of each metric is selected in each trial. The study then computes the average of these minimum values over 10 trials. This process evaluates the overall scheduling performance of each method. The comparison results are shown in
Table 20.
The results show clear improvements over manual scheduling. The manual policy is based on human experience. DRL methods achieve lower makespan and lower total energy consumption. This result indicates that DRL can learn scheduling policies in complex environments. It enables end-to-end optimization of job sequencing and machine assignment. The study also compares different DRL methods. DL-PPO achieves balanced performance across all production scales. It reduces the makespan and total energy consumption at the same time. This result improves overall scheduling performance. It confirms the feasibility of DL-PPO in the TBM cutterhead welding workshop. It also shows its practical value in real scheduling applications.
6. Conclusions and Future Work
In this paper, a Dual-Layer Proximal Policy Optimization algorithm (DL-PPO) is proposed for the Energy-Aware Flexible Job Shop Scheduling Problem (EA-FJSP), aiming at the collaborative optimization of makespan and total energy consumption. Based on the proposed DL-PPO, a hierarchical scheduling framework is designed, which includes a high-level controller and a low-level controller. At each scheduling point, the high-level controller determines the temporary optimization direction by selecting the sub-objective decomposed from the global optimization objective, while the low-level controller selects a feasible dispatching rule according to the temporary optimization direction. A multi-dimensional state representation of the scheduling environment is achieved by extracting twelve state features covering four dimensions: job, machine, time, and energy consumption. In response to the characteristics of the EA-FJSP, twenty dual-decision-point dispatching rules are designed as the action space for the low-level controller, thereby enhancing the scheduling flexibility and adaptability of the algorithm. To achieve multi-objective collaborative optimization, four targeted reward functions are designed based on sub-objectives. Each reward function aims to optimize either the makespan or the total energy consumption. In the experimental validation, five performance evaluation metrics are employed to conduct a comparative analysis of DL-PPO against dispatching rules and other DRL methods. The results demonstrate the superior capability of DL-PPO, validating its applicability and effectiveness in solving the EA-FJSP.
Although the proposed DL-PPO demonstrates strong performance in solving the EA-FJSP, several limitations still exist. First, the current model relies on manually designed state features and dispatching rules, which may limit its ability to capture more complex structural relationships in the scheduling environment. Second, the framework primarily focuses on static scheduling scenarios, and its adaptability to dynamic and uncertain environments requires further investigation. In addition, the integration of advanced learning paradigms for improving generalization ability and global optimization performance has not been fully explored. Future research work can focus on the following aspects:
By abstracting the scheduling environment into a graph structure and integrating graph neural networks with other graph representation learning techniques, the complex relationships between jobs and machines can be captured from a graph perspective, enhancing the capability of the model to characterize the scheduling environment.
Integrating deep reinforcement learning with emerging AI techniques such as evolutionary algorithms, self-supervised learning, and meta-learning to enhance the ability to address multi-objective trade-offs in energy-aware scheduling while improving the generalization and global optimization capabilities of scheduling policies.
Expanding to the EA-FJSP in dynamic environments, combining event-driven mechanisms with real-time decision-making models, enhancing the adaptability of the method and its practicality in dynamic and uncertain environments.