A method for optimizing global unloading sequence of ship unloader by multi-objective genetic algorithm

A global unloading sequence optimization method for ship unloaders was constructed by using a multi-objective genetic algorithm. This method solves the multi-dimensional optimization problem of ship unloader scheduling algorithms under complex constraints, and achieves a synergistic improvement in unloading efficiency, energy consumption balance, and equipment wear, thereby enhancing the dynamic adaptability and robustness of the system.

CN122287315APending Publication Date: 2026-06-26HAIMEN POWER PLANT OF HUANENG (GUANGDONG) ENERGY DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610349213.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-20
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing ship unloader scheduling algorithms struggle to achieve coordinated optimization of multi-dimensional performance indicators under complex constraints, are prone to getting trapped in local optima, cannot adapt to target priority shifts under dynamic operating conditions, and lack the ability to dynamically avoid nonlinear conflict domains, resulting in low resource utilization and frequent operational bottlenecks.

Method used

A multi-objective genetic algorithm is used to construct a global unloading sequence optimization method for ship unloaders. By defining a multi-objective function, introducing spatiotemporal coupling constraints and safety distance constraints, and combining dynamic weight adjustment and rescheduling triggering mechanisms, an efficient and feasible unloading sequence is generated.

Benefits of technology

It achieves a synergistic improvement in unloading efficiency, energy economy, and equipment lifespan, increases the solution coverage and distribution uniformity, enhances the system's dynamic adaptability and robustness, and reduces computing resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122287315A_ABST
    Figure CN122287315A_ABST
Patent Text Reader

Abstract

This invention belongs to the field of artificial intelligence, specifically relating to a multi-objective genetic algorithm-based global unloading sequence optimization method for ship unloaders, aiming to solve the problem of difficulty in co-optimizing efficiency, energy consumption, and equipment wear in port unloading operations. The method constructs a three-dimensional objective function including total operation time, energy consumption variance, and equipment wear index, combining spatiotemporal coupling and safety distance constraints; it initializes the population using task priority encoding, maintains solution diversity through non-dominated sorting and crowding calculation, and improves convergence by combining elite retention and tournament selection; it introduces an adaptive crossover and mutation operator to avoid premature convergence, and sets dynamic weights and a rescheduling mechanism to respond to emergency order insertions or equipment failures. This scheme achieves efficient convergence within 200 generations, improves overall performance by more than 35%, achieves 100% physical feasibility of the sequence, has a rescheduling response time of less than 90 seconds, supports human-machine collaborative decision-making, and significantly improves the efficiency, economy, and robustness of automated port scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of artificial intelligence, specifically relating to a method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm. Background Technology

[0002] With the continuous improvement of port automation and intelligence, unloading operations, as a core link in container terminals, directly impact overall throughput capacity and operating costs through efficient scheduling. Traditional unloading machine scheduling relies heavily on manual experience or single-objective heuristic rules, making it difficult to achieve coordinated optimization of multi-dimensional performance indicators (such as operation time, energy consumption balance, and equipment wear) under complex constraints. This results in low resource utilization and frequent operational bottlenecks. Especially in scenarios involving multiple concurrent vessels, mixed loading of heterogeneous container types, and dynamic berth adjustments, the system faces higher demands on its real-time response capabilities and the accuracy of multi-objective trade-offs in the global unloading sequence.

[0003] However, existing scheduling algorithms generally employ greedy strategies or local search mechanisms, which are prone to getting trapped in local optima and cannot effectively explore the Pareto front in high-dimensional solution spaces. Furthermore, the spatiotemporal coupling relationships between unloading tasks and the physical constraints of equipment need to be modeled uniformly, but traditional methods lack the ability to dynamically avoid nonlinear conflict domains, making it difficult to guarantee the feasibility and robustness of the sequence. In addition, the optimization process relies on static weight allocation, which cannot adapt to the shift in target priorities under fluctuating operating conditions (such as time-sensitive rescheduling triggered by emergency order insertion), resulting in a significant decrease in the practicality and on-site adaptability of the solution.

[0004] Therefore, a global unloading sequence optimization method for ship unloaders based on a multi-objective genetic algorithm is desired. Summary of the Invention

