A multi-harvester emergency scheduling method based on meteorological disaster conditions

By constructing a mathematical model and optimizing agricultural machinery paths through variable neighborhood search, the problems of task selection and multi-machine allocation in agricultural machinery scheduling under extreme weather conditions were solved. This enabled efficient agricultural machinery scheduling under extreme weather conditions, improved harvested area and time utilization, and ensured the feasibility and solution efficiency of the scheduling scheme.

CN123180621APending Publication Date: 2026-11-27BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611409480.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-11
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing agricultural machinery scheduling methods cannot effectively handle scenarios where there is insufficient time to harvest some plots before extreme weather arrives. They fail to uniformly consider the importance, area, travel time, and harvest time of plots, and their search efficiency is insufficient under large-scale plot conditions, making it difficult to achieve task selection, multi-machine allocation, and open path optimization within a limited time.

Method used

An emergency scheduling method for multiple harvesters based on meteorological disaster conditions is adopted. By constructing a mathematical model that maximizes the total weighted actual harvested area before the deadline, and combining a randomized greedy algorithm and a variable neighborhood search, the agricultural machinery path and allocation are optimized. A reduction technique is used to screen candidate operations, reduce invalid calculations, and improve the solution speed and stability.

Benefits of technology

Before extreme weather arrives, it improves the time utilization rate and harvested area of ​​agricultural machinery operations, ensures the feasibility of scheduling plans and benefit assessment, improves the efficiency of solving large-scale problems, and outputs a task list that can be directly used for agricultural production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180621A_ABST
    Figure CN123180621A_ABST
Patent Text Reader

Abstract

The application discloses a kind of multi-harvester emergency scheduling methods based on meteorological disaster conditions, specifically: first, initialization harvesting operation scene data is pretreated;Then, with the maximum total weighted actual harvesting area before deadline as objective function, path and distribution constraint are established;Using randomized greedy algorithm to construct initial scheduling solution and for each path, respectively, execute based on reduced variable neighborhood search, obtain the local optimal solution of all vehicles obtained by this round of search;Further, the local optimal solution is cyclically used random removal and reinsertion, route tail removal and reinsertion, route exchange three kinds of disturbance;After disturbance, the local optimal solution is re-executed next round of reduced variable neighborhood search, and the current solution and global optimal solution S* are continuously updated, until the given time upper limit is reached, and finally the emergency scheduling scheme is output.The application improves the utilization rate of effective operation time of agricultural machinery before the deadline through the end part harvesting mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of intelligent scheduling, operations research and intelligent decision-making of agricultural machinery, specifically a method for emergency scheduling of multiple harvesters under meteorological disaster conditions. Background Technology

[0002] During the crop harvest season, before extreme weather events such as torrential rain, typhoons, or hail arrive, emergency commanders need to allocate a limited number of harvesters among several spatially dispersed farmlands and minimize unharvested losses as much as possible before the deadline for the extreme weather.

[0003] For emergency harvesting decisions, the existing typical workflow usually involves: collecting information on farmland location, area, or task requirements, as well as the location and efficiency of agricultural machinery; assigning tasks based on distance, time window, operating cost, or task priority; and further using genetic algorithms, ant colony algorithms, mixed integer programming, or other heuristic algorithms to generate scheduling schemes. However, existing technologies have the following gaps:

[0004] First, many agricultural machinery scheduling methods are designed to complete all orders and reduce routes or costs, and cannot directly handle the scenario where there is insufficient time and some plots of land must be abandoned for harvesting.

[0005] Second, existing literature on emergency response to severe weather usually focuses on finding the nearest agricultural machinery or rapid re-dispatch, without taking into account the importance of each plot, plot size, travel time and harvest time to maximize actual benefits.

[0006] Third, common route models require vehicles to return to the depot or to a preset destination, but returning to the depot is unnecessary when a disaster is imminent;

[0007] Fourth, existing models rarely allow only the land parcels at the end of the route to be partially harvested at the deadline and receive proportional revenue based on the actual harvested area;

[0008] Fifth, the complete neighborhood, including insertion, node migration, and swapping, expands rapidly with the size of the plot. A large number of candidate moves require repeated route evaluations with cutoffs, making it difficult to balance search depth and solution quality within the limited emergency computing time of hundreds to thousands of plots. Summary of the Invention

[0009] To address the limitations of existing agricultural machinery scheduling methods in simultaneously optimizing task selection, multi-machine allocation, open paths, and end-harvest harvesting within the limited operating time before extreme weather, and the insufficient search efficiency under large-scale plot conditions, this invention proposes an emergency scheduling method for multiple harvesters under meteorological disaster conditions. This method reduces the proportion of invalid route evaluations, increases the weighted actual harvested area within a unified meteorological deadline, and balances solution speed, stability, and large-scale applicability.

[0010] The specific steps of the emergency dispatching method for multiple harvesters based on meteorological disaster conditions are as follows:

[0011] Step 1: Initialize the harvesting operation scenario data by using the actual geographical coordinates of several farmlands as nodes, and perform preprocessing.

[0012] Construct a set of land parcel nodes Where 0 represents the shared departure warehouse. A virtual endpoint that only serves as the route termination point; This represents the total number of farmland plots.

[0013] The work scenario data includes:

[0014] 1) No. The plot of land and the first Distance between nodes of each plot ;

[0015] 2) The land parcel record must include at least a collection of farmland. The identification, spatial location, area to be harvested, and importance weight of each plot; among them, the first The unharvested area of ​​each plot is And importance weights are ;

[0016] 3) Agricultural machinery records should include at least a collection of homogeneous harvesters. The identification of each harvester and the uniform driving speed in similar scenarios. and the rate of completion per unit time ;

[0017] 4) Environmental records should include at least the current time when operations can begin and the estimated arrival time of the weather event, with the difference being the uniform cutoff time given by the weather warning. .

[0018] Pre-treatment includes filtering plots with non-positive areas or missing locations, and confirming... >0. Confirm >0 and >0. Inspection >0, and set unreachable connections in the distance matrix to unavailable arcs or sufficiently large travel times.

[0019] Step 2: Based on the preprocessed data, with the objective function of maximizing the total weighted actual harvested area before the deadline, establish path and allocation constraints, and construct a mathematical model of the current operational scenario.

[0020] The objective function of the mathematical model of the problem is: ;

[0021] ≥0 indicates the first The harvester was in the first The actual working time for each plot of land;

[0022] Path and allocation constraints include:

[0023] 1) Plot Access Constraints: If a harvester serves a plot, it must enter and leave the plot at least once. , ,satisfy: ;

[0024] ∈{0,1} represents the first... Did the harvester come from the first...? Drive directly to the first plot node. Arc variables of each plot node; ∈{0,1} represents the first... Does the harvester serve the first...? Service variables for each plot of land;

[0025] 2) Harvester start and end constraints: Each harvester needs to return to the starting point after starting, that is, for any... ,satisfy: ;

[0026] Indicates the first Did the harvester travel directly from the departure warehouse to the first...? Arc variables of each plot node;

[0027] 3) Unique service constraint for each plot: Each plot node has only one harvester service, meaning that for any plot node... ,satisfy: It can also be constrained that a single harvester can access the same plot of land at most once.

[0028] 4) Operation time and end-of-pipe harvest constraints: These include operation and end-of-pipe harvest constraints. as well as .

[0029] The maximum full operation time that can cover a single plot of land;

[0030] If the first The plot of land is not the first The last service plot of each harvester, then The upper and lower realms work together to make That is, it must be completed as a whole; if the first Each plot of land is directly connected to a virtual endpoint, which can be located in [0, / The actual workload is determined based on the remaining time.

[0031] 5) Uniform Deadline Constraint: The working time constraints of all harvesters must meet the uniform deadline constraint, that is:

[0032] Sub-ring elimination can be achieved using... .definition Indicates the first The harvester visited the first The order of the plots; Represents the set of directed arcs between nodes; Indicates from node To the node A drivable path.

[0033] Step 3: Construct the initial scheduling solution using a randomized greedy algorithm. .

[0034] The initial solution is defined by the user and represents... Each combine harvester establishes an empty operating route, meaning no plots of land are served.

[0035] Step 4: For each path in the initial scheduling solution, perform a reduced variable neighborhood search to obtain the local optimal solution for all vehicles obtained in this round of search;

[0036] The specific process is as follows:

[0037] Step 401: Construct reduced insertion neighborhoods respectively Reduce the neighboring area of ​​node migration and reduce the exchange neighborhood Each of these yields its corresponding reduction candidate set;

