Multi-device scheduling method and device based on U-shaped sea-railway combined transportation wharf and storage medium
By establishing a two-layer scheduling model and a super heuristic algorithm driven by reinforcement learning in a U-shaped sea-rail intermodal transport terminal, the equipment scheduling is optimized, the problems of operating efficiency and energy consumption in the U-shaped terminal are solved, and the efficiency and efficiency of sea-rail intermodal transport are improved. Equipment utilization.
Patent Information
- Application Number
- CN202410844591.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-24
AI Technical Summary
In U-shaped sea-rail intermodal transport terminals, traditional scheduling methods are difficult to comprehensively consider operating efficiency and energy consumption of different equipment, causing terminal operations to face challenges in cargo handling efficiency, environmental sustainability and logistics costs.
A multi-equipment scheduling method based on U-shaped sea-rail intermodal transport terminal is adopted. By obtaining the operation information and container stowage information of different equipment, a two-layer scheduling model is established, and a hyper-heuristic algorithm driven by reinforcement learning is used to optimize equipment scheduling, combined with the topological network map. and truck path planning model to minimize job energy consumption and job completion time.
It improves the efficiency of sea-rail combined operations, reduces the overall energy consumption of the terminal, gives full play to the loading and unloading advantages of the U-shaped terminal, and optimizes the interaction frequency and operation process between equipment.
Smart Images