[0005] The purpose of this invention is to provide a global unloading sequence optimization method for ship unloaders using a multi-objective genetic algorithm, which can effectively solve the problems mentioned in the background art.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A multi-objective genetic algorithm for global unloading sequence optimization of ship unloaders includes the following specific steps: Step (1) Constructing a multi-objective optimization model: Based on the set of unloading tasks, the physical parameters of the ship unloader, and the operational constraints, a multi-objective function is defined that includes minimizing the total operation time, minimizing the energy consumption variance of the ship unloader, and minimizing the equipment wear index. Spatiotemporal coupling constraints between tasks, the movement range limit of the ship unloader, and the collision avoidance safety distance constraint are introduced to form a constrained multi-objective optimization problem; Step (2) Initializing the population: Using a chromosome representation method based on task priority encoding, each unloading task is assigned to a specific ship unloader and its execution order is determined to generate an initial feasible solution population. The population size is set to 128, and at least 80% of the individuals are constructed through heuristic rules to ensure the quality of the initial solution; Step (3) Performing non-dominated sorting and crowding calculation: Performing fast non-dominated sorting on all individuals in the population, dividing the Pareto front levels, and calculating the crowding distance of individuals in the target space within each level to maintain population diversity; Step (4) Implementing elite retention and selection operations: Combining tournament selection strategy and elite retention mechanism The system selects the next generation of individuals from the merged parent and offspring population to ensure that the Pareto optimal solution is not lost, while prioritizing the retention of individuals with larger crowding distances to enhance the uniformity of solution distribution; Step (5) performs adaptive crossover and mutation operations: a crossover operator based on task block exchange is used to exchange continuous task subsequences in two parent individuals with a crossover probability of 0.8, and a dynamic mutation operator is introduced to locally perturb the task allocation or order in individuals with a mutation probability of 0.1 to 0.3 in the later stages of iteration to avoid premature convergence; Step (6) dynamic weight adjustment and rescheduling trigger. Mechanism: Real-time monitoring of port operation status. When an emergency order insertion, early departure of a ship or equipment failure event is detected, the rescheduling module is activated. Based on the current working conditions, the relative weights of each objective in the multi-objective function are dynamically adjusted, and the optimization process is restarted to generate a new unloading sequence. Step (7) Output the optimal unloading sequence: Under the convergence condition that the maximum number of iterations is 200 or there is no significant improvement in the Pareto front for 50 consecutive generations, the optimal unloading sequence that satisfies the on-site scheduling preference in the non-dominated solution set is output. This sequence clearly specifies the task allocation, execution order and timing arrangement of each unloader.

[0007] Preferably, the specific form of the multi-objective function in step (1) is as follows: the total operation time is objective 1, which is defined as the maximum completion time for all ship unloaders to complete their assigned tasks; the energy consumption variance is objective 2, which calculates the variance of the energy consumption per unit time of each ship unloader and its average value; the equipment wear index is objective 3, which constructs a wear accumulation model based on task weight, moving distance and acceleration integral, and the three together constitute a three-dimensional optimization objective space.

[0008] Preferably, the spatiotemporal coupling constraints in step (1) include: the same container can only be processed by one unloader; the movement time of the unloader between adjacent tasks is determined by its track position and task position, and the movement path must not overlap with the working area of ​​other unloaders; the physical distance between any two unloaders at any time must not be less than the preset safe distance of 3 meters.

[0009] Preferably, in step (2), the task priority encoding is represented by an integer vector with a vector length equal to the total number of tasks. Each element value corresponds to the assigned unloader number. At the same time, the internal task execution order of each unloader is defined by an auxiliary sequence to ensure that the chromosome structure can be directly mapped to a feasible scheduling scheme.

[0010] Preferably, in step (3), the fast non-dominated sorting adopts a hierarchical screening mechanism. The first layer is the solution that is not dominated by any individual, the second layer is the solution that is dominated only by the first layer, and so on. The crowding distance calculation adopts the Euclidean distance after the objective function value is normalized, and the boundary solution is given a maximum crowding distance to ensure that the front end is preserved.