[0038] Insert Neighborhood It is necessary to select the plot to be inserted from the currently unserved plots, and further determine the corresponding harvester route and insertion position, and insert it into the available position of the harvester path, thereby attempting to add the new plot to the current scheduling scheme.

[0039] Specifically:

[0040] Step 1: Denote the set of served plots in the current scheduling solution as The unserved land parcels are ;

[0041] Step II: Define the insertion priority for each unserved parcel and sort them from high to low, retaining the top-ranked parcels. These plots constitute the candidate plot set. ;

[0042] Unserved land parcels The insertion priority is ;

[0043] Among molecules This represents the potential weighted income that can be obtained when the land parcel is fully completed; in the denominator This represents the minimum travel time required for each harvester to reach the plot. , For the route Current tail node To the plot The driving distance; when the route has not yet served any plots of land, let That is, the starting warehouse is taken as the current tail node of the route; A small constant set to prevent the denominator from being zero.

[0044] Step III: For the current candidate land parcel Calculate the travel time from the current tail node of all harvester routes to the plot, sort the routes from smallest to largest, and retain the first... A route was formed to create a plot of land. The corresponding candidate route set ;

[0045] For each candidate route that is retained Still check all valid insertion positions in the route; record the route. The set of valid insertion positions is The reduced insertion neighborhood is then represented as

[0046]

[0047] in, Indicates the current scheduling solution Based on this, unserved land parcels Insert harvester The first of the corresponding routes The new candidate scheduling solution is formed after a valid position.

[0048] Node migration neighborhood Used to remove a currently serving plot from its original location and re-insert it into another location on the same route or into another harvester route.

[0049] Specifically:

[0050] Step 1: For each plot of land, sort the other plots by their spatial distance from the current plot in ascending order, and select the closest plots. Each plot is considered as the set of its spatial nearest neighbors;

[0051] Step 2: For the currently served land parcels From its nearest neighbor set Traverse and select already served plots The land parcel The previous and subsequent insertion positions are used as plots. Candidate positions;

[0052] Step 3: Take the union of all candidate locations generated by the served neighbors, and delete duplicate and invalid candidate locations to obtain the land parcel. The set of candidate migration locations;

[0053]

[0054] in, Indicates that the land parcel The set of invalid candidate positions that retain their original positions after deletion and re-insertion; For the plot of land In the current scheduling solution The harvester routes belonging to the middle, For the plot of land Current location on this route;

[0055] Step 4: Calculate the reduced node migration neighborhood from the candidate migration location set;

[0056] Represented as:

[0057]

[0058] in, This indicates that the currently served land parcels Remove it from its original location and move it to the harvester. The first of the corresponding routes The new scheduling solution is formed after considering several candidate positions.

[0059] Exchange Neighborhood Used to select two different parcels that are currently being served and swap their positions in the current scheduling solution.

[0060] Specifically:

[0061] Step a: For the already served land parcels From its set of locally adjacent plots in the current harvester path Select candidate exchange objects;

[0062] Local adjacent land parcels This refers to: on the plot of land Exclude the departure warehouse node from the current harvester path and virtual endpoint The adjacent plots of land in front and behind, excluding those in front and behind.

[0063] Candidate swaps must meet the following criteria: two different serviced land parcels. Only if at least one of the following conditions is met: or The land parcel Retain it as a candidate for exchange.

[0064] The first item represents the land parcel. At least one parcel belongs to the spatial nearest neighbor set. Adjacent plots in the current route; the second item represents the plot. At least one parcel belongs to the spatial nearest neighbor set. Adjacent plots in the current route.

[0065] Step b: Construct a set of candidate land parcel pairs for exchange based on the candidate exchange objects:

[0066]

[0067] Step c: Based on the set of candidate swap plots, obtain the reduced swap neighborhood:

[0068] ,

[0069] in, This indicates swapping plots based on the current scheduling solution. With the plot of land The new candidate scheduling solution formed after the current location.

[0070] Step 402, initial scheduling solution As the current scheduling solution, the reduction and insertion neighborhood is performed on each of its paths. The search generates several new path combinations as candidate solutions;

[0071] Step 403: Based on the mathematical model of the problem, evaluate the feasibility and merits of each candidate solution to obtain the objective function value of the current reduced neighborhood search.

[0072] Specifically as follows:

[0073] First, for single paths of candidate solutions Initialize the harvester Reaching the plot of land The moment The time after the completion of this plot of land And the complete harvest The required operation time for each plot of land ;

[0074] ;in, This indicates that it is allocated to the harvester. The number of land parcels.

[0075] ;in Initially set to 1, =0; For the previous plot of land With the current plot The driving distance between them.

[0076] To fully harvest the land parcel Required operation time; For the plot of land The area awaiting harvest;

[0077] Then, evaluate the plots one by one from the warehouse in the order of the route visits;

[0078] For the plot of land Based on arrival time and unified deadline The relationship can be evaluated in the following three ways:

[0079] 1) The vehicle can completely complete the current plot: If Then the land parcel It can be completed before the deadline, and its actual working time is The completion time is updated to And continue to evaluate the next plot in the path.

[0080] 2) The vehicle can reach the site, but there is insufficient time remaining to complete the current plot:

[0081] like Then, based on the constraints of the harvest at the end, the land parcel will be... As the last service site in the actual execution part of this path, its actual operation time is set to be Its actual completed area is The corresponding weighted average return is The deadline for this plot of land was reached after completing part of the work, therefore the execution of this path was terminated and subsequent non-executable plots were deleted.

[0082] 3) Unable to reach the current plot before the deadline: If Then the land parcel Neither the subsequent plots could be executed within the deadline, and the current path ended at the previous valid plot.

[0083] Finally, after completing the forward evaluation, the first step is calculated. Actual benefits of a harvester path ;

[0084] The objective function value of the entire candidate scheduling solution is composed of the actual profits of all harvesters:

[0085] Step 404: Determine whether the objective function value of the current reduced neighborhood search is greater than the scheduling solution. If the objective function value is true, then the initial scheduling solution will be determined. To update the current scheduling solution and return to step 402, re-search the reduced insertion neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 405.

[0086] Step 405: Keep the current scheduling solution unchanged, and perform a search to reduce the neighboring nodes. And generate several new paths as candidate solutions;

[0087] Step 406: Return to step 403 and continue evaluating the feasibility and merits of candidate solutions; determine whether the objective function value of the current neighborhood search is greater than the objective function value of the current scheduled solution. If so, update the current scheduled solution and return to step 402 to re-search and reduce the insertion neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 407.

[0088] Step 407: Keep the current scheduling solution unchanged and perform a search to reduce the swap neighborhood. And generate several new paths as candidate solutions;

[0089] Step 408: Return to step 403 and continue evaluating the feasibility and merits of candidate solutions; determine whether the objective function value of the current neighborhood search is greater than the objective function value of the current scheduled solution. If so, update the current scheduled solution and return to step 402 to re-search and insert the neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 409.

[0090] Step 409: After the current scheduling solution has gone through three reduced neighborhood searches in sequence, if the objective function value of each of them is less than or equal to the objective function value of the current scheduling solution, then the current round of variable neighborhood search ends, and the current scheduling solution is taken as the local optimum.

[0091] Step 5: Apply three types of perturbations to the local optimal solution in a loop: random removal and re-insertion, removal and re-insertion at the end of the route, and exchange between routes.

[0092] Step Six: Return to Step Four, and re-execute the next round of the reduced variable neighborhood search for the perturbated local optimum, continuously updating the current solution and the global optimum S* until the given time limit is reached. Output emergency dispatch plans in the event of extreme weather.

[0093] The advantages of this invention are:

[0094] 1. More accurately depict the emergency harvesting decision-making needs under extreme weather conditions; This invention uses the available working time determined by the meteorological warning as a unified hard cutoff time. It does not force all plots to be served, but rather determines the priority of harvesting plots and their service order based on plot area, importance weight, agricultural machinery travel time and actual working time, so as to prioritize the allocation of limited agricultural machinery operation capacity to plots with higher emergency value.

[0095] 2. Improve the utilization rate of operation time through the end-of-harvest mechanism. This invention does not require harvesters to return to the warehouse after completing the harvest task. It allows each machine to partially harvest the last plot of land on its route based on the remaining operation time before the deadline, and calculates the income according to the actual area completed. This reduces the waste of available operation time caused by insufficient operation time for the entire plot.

