Method and system for assigning positions of containers in container wharf and computer program
By constructing the container slot assignment problem at the container terminal as a Markov decision model and using the deep reinforcement learning algorithm D3QN, the real-time problem of container slot allocation is solved and efficient container allocation is achieved when the container arrival time is uncertain. Bit assignment reduces the number of rummagings and improves shipping efficiency and yard utilization.
Patent Information
- Application Number
- CN202410711054.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-10
AI Technical Summary
In container terminals, the complexity of container slot allocation increases, and it is difficult for existing methods to obtain an approximately optimal solution within an effective time, especially when the container arrival time is uncertain, resulting in chaotic storage and low loading efficiency. The existing method The optimization stability of swarm intelligence algorithm is poor and it is difficult to meet the requirements of real-time decision-making.
The container slot assignment problem is constructed as a Markov decision model, and the deep reinforcement learning algorithm Double Dueling Deep Q-Network (D3QN) is used for training. The Markov decision model is designed to achieve real-time allocation of container slots, taking into account the shipping of containers. Priority and stocking column information to maximize shipping operation efficiency and yard utilization.
It effectively reduces the number of shipping container overturns, improves the efficiency of shipping operations, improves the utilization rate of the yard, and solves the real-time problem of container location assignment.
Smart Images

Figure CN118628014A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of container terminal automation, and in particular to a method for assigning container slots at a container terminal. Background Art
[0002] With the increasing size of ships and container throughput, the demand for yard resources is increasing, and the improvement of resource utilization and loading and unloading efficiency is becoming more and more urgent. Container slot allocation is a key issue in yard decision-making. An excellent container slot allocation method can effectively reduce the container turnover rate, improve loading efficiency, and reduce mechanical energy consumption.
[0003] As the scale of the container slot allocation problem increases, the complexity of the problem increases. It is difficult for the precise solution method to obtain an approximate optimal solution within the effective time. Therefore, the existing allocation method usually uses a swarm intelligence optimization algorithm to solve it, but this is often based on the accurate and complete container information and the known order of container entry. In reality, the information and entry order of containers cannot be accurately predicted. Due to the uncertainty of the entry time, it is easy to cause storage chaos, increase the rate of container turnover, and low efficiency of loading operations, affecting the service level of the port. In the case of uncertain container entry time, the swarm intelligence algorithm has poor optimization stability and slow convergence speed, and it is difficult to meet the real-time requirements of decision-making.
[0004] In the current actual production of ports, container slots are mostly allocated based on the allocation rules and strategies summarized over a long period of time. When containers enter the port, the slots to be selected are evaluated and scored, and the slots are selected manually based on experience or the slots with the highest scores are selected by computers. This method is feasible and effective in the process of port production operations, but it is difficult to achieve the global optimum. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the current technology, the present invention provides a method for assigning container slots at a container terminal, which takes into account the uncertainty of the container entry time and constructs the real-time container slot assignment problem as a Markov decision model to solve the real-time problem of container slot assignment, effectively reduce the number of container turnovers during loading, and improve the efficiency of loading operations.
[0006] To achieve the above object, the embodiments of the present invention adopt the following technical solutions:
[0007] A method for allocating container slots at a container terminal comprises the following steps:
[0008] Obtain target ship and container information, and obtain container loading priority based on the target ship and container information;
[0009] Obtain the stacking column information allocated to the target container area, and build a Markov decision model for real-time container slot assignment based on the container loading priority and stacking column information;
[0010] Use deep reinforcement learning algorithm to train the Markov decision model to obtain the real-time slot assignment strategy model;
[0011] Obtain loading priority and status information of incoming containers;
[0012] The loading priority and status information are input into the real-time slot assignment strategy model to obtain the assigned slots for incoming containers.
[0013] According to one aspect of the present invention, the step of acquiring target ship and container information, and obtaining the loading priority of the container according to the target ship and container information includes:
[0014] The larger the loading priority value, the earlier it is loaded. When a container with a smaller loading priority value is stacked on top of a container with a larger loading priority value, it is determined that a container flipping occurs. The calculation formula is:
[0015] p k =d k *10+w k
[0016] Among them, p k ,d k 、w k In the table, k is a superscript; p k represents the loading priority value of the kth container; d k represents the destination port of the kth container. The farther the destination port is, the higher the probability of d k The larger the w k Indicates the weight of the kth container. The larger the weight, the greater the k The bigger.
[0017] According to one aspect of the present invention, when constructing the Markov decision model for real-time slot assignment based on the container loading priority and storage column information, based on the uncertainty of container entry time, one container entry moment is taken as one decision period.
[0018] According to one aspect of the present invention, the Markov decision model for real-time container slot assignment based on the container loading priority and storage column information comprises:
[0019] The state space is constructed based on the stockpiled information of the container area allocation column and the priority value of the container loading to be decided;
[0020] Build the action space based on the allocated heap column;
[0021] The reward function is designed based on maximizing the loading efficiency and yard utilization.
[0022] According to one aspect of the present invention, the state space is:
[0023]
[0024] in, In the above formula, 1, 2, and i are all superscripts; K represents the number of containers, which is also the number in the decision period; S k represents the state space at decision period k; Indicates that the allocation column under decision period k has stored information; represents the information of container k; I represents the number of allocated storage columns; It represents the maximum loading priority value among the containers stored in the i-th column at decision period k. If there are no containers stored in this column, it is 0. represents the number of containers stored in the i-th column at decision period k; Determine whether the i-th column can be stored at decision period k, 1 means it can be stored, 0 means it cannot be stored; Determine whether the existence of the i-th column in the heap at decision period k will result in a box flip, 1 means no box flip, 0 means box flip; p k Represents the loading priority value of the kth container.
[0025] According to one aspect of the present invention, the action space is:
[0026] A={0,1,···,I-1}
[0027] Where A represents the action space and I represents the number of allocated heap columns.
[0028] According to one aspect of the present invention, the reward function is:
[0029]
[0030] in, In the table, 1, 2, and 3 are all superscripts; p k In, k is a superscript; In the table, i is a superscript; r k,i represents the reward value for assigning container k to column i; They represent the stacking reward value, the bay reward value, and the layer reward value respectively. θ, β, and γ are the corresponding weights, θ+β+γ=1; b i represents the bay position to which row i belongs; B represents the total number of bay positions; N represents the number of containers that can be stored in a row; Determine whether the i-th column can be stored at decision period k, 1 means it can be stored, 0 means it cannot be stored; Determine whether the existence of the i-th column in the heap at decision period k will result in a box flip, 1 means no box flip, 0 means box flip; p k represents the loading priority value of the kth container; It represents the maximum loading priority value among the containers stored in the i-th column at decision period k. If there are no containers stored in this column, it is 0. It represents the number of containers stored in the i-th column at decision period k.
[0031] According to one aspect of the present invention, the method of using a deep reinforcement learning algorithm to train a Markov decision model to obtain a real-time slot assignment strategy model includes:
[0032] Design an action selection strategy with illegal action shielding function;
[0033] Initialize model parameters and deep reinforcement learning algorithm parameters;
[0034] Considering the uncertainty of container entry time, container loading priority values are randomly generated for training to obtain a trained container slot real-time assignment strategy model.
[0035] According to one aspect of the present invention, the deep reinforcement learning algorithm is Double Dueling Deep Q-Network.
[0036] According to one aspect of the present invention, the action selection strategy is:
[0037]
[0038] in, In the table, i is a superscript; k is the column for selecting storage container k in decision period k; random means random selection; argmax(Q k '(i)) indicates that Q is selected k '(i) corresponds to the maximum value of i k ; δ is a random number, which is random at each decision, δ∈(0,1); ε is the exploration rate, ε∈(0,1); Q k (i) is the Q value output by the neural network of the deep reinforcement learning algorithm; Q k '(i) is the Q value after illegal action screening; Determine whether the i-th column can be stacked at the decision period k, 1 means it can be stacked, 0 means it cannot be stacked; ε1 is the minimum exploration rate; ε0 is the maximum exploration rate; Δε is the attenuation value of the exploration rate; epi is the current training iteration number; Δepi is the exploration rate attenuation step.
[0039] A container slot assignment system for a container terminal, based on the container slot assignment method for a container terminal as described above, comprises:
[0040] A priority acquisition module is used to obtain target ship and container information, and obtain the loading priority of the container according to the target ship and container information;
[0041] A model building module is used to obtain the stacking column information of the target container area allocation, and build a Markov decision model for real-time container slot assignment based on the container loading priority and stacking column information;
[0042] Model training module, used to train the Markov decision model using deep reinforcement learning algorithm to obtain the real-time slot assignment strategy model;
[0043] Information acquisition module, used to obtain the loading priority and status information of incoming containers;
[0044] The slot assignment module is used to input the loading priority and status information into the real-time slot assignment strategy model to obtain the assigned slots for incoming containers.
[0045] A computer program, which, when executed, implements the steps of the method for allocating container slots at a container terminal as described above.
[0046] Advantages of the present invention:
[0047] The present invention provides a method for assigning container slots at a container terminal. Considering the uncertainty of container entry time, the real-time container slot assignment problem is constructed as a Markov decision model, which is trained by a deep reinforcement learning algorithm D3QN to fit the Q value.
[0048] This method designs loading priority values according to information such as the destination port and weight of the container, and allocates a target storage column in the container area for containers belonging to the same ship; designs the state space according to the storage situation of the target column and the containers to be stored at the current moment, and designs the action space according to the allocated storage column. The reward function is designed with the goal of maximizing loading efficiency and yard utilization, and a container entering the yard is used as a decision moment to randomly generate its loading priority value, which is trained through a deep reinforcement learning algorithm.
[0049] The model trained by this method solves the real-time problem of container slot assignment, effectively reduces the number of container turnovers during loading, and improves the efficiency of loading operations. When using this method, containers from different destination ports can be stacked in the same row, improving the utilization rate of the yard. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 This is a flow chart of a method for assigning container slots at a container terminal according to Embodiment 1 of the present invention;
[0052] Figure 2 This is a template diagram of a vertical-to-shore automated storage yard according to the first embodiment of the present invention;
[0053] Figure 3 The training iteration graph described in Embodiment 1 of the present invention;
[0054] Figure 4 This is a comparison chart of the test results described in Example 1 of the present invention. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] Embodiment 1
[0057] like Figure 1 As shown, a method for allocating container slots at a container terminal comprises the following steps:
[0058] S1: Obtain target ship and container information, and obtain the loading priority of the container according to the target ship and container information.
[0059] The step of obtaining target ship and container information, and obtaining the loading priority of the container according to the target ship and container information includes:
[0060] The larger the loading priority value, the earlier it is loaded. When a container with a smaller loading priority value is stacked on top of a container with a larger loading priority value, it is determined that a container flipping occurs. The calculation formula is:
[0061] p k =d k *10+w k
[0062] Among them, p k ,d k 、w kIn the table, k is a superscript; p is a superscript k represents the loading priority value of the kth container; d k represents the destination port of the kth container. The farther the destination port is, the higher the probability of d k The larger the w k Indicates the weight of the kth container. The larger the weight, the greater the k The bigger.
[0063] In the target container area, a stacking column is allocated for stacking containers belonging to the same ship. The loading priority is calculated based on the container's destination port, weight and other information, which is used to determine the container turning during loading.
[0064] In this embodiment, the container loading operation is considered. According to the general stacking rules, containers with far destination ports are stacked above containers with near destination ports, and containers with large weight are stacked above containers with small weight, and the priority of the destination port is above the weight. Therefore, the container loading priority value is designed considering the distance of the destination port and the weight of the container. The larger the loading priority value, the earlier it is loaded. When a container with a small loading priority value is stacked above a container with a large loading priority value, it is determined that a container overturning occurs.
[0065] S2: Obtain the stacking column information allocated to the target container area, and build a Markov decision model for real-time container slot assignment based on the container loading priority and stacking column information.
[0066] When constructing the Markov decision model for real-time container slot assignment according to the container loading priority and stacking column information, based on the uncertainty of container entry time, one container entry time is taken as one decision period.
[0067] The Markov decision model for real-time container slot assignment based on the container loading priority and stacking column information includes:
[0068] S21: Construct a state space based on the stored information of the container area allocation column and the priority value of the container loading to be decided.
[0069] The state space is:
[0070]
[0071]
[0072] in, In the above formula, 1, 2, and i are all superscripts; K represents the number of containers, which is also the number in the decision period; S k represents the state space at decision period k; Indicates that the allocation column under decision period k has stored information; represents the information of container k; I represents the number of allocated storage columns; It represents the maximum loading priority value among the containers stored in the i-th column at decision period k. If there are no containers stored in this column, it is 0. represents the number of containers stored in the i-th column at decision period k; Determine whether the i-th column can be stored at decision period k, 1 means it can be stored, 0 means it cannot be stored; Determine whether the existence of the i-th column in the heap at decision period k will result in a box flip, 1 means no box flip, 0 means box flip; p k Represents the loading priority value of the kth container.
[0073] This embodiment selects a vertical shore automated yard as a template, with two non-crossable rail-type gantry cranes for operation, such as Figure 2 As shown in the figure. In a single container area, 2 bays are allocated to store the target ship's containers. Each bay has 10 rows, each row can be stacked 6 layers, and a total of 120 container slots. Considering the storage status of each row and the loading priority value of the current container to be stored, the state space is calculated.
[0074] S22: Build the action space based on the allocated stack columns.
[0075] The action space is:
[0076] A={0,1,···,I-1}
[0077] Where A represents the action space and I represents the number of allocated heap columns.
[0078] S23: Design a reward function based on maximizing loading efficiency and yard utilization.
[0079] The reward function is:
[0080]
[0081] in, In the table, 1, 2, and 3 are all superscripts; p k In, k is a superscript; In the table, i is a superscript; r k,i represents the reward value for assigning container k to column i; They represent the stacking reward value, the bay reward value, and the layer reward value respectively. θ, β, and γ are the corresponding weights, θ+β+γ=1; b i represents the bay position to which row i belongs; B represents the total number of bay positions; N represents the number of containers that can be stored in a row; Determine whether the i-th column can be stored at decision period k, 1 means it can be stored, 0 means it cannot be stored; Determine whether the existence of the i-th column in the heap at decision period k will result in a box flip, 1 means no box flip, 0 means box flip; p k represents the loading priority value of the kth container; It represents the maximum loading priority value among the containers stored in the i-th column at decision period k. If there are no containers stored in this column, it is 0. It represents the number of containers stored in the i-th column at decision period k.
[0082] Considering the maximization of loading efficiency, we should try to avoid turning over containers and give priority to stacking containers in bays close to the sea; considering the maximization of yard utilization, we should give priority to filling the columns of stored containers. Therefore, the reward function is designed based on maximizing loading efficiency and yard utilization.
[0083] S3: Use deep reinforcement learning algorithm to train the Markov decision model to obtain the real-time box assignment strategy model.
[0084] The deep reinforcement learning algorithm is Double Dueling Deep Q-Network, abbreviated as D3QN.
[0085] The use of a deep reinforcement learning algorithm to train the Markov decision model to obtain a real-time slot assignment strategy model includes:
[0086] S31: Design an action selection strategy with illegal action shielding capability.
[0087] The action selection strategy is:
[0088]
[0089] in, In the table, i is a superscript; k is the column for selecting storage container k in decision period k; random means random selection; argmax(Q k '(i)) indicates that Q is selected k '(i) corresponds to the maximum value of i k ; δ is a random number, which is random at each decision, δ∈(0,1); ε is the exploration rate, ε∈(0,1); Q k (i) is the Q value output by the neural network of the deep reinforcement learning algorithm D3QN; Q k '(i) is the Q value after illegal action screening; Determine whether the i-th column can be stacked at the decision period k, 1 means it can be stacked, 0 means it cannot be stacked; ε1 is the minimum exploration rate; ε0 is the maximum exploration rate; Δε is the attenuation value of the exploration rate; epi is the current training iteration number; Δepi is the exploration rate attenuation step.
[0090] According to the designed state space and action space, when selecting a column for storage, a container may select a full column. In this case, this action is illegal and is blocked during action selection to prevent the number of containers stored in a column from exceeding the maximum value. At the same time, an action selection strategy is designed in combination with exploration rate decay.
[0091] S32: Initialize model parameters and deep reinforcement learning algorithm parameters.
[0092] Some of the model parameters and algorithm parameters set in this embodiment are shown in Table 1 below.
[0093]
[0094] Table 1 Some model parameters and algorithm parameter settings
[0095] S33: Considering the uncertainty of container entry time, randomly generate container loading priority values for training to obtain a trained container slot real-time assignment strategy model.
[0096] When training the model, the neural network in the D3QN algorithm is used to fit the Q value.
[0097] According to the container loading priority calculation rules described in step S1, the loading priority values of K containers are randomly generated. The order of container entry is randomly arranged in each training. The training is set to 20,000 generations. The training iteration diagram is shown in the figure below: Figure 3 As shown, it converges in about 10,000 generations and completes the training, obtaining a trained D3QN neural network, which is a trained bin real-time assignment strategy model.
[0098] S4: Obtain loading priority and status information of incoming containers.
[0099] S5: Input the loading priority and status information into the real-time slot assignment strategy model to obtain the assigned slot for the incoming container.
[0100] The loading priority and status information are input into the trained D3QN neural network for calculation to obtain the Q value of each column of the container slot. The column with the largest output Q value is selected as the assigned slot for the incoming container, and the incoming containers are stored.
[0101] Steps S4 and S5 are the actual application process. In this embodiment, 500 container entry test cases are randomly set to verify the feasibility of the method, and compared with the maximum value strategy of selecting the column with the current maximum reward value for stacking each time, such as Figure 4 In the figure, RL represents the reinforcement learning algorithm, and MP represents the maximum strategy. It can be seen that the average total reward value of RL is slightly greater than the average total reward value of MP, which to some extent shows the effectiveness of the disclosed method.
[0102] The beneficial effects of this embodiment are as follows: this method designs the loading priority value according to the information such as the destination port and weight of the container, allocates the target storage column in the container area for the containers belonging to the same ship; designs the state space according to the storage situation of the target column and the containers to be stored at the current moment, designs the action space according to the allocated storage column, designs the reward function with the goal of maximizing the loading efficiency and the utilization rate of the yard, takes the entry of a container as a decision moment, randomly generates its loading priority value, and trains it through a deep reinforcement learning algorithm. The model trained by this method solves the real-time problem of container slot assignment, effectively reduces the number of container turnovers during loading, and improves the efficiency of loading operations; and when using this method, containers from different destination ports can be stacked in the same column, which improves the utilization rate of the yard.
[0103] Embodiment 2
[0104] A container slot assignment system for a container terminal, based on the container slot assignment method for a container terminal as described in the first embodiment, comprises:
[0105] A priority acquisition module is used to obtain target ship and container information, and obtain the loading priority of the container according to the target ship and container information;
[0106] A model building module is used to obtain the stacking column information of the target container area allocation, and build a Markov decision model for real-time container slot assignment based on the container loading priority and stacking column information;
[0107] Model training module, used to train the Markov decision model using deep reinforcement learning algorithm to obtain the real-time slot assignment strategy model;
[0108] Information acquisition module, used to obtain the loading priority and status information of incoming containers;
[0109] The slot assignment module is used to input the loading priority and status information into the real-time slot assignment strategy model to obtain the assigned slots for incoming containers.
[0110] Embodiment 3
[0111] A computer program, when executed, implements the steps of the method for assigning container slots at a container terminal as described in the first embodiment.
[0112] Embodiment 4
[0113] A readable storage medium stores a computer program as described in Example 3, and when the computer program is executed, the steps of the method for assigning container slots at a container terminal as described in Example 1 are implemented.
[0114] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for allocating container slots at a container terminal, characterized in that: The following steps are involved: Obtain target ship and container information, and obtain container loading priority based on the target ship and container information; Obtain the stacking column information allocated to the target container area, and build a Markov decision model for real-time container slot assignment based on the container loading priority and stacking column information; Use deep reinforcement learning algorithm to train the Markov decision model and obtain the real-time assignment strategy model of the box; Obtain loading priority and status information of incoming containers; The loading priority and status information are input into the real-time slot assignment strategy model to obtain the assigned slots for incoming containers.
2. The container slot assignment method for a container terminal according to claim 1, characterized in that: The step of obtaining target ship and container information, and obtaining the loading priority of the container according to the target ship and container information includes: The larger the loading priority value, the earlier it is loaded. When a container with a smaller loading priority value is stacked on top of a container with a larger loading priority value, it is determined that a container flipping occurs. The calculation formula is: p k =d k *10+w k Among them, p k d k 、w k In the table, k is a superscript; p is a superscript k represents the loading priority value of the kth container; d k represents the destination port of the kth container. The farther the destination port is, the higher the probability of d k The larger the w k Indicates the weight of the kth container. The larger the weight, the greater the k The bigger.
3. The container slot assignment method for a container terminal according to claim 1, characterized in that: When constructing the Markov decision model for real-time container slot assignment according to the container loading priority and stacking column information, based on the uncertainty of container entry time, one container entry time is taken as one decision period.
4. The container slot assignment method for a container terminal according to claim 3, characterized in that: The Markov decision model for real-time container slot assignment based on the container loading priority and stacking column information includes: The state space is constructed based on the stockpiled information of the container area allocation column and the priority value of the container loading to be decided; Build the action space based on the allocated heap column; The reward function is designed based on maximizing the loading efficiency and yard utilization.
5. The container slot assignment method for a container terminal according to claim 4, characterized in that: The state space is: in, In the above formula, 1, 2, and i are all superscripts; K represents the number of containers, which is also the number in the decision period; S k represents the state space at decision period k; Indicates that the allocation column under decision period k has stored information; represents the information of container k; I represents the number of allocated storage columns; It represents the maximum loading priority value among the containers stored in the i-th column at decision period k. If there are no containers stored in this column, it is 0. represents the number of containers stored in the i-th column at decision period k; Determine whether the i-th column can be stored at decision period k, 1 means it can be stored, 0 means it cannot be stored; Determine whether the existence of the i-th column in the heap at decision period k will result in a box flip, 1 means no box flip, 0 means box flip; p k Represents the loading priority value of the kth container.
6. The method for allocating container slots at a container terminal according to claim 5, characterized in that: The action space is: A={0,1,…,I-1} Where A represents the action space and I represents the number of allocated heap columns.
7. The container slot assignment method for a container terminal according to claim 6, characterized in that: The reward function is: in, In the table, 1, 2, and 3 are all superscripts; p k In, k is a superscript; In the table, i is a superscript; r k,i represents the reward value for assigning container k to column i; They represent the stacking reward value, the bay reward value, and the layer reward value respectively. θ, β, and γ are the corresponding weights, θ+β+γ=1; b i represents the bay position to which row i belongs; B represents the total number of bay positions; N represents the number of containers that can be stored in a row; Determine whether the i-th column can be stored at decision period k, 1 means it can be stored, 0 means it cannot be stored; Determine whether the existence of the i-th column in the heap at decision period k will result in a box flip, 1 means no box flip, 0 means box flip; p k represents the loading priority value of the kth container; It represents the maximum loading priority value among the containers stored in the i-th column at decision period k. If there are no containers stored in this column, it is 0. It represents the number of containers stored in the i-th column at decision period k.
8. The method for allocating container slots at a container terminal according to claim 1, characterized in that: The use of a deep reinforcement learning algorithm to train the Markov decision model to obtain a real-time slot assignment strategy model includes: Design an action selection strategy with illegal action shielding function; Initialize model parameters and deep reinforcement learning algorithm parameters; Considering the uncertainty of container entry time, container loading priority values are randomly generated for training to obtain a trained container slot real-time assignment strategy model.
9. The container slot assignment method for a container terminal according to claim 8, characterized in that: The deep reinforcement learning algorithm is Double Dueling Deep Q-Network.
10. The container slot assignment method of a container terminal according to claim 9, characterized in that: The action selection strategy is: in, In the table, i is a superscript; k is the column for selecting storage container k in decision period k; random means random selection; argmax(Q k ′(i)) represents the choice of Q k i corresponding to the maximum value of ′(i) k ; δ is a random number, which is random at each decision, δ∈(0,1); ε is the exploration rate, ε∈(0,1); Q k (i) is the Q value output by the neural network of the deep reinforcement learning algorithm; Q k ′(i) is the Q value after illegal action screening; Determine whether the i-th column can be stacked at the decision period k, 1 means it can be stacked, 0 means it cannot be stacked; ε1 is the minimum exploration rate; ε0 is the maximum exploration rate; Δε is the attenuation value of the exploration rate; epi is the current training iteration number; Δepi is the exploration rate attenuation step.
11. A container slot assignment system for a container terminal, characterized in that: The method for assigning container slots at a container terminal according to any one of claims 1 to 10 comprises: A priority acquisition module is used to obtain target ship and container information, and obtain the loading priority of the container according to the target ship and container information; A model building module is used to obtain the stacking column information of the target container area allocation, and build a Markov decision model for real-time container slot assignment based on the container loading priority and stacking column information; Model training module, used to train the Markov decision model using deep reinforcement learning algorithm to obtain the real-time slot assignment strategy model; Information acquisition module, used to obtain the loading priority and status information of incoming containers; The slot assignment module is used to input the loading priority and status information into the real-time slot assignment strategy model to obtain the assigned slots for incoming containers.
12. A computer program, characterized in that When the computer program is executed, the steps of the method for assigning container slots at a container terminal according to any one of claims 1 to 10 are implemented.
Citation Information
Cited By
Automatic wharf storage yard container turnover position selection random optimization method
CN119250670A
Container position recommendation method, system and equipment based on reinforcement learning and medium
CN120632606A
Freight container transportation scheduling management system
CN122390604A