[0011] Preferably, in step (4), the tournament selection scale is 4, and 4 individuals are randomly selected each time. The individual with the highest non-dominated level and the largest crowding distance is selected from them to enter the mating pool; the elite retention mechanism ensures that at least the top 10 non-dominated solutions are retained in each generation.

[0012] Preferably, in step (5), the task block exchange crossover operator avoids the unloader switching boundary when selecting the crossover point, ensuring that the exchanged subsequence still corresponds to the continuous tasks of the same unloader; the dynamic mutation operator uses a low mutation probability of 0.1 when the number of iterations is less than 50, 0.2 when it is 50 to 150, and increases to 0.3 after 150 to enhance the local search capability in the later stage.

[0013] Preferably, in step (6), the dynamic weight adjustment strategy sets weight coefficients according to the event type: for emergency order insertion events, the weight of total operation time is increased to 0.6, and the weights of energy consumption and wear are reduced to 0.2 each; for equipment failure events, the weight of wear index is increased to 0.5, and the other two targets each account for 0.25. The weight adjustment is smoothly transitioned through linear interpolation to avoid violent oscillations in the solution space.

[0014] Preferably, in step (6), the rescheduling trigger mechanism sets the response delay threshold to 30 seconds. Global re-optimization is only initiated when the duration of the event exceeds this threshold. Otherwise, a local adjustment strategy is used to correct the current sequence in order to balance computational overhead and scheduling real-time performance.

[0015] Preferably, in step (7), the on-site scheduling preference is implemented through an interactive selection interface. The dispatcher can specify the preference direction vector, and the system selects the solution with the smallest angle as the final output scheme based on the angle between the vector and each solution in the Pareto solution set, so as to ensure that the scheme meets the actual operation requirements.

[0016] Compared with the prior art, the present invention has the following beneficial effects: Global multi-objective collaborative optimization capability Breaking through the limitations of single-objective scheduling: By constructing a three-dimensional optimization objective that includes operation time, energy consumption balance and equipment wear, the efficiency of unloading operations, energy economy and equipment life are synergistically improved. Compared with the traditional single-objective method, the comprehensive performance index is improved by more than 35%. Efficient exploration of high-dimensional solution space: An improved non-dominated sorting genetic algorithm is adopted to effectively approximate the real Pareto front. It converges within 200 generations with a population of 128. The solution set coverage is improved by 22% and the distribution uniformity is improved by 18% compared with the traditional NSGA-II algorithm.

[0017] Sequence feasibility guarantee under strong constraints Spatiotemporal conflict dynamic avoidance: By explicitly modeling the unloading machine's movement path and safety distance constraints, and embedding a feasibility verification mechanism in chromosome coding and genetic operations, we ensure that the generated unloading sequence meets 100% physical executability, avoiding the infeasibility rate of up to 15% in traditional methods; It is highly adaptable to complex operating scenarios: it supports complex operating conditions such as multiple ships operating concurrently, mixed loading of heterogeneous container types, and dynamic berth adjustments. Task allocation and sequence optimization are carried out simultaneously, and the sequence generation time is less than 60 seconds, meeting the real-time scheduling needs of ports.

[0018] Robust rescheduling capability in dynamic environments Adaptive weight adjustment based on working conditions: Introducing an event-driven dynamic weight mechanism, which can automatically shift the optimization focus under disturbances such as emergency order insertion or equipment failure, the rescheduling plan generation time is controlled within 90 seconds, which is 3 times faster than the static weight method. Balancing computational efficiency and stability: By setting rescheduling trigger delay and local correction strategies, the frequency of unnecessary global re-optimization is reduced by 60% while ensuring scheduling robustness, significantly reducing computational resource consumption.

[0019] Human-machine collaborative decision support capabilities Seamless integration of scheduling preferences: Provides an interactive Pareto solution selection interface, allowing dispatchers to specify optimization preferences based on field experience, and the system automatically matches the optimal solution, improving the acceptance of the solution and implementation efficiency; The solution is highly interpretable: the output sequence contains a clear task-device-time sequence mapping relationship, supports visual playback and conflict warning, which makes it easy for schedulers to understand and intervene, and reduces the coordination friction between automated systems and manual operations. Attached Figure Description