[0096] 3. A unified forward route evaluation mechanism ensures the feasibility of the scheduling plan and the assessment of benefits. This invention accumulates the travel time and operation time sequentially according to the order of agricultural machinery visits, and cuts off the route at the deadline to determine the plots to be fully harvested and partially harvested respectively; all types of operations use the same evaluation rules to ensure that the benefit calculation of candidate plans is consistent with the actual operation process.

[0097] 4. Candidate reduction is performed based on the structural characteristics of the neighborhood, significantly reducing invalid computations in large-scale problems. This invention designs candidate filtering methods for insertion neighborhoods, node migrations, and exchange neighborhoods, respectively using information such as benefit, spatial proximity, and path local structure to filter candidate moves. Invalid operations that are too far away, have low benefits, or weak connections are eliminated in advance, concentrating computation on more promising local regions and improving the efficiency of solving large-scale problems.

[0098] 5. By combining variable neighborhood descent with multiple types of perturbations, the algorithm's search capability is improved. This invention sequentially uses neighborhoods with different structural effects, such as insertion, node migration, and swapping, for local optimization, and then re-searches after obtaining improved solutions. When trapped in a local optimum, perturbations such as random re-insertion are used to enter a new solution space, thereby improving the ability to obtain high-quality solutions.

[0099] 6. The output results can directly correspond to actual agricultural machinery operation tasks, facilitating integration with agricultural production scheduling platforms. This invention can output information such as the plot access order, driving process, operation time, harvesting status, and actual completed area for each agricultural machine, which can be directly converted into task lists or scheduling instructions; when the warning time, plot attributes, or agricultural machinery capabilities change, only the input parameters need to be updated for rescheduling. Attached Figure Description

[0100] Figure 1 This is a schematic diagram of a multi-harvester emergency dispatching method based on meteorological disaster conditions according to the present invention;

[0101] Figure 2 This is a flowchart of an emergency dispatching method for multiple harvesters based on meteorological disaster conditions according to the present invention;

[0102] Figure 3 This is a schematic diagram illustrating the principle of performing variable neighborhood search based on reduction technology on each path according to the present invention;

[0103] Figure 4 This is a comparison chart of the optimal target values ​​of the present invention and three existing algorithms. Detailed Implementation

[0104] To facilitate a better understanding and implementation of the present invention by those skilled in the art, the present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments. It should be understood that the following description is merely illustrative of the technical principles of the present invention and does not constitute a limitation on the scope of protection of the present invention. Any equivalent substitutions or reasonable technical modifications made based on the concept of the present invention should be considered to fall within the scope of protection of the present invention.

[0105] This invention addresses emergency harvesting scenarios where there is limited working time before extreme weather, scattered farmland, a limited number of agricultural machines, and the inability to guarantee harvesting from all plots. It jointly optimizes plot selection, machine task allocation, open path planning, and actual harvest volume before the deadline for multiple harvesters under hard deadline constraints. A weather-warning-driven emergency harvesting scheduling method for multiple harvesters is proposed, based on a mixed-integer programming model and a neighborhood reduction variable neighborhood search algorithm. Taking weather warnings, plot attributes, machine capabilities, and geographical distance as inputs, it generates plot allocation and access sequences that can be executed by multiple harvesters. The method can run on a scheduling server, agricultural operation management platform, edge computing terminal, or ordinary computer, and can connect to GIS, BeiDou / GNSS positioning, IoT terminals, or manually entered data via interfaces.

[0106] The method for emergency dispatching of multiple harvesters under meteorological disaster conditions, such as Figure 1 and Figure 2 As shown, the specific steps are as follows:

[0107] Step 1: Use the actual geographic coordinates of multiple farmlands as nodes to initialize the harvesting operation scenario data and perform preprocessing.

[0108] Construct a set of land parcel nodes Where 0 represents the shared departure warehouse. A virtual endpoint that only serves as the route termination point; This represents the total number of farmland plots.

[0109] The work scenario data includes:

[0110] 1) No. The plot of land and the first Distance between nodes of each plot ;

[0111] 2) The land parcel record must include at least a collection of farmland. The identification, spatial location, area to be harvested, and importance weight of each plot; among them, the first The unharvested area of ​​each plot is And importance weights are ;

[0112] 3) Agricultural machinery records should include at least a collection of homogeneous harvesters. The identification of each harvester and the uniform driving speed in similar scenarios. and the rate of completion per unit time ;

[0113] 4) Environmental records should include at least the current time when operations can begin and the estimated arrival time of the weather event, with the difference being the uniform cutoff time given by the weather warning. .

[0114] Pre-treatment includes filtering plots with non-positive areas or missing locations, and confirming... >0. Confirm >0 and >0. Inspection >0, and set unreachable connections in the distance matrix to unavailable arcs or sufficiently large travel times.

[0115] Step 2: Based on the preprocessed data, with the objective function of maximizing the total weighted actual harvested area before the deadline, establish path and allocation constraints, and construct a mathematical model of the current operational scenario.

[0116] The objective function of the mathematical model of the problem is: ;

[0117] ≥0 indicates the first The harvester was in the first The actual working time for each plot of land; due to The objective function directly incorporates the actual harvested area of ​​plot i into the plot weight based on the actual harvested area, equal to the area actually harvested by harvester k. Under the unique service constraint of each plot, the same plot will not be counted for revenue multiple times by multiple harvesters. This objective differs from traditional shortest path or minimum total cost objectives, allowing plots with low revenue or excessive time cost to be actively discarded when time is insufficient.

[0118] Path and allocation constraints include:

[0119] 1) Plot Access Constraints: If a harvester serves a plot, it must enter and leave the plot at least once. , ,satisfy: ;

[0120] ∈{0,1} represents the first... Did the harvester come from the first...? Drive directly to the first plot node. Arc variables of each plot node; ∈{0,1} represents the first... Does the harvester serve the first...? Service variables for each plot of land;

[0121] 2) Harvester start and end constraints: Each harvester needs to return to the starting point after starting, that is, for any... ,satisfy: ;

[0122] Indicates the first Did the harvester travel directly from the departure warehouse to the first...? Arc variables of each plot node;

[0123] 3) Unique service constraint for each plot: Each plot node has only one harvester service, meaning that for any plot node... ,satisfy: It can also be constrained that a single harvester can access the same plot of land at most once.

[0124] The above constraints ensure that each harvester forms a single open service chain from the warehouse to the virtual endpoint, and that each plot of land can be served by a maximum of one harvester.

[0125] 4) Operation time and end-of-pipe harvest constraints: These include operation and end-of-pipe harvest constraints. as well as .

[0126] The maximum full operation time that can cover a single plot of land;