Figure CN118691033A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multi-equipment scheduling for sea-rail combined transport, and in particular to a multi-equipment scheduling method, device and storage medium based on a U-shaped sea-rail combined transport terminal. Background Art
[0002] Multimodal transport has become the mainstream development trend of international freight transport. Its promotion and development have played an important role in promoting the economic development of various countries. As an important logistics and transportation organization mode in multimodal transport, sea-rail transport has the advantages of low cost, high efficiency, convenient management and fast turnover. According to the data of the World Bank, sea-rail transport can save 10-30% of the cost compared with single sea transport. The rapid development of automated facilities in container terminals, such as the introduction of railway loading and unloading yards in automated terminals, has effectively increased the proportion of sea-rail transport and achieved seamless connection between Hong Kong and railway.
[0003] Container terminals are an important part of modern ports. They carry most of the loading and unloading tasks of import and export goods. Traditional container terminals usually adopt a parallel layout or a vertical layout. Automated container terminals under a parallel layout have the problem of long transportation distances, which incurs additional costs. In automated container terminals under a vertical layout, the automated guided vehicles (AGVs) and container trucks responsible for transferring containers between the quay crane and the yard only interact with the cranes at the end of the yard, resulting in multiple round trips for the cranes, high energy consumption, and easy congestion of AGVs and container trucks. Therefore, with the continuous increase in trade volume, terminal operations are facing increasing pressure, including challenges in cargo handling efficiency, environmental sustainability, and logistics costs.
[0004] In response to the above challenges, a new layout of the U-shaped automated terminal has been proposed, such as Figure 1As shown. This layout innovatively designs a U-shaped channel, optimizes the loading and unloading process inside the terminal, greatly increases the frequency of interaction between horizontal transportation equipment and loading and unloading equipment, and improves the overall operation efficiency of the terminal. Beibu Gulf Port Qinzhou Terminal applied this new U-shaped layout for the first time in the world, and introduced a railway loading and unloading yard in the terminal to carry out the sea-rail transport operation mode. In the sea-rail transport mode of the U-shaped automated terminal, there are a variety of automated equipment for transshipment and loading and unloading containers, including quay cranes (QC) responsible for shore container loading and unloading tasks, double cantilever rail cranes (DCRC) responsible for container loading and unloading tasks at the yard, automated guided vehicles (AGV) responsible for transshipping containers between quay cranes and yards, container trucks responsible for transshipping containers between the railway loading and unloading area and the yard, and rail gantry cranes (RGC) responsible for railway side container loading and unloading tasks. These automated equipment are highly interactive.
[0005] When a train arrives or a ship arrives at the terminal, there will be import and export container tasks that need to be transferred, that is, export containers need to be unloaded from the train and transferred to the ship for export, and import containers need to be unloaded from the ship and transferred to the train for import. Among them, container trucks are responsible for transferring containers between the railway yard and the U-shaped yard, while DCRC and RGC are responsible for loading and unloading containers transported by container trucks. However, at present, there is little research on the scheduling of container trucks, which are equipment directly involved in container transportation. With the continuous optimization of the sea-rail transport operation structure and the further improvement of the technical indicators and operation efficiency of automated equipment, the scheduling of sea-rail transport is not only to consider the completion of container operation tasks, but also the efficiency of the overall terminal operation and the energy consumption of various different equipment operations. Therefore, for U-shaped automated container terminals, how to comprehensively consider multiple factors such as operating efficiency and energy consumption of different equipment operations to optimize scheduling and give full play to the advantages of U-shaped terminals has become a problem that needs to be solved in this field. Summary of the invention
[0006] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a multi-equipment scheduling method, device and storage medium based on a U-shaped sea-rail intermodal terminal. The method is aimed at the sea-rail intermodal mode of the automated terminal, starting from the storage and transshipment of containers transported by trains, with container trucks, DCRC and RGC as the core automated operating equipment, and the sea-rail intermodal operation is divided into train loading and unloading operations and container transshipment operations for research. The overall operating time and overall operating energy consumption of the terminal are taken into consideration, a two-layer scheduling model is established, and various factors affecting the terminal operation are analyzed, and different optimization strategies are adopted to improve the operating efficiency of the terminal's sea-rail intermodal operation and reduce the overall operating energy consumption of the terminal.
[0007] The purpose of the present invention can be achieved by the following technical solutions:
[0008] According to a first aspect of the present invention, a multi-equipment scheduling method based on a U-shaped sea-rail transport terminal is provided, comprising the following steps: obtaining the sea-rail transport operation information of the U-shaped container terminal, and obtaining the operation information of different equipment and the container loading information therefrom; obtaining the U-shaped yard layout and the railway yard layout, and building a topological network map according to the yard layout; based on the topological network map, a two-layer target model is constructed with minimizing the operation energy consumption and the operation completion time as the optimization goal and with the operation information of the different equipment and the container loading information as constraints, wherein the two-layer target model includes a comprehensive scheduling model and a container truck path planning model; and a hyper-heuristic algorithm driven by reinforcement learning is used to solve the two-layer scheduling model to obtain a final multi-equipment scheduling solution.
[0009] As an optimal technical solution, the reinforcement learning-driven hyper-heuristic algorithm includes an upper-layer reinforcement learning control algorithm and a lower-layer heuristic algorithm. The reinforcement learning-driven hyper-heuristic algorithm is used to solve the two-layer scheduling model to obtain the final multi-device scheduling plan. The specific process includes: initializing the reward function and the lower-layer heuristic algorithm; based on the current lower-layer heuristic algorithm, solving the comprehensive scheduling model to obtain the current task sequence and vehicle information; based on the current task sequence and vehicle information and the topological network map, using the improved dijskra algorithm to solve the container truck path planning model to obtain the current container truck shortest path; based on the current task sequence and vehicle information and the current container truck shortest path, obtaining the corresponding multi-device scheduling plan; based on the current multi-device scheduling plan, using the upper-layer reinforcement learning control algorithm to update the current reward function; based on the updated reward function, updating the current lower-layer heuristic algorithm, and re-solving the comprehensive scheduling model.
[0010] As a preferred technical solution, the lower-level heuristic algorithm includes a single-point crossover genetic algorithm, a multi-point crossover genetic algorithm, a genetic algorithm with an elite retention strategy, an adaptive genetic algorithm, and a multi-population genetic algorithm.
[0011] As a preferred technical solution, the upper layer reinforcement learning control algorithm adopts a Q-learning algorithm based on a greedy strategy.
[0012] As a preferred technical solution, in the Q-learning algorithm based on the greedy strategy, the update formula of the Q value is expressed as:
[0013] Q(s,a)←(1-α)·Q(s,a)+α·(r+γ·max a′ Q(s′,a′)
[0014] Where Q(s,a) represents the Q value of taking action a in state s; r represents the immediate reward after executing action a; s′ represents the new state after executing action a, a′ represents the updated action, α is the preset learning rate, γ is the preset discount factor, where actions a and a′ are the lower-level heuristic algorithms before and after the update, respectively, and states s and s′ are the multi-device scheduling solutions corresponding to the lower-level heuristic algorithms.
[0015] As a preferred technical solution, based on the operation information of the different equipment and the container loading information, the constraints of the comprehensive scheduling model include: energy consumption constraints of different equipment, container-truck allocation constraints, task non-conflict constraints of different equipment, task start and sequence constraints of different equipment, container flow balance constraints, truck time constraints and variable range constraints; the constraints of the truck path planning model include: path and node constraints, node flow balance constraints, path conflict detection and resolution constraints, and time relationship and waiting constraints. The solution results of the truck path planning model are used to determine the constraints related to trucks in the constraints of the comprehensive scheduling model.
[0016] As a preferred technical solution, the comprehensive scheduling model is expressed as:
[0017]
[0018] minF2=E1+E2+E3
[0019] In the formula, F1 and F2 represent the total operation time and total operation energy consumption respectively, C represents the collection of all containers, represents the time when DCRC y completes processing container i, represents the time it takes for RGC r to complete processing container i, E1, E2 and E3 represent the total energy consumption of the container truck, the total energy consumption of the DCRC and the total energy consumption of the RGC, respectively;
[0020] The container truck path planning model is expressed as:
[0021]
[0022] Where, T e represents the total time for truck e to complete container transshipment, E represents the set of all trucks, E represents the set of all paths k, I represents the set of all imported containers that need to be transshipped, represents the time required for the card set to select path k from node j to j′, It means that if container i is transferred by the e-th container truck, otherwise
[0023] As a preferred technical solution, the energy consumption constraints of different devices are expressed as:
[0024]
[0025] In the formula, s i represents the time when the container truck arrives at the designated unloading point of container i, p i represents the time when the truck starts to transport container i, a i represents the time when the container truck arrives at the designated loading and unloading point of container i, q i ,q i′ They represent the time it takes for the truck to complete the task of container i and the task of another container i′, respectively. If containers i' and i of truck e are continuous and i' is the previous task of i, otherwise f e represents the energy consumption per unit time during container truck transfer, f ew Indicates the energy consumption per unit time of the container truck waiting;
[0026] Y represents the set of all DCRCs, represents the time it takes for DCRC y to move to the designated loading and unloading point of container i, represents the time when DCRC y finishes processing another container i′, If containers i and i′ of DCRC y operation are continuous and i is the previous task of i′, otherwise f y It represents the energy consumption per unit time when DCRC is running;
[0027] R represents the set of all RGCs, It represents the time when RGC r moves to the designated loading and unloading point of container i, represents the time when RGC r finishes processing another container i′, If containers i and i′ of RGC r are continuous and i is the previous task of i′, otherwise f r It represents the energy consumption per unit time when RGC is running;
[0028] The container-truck allocation constraint is expressed as:
[0029]
[0030] In the formula, C e Represents the collection of containers transported by container truck e;
[0031] The truck time constraint includes the time it takes for the truck to move to the loading and unloading point of container i after completing the previous task, which is expressed as:
[0032]
[0033] In the formula, O represents the set of all export containers that need to be transshipped, represents the destination node of container i′, Represents the starting node of container i.
[0034] According to a second aspect of the present invention, there is provided a multi-device scheduling device based on a U-shaped sea-rail transport terminal, comprising a memory, a processor, and a program stored in the memory, wherein the method described is implemented when the processor executes the program.
[0035] According to a third aspect of the present invention, there is provided a storage medium having a program stored thereon, wherein the program implements the method described above when executed.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] 1. The scheduling method provided by the present invention, based on the special layout of the U-shaped automated container terminal, is based on different automated equipment such as container trucks, RGC, DCRC, etc., with the minimization of operation energy consumption and operation completion time as the optimization goal, and with the operation information of different equipment and container loading information as constraints to establish a double-layer scheduling model, and the model is divided into a comprehensive scheduling model and a container truck path planning model, which can more clearly and effectively schedule various automated equipment, while improving the operation efficiency, reducing the energy consumption of different equipment operations, and fully utilizing the efficient loading and unloading process of the U-shaped layout, giving full play to the advantages of the U-shaped terminal;
[0038] 2. In the scheduling method provided by the present invention, on the basis of establishing a two-layer scheduling model consisting of a comprehensive scheduling model and a container truck path planning model, a reinforcement learning-driven hyper-heuristic algorithm is designed, which includes an upper-layer reinforcement learning control algorithm and a lower-layer heuristic algorithm, and combines the learning ability of reinforcement learning with the global optimization characteristics of meta-heuristic search. The upper-layer reinforcement learning control algorithm controls the selection of the lower-layer heuristic algorithm, and the optimal heuristic algorithm is selected in each round of iteration, so as to obtain the optimal solution when solving the comprehensive scheduling model, which can not only improve the degree of automation of the generation of multi-device scheduling solutions, but also improve the accuracy of the multi-device scheduling solutions finally obtained;
[0039] 3. In the scheduling method provided by the present invention, the constraints of the comprehensive scheduling model include energy consumption constraints of different equipment, container-container truck allocation constraints, task non-conflict constraints of different equipment, task start and sequence constraints of different equipment, container flow balance constraints, container truck time constraints and variable range constraints. The constraints of the container truck path planning model include path and node constraints, node flow balance constraints, path conflict detection and resolution constraints, and time relationship and waiting constraints. It takes into account not only the energy consumption of different automated equipment, but also the task start and end points, task execution order and flow balance problems between different equipment. The solution results of the container truck path planning model are used to determine the constraints related to the container truck in the constraints of the comprehensive scheduling model, especially considering the impact of the shortest path selection of the container truck on the entire scheduling plan. By minimizing the node conflicts and occupancy conflicts of the container truck through constraints, the idle time of the automated equipment and the waiting time of the container truck can be effectively reduced, and the operation efficiency and operation energy consumption can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a schematic diagram of the layout of the U-shaped automated terminal for sea-rail transport;
[0041] Figure 2 The overall flow chart of the method provided in the embodiment of the present invention is as follows;
[0042] Figure 3 It is a schematic diagram of the map layout of the U-shaped terminal for sea-rail transport in an embodiment of the present invention;
[0043] Figure 4 This is the schematic diagram of the Q-learning algorithm;
[0044] Figure 5 Schematic diagram of a scheduling structure based on the RLHA algorithm in an embodiment of the present invention;
[0045] Figure 6 A comparison chart of experimental results between the method provided in the embodiment of the present invention and other existing methods;
[0046] Figure 7 This is one of the application processes of the method provided in the embodiment of the present invention. DETAILED DESCRIPTION
[0047] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0048] Example
[0049] like Figure 2As shown, this embodiment provides a multi-equipment scheduling method based on a U-shaped sea-rail intermodal terminal. This method aims at the scheduling problem of containers between the railway end and the yard in the U-shaped sea-rail intermodal terminal, establishes a collaborative scheduling model of RGC, DCRC and ECT, and designs a hyper-heuristic algorithm driven by reinforcement learning based on the multi-objective and complex characteristics of the problem. The method first obtains the sea-rail intermodal operation information of the U-shaped container terminal, and obtains the operation information and container loading information of different equipment therefrom; secondly, the U-shaped yard layout and the railway yard layout are obtained, and a topological network map is built according to the yard layout; then, based on the topological network map, a two-layer target model is constructed with minimizing the operation energy consumption and the operation completion time as the optimization goal, and the operation information of different equipment and the container loading information as the constraint. The two-layer target model includes a comprehensive scheduling model and a container truck path planning model; finally, the hyper-heuristic algorithm driven by reinforcement learning is used to solve the two-layer scheduling model to obtain the final multi-equipment scheduling solution. Specifically:
[0050] 1. Model Building
[0051] 1. Problem description
[0052] In the U-shaped sea-rail transport terminal, container trucks serve both the RGC on the railway side and the DCRC on the U-shaped yard to transfer containers between trains and the U-shaped yard, including import containers and export containers. Export containers are transported to the railway operation area by trains. Usually, the trains will arrive a few days in advance and unload the export containers. Then, the RGC will load the export containers onto the container trucks and finally transport them to the designated storage point of the yard. In the U-shaped yard, the import containers are loaded onto the container trucks by the DCRC and then transported to the designated area on the railway side.
[0053] This example is based on a U-shaped sea-rail transport terminal, focusing on the comprehensive scheduling of RGC on the railway side, DCRC on the yard, and container trucks. According to the characteristics of the U-shaped terminal, the following decisions are made:
[0054] I. Scheduling problem of DCRC: The U-shaped yard of the sea-rail transport terminal has multiple container areas, each of which is equipped with two DCRCs. Unlike traditional end operations, the cranes in the U-shaped yard do not need to return to the two ends of the yard after each operation, but can directly carry out loading and unloading operations inside the yard. DCRC can know the starting point and end point of each task according to the loading plan, so when DCRC completes the current task, it can directly handle the next task. This method can effectively reduce the idle time of DCRC, effectively improve the efficiency of the operation and reduce the energy consumption of the operation.
[0055] II. Truck scheduling: The utilization rate of trucks is related to the efficiency and energy consumption of the overall operation, so the empty driving distance of trucks should be minimized. Therefore, trucks should be allowed to transport export containers and import containers alternately to form a dual-circulation mode. Specifically, when a truck completes an export task at the U-shaped yard, it will directly receive an import task at the U-shaped yard; when a truck completes an import task on the railway side, it will directly receive an export task on the railway side.
[0056] III. RGC Scheduling Problem: The U-shaped sea-rail transport terminal is equipped with a yard serving train operations. The yard is equipped with three RGCs. When the train arrives, it will exchange with the RGC at the railway yard to load and unload containers. Normally, trains transporting export containers will arrive at the terminal in advance and temporarily store the containers at the railway yard through RGC, while containers to be exported will also be transported to the railway yard in advance by container trucks. The above operation is a side loading and unloading mode, which can effectively reduce the waiting time of container trucks and the idle time of RGC, effectively improving operation efficiency and reducing energy consumption.
[0057] IV. Task allocation: Task allocation is flexible, including the ECT and the order of task execution, but the tasks must be completed in the end anyway. Therefore, the task allocation should be as even as possible to reduce the peak load of the crane and avoid failure.
[0058] (II) Assumptions
[0059] Since the container transshipment problem at the U-shaped sea-rail intermodal terminal is a complex NP-Hard problem, making some reasonable assumptions is helpful to solve the comprehensive scheduling problem:
[0060] I. All containers discussed are 40-foot standard containers.
[0061] II. Container trucks, RGCs and DCRCs can only handle one container at a time.
[0062] III. The speeds of the truck, RGC and DCRC are known and fixed.
[0063] IV. The transshipment of containers within the yard is not considered.
[0064] V. The locations of all trains, yard locations and container storage points can be known based on the loading plan.
[0065] (III) Mathematical model
[0066] A two-layer scheduling model for container transshipment is constructed to mathematically describe the integrated scheduling problem of container trucks, RGC and DCRC. The model is divided into two layers: the upper layer is a comprehensive scheduling model; the lower layer is a path planning model for container trucks. The goal is to minimize the overall operating time and energy consumption of the U-shaped automated terminal.
[0067] (1) Comprehensive scheduling model
[0068]
[0069] minF2=E1+E2+E3 (2)
[0070] In the formula, F1 and F2 represent the total operation time and total operation energy consumption respectively, C represents the set of all containers (including the set of all import containers that need to be transshipped I and the set of all export containers that need to be transshipped O, that is, C = I∪O), represents the time when DCRCy completes processing container i, represents the time it takes for RGC r to complete processing container i, and E1, E2 and E3 represent the total energy consumption of the container truck, the total energy consumption of DCRC and the total energy consumption of RGC, respectively.
[0071] According to the operation information of different equipment and container loading information obtained from the problem description and assumptions, the constraints of the comprehensive scheduling model include: energy consumption constraints of different equipment, container-truck allocation constraints, task non-conflict constraints of different equipment, task start and sequence constraints of different equipment, container flow balance constraints, truck time constraints and variable range constraints. The details are as follows:
[0072] ①Energy consumption constraints of different devices
[0073]
[0074] In constraints (3)-(5), E1, E2 and E3 represent the calculation methods of the total energy consumption of the set card, the total energy consumption of the DCRC and the total energy consumption of the RGC, respectively. E, Y and R represent the sets of all set cards, all DCRCs and all RGCs, respectively. And: i represents the time when the container truck arrives at the designated unloading point of container i, p i represents the time when the truck starts to transport container i, a i represents the time when the container truck arrives at the designated loading and unloading point of container i, q i ,q i′ They represent the time it takes for the truck to complete the task of container i and the task of another container i′, respectively. represents the time it takes for DCRC y to move to the designated loading and unloading point of container i, represents the time when DCRC y finishes processing another container i′, It represents the time when RGC r moves to the designated loading and unloading point of container i, represents the time when RGC r finishes processing another container i′;
[0075] is a (0,1) variable, indicating that if containers i and i′ of truck e are continuous and i′ is the previous task of i, otherwise
[0076] is a (0,1) variable, indicating that if containers i and i′ of DCRC y operation are continuous and i is the previous task of i′, otherwise
[0077] is a (0,1) variable, indicating that if containers i and i′ of RGC r operation are continuous and i is the previous task of i′, otherwise
[0078] is a (0,1) variable, indicating that if container i is transferred by the e-th container truck, otherwise
[0079] f e represents the energy consumption per unit time during container truck transfer, f ew represents the energy consumption per unit time of the container truck waiting, f y represents the energy consumption per unit time during the operation of DCRC, f r Indicates the energy consumption per unit time when RGC is running.
[0080] ②Container-truck allocation constraints
[0081]
[0082] Constraint (6) ensures that each container is assigned to only one truck for transshipment. e Represents the collection of containers transported by container truck e.
[0083] ③ There are no conflicting constraints on tasks of different devices
[0084]
[0085] Constraints (7)-(9) ensure that there is no conflict in the continuous tasks of the container truck, RGC and DCRC operations. r represents the set of containers transported by RGC r, i.e., the set of RGC tasks, C yrepresents the set of containers transported by DCRC y, that is, the set of DCRC tasks.
[0086] In the formula, is a (0,1) variable, indicating that if containers i and i′ of truck e are continuous and i is the previous task of i′, otherwise
[0087] is a (0,1) variable, indicating that if containers i and i′ of DCRC y operation are continuous and i′ is the previous task of i, otherwise
[0088] is a (0,1) variable, indicating that if containers i and i′ of RGC r are continuous and i′ is the previous task of i, otherwise
[0089] ④Task start and sequence constraints for different devices
[0090]
[0091] Constraints (10)-(15) ensure that the collection card, RGC and DCRC all have a starting task and an ending task.
[0092]
[0093] Constraints (16)-(21) ensure that each job task of the container truck, RGC and DCRC has only one immediate predecessor task and one immediate successor task.
[0094] ⑤Container flow balance constraints
[0095]
[0096] Constraints (22)-(24) ensure the balance of container flow.
[0097] ⑥Truck collection time constraints
[0098]
[0099]
[0100] Constraints (25)-(30) are time constraints before the truck starts to transfer export container i. In the formula, O represents the set of all export containers that need to be transferred. Specifically:
[0101] Constraint (25) defines the time it takes for RGCr to move to the loading and unloading point of container task i after completing the previous task. r represents the speed of RGC, d jj' represents the distance from node j to node j', represents the destination node of container i, Represents the starting node of container i.
[0102] Constraint (26) is the time when RGCr starts to move export container i. It indicates the time when RGCr moves to the designated loading and unloading point of container i. Indicates the time when RGCr starts processing container i.
[0103] Constraint (27) ensures that RGCr completes export container task i no earlier than the time required for handling. i represents the time it takes for RGC to process container i, It represents the time when RGC r finishes processing container i.
[0104] Constraint (28) defines the time it takes for a truck to move to the loading and unloading point of container i after completing the previous task. It represents the time required for the card set to select path k from node j to j', and K represents the set of all paths.
[0105] Constraint (29) ensures that RGCr completes export container task i no earlier than the arrival time of the container truck. i Indicates the time when the container truck arrives at the designated loading and unloading point of container i.
[0106] Constraint (30) means that the time when the RGC completes the export container task i is equal to the time when the container truck starts to transfer the export container i. i It indicates the time when the truck starts to process container i, that is, the time when the truck receives the container from the RGC or DCRC.
[0107]
[0108] Constraints (31)-(35) are constraints on the time relationship of container tasks between container trucks and DCRC.
[0109] Among them, formula (31) constrains the time for the truck to transport the export container i to arrive at the designated loading and unloading point. i It indicates the time when the container truck arrives at the designated unloading point of container i.
[0110] Constraint (32) defines the time it takes for the DCRC to move to the loading and unloading point of export container task i after completing the previous task. yIndicates the speed of DCRC, It represents the time when DCRCy moves to the designated loading and unloading point of container i.
[0111] Constraint (33) ensures that the time when DCRC starts to move outbound container i is no earlier than the arrival time of the container truck and the arrival time of DCRC. represents the time when DCRCy starts processing container i.
[0112] Constraint (34) means that the truck will complete its current task only when the DCRC starts to move export container i. i It represents the time it takes for the truck to complete container task i.
[0113] Constraint (35) defines the time it takes for DCRC to complete the handling of export container i. i It represents the time when DCRC processes container i.
[0114]
[0115] Constraints (36)-(41) are time constraints before the container truck starts to transship import container i. Constraint (36) defines the time when the DCRC moves to the loading and unloading point of import container task i after completing the previous task. Constraint (37) is the time when the DCRC starts to move import container i. Constraint (38) ensures that the time when the DCRC completes export container task i is not earlier than the time required for transportation. Constraint (39) defines the time when the container truck moves to the loading and unloading point of import container task i after completing the previous task. Constraint (40) ensures that the time when the DCRC completes import container task i is not earlier than the arrival time of the container truck. Constraint (41) means that the time when the DCRC completes export container task i is equal to the time when the container truck starts to transship import container i.
[0116]
[0117] Constraints (42)-(46) are time relationship constraints for container tasks between container trucks and RGCs. Among them, (42) constrains the time for the container truck to arrive at the designated loading and unloading point for transporting imported container i. Constraint (43) defines the time when the RGC moves to the loading and unloading point of imported container task i after completing the previous task. Constraint (44) ensures that the time when the RGC starts to move imported container i is not earlier than the arrival time of the container truck and the arrival time of the RGC. Constraint (45) means that the container truck completes the current task when the RGC starts to move imported container i. Constraint (46) defines the time when the RGC completes the movement of imported container i.
[0118] ⑦Variable range constraints
[0119]
[0120]
[0121] Constraints (47)-(48) ensure the range of each variable.
[0122] (2) Truck path planning model
[0123] As a key horizontal transport equipment in the transshipment process, the travel process of container trucks has a great impact on the time and energy consumption of terminal operations. Choosing a suitable route can greatly reduce the travel time of container trucks. In this study, there are multiple railway yards and U-shaped yards in the area where container trucks can interact. Under the U-shaped yard layout, a one-way road is used to reduce the occurrence of conflicts. Therefore, the traffic area can be divided into a topological network consisting of 238 nodes, where the nodes connected represent the passable roads, such as Figure 3 shown.
[0124] Although a one-way road for trucks is adopted, conflicts between vehicles may still occur during the container transfer process. Conflicts can be divided into two types. The first type of conflict is when different trucks arrive at the same node during transportation, which causes a conflict in time and space. This conflict can be called a node conflict. The second type of conflict is when multiple trucks arrive at the destination interaction area, which causes a conflict in time and space at the same loading and unloading point. This type of conflict can be called an occupancy conflict. In order to solve the conflict problem between vehicles, when a conflict occurs, the speed of the vehicle will be limited or stopped to avoid collisions between vehicles. Therefore, the truck path planning is modeled as follows:
[0125]
[0126] Where, T e It indicates the total time it takes for a truck to complete container transshipment.
[0127] The constraints of the truck path planning model include path and node constraints, node flow balance constraints, path conflict detection and resolution constraints, and time relationship and waiting constraints. The solution of the truck path planning model is used to determine the constraints related to the truck in the comprehensive scheduling model, especially those related to Constraints, such as constraint (28), constraint (31), etc. Specifically:
[0128] ① Path and node constraints
[0129]
[0130] Constraint (50) indicates that the container truck e will not pass through a node repeatedly during a transfer process to avoid a path loop. In the formula, M represents the set of nodes, is a (0,1) variable, indicating that if the card passes through node j and then passes through node j', then otherwise
[0131] ②Node traffic balance constraints
[0132]
[0133] Constraint (51) ensures the balance of node traffic.
[0134] ③Path conflict detection and resolution constraints
[0135]
[0136]
[0137] In the formula, G k represents the set of all nodes on path k, represents the time set of the truck reaching all nodes on path k, and represents the set of nodes where paths k1 and k2 conflict in time and space, L safe is the safe distance between two vehicles. e Indicates the speed of the truck collection. represents the distance traveled by the truck after changing its speed, v0 represents the speed of the truck after the change, a represents the acceleration of the truck, t com Indicates the time required to compensate after the speed changes.
[0138] Equation (52) indicates whether there is a conflicting section between two paths. Equation (53) indicates whether there is a time conflict between two conflicting paths. Equation (54) indicates that when two container trucks have a time-space conflict, the path conflict is resolved by accelerating or decelerating while ensuring a safe distance. The vehicle with a higher priority speeds up and passes, and the vehicle with a lower priority slows down and passes, and then the vehicle resumes its initial speed. Equation (55) indicates the time compensation after the conflict occurs. Constraint (56) is the time required for container truck e to select path k to complete the transfer of container i.
[0139] ④Time relationship and waiting constraints
[0140]
[0141] Constraints (57)-(58) represent the time relationship between two consecutive trucks arriving or leaving the same loading and unloading point. When a time-space conflict occurs at the same loading and unloading point, the latter needs to stop and wait. In,ki ) je represents the time when truck e arrives at node j, (t In,k'i') j(e+1) represents the time it takes for a truck after truck e to arrive at the same node j, (t Out,ki ) je represents the time when the card set e leaves node j, (t Out,k'i' ) j(e+1) It represents the time when the next vehicle after truck e leaves the same node j.
[0142] 2. Solution method
[0143] There are many heuristic algorithms for the comprehensive scheduling problem of automated container terminals, among which the most commonly used is the improved genetic algorithm. Genetic algorithms have high computational efficiency, high precision, and are easy to combine with other algorithms. However, different improvements to genetic algorithms often bring completely different results. In response to this problem, this embodiment proposes a reinforcement learning-driven hyper-heuristic algorithm RLHA (Reinforcement Learning-Driven Hyper-heuristic Algorithm) to solve this complex problem. The hyper-heuristic algorithm combines multiple heuristic algorithms and has some significant advantages over traditional heuristic algorithms: stronger global search capabilities; better robustness; stronger adaptability; faster convergence. The combination of reinforcement learning and hyper-heuristic algorithms can continuously learn in the process of algorithm problem solving, and adjust strategies based on learning experience to improve algorithm performance. At the same time, reinforcement learning can be used to adjust the parameters in the hyper-heuristic algorithm, which helps to better adapt to different problems. In addition, reinforcement learning can search the solution space more effectively by balancing exploration and utilization. This ability helps to maintain the exploration of unknown areas during the search process and to utilize areas where potential good solutions are known.
[0144] The multi-equipment scheduling method for a U-shaped sea-rail transport terminal provided in this embodiment includes a RLHA algorithm designed for a two-layer scheduling model to be solved, which includes three stages of solving and updating. The scheduling framework based on the algorithm is as follows: Figure 5 As shown in the figure, the algorithm design of the scheduling layer is mainly aimed at solving the comprehensive scheduling model, and the algorithm design of the path planning layer is mainly aimed at solving the container truck path planning model. Specifically:
[0145] (I) Selection layer algorithm design
[0146] (1) Hyper-heuristic algorithm
[0147] The hyper-heuristic algorithm is an evolutionary algorithm that can automatically discover and adapt to the structure of the problem without manually designing heuristic rules. This makes it very adaptable when dealing with complex problems. The hyper-heuristic algorithm is mainly composed of two layers, the lower layer is mainly composed of multiple heuristic algorithms for a certain type of specific problem, and the upper layer controls the algorithm selection of the lower layer through established rules.
[0148] Hyperheuristics involve selecting multiple heuristics and defining their weights, probabilities of use, or other parameters in the combination. This can be expressed in the form of the following formula:
[0149]
[0150] Among them, S(x) is the score function of the hyperheuristic algorithm, H i (x) is the score function of the ith sub-heuristic algorithm, w i is the weight of the sub-algorithm. This formula is used to describe how the hyper-heuristic algorithm combines the scores of each sub-algorithm to produce the final decision.
[0151] In addition, the hyper-heuristic algorithm may contain some parameters, such as parameters for adjusting the weights of sub-algorithms. These parameters may be adjusted in an adaptive or learning manner during the problem solving process, such as the Q value combined with reinforcement learning below. The update formula is:
[0152] θ t+1 =Update(θ t ,Reward(S(x))) (60)
[0153] Among them, θ t is the current value of the parameter, θ t+1 is the updated value, Reward(S(x)) is the reward obtained based on the algorithm performance. If the current algorithm performance is good, the reward level is higher, which is reflected as the Q value of reinforcement learning in the method of this embodiment. Formula (60) shows how the parameters are updated according to the performance of the algorithm.
[0154] (2) Improved Q-learning algorithm
[0155] Q-learning is a reinforcement learning algorithm used to teach an agent to make decisions in its interactions with the environment to maximize its long-term rewards, so it is suitable for application in the upper layer of the hyper-heuristic algorithm. The core idea of Q-learning is that by learning a Q-value function, the agent can update its decision-making strategy through continuous trial and error to obtain better long-term rewards. In the hyper-heuristic algorithm, this learning strategy is used to guide decision-making choices in the search space. Figure 4The algorithm shown in the figure continuously evaluates the Q value, and the agent can choose the next action more intelligently to achieve the optimal solution.
[0156] In reinforcement learning, state and action are two core concepts. State is a variable that describes the current situation of the environment or system. In reinforcement learning, the state represents the specific situation or configuration of the agent. It contains the information needed by the agent to make decisions. The agent chooses actions based on the current state, and the change of state is affected by the agent's execution of actions and environmental feedback. The state space can be defined as S. Action is the means by which the agent interacts with the environment. It can be discrete or continuous. The agent affects the state transition by choosing actions. The goal of the reinforcement learning algorithm is to learn the strategy of selecting the best action in different states to maximize the expected cumulative return. The action space can be defined as A.
[0157] This embodiment uses a greedy strategy to improve the Q-learning algorithm. The improved Bellman equation can be used to describe the relationship between the state value function and the action value function. The update of the state value function is now based on the action selected by the greedy strategy, which can more efficiently update the state value function and make it more accurately reflect the expected cumulative reward under the greedy strategy.
[0158]
[0159] Where V(s) is the value of state s, max a It means that all possible actions are compared. P(s'|s,a) is the probability of transferring to state s' after executing action a in state s. R(s,a,s') is the immediate reward when state s transfers to state s' after executing action a. γ is the discount factor used to balance future rewards. V(s') represents the expected cumulative reward that can be obtained in state s'.
[0160] The improved action-value Bellman equation can be used to reflect how to update the action-value function under the greedy strategy:
[0161]
[0162] Where Q(s,a) is the action value of executing action a in state s, that is, the expected cumulative reward after executing action a in state s, γmax a' Q(s',a') represents the expected cumulative reward of selecting action a' that can obtain the maximum Q value in the next state s', where max a' It means to traverse all possible actions a' and select the action that can obtain the maximum Q value.
[0163] Therefore, the hyper-heuristic algorithm based on Q-learning can achieve significant performance improvement in solving complex optimization problems by combining the learning ability of reinforcement learning and the global optimization characteristics of meta-heuristic search. In the multi-equipment scheduling method for the U-shaped sea-rail transport terminal provided in this embodiment, the action corresponds to the lower-level heuristic algorithm selected according to the Q value in each round of iteration, and the state corresponds to the multi-equipment scheduling solution obtained by solving the double-layer scheduling model according to the corresponding heuristic algorithm. The specific steps are as follows:
[0164] I. Initialize the Q-value function: At the beginning of the algorithm, the Q-value function is initialized, which will record the estimated reward value for each state and action.
[0165] II. Perform meta-heuristic search: Generate the current optimal solution by executing heuristic search algorithms, such as different improved genetic algorithms. The properties of the current optimal solution will be regarded as states, forming the state space in Q-learning.
[0166] III. Apply Q-learning updates: For each generated solution, the Q-value function is updated using the Q-learning update rule. This process is based on learning from actual experience, and the estimate of the candidate solution is gradually optimized through a feedback mechanism.
[0167] IV. Select the next action: Based on the updated Q-value function, select the next action, that is, the heuristic algorithm used in the next iteration. This step guides the agent in a more promising direction during the search process based on the learned strategy.
[0168] V. Iterative search: The algorithm gradually optimizes the quality of the solution by repeatedly performing metaheuristic search and Q-learning updates. The number of iterations can be flexibly adjusted according to the nature of the problem and computing resources.
[0169] In the above steps, the Q value update formula can be expressed as:
[0170] Q(s,a)←(1-α)·Q(s,a)+α·(r+γ·max a' Q(s',a'))(63)
[0171] In the formula, Q(s,a) is the Q value of taking action a in state s; r is the immediate reward after taking action a; s' is the new state after taking action a, and a' represents the updated action; α is the learning rate, which controls the impact of new information on the Q value; γ is the discount factor, which controls the importance of future rewards. Formula (63) corresponds to Reward(S(x)) in formula (60).
[0172] (II) Scheduling layer algorithm design
[0173] In order to ensure the balance between global search and local search, and to improve the ability of the algorithm to evolve flexibly, the underlying heuristic algorithm of this embodiment designs five different improved genetic algorithms, including Single-Point Crossover Genetic Algorithm (SPCGA), Multi-Point Crossover Genetic Algorithm (MPCGA), Elite Retention Strategy Genetic Algorithm (GA), Adaptive Genetic Algorithm (AGA), and Multi-Population Genetic Algorithm (MPGA).
[0174] The algorithm used by the scheduling layer is related to the action value output by the selection layer, and the current optimal value and current optimal solution returned by the scheduling layer will update the Q value of the selection layer. The two layers are inseparable.
[0175] (III) Path planning layer algorithm design
[0176] When a container truck performs a container transfer task, it needs to plan its path. Based on the task sequence and vehicle information obtained by the scheduling layer algorithm, combined with Figure 3 The topological network structure is constructed by using the improved Dijskra algorithm to solve the shortest path for container trucks when performing transshipment tasks. Then, different container trucks are detected in space and time to see if there are conflicts in time and space. The conflict types can be divided into two categories: node conflict and occupation conflict. Node conflict refers to a conflict in time and space between container trucks at a certain node, that is, vehicles arrive at a certain node at the same time. In this case, the vehicle close to the destination is judged as a high-priority vehicle, and the vehicle far from the destination is judged as a low-priority vehicle. The high-priority vehicle accelerates through, and the low-priority vehicle decelerates through. Occupancy conflict refers to when the container truck arrives at the loading and unloading point, the vehicle in front is working and has not left. At this time, it is necessary to wait for the vehicle in front to complete the operation.
[0177] The path planning layer is related to the task sequence output by the scheduling layer, and the container path obtained by the path planning layer will affect the scheduling plan of the scheduling layer. The two layers are inseparable. The specific algorithm flow chart is as follows Figure 5 shown.
[0178] 3. Validation of the Method
[0179] Next, the effectiveness of the above models and algorithms is verified through experiments. The simulation is performed using MATLAB 2020b, with the operating environment being WINDOW11 operating system, Intel(R) Core(TM) i7-10875H CPU @ 2.30 GHz, and 16 GB memory.
[0180] (I) Parameter design
[0181] The U-shaped sea-rail transport terminal studied in this embodiment is set to have two storage areas at the railway yard, each of which is equipped with 3 RGCs. Four container areas are considered at the U-shaped yard, each of which has 100 available bays and is equipped with two DCRCs. The speed of the container truck is 5m / s, and the number of available container trucks is 10 to 20. The number of tasks to be processed is 20 to 2000. The time for RGC to process a container follows the uniform distribution of (20s, 30s), and the time for DCRC to process a container follows the uniform distribution of (30s, 40s).
[0182] Considering that the two-layer scheduling model established in this embodiment includes minimizing the completion time of the container transshipment task and minimizing the total energy consumption of multiple automated equipment, in order to ensure the adaptability of the fitness function, the objective function can be processed as shown in formula (64), where θ is a weight coefficient.
[0183] minF=θF1+(1-θ)F2 (64)
[0184] (II) Comparison of results
[0185] The RLHA algorithm proposed in this embodiment is compared with the other two heuristic algorithms, that is, three methods are used to solve small-scale problems, and then the performance of the three algorithms is analyzed according to OBJ (objective value) and the required computing time (CPUT). The small-scale example θ takes a value of 0.3, that is, the target prefers energy consumption, which involves the number of enabled container trucks is 10 and 20, the number of enabled RGC is 3, the number of DCRC is 4, and the number of tasks is 20-200, half of which are export containers and half are import containers.
[0186] The RLHA algorithm used in the method of this embodiment is compared with AGA (adaptive genetic algorithm), MPGA (multi-population genetic algorithm), GWO (grey wolf optimization algorithm), and GA (genetic algorithm). The task interval of each group of experiments is 20, and there are 10 groups of experiments in total. The objective function value (OBJ) and calculation time (set card) under the five algorithms are compared. Each group of experiments is performed 10 times, and the average value is taken as the result, as shown in Table 1.
[0187] Table 1 Comparison of experimental results between the existing method and the method provided in this embodiment
[0188]
[0189]
[0190]
[0191] In order to explore the effectiveness of the scheduling strategy, it is also necessary to conduct a quantitative analysis of the scheduling results. An evaluation index system was established based on the characteristics of the scheduling problem. The average results of every 100 container tasks are shown in Table 2, and the results of the RHLA algorithm and the two heuristic algorithms are compared.
[0192] Table 2 Evaluation indicators for scheduling 100 container tasks
[0193] Index RHLA AGA MPGA Completion time 3467.00 3826.00 3640.00 Total energy consumption 5269.66 6409.27 6341.83 Average task duration 34.67 38.26 36.40 Average task energy consumption 52.70 64.09 63.42 Average energy consumption of container trucks 502.08 611.28 604.28 Average RGC energy consumption 29.73 33.60 32.79 Average DCRC energy consumption 39.91 48.91 50.16
[0194] According to the data in Table 1, we can get Figure 6 .from Figure 6 It can be seen from the figure that the RHLA algorithm proposed in this method is different from the four heuristic algorithms. When the number of experimental tasks is small, the target values obtained by the five algorithms are very close, but as the number of experimental tasks increases, the complexity of the scheduling problem increases, and the optimization effect of RHLA is significantly better than the other four heuristic algorithms. This is because the heuristic algorithm will fall into the local optimum too early in complex situations, resulting in poor algorithm effect, while the hyper-heuristic algorithm driven by reinforcement learning can more easily jump out of the local optimum in the process of learning and optimization. Figure 6 The results also show that under the current operating equipment configuration, the more container transshipment tasks there are and the longer the completion time is, the greater the total energy consumption of the operation.
[0195] From the analysis of the scheduling results in Table 2, the total completion time and total energy consumption of the scheduling scheme obtained by the RHLA algorithm are significantly lower than those obtained by the two heuristic algorithms. In addition, the time and energy consumption required for each task are also lower, and the average energy consumption of each automation equipment when completed is also lower than the scheduling scheme obtained by the heuristic algorithm. This proves the feasibility and effectiveness of this method in actual situations.
[0196] Figure 7 The specific application process of one of the multi-device scheduling methods provided in this embodiment is shown. By solving the constructed two-layer scheduling model through the task information, device information and map information obtained in real time, the corresponding optimal scheduling solution can be obtained, and then the following process is executed:
[0197] Step 1: The arrival of trains and ships brings container transshipment tasks;
[0198] Step 2: Obtain information on various automated equipment and container trucks in the terminal;
[0199] Step 3: The container handling equipment grabs the container to be transferred;
[0200] Step 4: Determine whether there is an idle container truck at present: if yes, proceed to step 5; if no, the container handling equipment waits for an idle container truck;
[0201] Step 5: The truck arrives at the designated loading and unloading point and loads the container;
[0202] Step 6: The container truck selects the shortest path to transfer the container according to the solution of the container truck path model;
[0203] Step 7: Determine whether the current container truck has a path conflict with other container trucks: If yes, use different conflict avoidance methods according to the types of node conflict and occupancy conflict, and unload the container at the designated loading and unloading point; if no, unload the container directly at the designated loading and unloading point;
[0204] Step 8: Repeat the process until all transfer tasks are completed.
[0205] In summary, in order to solve the problem of container transshipment between railway yards and yards under the new layout, the method provided by the present invention establishes a two-layer scheduling model including RGC, container trucks, and DCRC, and takes into account the complexity of the operating conditions, and designs a hyper-heuristic algorithm driven by reinforcement learning to solve the two-layer scheduling model to obtain the optimal multi-equipment scheduling solution, wherein the lower layer contains a variety of heuristic algorithms, which can generate the task operation sequence including the yard side and the railway side and the operating task conditions of the three types of automated equipment, and the upper layer evaluates and learns the results returned by the lower layer, and then searches for the heuristic algorithm of the lower layer. This method can comprehensively consider multiple factors such as operating efficiency and energy consumption of different equipment operations to optimize scheduling and give full play to the advantages of the U-shaped terminal.
[0206] Furthermore, this embodiment also provides a multi-device scheduling device based on a U-shaped sea-rail transport terminal, including a memory, a processor, and a program stored in the memory, and the processor implements the aforementioned method when executing the program. The specific execution process of the method is the same as the aforementioned step process, and will not be repeated here.
[0207] Furthermore, this embodiment also provides a storage medium on which a program is stored, and when the program is executed, the aforementioned method is implemented. The specific execution process of the method is the same as the aforementioned step process, and will not be repeated here.
[0208] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A multi-equipment scheduling method based on a U-shaped sea-rail transport terminal, characterized in that: The following steps are involved: Obtain sea-rail transport operation information of U-shaped container terminals, and obtain operation information of different equipment and container loading information from it; Obtain the U-shaped yard layout and the railway yard layout, and build a topological network map based on the yard layout; Based on the topological network map, a double-layer target model is constructed with minimizing operation energy consumption and operation completion time as optimization goals and with operation information of different equipment and container loading information as constraints. The double-layer target model includes a comprehensive scheduling model and a container truck path planning model. The two-layer scheduling model is solved by a hyper-heuristic algorithm driven by reinforcement learning to obtain the final multi-device scheduling solution.
2. The multi-equipment scheduling method based on the U-shaped sea-rail transport terminal according to claim 1 is characterized in that: The hyper-heuristic algorithm driven by reinforcement learning includes an upper-layer reinforcement learning control algorithm and a lower-layer heuristic algorithm. The hyper-heuristic algorithm driven by reinforcement learning is used to solve the two-layer scheduling model to obtain the final multi-device scheduling solution. The specific process includes: Initialize the reward function and underlying heuristic algorithm; Based on the current lower-level heuristic algorithm, the comprehensive scheduling model is solved to obtain the current task sequence and vehicle information; Based on the current task sequence and vehicle information and the topological network map, the improved dijskra algorithm is used to solve the container truck path planning model to obtain the current shortest path for the container truck; Based on the current task sequence, vehicle information and the current shortest path for container trucks, the corresponding multi-equipment scheduling solution is obtained; Based on the current multi-device scheduling scheme, the current reward function is updated using the upper layer reinforcement learning control algorithm; Based on the updated reward function, the current underlying heuristic algorithm is updated, and the comprehensive scheduling model is re-solved.
3. The multi-equipment scheduling method based on the U-shaped sea-rail transport terminal according to claim 2 is characterized in that: The lower-level heuristic algorithms include a single-point crossover genetic algorithm, a multi-point crossover genetic algorithm, a genetic algorithm with an elite retention strategy, an adaptive genetic algorithm, and a multi-population genetic algorithm.
4. The multi-equipment scheduling method based on the U-shaped sea-rail transport terminal according to claim 2 is characterized in that: The upper layer reinforcement learning control algorithm adopts a Q-learning algorithm based on a greedy strategy.
5. The multi-equipment scheduling method based on the U-shaped sea-rail transport terminal according to claim 4 is characterized in that: In the Q-learning algorithm based on the greedy strategy, the update formula of the Q value is expressed as: Q(s,a)←(1-α)·Q(s,a)+α·(r+γ·max a′ Q(s′,a′)) Where Q(s,a) represents the Q value of taking action a in state s; r represents the immediate reward after executing action a; s′ represents the new state after executing action a, a′ represents the updated action, α is the preset learning rate, γ is the preset discount factor, where actions a and a′ are the lower-level heuristic algorithms before and after the update, respectively, and states s and s′ are the multi-device scheduling solutions corresponding to the lower-level heuristic algorithms.
6. The multi-equipment scheduling method based on the U-shaped sea-rail transport terminal according to claim 1 is characterized in that: According to the operation information of the different equipment and the container loading information, the constraints of the comprehensive scheduling model include: energy consumption constraints of different equipment, container-truck allocation constraints, task non-conflict constraints of different equipment, task start and sequence constraints of different equipment, container flow balance constraints, truck time constraints and variable range constraints; The constraints of the container truck path planning model include: path and node constraints, node flow balance constraints, path conflict detection and resolution constraints, and time relationship and waiting constraints. The solution results of the container truck path planning model are used to determine the constraints related to the container truck in the constraints of the comprehensive scheduling model.
7. The multi-equipment scheduling method based on the U-shaped sea-rail transport terminal according to claim 6 is characterized in that: The comprehensive scheduling model is expressed as: min F2=E1+E2+E3 In the formula, F1 and F2 represent the total operation time and total operation energy consumption respectively, C represents the collection of all containers, represents the time when DCRCy completes processing container i, represents the time it takes for RGCr to complete processing of container i, E1, E2 and E3 represent the total energy consumption of the container truck, the total energy consumption of DCRC and the total energy consumption of RGC respectively; The container truck path planning model is expressed as: Where, T e represents the total time for container truck e to complete container transshipment, E represents the set of all container trucks, K represents the set of all paths k, I represents the set of all imported containers that need to be transshipped, represents the time required for the card set to select path k from node j to j′, It means that if container i is transferred by the e-th container truck, otherwise 8. The multi-equipment scheduling method based on the U-shaped sea-rail transport terminal according to claim 7 is characterized in that: The energy consumption constraints of different devices are expressed as: In the formula, s i represents the time when the container truck arrives at the designated unloading point of container i, p i represents the time when the truck starts to transport container i, a i represents the time when the container truck arrives at the designated loading and unloading point of container i, q i ,q i′ They represent the time it takes for the truck to complete the task of container i and the task of another container i′, respectively. It means that if containers i′ and i operated by truck e are continuous and i′ is the previous task of i, otherwise f e represents the energy consumption per unit time during container truck transfer, f ew Indicates the energy consumption per unit time of the container truck waiting; Y represents the set of all DCRCs, represents the time it takes for DCRC y to move to the designated loading and unloading point of container i, represents the time when DCRCy finishes processing another container i′, If containers i and i′ of DCRC y operation are continuous and i is the previous task of i′, otherwise f y It represents the energy consumption per unit time when DCRC is running; R represents the set of all RGCs, It indicates the time when RGCr moves to the designated loading and unloading point of container i. represents the time when RGCr finishes processing another container i′, If containers i and i′ of the RGCr operation are continuous and i is the previous task of i′, otherwise f r It represents the energy consumption per unit time when RGC is running; The container-truck allocation constraint is expressed as: In the formula, C e Represents the collection of containers transported by container truck e; The truck time constraint includes the time it takes for the truck to move to the loading and unloading point of container i after completing the previous task, which is expressed as: In the formula, O represents the set of all export containers that need to be transshipped, represents the destination node of container i′, Represents the starting node of container i.
9. A multi-device scheduling device based on a U-shaped sea-rail transport terminal, comprising a memory, a processor, and a program stored in the memory, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
10. A storage medium having a program stored thereon, characterized in that: When the program is executed, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Automatic wharf cold dangerous cargo storage yard layout simulation method and system considering manual and unmanned mixed operation
CN120409065A
A simulation method and system for the layout of refrigerated and hazardous cargo yards at automated terminals considering mixed manual and unmanned operations
CN120409065B