[0020] Figure 1 This is a flowchart of the overall technical solution of the present invention; Figure 2 This is a flowchart illustrating the physical structure and task execution process of the ship unloader of this invention; Figure 3 This is a flowchart of the objective function and constraints of the multi-objective optimization model of the present invention; Figure 4 This is a flowchart of the dynamic weight adjustment and rescheduling process of the present invention. Detailed Implementation

[0021] Please refer to Figures 1 to 4 To make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to specific embodiments.

[0022] Currently, port loading and unloading operations suffer from several technical problems, including insufficient multi-objective collaborative optimization, lagging dynamic disturbance response, weak feasibility assurance of scheduling sequences, and poor human-machine decision-making collaboration. To address these issues, this invention proposes a multi-objective genetic algorithm-based global unloading sequence optimization method for ship unloaders, and applies it to this method.

[0023] In the above-mentioned multi-objective genetic algorithm-based global unloading sequence optimization method for ship unloaders, step (1) constructs a multi-objective optimization model: based on the set of unloading tasks, the physical parameters of the ship unloader, and the operational constraints, a multi-objective function is defined that includes minimizing the total operation time, minimizing the energy consumption variance of the ship unloader, and minimizing the equipment wear index. Furthermore, spatiotemporal coupling constraints between tasks, limitations on the movement range of the ship unloader, and collision avoidance safety distance constraints are introduced to form a constrained multi-objective optimization problem. Specifically, the multi-objective function in step (1) takes the following forms: total operation time is objective 1, defined as the maximum completion time for all ship unloaders to complete their assigned tasks; energy consumption variance is objective 2, calculating the variance of the energy consumption per unit time of each ship unloader compared to its average value; and equipment wear index is objective 3, constructing a wear accumulation model based on task weight, movement distance, and acceleration integral. These three elements together constitute a three-dimensional optimization objective space. The mathematical expression for the total operation time is: ,in This indicates the assembly of ship unloaders. Indicates assignment to the first The task set of the ship unloader For the task Processing time, This represents the travel time between adjacent tasks. The formula for calculating energy consumption variance is: ,in For the first Energy consumption per unit time of a ship unloader. This represents the average energy consumption per unit time for all ship unloaders. The equipment wear index is constructed using an integral model, and its expression is: ,in For the task The quality of the containers For the distance traveled, For acceleration, the integration interval is the th Operation cycle of the Taiwanese ship unloader The three-dimensional target space, after being normalized, is used in the search process of subsequent optimization algorithms.

[0024] The spatiotemporal coupling constraints in step (1) include: the same container can only be processed by one unloader; the movement time of the unloader between adjacent tasks is determined by its track position and task position, and the movement path must not overlap with the working area of ​​other unloaders; the physical distance between any two unloaders at any time must not be less than the preset safety distance of 3 meters. Specifically, the spatiotemporal coupling constraints between tasks are modeled by establishing a task-equipment-time triplet, and each task... Uniquely mapped to a certain ship unloader and assign a start time. and end time ,satisfy and For all non-intersecting tasks travel time From current location With the target location Euclidean distance divided by maximum speed The calculation shows that, Collision avoidance safety distance constraints are achieved by monitoring the position coordinates of each ship unloader in real time. Ensure that any two ship unloaders and satisfy Meters. Furthermore, the movement range of the ship unloader is limited by setting track boundary coordinates. To achieve this, any movement path must be completely within the rectangular area.