[0127] If the first The plot of land is not the first The last service plot of each harvester, then The upper and lower realms work together to make That is, it must be completed as a whole; if the first If a plot of land is directly connected to the virtual endpoint, then the lower bound is relaxed by the large M, and can be in [0, / The actual workload is determined based on the remaining time.

[0128] For this linearization, M is taken to be no less than max( / This can cover the maximum full operation time for a single plot. In practice, a more compact plot-by-plot approach can also be used. / .

[0129] 5) Uniform Deadline Constraint: The working time constraints of all harvesters must meet the uniform deadline constraint, that is:

[0130] Sub-ring elimination can be achieved using... .definition Indicates the first The harvester visited the first The order of the plots; Represents the set of directed arcs between nodes; Indicates from node To the node A drivable path.

[0131] This time budget places driving and field operations on the same scale, and the route must stop when T is reached.

[0132] Step 3: Construct the initial scheduling solution using a randomized greedy algorithm. .

[0133] The initial solution is defined by the user and represents... Each combine harvester establishes an empty operating route, meaning no plots of land are served.

[0134] By combining the mathematical model of the problem, a forward route evaluator is established to complete vehicle route evaluation, especially the evaluation of routes with incomplete operations. This requires representing a scheduling solution as follows: A sequence of ordered plots starting from the warehouse. The travel time and operation time for each route are accumulated sequentially; if the estimated completion time for a plot does not exceed... If the harvest is complete, then the entire area will be harvested; if the harvest is expected to exceed [a certain amount]... If the plot is at the end of the current route, then partial harvesting with the remaining time is allowed, and any suffixes that are not executable after the deadline are removed; plot revenue is always calculated by multiplying the actual completed area by [a certain factor]. calculate.

[0135] The route evaluator serves as a unified feasibility interface between model constraints and heuristic search. Set the cumulative time τ←0 and the route reward. ←0, calculate sequentially from the current node to... Travel time L / If the remaining time after arrival is not greater than 0, then start from... All suffixes are invalid; if there is sufficient time remaining to complete. / If the actual working time for that plot is equal to the total working time, then the propagation continues forward; if the remaining time is positive but insufficient to complete the entire plot, then only the time for that plot is... As the termination point of the current route, the remaining time is used as... And the route ends. The actual harvested area is... The actual benefit is .

[0136] Step 4: For each path in the initial scheduling solution, perform a variable neighborhood search based on reduction techniques.

[0137] The specific process is as follows:

[0138] Step 401: Construct reduced insertion neighborhoods respectively Reduce the neighboring area of ​​node migration and reduce the exchange neighborhood Each of these yields its corresponding reduction candidate set;

[0139] This step uses benefit-time efficiency, spatial proximity, and the local topology of the current route to filter each complete neighborhood and construct a corresponding reduced candidate set. Reduction does not delete a particular type of local operation; instead, it constructs a smaller set of candidate moves within each type of complete neighborhood. , , The reduction only limits the range of candidate operations that require feasibility assessment and objective function evaluation in each neighborhood, without changing the neighborhood operations themselves, thereby reducing the generation and evaluation of invalid candidate solutions and improving the efficiency of variable neighborhood search.

[0140] Insert Neighborhood The process involves selecting plots to be inserted from currently unserved plots, further determining the corresponding harvester routes and insertion locations, and then inserting them into available positions along the harvester paths. This attempts to add the new plots to the current scheduling scheme. To reduce the large number of combinations, a two-stage reduction method is employed: candidate plot selection and candidate route selection.

[0141] Specifically:

[0142] Step 1: Denote the set of served plots in the current scheduling solution as The unserved land parcels are ;

[0143] Step II: Define the insertion priority for each unserved parcel and sort them from high to low, retaining the top-ranked parcels. These plots constitute the candidate plot set. ; This is the upper limit on the number of candidate parcels retained in the insertion neighborhood.

[0144] Unserved land parcels The insertion priority is ;

[0145] Among molecules This represents the potential weighted income that can be obtained when the land parcel is fully completed; in the denominator This represents the minimum travel time among all harvester routes required to reach the plot. Therefore, This indicator measures the weighted revenue corresponding to the potential time consumption per unit of land parcel. It does not simply select parcels based on distance, but rather uses priority, area, travel cost, and operational cost together in the first-level candidate selection. , For the route Current tail node To the plot The driving distance; when the route has not yet served any plots of land, let That is, the starting warehouse is taken as the current tail node of the route; A small constant set to prevent the denominator from being zero.

[0146] Step III: For the current candidate land parcel Calculate the travel time from the current tail node of all harvester routes to the plot, sort the routes from smallest to largest, and retain the first... A route was formed to create a plot of land. The corresponding candidate route set ;

[0147] For each candidate route that is retained The entire valid insertion point within the route is still checked; this design separates plot selection from route selection into two levels, while avoiding premature truncation of location selection within the route. (Record the route.) The set of valid insertion positions is The reduced insertion neighborhood is then represented as

[0148]

[0149] in, Indicates the current scheduling solution Based on this, unserved land parcels Insert harvester The first of the corresponding routes The new candidate scheduling solution is formed after a valid position.

[0150] Therefore, the insertion neighborhood first filters unserved plots with high service value based on revenue time efficiency, and then filters harvester routes that are more likely to serve the plot based on spatial distance. At the same time, all legal insertion positions within the candidate routes are retained, thereby reducing a large number of invalid candidate solutions generated by low-yield, long-distance plots and unsuitable routes.

[0151] Node migration neighborhood This is used to remove a currently served parcel from its original location and re-insert it into another location on the same route or into another harvester route. To reduce the number of candidate destination locations, candidate migration locations are determined based on the spatial proximity relationships between parcels.

[0152] Specifically:

[0153] Step 1: For each plot of land, sort the other plots by their spatial distance from the current plot in ascending order, and select the closest plots. Each plot is considered as the set of its spatial nearest neighbors; This represents the upper limit of the number of nearest neighbors.

[0154] Step 2: For the currently served land parcels From its nearest neighbor set Traverse and select already served plots The land parcel The previous and subsequent insertion positions are used as plots. Candidate positions;

[0155] Step 3: Take the union of all candidate locations generated by the served neighbors, and delete duplicate and invalid candidate locations to obtain the land parcel. The set of candidate migration locations;

[0156]

[0157] in, Indicates that the land parcel The set of invalid candidate positions that retain their original positions after deletion and re-insertion; For the plot of land In the current scheduling solution The harvester routes belonging to the middle, For the plot of land Current location on this route;

[0158] Step 4: Calculate the reduced node migration neighborhood from the candidate migration location set;

[0159] Represented as:

[0160]

[0161] in, This indicates that the currently served land parcels Remove it from its original location and move it to the harvester. The first of the corresponding routes The new scheduling solution is formed after considering several candidate positions.

[0162] The aforementioned reduction rules still allow node migration within the same route and node migration between different harvester routes, but no longer attempt to migrate each served plot to all locations on all routes. Instead, they prioritize examining locations near served plots that are spatially closer to the plot, thereby narrowing down the range of candidate destination locations for node migration.

[0163] Exchange Neighborhood This is used to select two currently served different parcels and swap their positions in the current scheduling solution. A complete swap neighborhood requires enumerating a large number of pairwise combinations between served parcels; therefore, the current method further combines the spatial proximity relationships of the parcels with the local topology of the current route to filter candidate swap parcel pairs.

[0164] Specifically:

[0165] Step a: For the already served land parcels From its set of locally adjacent plots in the current harvester path Select candidate exchange objects;

[0166] Local adjacent land parcels This refers to: on the plot of land Exclude the departure warehouse node from the current harvester path and virtual endpoint The adjacent plots of land in front and behind, excluding those in front and behind.

[0167] Candidate swaps must meet the following criteria: two different serviced land parcels. Only if at least one of the following conditions is met: or The land parcel Retain it as a candidate for exchange.

[0168] The first item represents the land parcel. At least one parcel belongs to the spatial nearest neighbor set. Adjacent plots in the current route; the second item represents the plot. At least one parcel belongs to the spatial nearest neighbor set. Adjacent plots in the current route.

[0169] Step b: Construct a set of candidate land parcel pairs for exchange based on the candidate exchange objects:

[0170]

[0171] Step c: Based on the set of candidate swap plots, obtain the reduced swap neighborhood:

[0172] ,

[0173] in, This indicates swapping plots based on the current scheduling solution. With the plot of land The new candidate scheduling solution formed after the current location.

[0174] The swap neighborhood reduction applies to both parcel swaps within the same route and parcel swaps between different harvester routes. For candidate swap operations, only the affected routes need to be re-evaluated; if the two parcels are on the same route, the route is re-evaluated; if the two parcels are on different routes, both affected routes are re-evaluated separately.

[0175] For the three neighborhoods mentioned above, this invention does not directly enumerate all candidate operations in the complete neighborhood, but instead constructs a reduced candidate set based on the structural characteristics of each neighborhood. For the insertion neighborhood, it prioritizes searching for unserved plots with higher profit potential and candidate routes that are spatially close to them; for the node migration neighborhood, it prioritizes moving the plot to be migrated to the area before or after its spatial nearest neighbor; for the exchange neighborhood, it selects exchange plot pairs that are more likely to generate effective path reconstruction based on the spatial proximity relationship between plots and the predecessor and successor relationships in the current route.

[0176] Therefore, the reduction technique does not delete any neighborhood type of insertion, node migration or swapping, but pre-excludes a large number of candidate operations with weak spatial correlation or low improvement potential within each complete neighborhood, so that subsequent evaluation focuses on candidate solutions that are more likely to produce improvements, thereby reducing invalid searches and duplicate route evaluations.

[0177] Step 402, initial scheduling solution As the current scheduling solution, the reduction and insertion neighborhood is performed on each of its paths. The search generates several new path combinations as candidate solutions;

[0178] Step 403: Based on the mathematical model of the problem, construct a feasibility and objective function evaluation method for candidate scheduling solutions, and use this evaluation method to uniformly judge the feasibility and quality of each candidate solution generated by the subsequent neighborhood search.

[0179] Specifically as follows:

[0180] First, regarding harvesters Single path of candidate solution Initialize the harvester Reaching the One visited plot of land The moment The time after the completion of this plot of land And the complete harvest The required operation time for each plot of land ;

[0181] ;in, This indicates that it is allocated to the harvester. The number of land parcels.

[0182] ;in Initially set to 1, =0; For the previous plot of land With the current plot The driving distance between them.

[0183] To fully harvest the land parcel Required operation time; For the plot of land The area awaiting harvest;

[0184] Then, evaluate the plots one by one from the warehouse in the order of the route visits;

[0185] For the plot of land Based on arrival time and unified deadline The relationship can be evaluated in the following three ways:

[0186] 1) The vehicle can completely complete the current plot: If Then the land parcel It can be completed before the deadline, and its actual working time is The completion time is updated to And continue to evaluate the next plot in the path.

[0187] 2) The vehicle can reach the site, but there is insufficient time remaining to complete the current plot:

[0188] like Then, based on the constraints of the harvest at the end, the land parcel will be... As the last service site in the actual execution part of this path, its actual operation time is set to be Its actual completed area is The corresponding weighted average return is The deadline for this plot of land was reached after completing part of the work, therefore the execution of this path was terminated and subsequent non-executable plots were deleted.

[0189] 3) Unable to reach the current plot before the deadline: If Then the land parcel Neither the subsequent plots could be executed within the deadline, and the current path ended at the previous valid plot.

[0190] Finally, after completing the forward evaluation, the first step is calculated. Actual benefits of a harvester path ;

[0191] Since the mathematical model of the problem stipulates that at most one harvester serves the same plot of land, each route can be evaluated separately, and the revenues of each route can be summed to obtain the objective function value of the entire candidate scheduling solution. The actual revenues of all harvesters are combined to form the objective function value of the entire candidate scheduling solution.

[0192] Simultaneously, check whether there is duplicate service for land parcels between different routes. Candidate solutions that satisfy the constraints in the mathematical model of the problem, such as unique service for land parcels, open routes, complete completion of non-terminal land parcels, partial completion of terminal land parcels, and unified deadline, are identified as feasible scheduling solutions.

[0193] Using the above evaluation method, the candidate solutions generated by subsequent insertion, node migration, swapping, and perturbation operations are all judged for feasibility and the objective function is calculated using the same rules, thereby ensuring that the search process is consistent with the mathematical model of the problem.

[0194] Step 404: Determine whether the objective function value of the current reduced neighborhood search is greater than the scheduling solution. If the objective function value is true, then the initial scheduling solution will be determined. To update the current scheduling solution and return to step 402, re-search the reduced insertion neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 405.

[0195] Step 405: Keep the current scheduling solution unchanged, and perform a search to reduce the neighboring nodes. And generate several new paths as candidate solutions;

[0196] Step 406: Return to step 403 and continue evaluating the feasibility and merits of candidate solutions; determine whether the objective function value of the current neighborhood search is greater than the objective function value of the current scheduled solution. If so, update the current scheduled solution and return to step 402 to re-search and reduce the insertion neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 407.

[0197] Step 407: Keep the current scheduling solution unchanged and perform a search to reduce the swap neighborhood. And generate several new paths as candidate solutions;

[0198] Step 408: Return to step 403 and continue evaluating the feasibility and merits of candidate solutions; determine whether the objective function value of the current neighborhood search is greater than the objective function value of the current scheduled solution. If so, update the current scheduled solution and return to step 402 to re-search and insert the neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 409.

[0199] Step 409: After the current scheduling solution has gone through three reduced neighborhood searches in sequence, if the objective function value of each of them is less than or equal to the objective function value of the current scheduling solution, then the current round of variable neighborhood search ends, and the current scheduling solution is taken as the local optimum.

[0200] Step 5: Apply three types of perturbations to the local optimal solution in a loop: random removal and re-insertion, removal and re-insertion at the end of the route, and exchange between routes.

[0201] Specifically:

[0202] Firstly, based on the current number of serviced plots and the proportion of disturbance... Determine the perturbation budget q(S), and iteratively use three perturbations: random removal and re-insertion, removal and re-insertion at the end of the route, and inter-route swapping. If reducing the neighborhood search improves the global optimum, the perturbation index is reset; otherwise, it is incremented in a loop.

[0203] Disturbance budget is ,in For the current collection of serviced land parcels, This represents the perturbation ratio. When... When not empty, at least one served plot shall be modified and no more than all served plots shall be modified. , , Using the same budget ensures that the magnitude of changes from different disturbances remains comparable; The policy prioritizes the tail end of the route because the actual revenue of an open route at the cutoff time is most sensitive to the tail structure.

[0204] The number of successful exchanges for the target K3 between routes is b(S) = max{1, floor(q(S) / 2)}.

[0205] For each candidate swap, only the two affected routes are re-evaluated, and the swap is retained as long as the number of served plots does not decrease. If there are fewer than two non-empty routes, K3 cannot form a cross-route swap, and K1 can be called to randomly remove and re-insert the swap. After the perturbation is completed, the forward route evaluator is called uniformly, the end part harvesting rules are applied, and the non-executable suffixes after the deadline are deleted, before entering the next round of neighborhood reduction search.

[0206] Step Six: Return to Step Four, and re-execute the next round of the reduced variable neighborhood search for the perturbated local optimum, continuously updating the current solution and the global optimum S* until the given time limit is reached. It outputs the sequence of plots visited by each harvester, the estimated arrival and operation time, the complete or partial completion status of each plot, the actual harvested area, and the total weighted revenue, serving as an emergency dispatch plan in the event of extreme weather.

[0207] The technical problem that this application aims to solve can be further decomposed into four interdependent decision-making processes:

[0208] First, select plots when available time is insufficient instead of forcing full coverage; second, allocate selected plots to different harvesters; third, determine the access order for each harvester so that it does not need to reserve time for returning to the warehouse; fourth, when the unified deadline arrives, calculate revenue based on the actual area completed for plots at the end of the route that have not yet been fully harvested.

[0209] The four types of decisions mentioned above collectively affect the target value. If only the nearest agricultural machine, fixed task partitioning, or sequential methods such as allocation followed by path planning are used, problems such as short local distances but high-weight plots not being prioritized, wasted time at the tail of the route, or unreasonable resource allocation across routes are likely to occur. This invention proposes a multi-harvest emergency harvest scheduling method based on neighborhood reduction technology and variable neighborhood search. It adopts a mixed integer programming model for emergency harvesting with hard deadlines, forward route truncation evaluation, randomized greedy initialization, neighborhood reduction and variable neighborhood descent, and multi-operator perturbation techniques. By filtering the revenue time density of unserved plots, the tail distance of candidate routes, and the nearest neighbor and local topological relationships of served plots, complete insertion, node migration, and exchange neighborhoods are transformed into candidate neighborhoods with controlled scale. At the same time, route tail perturbation directly affects the key positions that determine part of the harvest revenue. This reduces the proportion of invalid route evaluations in large-scale instances, increases the weighted actual harvest area within a unified weather deadline, and balances solution speed, stability, and large-scale applicability.

[0210] The technical means and effects of this invention can be established in a one-to-one correspondence. A unified hard deadline T transforms weather warnings into an executable time budget that all agricultural machinery must adhere to; a virtual endpoint n+1 allows each route to end after any service plot without returning to the warehouse; an end-truncation constraint requires non-end plots to be fully completed, while the last plot directly connected to the virtual endpoint can be partially worked on based on the remaining time; the objective function is measured by multiplying the actual completed area by its importance weight. Thus, the model can directly allocate the limited time before a disaster to more valuable plots and route structures, avoiding the inclusion of uncompleted areas in revenue and avoiding unnecessary time spent returning to the warehouse.

[0211] At the algorithmic level, this invention does not employ a uniform, fixed-ratio sampling method for the three neighborhoods. The insertion neighborhood first filters high-yield time-density candidates from unserved plots, then selects candidate routes with closer tail distances from all routes. The node migration neighborhood generates the destination location using the local positions of the spatial nearest neighbors of the migrated plot within the current route. The exchange neighborhood filters exchange pairs using the intersection of the nearest neighbor set and the predecessor / successor set of the other node. These three reduction rules correspond to the three sources of combinatorial explosion in neighborhoods, thus reducing invalid route evaluations while preserving the diversity of neighborhood types and local structures.

[0212] It also supports customizing the emergency importance level and the importance weight of land parcels. As long as the value is positive, it can be mapped from low / medium / high levels to 1 / 2 / 3, or it can be formed by combining crop maturity, expected disaster damage, contract priority, unit area value, or artificial emergency response level; the distance between nodes can be Euclidean distance. Alternatively, the shortest path length of the road network or the equivalent distance estimated from historical trajectories can be used. As long as the travel time between the two nodes for route evaluation can be obtained in the end, the change in the above data source does not change the scheduling logic of this invention.