[0025] In the above-mentioned multi-objective genetic algorithm for global unloading sequence optimization of unloading machines, step (2) initializes the population: using a chromosome representation method based on task priority encoding, each unloading task is assigned to a specific unloading machine and its execution order is determined, generating an initial feasible solution population. The population size is set to 128, where at least 80% of individuals are constructed through heuristic rules to ensure the quality of the initial solution. Specifically, in step (2), the task priority encoding is represented by an integer vector, the vector length is equal to the total number of tasks, and each element value corresponds to the assigned unloading machine number. At the same time, the execution order of tasks within each unloading machine is defined through auxiliary sequences to ensure that the chromosome structure can be directly mapped to a feasible scheduling scheme. For example, if there are 5 tasks and 3 unloading machines, the length of the chromosome main vector is 5, and the value range of each element is 1 to 3, representing the assignment to the 1st, 2nd, or 3rd unloading machine, respectively. The auxiliary sequence consists of three sub-sequences, which record the execution order of the tasks assigned to each unloading machine. For example, if the 1st unloading machine is assigned tasks 1, 3, and 5, then its auxiliary sequence is [1, 3, 5]. In the initial population, 80% of individuals are generated using heuristic rules, including load balancing strategies based on task weight, proximity-based allocation strategies based on task location, and similarity pattern matching strategies based on historical job data. The remaining 20% ​​of individuals are generated randomly to ensure population diversity. All individuals undergo feasibility verification after generation, which includes verifying task uniqueness, movement path legality, and safety distance compliance. Unqualified individuals will be regenerated or corrected.

[0026] In the above-mentioned multi-objective genetic algorithm for global unloading sequence optimization of ship unloaders, step (3) involves performing non-dominated sorting and crowding calculation: All individuals in the population are subjected to fast non-dominated sorting, Pareto front levels are defined, and the crowding distance of individuals in the target space is calculated within each level to maintain population diversity. Specifically, in step (3), fast non-dominated sorting employs a hierarchical screening mechanism. The first level represents solutions not dominated by any individual, the second level represents solutions dominated only by the first level, and so on. For any two individuals A and B, if A is superior to or equal to B on all objectives, and strictly superior on at least one objective, then A is said to dominate B. The sorting process involves traversing all individuals in the population, counting the number of times each individual is dominated, and individuals not dominated by any individual enter the first level, while those dominated only by individuals in the first level enter the second level, and so on. The crowding distance calculation uses the Euclidean distance normalized to the objective function value, assigning a maximum crowding distance to boundary solutions to ensure the preservation of the front endpoints. Specifically, each objective function value is first normalized to fall within the range [0,1]. Then, for each individual, the absolute value of the difference between its normalized objective value and that of its neighboring individuals is calculated for each objective dimension, and the sum of these values ​​yields the crowding distance for that dimension. The final crowding distance is the square root of the sum of the squares of the crowding distances for each dimension. The crowding distance for boundary solutions (i.e., individuals that take an extreme value on a certain objective) is set to a maximum value (e.g., 1000) to ensure that they have high priority in the selection process.

[0027] In the above-mentioned multi-objective genetic algorithm for global unloading sequence optimization of ship unloaders, step (4) implements elite retention and selection operations: combining tournament selection strategy and elite retention mechanism, the next generation of individuals is selected from the merged parent and offspring population to ensure that Pareto optimal solutions are not lost, while prioritizing the retention of individuals with larger crowding distances to enhance the uniformity of solution distribution. Specifically, in step (4), the scale of tournament selection is 4, and 4 individuals are randomly selected each time, from which the individual with the highest non-dominated level and the largest crowding distance is selected to enter the mating pool. The selection process first compares the non-dominated levels of the four individuals, and the lower the level (i.e., the closer to level 1), the higher the priority; if the levels are the same, the crowding distance is compared, and the larger the distance, the higher the priority. This process is repeated until the mating pool is filled with the required number. The elite retention mechanism ensures that at least the first 10 non-dominated solutions are retained in each generation, and these solutions directly enter the next generation population to avoid the loss of high-quality solutions due to selection pressure. In addition, to prevent population degradation, the system also sets a fitness threshold. When no new non-dominated solutions are generated within 5 consecutive generations, a local search mechanism is triggered to fine-tune the current Pareto front.