[0213] Example:

[0214] The present invention provides a multi-harvest emergency scheduling method that can rapidly and jointly optimize plot selection, harvester allocation, open access order, and actual harvest volume within a unified hard deadline before extreme weather arrives, and obtains a high-quality executable solution on a large-scale plot set through a variable neighborhood search algorithm based on neighborhood reduction.

[0215] In practice, weather warnings are first converted into available operational time T, and the locations of farmland and warehouses in the GIS or dispatch platform are converted into a distance matrix L. Crop area and importance are then converted into... and Then, the harvester's operational capacity will provide the result. and Based on this, a mixed integer programming model and route evaluator are established, and a Neighborhood-Reduced Variable Neighborhood Search (NRVNS) algorithm is run.

[0216] The minimum software data structure required for online implementation can be divided into instance object I and solution object S. Instance object I stores N, K, , , , , T and algorithm parameters; the solution object S stores m ordered routes. Service Collection Unserved Node Set The end of each route And route evaluation results. Nearest neighbor set Can be used before searching The algorithm is pre-computed and cached once, while the insertion of candidate sets and the swapping of candidate pairs are dynamically generated as the current solution is applied.

[0217] The steps are as follows:

[0218] Step 1: Scene data construction.

[0219] Receive the set of farmland N, the set of agricultural machinery K, and the area of ​​each plot of land. Importance weight Distance between nodes Harvesters travel at a uniform speed Unified work efficiency And a unified deadline T given by the weather warning; construct a node set V=N∪{0,n+1}. Input data can be organized uniformly according to instance objects.

[0220] Land parcel records should include at least the parcel identifier, spatial location, and area to be harvested. And importance weight Agricultural machinery records should include at least the agricultural machinery identifier k and the uniform driving speed under similar scenarios. and the rate of completion per unit time Environmental records must include at least the current start time and the estimated arrival time of weather events. The uniform deadline T can be defined as the difference between two times; if the scheduling system uses minutes as the time unit, then... / , / The time units T and T should be converted to the same time unit before being included in the model.

[0221] Map the land parcel number to Harvester serial numbers are mapped to Record the location coordinates and area of ​​each plot of land. And importance weight Based on coordinates or road distance The estimated arrival time of extreme weather is subtracted from the current start time to obtain T. It also supports mapping the emergency urgency level of custom fields to corresponding weight values; to ensure consistent deadline processing after each neighborhood move, the software maintains a unified route forward evaluation function.

[0222] For the route Starting from time 0, first accumulate the travel time L / from the current node to the next plot. Then determine whether the remaining time is sufficient to complete the task. / If sufficient, record the complete operation time; if insufficient, allocate all remaining positive time to this plot as the final actual operation time and terminate the route evaluation. The actual completed area of ​​this plot is... ,income If a disturbance or movement results in a node still existing after the deadline, then the infeasible suffix is ​​deleted.

[0223] To improve data executability, integrity and unit consistency checks can be performed before entering the optimization process. This includes filtering out plots with non-positive areas or missing locations, and setting unreachable connections in the distance matrix as unusable arcs. If actual deployment involves speed changes due to road congestion or weather, updates can be made before each rescheduling. or Then rerun this method.

[0224] Step 2: Establish the mixed integer programming model corresponding to the problem.

[0225] Define arc variables Service variables Actual working time and accessing sequential variables With the goal of maximizing the total weighted actual harvested area before the deadline, the system establishes flow balance, open route start and end points, unique service for plots, operation time, completion of the end part, unified deadline time and elimination of constraints in sub-loops.

[0226] The model can be fully defined as a directed graph G=( This variable system simultaneously describes task selection, machine allocation, access order, and actual yield.

[0227] The main purpose of mixed-integer programming is to provide a rigorous problem definition and an accurate benchmark for small-scale instances; the online solution phase of this invention can be run directly, as described later.

[0228] Step 3: Establish a forward route evaluator.

[0229] All initializations, local moves, and disturbances ultimately call the same route evaluator to avoid inconsistent judgments on the cutoff rules by different operators. The implementation only re-evaluates changed routes and caches the travel time, total job time, end-of-job time, and weighted reward of unaffected routes. If a candidate move causes a change in the route's end point, the evaluator re-propagates from the affected position or the route's starting point until the new end point or cutoff time is reached. This implementation is computationally accelerated and does not change the model's feasible region or reward definition.

[0230] Step 4: Generate an initial solution using a randomized greedy algorithm.

[0231] Initially, the m routes contain only warehouses. In each round, a full feasibility assessment is performed on the plots of land not yet included in routes and the insertion positions of all routes. The ratio of the target increment brought by the candidate insertion to the additional travel and operation time is calculated. After sorting by this score, an RCL (Randomized Logical Chain) is constructed. Then, a candidate is randomly selected using a ranking bias and executed. This increases the probability of selecting high-yield candidates while avoiding obtaining the exact same initial structure in each run.

[0232] Starting with an empty route, enumerate all feasible complete insertions. Sort candidate moves by the ratio of new weighted gains to new travel and operation times, construct a restricted candidate table (RCL), and randomly select an insertion based on its ranking. Repeat this process until no feasible complete insertions remain, balancing the quality of the initial solution with the diversity of multiple independent runs. After constructing the current initial solution, use the forward route evaluator to evaluate it.

[0233] In the randomized greedy construction phase, a marginal score g = ΔF / (ΔT+ε) can be calculated for each complete feasible insertion, where ΔF is the weighted actual gain after the insertion, ΔT is the sum of the increased travel time and the increased complete operation time, and ε>0 is used to avoid the denominator being zero. After the candidates are sorted from high to low according to g, a restricted candidate table RCL is formed, and then a candidate is randomly selected according to the ranking for execution.

[0234] Initialization of feasible insertions should be based on the premise that the entire block is completed. Temporary candidate solutions are generated for unserved blocks, route k, and location p. The route evaluator is called to determine whether the insertion can maintain the complete operation of the previous non-terminal blocks and not exceed T. If feasible, ΔF and ΔT are calculated and added to the candidate table. After the selected candidate is executed, the corresponding route is updated. , The tail information is then processed, and the next round of candidates is regenerated until no feasible complete insertion exists. The harvest at the end is not a separate greedy rule in the initialization phase, but is processed by the subsequent unified route evaluation based on the remaining time before the deadline after the search is modified.

[0235] Step 5: Variable neighborhood search based on reduction techniques.

[0236] The neighborhood reduction mechanism is designed separately for each of the three local search neighborhoods, and does not use the same truncation rule. Let... = / C r The travel time between nodes. and These are the sets of served and unserved parcels for the current solution. For the route The tail end of the plot.

[0237] Insert neighborhood reduction: Apply neighborhood reduction to all unserved parcels. Sort in descending order, keeping only the first few. A set of candidate land parcels For each reserved plot Then follow the end of the route arrive Sort by distance in ascending order, and only keep the first few. The candidate routes form plots of land. The corresponding candidate route set However, all insertion locations are still fully examined for these candidate routes. This two-stage screening simultaneously retains high-yield time-density plots and spatially more promising routes.

[0238] Node migration neighborhood reduction: for each plot Obtain its first n spatial nearest neighbors in advance or dynamically. For the nearest neighbor already served in the current solution , only Add at the previous and next insertion positions in the route Candidate destination location set Remove duplicate positions and Invalid operations are kept in place, thus avoiding traversing all positions of all routes.

[0239] The upper limit of the nearest neighbor in the node migration neighborhood should be uniformly denoted as . For the land parcel , will be removed Other plots of land are arranged in ascending order of distance, forming If you have already served your neighbors Located on the current route The If there is a position, then... Previously and The next two insertion positions ( , )and( , +1) Add ;all The generated positions are then unioned, duplicates are removed, and then deleted. Invalid positions that remain in their original locations.

[0240] The rule still allows migration within the same route and migration across routes, but restricts the destination location to the local preceding and following locations of spatially related parcels; its engineering implication is to prioritize attempting local structures that can form shorter new connections, rather than moving every served parcel to every location on all routes.

[0241] Swap neighborhood reduction: Let Indicates land parcel The set of predecessor and successor plots in the current route, excluding warehouses. Only when... nearest neighbor set and The local adjacent plots intersect, or nearest neighbor set and Only when two adjacent plots intersect will the plot pair be retained. , This condition is not simple. and Instead of relying on neighboring plots, the selection process utilizes the adjacency relationship between candidate plots and the local structure of the other plot's current route to screen for exchanges that may lead to effective arc reconstruction.

[0242] This exchange screening retains both intra-route and inter-route exchanges. A re-evaluation should be conducted after each exchange. , If the two routes are on the same route, only one route needs to be re-evaluated. This is achieved by introducing... The candidate decision will change as the route topology of the current solution changes, so that the exchange neighborhood will not only utilize static geographical distance, but also dynamic route structure.

[0243] Search in a fixed order , and There are three neighborhoods, and each neighborhood is given its own reduction rule. If any neighborhood is improved, the search immediately returns to the insertion neighborhood and starts again; if an improved solution is found in a reduced neighborhood, the improvement is accepted and the neighborhood index is reset to 1; if the current neighborhood is not improved, the search moves to the next neighborhood; if none of the three reduced neighborhoods can improve the solution, the search returns to the local optimum and stops the current search.

[0244] Step 6: Perturb the local optimal solution.

[0245] K1 randomly removes and re-inserts q served plots. In the specific implementation, nodes are first randomly selected from H(S), removed from the original route, and then randomly shuffled and inserted back into the randomly selected routes / locations one by one. After each re-insertion, it should be ensured that the route object and the served set remain consistent. This operator has a dispersed scope and is mainly used to perform mild random structural disruption on local optima.

[0246] K2 Route Tail Removal and Reinsertion: K2 first randomly arranges all non-empty routes, and then removes the terminal nodes from the tails of different routes in turn until q(S) nodes are collected or there are no more nodes to remove. Then, it randomly rearranges and reinserts the nodes. Since only the terminal plots can be partially completed in this problem, the tails of the routes directly determine the way the revenue is converted in the last remaining time. Therefore, K2 is one of the perturbations most closely related to the physical structure of the problem, rather than a simple copy of arbitrary deletion operations in general related problems.

[0247] K3 route swapping: K3 randomly sorts unordered route pairs of non-empty routes, randomly selecting one plot from each of two different routes for swapping, and re-evaluating the affected routes; the swapping stops when the cumulative successful swaps reach a limit. If there is only one non-empty route, it automatically reverts to K1. The above retention rules ensure that disturbances can change the path structure while controlling the degree of damage.

[0248] Step 7: Re-perform the forward route evaluation and variable neighborhood search on the perturbed solution, within the given algorithm time limit. The current solution and the global optimal solution S* are continuously updated internally.

[0249] Perturbation index limited to After each round of search, if the objective value of the locally improved solution is strictly greater than the global optimum... Then update And order Otherwise, ,when The timer returns to 1. Then, the perturbation corresponding to the current h is applied. This loop allows the search to restart from a milder K1 when a new global optimum is achieved, and to progressively try perturbations of different structures when there is no continuous improvement, rather than a fixed, repetitive, single random operation.

[0250] Step 8: Output the sequence of plots visited by each harvester, the estimated arrival and operation time, the complete or partial completion status of each plot, the actual harvested area, and the total weighted revenue, as an emergency dispatch plan in case of extreme weather.

[0251] Reaching the online computing time limit Then return S*. The output can be JSON, CSV, a scheduling platform task sheet, or a visual map, including the route of each harvester, the order of land service, the harvested land at the end, the expected completed area, and the total weighted revenue.

[0252] The results indicate that:

[0253] This invention uses 39 benchmark examples to validate its scheme. The datasets have three spatial distributions: clustering (C), randomization (R), and a hybrid RC, with 13 classes per class and the number of plots ranging from 20 to 1000. The benchmark algorithms for comparison are Iterated Local Search (ILS) and Tabu Search (TS). NRVNS, ILS, and TS were all run 10 times on each dataset on the same platform; simultaneously, the commercial solver Gurobi was used for exact solution comparisons for up to 7200 seconds. The results show that NRVNS outperforms both the benchmark algorithms and solvers. Overall, the statistical results are as follows: on the 39 examples, the p-values ​​for both the best and mean in the one-sided Wilcoxon signed-rank test of NRVNS relative to ILS and TS are less than 0.05, indicating that the improvement is not driven solely by a small number of instances. Figure 2 The graph illustrates the performance of different algorithms at various scales. The horizontal axis represents the computational examples at each scale, and the three subplots correspond to the R, C, and RC spatial distributions, respectively. The vertical axis represents the relative average objective value of each algorithm, i.e., the algorithm's... Among the three algorithms for the same example, the best is... The ratio of 100% to 100% indicates that the average solution quality of the algorithm on that example is closer to the optimal level.

[0254] from Figure 4 As can be seen, NRVNS maintains a near 100% average objective value across all three problem types (R, C, and RC), indicating that it achieves the best or near-best average objective value among the three algorithms for problems of various sizes. In contrast, the curve for ILS gradually falls below that of NRVNS for medium to large-scale problems, while the downward trend for TS is more pronounced, especially at F500 and larger scales, where its relative objective value drops to approximately 91%–95%. This curve trend demonstrates that as the problem size increases, NRVNS can still maintain a stable high solution quality, while the average solution quality loss of the two comparative algorithms gradually increases. In particular, the NRVNS curve remains at the top with minimal fluctuations, reflecting the algorithm's stronger stability and robustness under different spatial distributions and instance sizes; its neighborhood reduction and multi-perturbation search mechanism can more effectively maintain search quality, thus achieving average solution results superior to ILS and TS.

[0255] Finally, it should be noted that although this specification has described the invention in detail with reference to specific embodiments, these embodiments are only used to better illustrate the core technical concept of the invention. Any modifications, adjustments, or variations made using equivalent technical means within the scope of the invention should be considered to fall within the protection scope of the invention.

Claims

1. A method for emergency dispatching of multiple harvesters under meteorological disaster conditions, characterized in that, The specific steps are as follows: Step 1: Initialize the harvesting operation scenario data by using the actual geographical coordinates of several farmlands as nodes, and perform preprocessing. Construct a set of land parcel nodes Where 0 represents the shared departure warehouse. A virtual endpoint that only serves as the route termination point; This represents the total number of farmland plots. Step 2: Based on the preprocessed data, with the objective function of maximizing the total weighted actual harvested area before the deadline, establish path and allocation constraints, and construct a mathematical model of the current operational scenario. Step 3: Construct the initial scheduling solution using a randomized greedy algorithm. ; The initial solution is defined by the user and represents... Each combine harvester establishes an empty work route, meaning no plots of land are served. Step 4: For each path in the initial scheduling solution, perform a reduced variable neighborhood search to obtain the local optimal solution for all vehicles obtained in this round of search; The specific process is as follows: Step 401: Construct reduced insertion neighborhoods respectively Reduce the neighboring area of ​​node migration and reduce the exchange neighborhood Each of these yields its corresponding reduction candidate set; Insert Neighborhood It is necessary to select the plot to be inserted from the currently unserved plots, and further determine the corresponding harvester route and insertion position, and insert it into the available position of the harvester path, thereby attempting to add the new plot to the current scheduling scheme; Node migration neighborhood Used to remove a currently serving plot of land from its original location and re-insert it into another location on the same route or into another harvester route; Exchange Neighborhood Used to select two different plots that are currently being served and swap their positions in the current scheduling solution; Step 402, initial scheduling solution As the current scheduling solution, the reduction and insertion neighborhood is performed on each of its paths. The search generates several new path combinations as candidate solutions; Step 403: Based on the mathematical model of the problem, evaluate the feasibility and merits of each candidate solution to obtain the objective function value of the current reduced neighborhood search; Specifically as follows: First, for single paths of candidate solutions Initialize the harvester Reaching the plot of land The moment The time after the completion of this plot of land And the complete harvest The required operation time for each plot of land ; ;in, This indicates that it is allocated to the harvester. The number of land parcels; ;in Initially set to 1, =0; For the previous plot of land With the current plot The driving distance between them; To fully harvest the land parcel Required operation time; For the plot of land The area awaiting harvest; Then, evaluate the plots one by one from the warehouse in the order of the route visits; For the plot of land Based on arrival time and unified deadline The relationship can be evaluated in the following three ways: 1) The vehicle can completely complete the current plot: If Then the land parcel It can be completed before the deadline, and its actual working time is The completion time is updated to And continue to evaluate the next plot in the path; 2) The vehicle can reach the site, but there is insufficient time remaining to complete the current plot: like Then, based on the constraints of the harvest at the end, the land parcel will be... As the last service site in the actual execution part of this path, its actual operation time is set to be Its actual completed area is The corresponding weighted average return is The deadline for this plot of land was reached after the completion of part of the work; therefore, the execution of this path was terminated and subsequent non-executable plots were deleted. 3) Unable to reach the current plot before the deadline: If Then the land parcel The subsequent plots could not be executed within the deadline, and the current path ended at the previous valid plot; Finally, after completing the forward evaluation, the first step is calculated. Actual benefits of a harvester path ; The objective function value of the entire candidate scheduling solution is composed of the actual profits of all harvesters: ; Step 404: Determine whether the objective function value of the current reduced neighborhood search is greater than the scheduling solution. If the objective function value is true, then the initial scheduling solution will be determined. To update the current scheduling solution and return to step 402, re-search the reduced insertion neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 405. Step 405: Keep the current scheduling solution unchanged, and perform a search to reduce the neighboring nodes. And generate several new paths as candidate solutions; Step 406: Return to step 403 and continue evaluating the feasibility and merits of candidate solutions; determine whether the objective function value of the current neighborhood search is greater than the objective function value of the current scheduled solution. If so, update the current scheduled solution and return to step 402 to re-search and reduce the insertion neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 407. Step 407: Keep the current scheduling solution unchanged and perform a search to reduce the swap neighborhood. And generate several new paths as candidate solutions; Step 408: Return to step 403 and continue evaluating the feasibility and merits of candidate solutions; determine whether the objective function value of the current neighborhood search is greater than the objective function value of the current scheduled solution. If so, update the current scheduled solution and return to step 402 to re-search and insert the neighborhood. Then, perform a feasibility and merits assessment, determine the objective function value, and update the current scheduling solution; otherwise, proceed to step 409. Step 409: After the current scheduling solution has gone through three shrinking neighborhoods in sequence, if the objective function value of each of them is less than or equal to the objective function value of the current scheduling solution, then the current round of variable neighborhood search ends and the current scheduling solution is taken as the local optimum. Step 5: Apply three types of perturbations to the local optimal solution in a loop: random removal and re-insertion, removal and re-insertion at the end of the route, and exchange between routes. Step Six: Return to Step Four, and re-execute the next round of the reduced variable neighborhood search for the perturbated local optimum, continuously updating the current solution and the global optimum S* until the given time limit is reached. Output emergency dispatch plan.