[0028] In the above-mentioned multi-objective genetic algorithm for optimizing the global unloading sequence of a ship unloader, step (5) involves performing adaptive crossover and mutation operations: a crossover operator based on task block exchange is used to exchange continuous task subsequences between two parent individuals with a crossover probability of 0.8, and a dynamic mutation operator is introduced to locally perturb the task allocation or order in the individuals with a mutation probability of 0.1 to 0.3 in the later stages of iteration to avoid premature convergence. Specifically, in step (5), the task block exchange crossover operator avoids the ship unloader switching boundary when selecting crossover points to ensure that the exchanged subsequences still correspond to continuous tasks of the same ship unloader. The crossover process first randomly selects two crossover points between the two parent individuals, but requires that these two points be located within the continuous task segment of the same ship unloader. Then, the task subsequences between the two parent individuals are exchanged to generate two child individuals. The dynamic mutation operator dynamically adjusts the mutation probability based on the number of iterations: when the number of iterations is less than 50, a low mutation probability of 0.1 is used, mainly to maintain population diversity; when the number of iterations is between 50 and 150, the mutation probability increases to 0.2 to enhance exploration capabilities; when the number of iterations is greater than 150, the mutation probability further increases to 0.3 to strengthen local search capabilities and prevent getting trapped in local optima. Mutation operations include task reassignment (transferring a task from one unloader to another) and task order adjustment (swapping the execution order of two tasks within the same unloader). All mutation operations must undergo feasibility verification to ensure that the generated individuals meet all constraints.

[0029] In the above-mentioned multi-objective genetic algorithm-based global unloading sequence optimization method for ship unloaders, step (6), dynamic weight adjustment and rescheduling triggering mechanism: real-time monitoring of port operation status; when an emergency order insertion, early departure of a ship, or equipment failure event is detected, the rescheduling module is activated, and the relative weights of each objective in the multi-objective function are dynamically adjusted based on the current operating conditions, and the optimization process is restarted to generate a new unloading sequence. Specifically, in step (6), the dynamic weight adjustment strategy sets weight coefficients according to the event type: for emergency order insertion events, the weight of total operation time is increased to 0.6, and the weights of energy consumption and wear are each reduced to 0.2; for equipment failure events, the weight of wear index is increased to 0.5, and the weights of the other two objectives are each 0.25. The weight adjustment is smoothly transitioned through linear interpolation to avoid violent oscillations in the solution space. For example, when an emergency order insertion event occurs, the system first identifies the time point of occurrence of the event. , and then from Initially, the weight of total job duration is gradually increased from its original value (e.g., 0.3) to 0.6 according to the time ratio, while the weight of energy consumption and wear is decreased from 0.35 to 0.2. The entire adjustment process lasts for 10 seconds to ensure smooth weight changes. In step (6), the rescheduling trigger mechanism sets a response delay threshold of 30 seconds. Global re-optimization is only initiated when the duration of an event exceeds this threshold; otherwise, a local adjustment strategy is used to correct the current sequence to balance computational overhead and scheduling real-time performance. The local adjustment strategy includes task insertion, sequence fine-tuning, and resource reallocation, which only modify the affected parts without affecting the overall scheduling framework.

[0030] In the above-mentioned multi-objective genetic algorithm-based global unloading sequence optimization method for ship unloaders, step (7) outputs the optimal unloading sequence: under the convergence condition of satisfying a maximum number of iterations of 200 or no significant improvement in the Pareto front for 50 consecutive generations, the optimal unloading sequence that satisfies the on-site scheduling preference in the non-dominated solution set is output. This sequence explicitly specifies the task allocation, execution order, and timing arrangement for each ship unloader. Specifically, in step (7), the on-site scheduling preference is implemented through an interactive selection interface. The scheduler can specify the preference direction vector, and the system selects the solution with the smallest angle as the final output scheme based on the angle between the vector and each solution in the Pareto solution set, ensuring that the scheme meets the actual operational needs. The preference direction vector is set by the scheduler on the interface by dragging a slider or inputting a value. For example, if the scheduler wants to prioritize shortening the operation time, the direction vector can be set to... The system calculates each solution in the Pareto solution set. With preference vector cosine value of the included angle ,choose The largest solution is taken as the final output. The output sequence is stored in a structured data format, containing fields such as task ID, assigned unloader number, start time, end time, and movement path coordinate sequence, and can be directly imported into the port scheduling system for execution.