2. The method as described in claim 1, characterized in that, In step one, the work scenario data includes: 1) No. The plot of land and the first Distance between nodes of each plot ; 2) The land parcel record must include at least a collection of farmland. The identification, spatial location, area to be harvested, and importance weight of each plot; among them, the first The unharvested area of ​​each plot is And importance weights are ; 3) Agricultural machinery records should include at least a collection of homogeneous harvesters. The identification of each harvester and the uniform driving speed in similar scenarios. and the rate of completion per unit time ; 4) Environmental records should include at least the current time when operations can begin and the estimated arrival time of the weather event, with the difference being the uniform cutoff time given by the weather warning. ; Pre-treatment includes filtering plots with non-positive areas or missing locations, and confirming... >

0. Confirm >0 and >

0. Inspection >0, and set unreachable connections in the distance matrix to unavailable arcs or sufficiently large travel times.

3. The method as described in claim 2, characterized in that, In step two, the objective function of the mathematical model of the problem is: ; ≥0 indicates the first The harvester was in the first The actual working time for each plot of land; Path and allocation constraints include: 1) Plot Access Constraints: If a harvester serves a plot, it must enter and leave the plot at least once. , ,satisfy: ; ∈{0,1} represents the first... Did the harvester come from the first...? Drive directly to the first plot node. Arc variables of each plot node; ∈{0,1} represents the first... Does the harvester serve the first...? Service variables for each plot of land; 2) Harvester start and end constraints: Each harvester needs to return to the starting point after starting, that is, for any... ,satisfy: ; Indicates the first Did the harvester travel directly from the departure warehouse to the first...? Arc variables of each plot node; 3) Unique service constraint for each plot: Each plot node has only one harvester service, meaning that for any plot node... ,satisfy: It can also be constrained that a single harvester can access the same plot of land at most once; 4) Operation time and end-of-pipe harvest constraints: These include operation and end-of-pipe harvest constraints. as well as ; The maximum full operation time that can cover a single plot of land; If the first The plot of land is not the first The last service plot of each harvester, then The upper and lower realms work together to make That is, it must be completed as a whole; if the first Each plot of land is directly connected to a virtual endpoint, which can be located in [0, / The actual workload will be determined based on the remaining time. 5) Uniform Deadline Constraint: The working time constraints of all harvesters must meet the uniform deadline constraint, that is: Sub-ring elimination can be achieved using... ;definition Indicates the first The harvester visited the first The order of the plots; Represents the set of directed arcs between nodes; Indicates from node To the node A drivable path.

4. The method as described in claim 1, characterized in that, In step 401, a neighbor is inserted. The reduction process is as follows: Step 1: Denote the set of served plots in the current scheduling solution as The unserved land parcels are ; Step II: Define the insertion priority for each unserved parcel and sort them from high to low, retaining the top-ranked parcels. These plots constitute the candidate plot set. ; Unserved land parcels The insertion priority is ; Among molecules This represents the potential weighted income that can be obtained when the land parcel is fully completed; in the denominator This represents the minimum travel time among all the harvester routes required to reach this plot of land; , For the route Current tail node To the plot The driving distance; when the route has not yet served any plots of land, let That is, the starting warehouse is taken as the current tail node of the route; A small constant set to prevent the denominator from being zero; Step III: For the current candidate land parcel Calculate the travel time from the current tail node of all harvester routes to the plot, sort the routes from smallest to largest, and retain the first... A route was formed to create a plot of land. The corresponding candidate route set ; For each candidate route that is retained Still check all valid insertion positions in the route; record the route. The set of valid insertion positions is The reduced insertion neighborhood is then represented as in, Indicates the current scheduling solution Based on this, unserved land parcels Insert harvester The first of the corresponding routes The new candidate scheduling solution is formed after a valid position.

5. The method as described in claim 4, characterized in that, In step 401, the node migrates its neighborhood. The reduction process is as follows: Step 1: For each plot of land, sort the other plots by their spatial distance from the current plot in ascending order, and select the closest plots. Each plot is considered as the set of its spatial nearest neighbors; Step 2: For the currently served land parcels From its nearest neighbor set Traverse and select already served plots The land parcel The previous and subsequent insertion positions are used as plots. Candidate positions; Step 3: Take the union of all candidate locations generated by the served neighbors, and delete duplicate and invalid candidate locations to obtain the land parcel. The set of candidate migration locations; in, Indicates that the land parcel The set of invalid candidate positions that retain their original positions after deletion and re-insertion; For the plot of land In the current scheduling solution The harvester routes belonging to the middle, For the plot of land Current location on this route; Step 4: Calculate the reduced node migration neighborhood from the candidate migration location set; Represented as: in, This indicates that the currently served land parcels Remove it from its original location and move it to the harvester. The first of the corresponding routes The new scheduling solution is formed after considering several candidate positions.

6. The method as described in claim 5, characterized in that, In step 401, the neighborhood is exchanged. The reduction process is as follows: Step a: For the already served land parcels From its set of locally adjacent plots in the current harvester path Select candidate exchange objects; Local adjacent land parcels This refers to: on the plot of land Exclude the departure warehouse node from the current harvester path and virtual endpoint The adjacent plots of land in front and behind, excluding those in front and behind; Candidate swaps must meet the following criteria: two different serviced land parcels. Only if at least one of the following conditions is met: or The land parcel Retain as a candidate for exchange; The first item represents the land parcel. At least one parcel belongs to the spatial nearest neighbor set. Adjacent plots in the current route; the second item represents the plot. At least one parcel belongs to the spatial nearest neighbor set. Adjacent plots of land along the current route; Step b: Construct a set of candidate land parcel pairs for exchange based on the candidate exchange objects: Step c: Based on the set of candidate swap plots, obtain the reduced swap neighborhood: , in, This indicates swapping plots based on the current scheduling solution. With the plot of land The new candidate scheduling solution formed after the current location.

7. The method as described in claim 5, characterized in that, The emergency dispatch plan in step six includes: the sequence of plots visited by each harvester, the estimated arrival and operation time, the complete or partial completion status of each plot, the actual harvested area, and the total weighted revenue.