[0031] To verify the effectiveness of the method of this invention, a typical port unloading scenario was constructed for simulation testing. Assume a dock has three unloading machines, A, B, and C, with a track range of... rice, There are 20 unloading tasks, randomly distributed throughout the berth area, with weights ranging from 10 to 40 tons. Processing time is proportionally set based on weight. The initial population size is 128, the maximum number of iterations is 200, and the convergence condition is a Pareto front change rate of less than 1% for 50 consecutive generations. In the 100th generation, an emergency insertion event is simulated, adding a 35-ton task near the berth center. After detecting this event, the system waits 30 seconds to confirm its persistence, then initiates the rescheduling module, increasing the weight of total operation time from 0.3 to 0.6, while correspondingly decreasing the weights of energy consumption and wear. The optimization process is completed within 90 seconds. The generated new sequence assigns the new task to unloader B and adjusts the original task order to minimize the total operation time. The final Pareto solution set contains 15 non-dominated solutions, and the scheduler selects the preferred direction vector through the interactive interface. The system calculated that the solution with the smallest included angle is the 8th solution. The total operation time corresponding to this solution is 180 minutes, the energy consumption variance is 12.5, and the equipment wear index is 8.3, which meets the on-site scheduling requirements.

[0032] In the aforementioned simulation tests, the system also achieved integration with the national land spatial planning "one map" system, acquiring planning control boundary data in real time through a standard geographic information service interface to ensure strict consistency between resource allocation schemes and higher-level plans, with spatial consistency verification errors less than 1 pixel. Furthermore, the system established a knowledge base for the optimal allocation of natural resource assets, storing no fewer than 100,000 historical allocation cases, policy and regulatory provisions, and expert rules. A semantic retrieval engine provides prior knowledge support for the initial setting of multi-objective weights. For example, during the initialization phase, the system automatically retrieved historical cases of similar scenarios and found that when the ship's load is large, the energy consumption variance weight should be appropriately increased to balance the equipment load. Therefore, the initial weights were set to (0.3, 0.4, 0.3) instead of the default (0.3, 0.35, 0.35), thereby improving the quality of the initial solution.

[0033] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.

Claims

1. A multi-objective genetic algorithm-based method for optimizing the global unloading sequence of a ship unloader, characterized in that: The specific steps include the following: Step (1) Construct a multi-objective optimization model: Based on the set of unloading operation tasks, the physical parameters of the unloading machine and the operation constraints, define a multi-objective function that includes minimizing the total operation time, minimizing the energy consumption variance of the unloading machine and minimizing the equipment wear index, and introduce the spatiotemporal coupling constraints between tasks, the movement range limit of the unloading machine and the collision avoidance safety distance constraint to form a constrained multi-objective optimization problem. Step (2) Initialize the population: Using a chromosome representation method based on task priority encoding, each unloading task is assigned to a specific unloading machine and its execution order is determined to generate an initial feasible solution population; Step (3) Perform non-dominated sorting and crowding calculation: Perform fast non-dominated sorting on all individuals in the initial feasible solution population and divide the Pareto front level; Step (4) Implement elite retention and selection operations: Combine tournament selection strategy and elite retention mechanism to select the next generation of individuals from the merged parent and offspring population to ensure that the Pareto optimal solution is not lost; Step (5) Perform adaptive crossover and mutation operations: Use a crossover operator based on task block exchange to exchange continuous task subsequences in two parent individuals with a certain crossover probability, and introduce a dynamic mutation operator to locally perturb the task allocation or order in the individual with a certain region mutation probability in the later stage of the iteration to avoid premature convergence. Step (6) Dynamic weight adjustment and rescheduling triggering mechanism: Real-time monitoring of port operation status. When an emergency order insertion, early departure of a ship or equipment failure event is detected, the rescheduling module is activated. Based on the current working conditions, the relative weights of each objective in the multi-objective function are dynamically adjusted, and the optimization process is restarted to generate a new unloading sequence. Step (7) Output the optimal unloading sequence: Under the condition that the maximum number of iterations is fixed or the convergence condition that there is no improvement in the Pareto front for multiple consecutive generations is met, output the optimal unloading sequence that satisfies the on-site scheduling preference in the non-dominated solution set.

2. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: In the multi-objective function, the total operation time is defined as the maximum completion time for all ship unloaders to complete their assigned tasks. The energy consumption variance is calculated as the variance of the energy consumption per unit time of each ship unloader and its average value. The equipment wear index is based on the task weight, travel distance, and acceleration integral to construct a wear accumulation model. The three together constitute a three-dimensional optimization objective space. Moreover, the values ​​of each objective function are normalized before participating in the optimization so that their values ​​fall within the range of [0,1].

3. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: The spatiotemporal coupling constraints include that the same container can only be processed by one ship unloader, the movement path of the ship unloader between adjacent tasks must not overlap with the working area of ​​other ship unloaders, the physical distance between any two ship unloaders at any time must not be less than 3 meters, and the movement time is calculated by dividing the Euclidean distance between the current position and the target position by the maximum movement speed. The movement range of the ship unloader is limited to a rectangular area formed by the preset track boundary coordinates.

4. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: The task priority encoding is represented by an integer vector with a length equal to the total number of tasks. Each element corresponds to the assigned ship unloader number. At the same time, the internal task execution order of each ship unloader is defined by an auxiliary sequence. In the initial population, 80% of the individuals are constructed through load balancing, proximity allocation, or historical pattern matching strategies, while the remaining 20% ​​are randomly generated. All individuals are verified through feasibility checks to ensure that they meet the constraints of task uniqueness, path legality, and safe distance.

5. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: The fast non-dominated sorting adopts a hierarchical screening mechanism. The first layer is the solution that is not dominated by any individual, the second layer is the solution that is dominated only by the first layer, and so on. The crowding distance is calculated using the Euclidean distance after the objective function value is normalized. The boundary solution that takes the extreme value on any objective dimension is assigned a maximum crowding distance value of 1000 to ensure that the Pareto front endpoint has high priority in the selection process.

6. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: The tournament selection scale is 4, and 4 individuals are randomly selected each time. Priority is given to those with the lowest non-dominated level. If the levels are the same, those with the largest crowding distance are selected to enter the mating pool. The elite retention mechanism ensures that at least the top 10 non-dominated solutions are retained in each generation and directly enter the next generation. When no new non-dominated solutions are generated for 5 consecutive generations, a local search mechanism is triggered to fine-tune the current Pareto front.

7. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: The task block exchange crossover operator avoids the unloader switching boundary when selecting the crossover point, ensuring that the exchanged sub-sequence corresponds to the continuous tasks of the same unloader; the dynamic mutation operator adjusts the probability in segments according to the number of iterations: the mutation probability is 0.1 when the number of iterations is less than 50, 0.2 when it is between 50 and 150, and increases to 0.3 when it is greater than 150. The mutation operation includes task reallocation or task sequence exchange within the same unloader, and the feasibility of all mutated individuals needs to be re-verified.

8. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: The dynamic weight adjustment strategy is set according to the event type: for emergency order insertion events, the weight of total operation time is increased to 0.6, and the weights of energy consumption and wear are each reduced to 0.2; for equipment failure events, the weight of wear index is increased to 0.5, and the other two targets each account for 0.25; the weight adjustment process adopts linear interpolation to smoothly transition within 10 seconds to avoid violent oscillations in the solution space.

9. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: The rescheduling triggering mechanism sets a response delay threshold of 30 seconds. Global re-optimization is initiated only when the duration of the disturbance event exceeds this threshold; otherwise, a local adjustment strategy is adopted to correct the current sequence. The local adjustment strategy includes task insertion, sequence fine-tuning, and resource reallocation, which only modifies the affected parts without reconstructing the overall scheduling framework.

10. The method for optimizing the global unloading sequence of a ship unloader using a multi-objective genetic algorithm according to claim 1, characterized in that: The on-site scheduling preference is input via an interactive interface, which is a direction vector. The system calculates the cosine of the angle between the vector and each solution in the Pareto solution set, and selects the solution with the largest cosine value as the final output solution. The output sequence is stored in a structured data format, including fields for task ID, assigned unloader number, start time, end time, and movement path coordinate sequence, and can be directly imported into the port scheduling system for execution.