Abnormal flight scheduling method and device and storage medium

Through the improved adaptive large neighborhood search algorithm and multi-threaded parallel search, combined with a variety of strategies and operators, the problems of low efficiency and local optimality in abnormal flight recovery are solved, and an efficient flight scheduling solution is achieved.

CN118569562AInactive Publication Date: 2024-08-30CHINA SOUTHERN AIRLINES CO LTD

Patent Information

Application Number
CN202410647369.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technology is inefficient when dealing with abnormal flight recovery and easily falls into local optimality, which is especially difficult to solve when the number of flights and aircraft is large.

Method used

Using an improved adaptive large neighborhood search algorithm, combined with roulette, delayed acceptance hill climbing strategy, simulated annealing strategy, path exchange and insertion repair operator, through multi-threaded parallel search, the weight of the strategy and operator is adjusted to avoid local minima. excellent.

Benefits of technology

It improves the search efficiency and solution quality of flight recovery, avoids falling into local optimality, and can provide high-quality scheduling solutions within an acceptable time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569562A
    Figure CN118569562A
Patent Text Reader

Abstract

The invention discloses an abnormal flight scheduling method and device and a storage medium, and the method comprises the steps: obtaining flight information and airplane information, and building a flight scheduling model based on the importance of flights; initializing parameters, and generating an initial solution; carrying out search iteration by adopting a self-adaptive large neighborhood search algorithm; in each iteration, probabilistic selection is carried out on the strategy and each operator according to the strategy weight and the operator weight; performing neighborhood search according to the selected disturbance operator and repair operator to obtain a new solution until the new solution meets a taboo criterion, and updating the current solution and the current optimal solution according to the selected strategy; correspondingly adjusting the strategy weight and the operator weight according to the historical performance of the strategy and the operator so as to carry out the next iteration; iteration is carried out until a termination condition is met, an optimal solution is obtained, and a flight scheduling plan is obtained; wherein the strategies comprise a delayed hill-climbing accepting strategy and a simulated annealing strategy. According to the embodiment of the invention, the search efficiency and the solution quality can be improved, and local optimum can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of aviation technology, and in particular to an abnormal flight scheduling method, device and storage medium. Background Art

[0002] In the process of air transportation, there are many uncertain factors in the execution environment of flight plans, such as weather, passenger conditions, traffic control, maintenance and the airline's own operations, which often lead to the inability to execute flights as planned, resulting in abnormal flights. With the continuous increase in the number of flights, the phenomenon of abnormal flights has become more serious. In order to reduce the losses of passengers and airlines, it is necessary to restore abnormal flights. At present, airlines mainly rely on the experience of dispatchers to manually restore abnormal flights, and their efficiency and quality are low.

[0003] The flight recovery problem is an NP-hard (non-deterministic polynomial) problem, and its solutions mainly include exact solution methods, heuristic algorithms, and meta-heuristic algorithms. However, when the number of flights and aircraft is large, directly using exact solution methods may lead to slow or unsolvable solutions due to the large scale; and most heuristic algorithms and meta-heuristic algorithms either have low search efficiency or are prone to fall into local optimality. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides an abnormal flight scheduling method, device and storage medium, which adopts an improved adaptive large neighborhood search algorithm to obtain the optimal solution of the flight scheduling model, effectively improves the search efficiency and the quality of the solution, and avoids falling into the local optimum by combining multiple strategies.

[0005] An embodiment of the present invention provides an abnormal flight scheduling method, including:

[0006] Obtain flight information of flights to be restored and available aircraft information, and establish a flight scheduling model based on flight importance;

[0007] Based on the flight scheduling model, initializing parameters and generating an initial solution;

[0008] The initial solution is used as the current solution and the current optimal solution, and an adaptive large neighborhood search algorithm is used for search iteration; in each iteration, the strategy is probabilistically selected according to the strategy weight in a roulette manner; the perturbation operator and the repair operator are probabilistically selected according to the operator weight in a roulette manner; a neighborhood is constructed according to the selected perturbation operator, and a new solution is obtained according to the selected repair operator until the new solution satisfies the taboo criterion, and the current solution and the current optimal solution are updated according to the new solution and the selected strategy; the strategy weight and the operator weight are correspondingly adjusted according to the historical performance of the strategy and the operator to perform the next iteration; iterate until the termination condition is met to obtain the optimal solution of the flight scheduling model; wherein the strategy includes a delayed acceptance hill climbing strategy and a simulated annealing strategy;

[0009] According to the optimal solution of the flight scheduling model, a scheduling plan for the flight to be restored is obtained.

[0010] As an improvement of the above solution, the initialization parameters and the generation of the initial solution specifically include:

[0011] Initialize the maximum number of iterations, strategy weight, strategy score, operator weight, and operator score;

[0012] Initialize a taboo table, a list of historical optimal solutions of the delayed acceptance hill climbing strategy, and an initial temperature of the simulated annealing strategy; wherein the taboo table is used to record the initial solution and the new solution obtained in each iteration process;

[0013] The disturbed aircraft path is restored by delaying or canceling flights to generate an initial solution; wherein the initial solution is the flights to be restored and the aircraft corresponding to each flight, and each aircraft path includes at least one flight.

[0014] As an improvement of the above solution, the disturbance operator includes a random disturbance operator and a probability disturbance operator;

[0015] The random perturbation operator is used to randomly select a preset number of aircraft paths to construct a neighborhood;

[0016] The probability perturbation operator is used to select the preset number of aircraft paths according to the importance of the flight to construct a neighborhood; wherein, the lower the importance of the flight, the higher the probability that the corresponding aircraft path is selected.

[0017] As an improvement of the above solution, the repair operator includes a path exchange repair operator and an insertion repair operator;

[0018] The path exchange repair operator is used to exchange the selected aircraft paths in pairs to obtain the repaired aircraft paths;

[0019] The insertion repair operator is used to reinsert the disturbed flight on the selected aircraft path into any aircraft path to obtain a repaired aircraft path.

[0020] As an improvement of the above solution, after obtaining the repaired aircraft path, the method further includes:

[0021] According to the preset airport connection rules, minimum stopover time rules and maximum flight delay time rules, determine whether each repaired aircraft path meets all the rules;

[0022] If satisfied, a new solution is generated based on the repaired aircraft path;

[0023] If not, the flights on the aircraft path will be delayed or cancelled, a new aircraft path will be generated, and a new solution will be generated.

[0024] As an improvement of the above solution, if the strategy is a delayed acceptance hill climbing strategy, then updating the current solution and the current optimal solution according to the new solution and the selected strategy specifically includes:

[0025] According to the objective function in the flight scheduling model, determine whether the objective function value of the new solution is better than the objective function value of the current optimal solution; if so, use the new solution as the current solution and the current optimal solution; if not, determine whether the objective function value of the new solution is better than the objective function value of the current solution;

[0026] If the objective function value of the new solution is better than the objective function value of the current solution, the new solution is used as the current solution;

[0027] If the objective function value of the new solution is not better than the objective function value of the current solution, determining whether the list of historical optimal solutions is full;

[0028] If the historical optimal solution list is not full, inserting the current solution into the historical optimal solution list;

[0029] If the historical optimal solution list is full, compare the objective function value of the current solution with the objective function value of the worst solution in the historical optimal solution list; if the objective function value of the current solution is better than the objective function value of the worst solution, delete the worst solution and insert the current solution into the historical optimal solution list.

[0030] As an improvement to the above solution, the strategy weight and operator weight are adjusted accordingly according to the historical performance of the strategy and the operator, specifically including:

[0031] The corresponding strategy weight is calculated according to the preset initial strategy weight, the number of times the strategy is selected, the strategy score and the preset update coefficient; wherein the strategy score increases as the total number of updates of the current solution and the current optimal solution corresponding to the selected strategy during the iteration increases;

[0032] The corresponding operator weight is calculated according to the preset initial operator weight, the number of times the operator is selected, the operator score and the preset update coefficient; wherein the operator score increases with the increase in the total number of updates of the current solution and the current optimal solution corresponding to the selected operator during the iteration process.

[0033] As an improvement of the above solution, the method further includes:

[0034] The flight scheduling model uses a multi-threaded parallel approach to perform search iterations, and compares the optimal solutions obtained by all threads to obtain an overall optimal solution; the overall optimal solution is output as the optimal solution of the flight scheduling model.

[0035] The embodiment of the present invention further provides an abnormal flight scheduling device, comprising:

[0036] An information acquisition module is used to obtain flight information of flights to be restored and available aircraft information, and to establish a flight scheduling model based on flight importance;

[0037] An initialization module, used to initialize parameters and generate an initial solution based on the flight scheduling model;

[0038] The optimal solution search module is used to use the initial solution as the current solution and the current optimal solution, and adopt an adaptive large neighborhood search algorithm to perform search iterations; in each iteration, the strategy is probabilistically selected according to the strategy weight in a roulette manner; the disturbance operator and the repair operator are probabilistically selected according to the operator weight in a roulette manner; the neighborhood is constructed according to the selected disturbance operator, and a new solution is obtained according to the selected repair operator until the new solution meets the taboo criterion, and the current solution and the current optimal solution are updated according to the new solution and the selected strategy; the strategy weight and the operator weight are correspondingly adjusted according to the historical performance of the strategy and the operator to perform the next iteration; iterate until the termination condition is met to obtain the optimal solution of the flight scheduling model; wherein the strategy includes a delayed acceptance hill climbing strategy and a simulated annealing strategy;

[0039] The flight scheduling module is used to obtain the scheduling plan of the flight to be restored according to the optimal solution of the flight scheduling model.

[0040] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned abnormal flight scheduling methods.

[0041] Compared with the prior art, the abnormal flight scheduling method, device and storage medium provided by the embodiment of the present invention have the following beneficial effects: by adopting an improved adaptive large neighborhood search algorithm to search in multiple neighborhoods of the current solution, the search range of the algorithm in the solution space can be increased, and the algorithm adopts multiple strategies and operators, and adjusts the strategies and operators used in the next iteration according to the historical performance of the strategies and operators, which can effectively improve the search efficiency and the quality of the solution; by combining multiple strategies such as simulated annealing and delayed reception hill climbing, it can avoid falling into the local optimum; by combining the taboo idea, it can avoid repeatedly searching the same neighborhood; by using the importance of flights to guide the neighborhood construction, it can integrate the expert business experience into the operator design, avoid blind search, and effectively improve the search efficiency; by adopting a multi-threaded method to simultaneously use multiple threads to perform adaptive large neighborhood search and output the optimal solution, it can improve the search efficiency and avoid the local optimum. The embodiment of the present invention can avoid falling into the local optimum when solving the flight recovery problem, improve the search efficiency and the quality of the solution, and can provide a high-quality scheduling solution for the recovery of abnormal flights within an acceptable time. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of an abnormal flight scheduling method provided by an embodiment of the present invention;

[0043] Figure 2 It is a schematic diagram of a flow chart of an improved adaptive large neighborhood search algorithm provided by an embodiment of the present invention;

[0044] Figure 3 It is a structural schematic diagram of an abnormal flight scheduling device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] See also Figure 1 , Figure 1 1 is a flow chart of an abnormal flight scheduling method provided by an embodiment of the present invention. The abnormal flight scheduling method comprises:

[0047] S1: Obtain flight information of flights to be restored and available aircraft information, and establish a flight scheduling model based on flight importance;

[0048] S2: Initializing parameters based on the flight scheduling model and generating an initial solution;

[0049] S3: taking the initial solution as the current solution and the current optimal solution, and adopting the adaptive large neighborhood search algorithm to perform search iteration; in each iteration, probabilistically selecting the strategy according to the strategy weight in a roulette manner; probabilistically selecting the disturbance operator and the repair operator according to the operator weight in a roulette manner; constructing a neighborhood according to the selected disturbance operator, and obtaining a new solution according to the selected repair operator until the new solution satisfies the taboo criterion, then updating the current solution and the current optimal solution according to the new solution and the selected strategy; adjusting the strategy weight and the operator weight according to the historical performance of the strategy and the operator to perform the next iteration; iterating until the termination condition is met to obtain the optimal solution of the flight scheduling model; wherein the strategy includes a delayed acceptance hill climbing strategy and a simulated annealing strategy;

[0050] S4: Obtaining a scheduling plan for the flight to be restored according to the optimal solution of the flight scheduling model.

[0051] Specifically, first obtain the flight information of all flights to be restored within the time period to be restored, that is, the flight information of abnormal flights and relevant information of available aircraft, including: the planned take-off time of the flight, the planned landing time, the number of passengers in each cabin, the number of transfer passengers in each cabin, the tail number of the aircraft assigned to the flight, the planned maintenance task information of each aircraft, the number of seats in each cabin of each aircraft, and the disturbance information (such as the late arrival of the previous flight or the temporary failure of the aircraft).

[0052] After obtaining flight and aircraft information, a flight scheduling model is established based on the flight importance according to the preset scheduling objectives. For example, the flight scheduling model is constructed with the minimum sum of the aircraft path cost and the importance of the canceled flights as the scheduling objective. f is the sum of the importance weights of the passengers on this flight The weight w of the flight type f The specific formula is:

[0053]

[0054]

[0055] Among them, v f The importance of flight f, is the sum of the passenger importance weights of flight f, w f is the flight type weight of flight f, as well as They are the importance weights of gold card passengers, business class passengers, international transfer passengers and ordinary passengers; as well as are the number of gold card passengers, business class passengers, international transfer passengers and ordinary passengers in flight f. Flight types include charter flights, special flights, VIP flights, international long-distance flights and other international flights. The weight of flight type and the importance weight of passengers are set by experts based on business experience. Specifically, the weight of charter flights and special flights is 5, the weight of VIP flights is 3, the weight of international long-distance flights is 2, the weight of other international flights is 1.5, the weight of gold card passengers is 10, the weight of business class passengers and international transfer passengers is 8, and the weight of ordinary passengers is 1.

[0056] Furthermore, the cost of each aircraft path is calculated according to the importance of the flight. The specific formula is:

[0057]

[0058] Among them, c r is the cost of aircraft path r; is the relationship factor between aircraft path r and flight f. If aircraft path r contains flight f, then is 1, otherwise is 0; is the penalty coefficient for flight f on aircraft path r, which consists of flight delay penalty and aircraft change penalty.

[0059] Furthermore, the objective function C in the flight scheduling model is:

[0060]

[0061] Among them, c r is the cost of aircraft path r; is the aircraft variable. If aircraft a is selected by aircraft path r, then is 1, otherwise is 0; v f is the importance of flight f; y f is the flight variable. If flight f is cancelled, then y f is 1, otherwise y f is 0; R is the set of all aircraft paths of all aircraft; F is the set of all flights to be restored.

[0062] Furthermore, the constraints of the objective function include flight uniqueness constraints, aircraft and path uniqueness constraints, and variable value range constraints. Among them, the flight uniqueness constraint means that a flight is either canceled or executed, which is specifically expressed as:

[0063]

[0064] Where A is the set of all aircraft; R is the set of all aircraft paths of all aircraft; is the relationship factor between aircraft path r and flight f; is the aircraft variable; y f is the flight variable; F is the set of all flights to be restored.

[0065] The unique constraint of aircraft and path means that an aircraft can only choose one aircraft path, which is specifically expressed as:

[0066]

[0067] Where R is the set of all aircraft paths of all aircraft; is the relationship factor between aircraft path r and aircraft a. If aircraft path r belongs to aircraft a, then is 1, otherwise is 0; is the aircraft variable; A is the set of all aircraft.

[0068] The variable range constraints include the aircraft variable x r The value range constraints and flight variable y f The value range constraint of is specifically expressed as:

[0069]

[0070]

[0071] Among them, R is the set of all aircraft paths of all aircraft; F is the set of all flights to be restored.

[0072] Furthermore, when solving the flight scheduling model, the solution is represented by a code. Specifically, assuming that the number of aircraft is P and the number of flights is F, the flights and aircraft are first sorted, and a code of length F is used to represent a feasible solution. The value range of each bit in the feasible solution is an integer between [0, P]. When the corresponding value is 0, it means that the flight is not assigned to any aircraft; when the corresponding value is an integer between (0, P], it means that the flight is assigned to the aircraft with the corresponding serial number. Among them, flights with the same value and not 0 are executed by the same aircraft. By sorting them in chronological order, an aircraft path can be obtained.

[0073] For example, the encoding of a solution is shown in the following table:

[0074] Flight number 1 2 3 4 5 6 ... F Aircraft number 2 1 1 2 0 2 ... P

[0075] Among them, Flight 1, Flight 4 and Flight 6 are scheduled on the aircraft path of aircraft No. 2, Flight 2 and Flight 3 are scheduled on the aircraft path of aircraft No. 1, and Flight 5 is not scheduled on any aircraft path, that is, Flight 5 is not assigned to any aircraft and will be cancelled.

[0076] Furthermore, the embodiment of the present invention adopts an adaptive large neighborhood search algorithm framework, and adopts a two-layer adaptive method to perform neighborhood search, the first layer is a strategy layer, and the second layer is an operator layer, and the strategy and operator weights are adjusted simultaneously in an adaptive manner according to the historical performance of each strategy and operator. First, the parameters are initialized and the initial solution of the model is generated.

[0077] As one of the optional embodiments, the initialization parameters and generating the initial solution specifically include:

[0078] Initialize the maximum number of iterations, strategy weight, strategy score, operator weight, and operator score;

[0079] Initialize a taboo table, a list of historical optimal solutions of the delayed acceptance hill climbing strategy, and an initial temperature of the simulated annealing strategy; wherein the taboo table is used to record the initial solution and the new solution obtained in each iteration process;

[0080] The disturbed aircraft path is restored by delaying or canceling flights to generate an initial solution; wherein the initial solution is the flights to be restored and the aircraft corresponding to each flight, and each aircraft path includes at least one flight.

[0081] Specifically, initialize the maximum number of iterations n; initialize the weights and scores of each strategy; initialize the weights and scores of each operator; initialize a taboo table L of length T T , to perform neighborhood search based on the taboo search idea to avoid repeatedly searching the same neighborhood; initialize a historical optimal solution list L with a length of H H , used to record the historical optimal solution required for the delayed acceptance hill climbing strategy; initialize the temperature T in the simulated annealing strategy.

[0082] Furthermore, the disturbed aircraft path is restored by delaying or canceling flights, the initial solution x of the model is generated, and the initial solution x is added to the taboo table. Specifically, the flight to be restored is postponed on the originally assigned aircraft until the minimum stopover time requirement is met. Among them, the disturbed aircraft path indicates that the flight on the aircraft path does not meet the path rule. A delayed flight is to postpone the take-off time of a certain flight. If the stopover time between the subsequent flight and this flight is long enough, and the minimum stopover time can be met after delaying this flight, there is no need to postpone the subsequent flight. If the stopover time is not enough, the subsequent flight will also be delayed. It should be noted that if the delay time of the flight exceeds the set maximum delay time, the flight will be canceled.

[0083] Furthermore, according to the objective function of the model, the objective function value C of the initial solution x is calculated x , and let the current optimal solution x * Equal to the initial solution x, the current solution x c Equal to the initial solution x, insert the initial solution x into the historical optimal solution list L H .

[0084] See also Figure 2 , Figure 2 This is a flowchart of the improved adaptive large neighborhood search algorithm provided by an embodiment of the present invention. First, a problem model is established and parameters are initialized, an initial solution is constructed and made equal to the current optimal solution and the current solution, the taboo table and the historical optimal solution list are updated, and then the search iteration is performed. In each iteration, a strategy is first randomly selected by probability in a roulette manner according to the current strategy weight, and the number of strategy selections of the corresponding strategy is updated. There are two strategies:

[0085] Delayed acceptance hill climbing strategy: Delayed acceptance hill climbing is an improvement of hill climbing. In order to overcome the problem of being easily trapped in the local optimum caused by the greedy strategy of hill climbing, the delayed acceptance hill climbing method maintains an ordered list of length H, in which the solutions are sorted from best to worst. This strategy records the H solutions with the best objective function value found so far. When executing this strategy, each time the new solution is compared with the solutions in the list, if the new solution is better than the worst solution in the list, the new solution is accepted.

[0086] Simulated annealing strategy: In order to avoid local optimality, a solution that is worse than the current solution is used as the new current solution for subsequent iterations with a certain probability.

[0087] Furthermore, after selecting the strategy for the current iteration round, the perturbation operator and the repair operator are randomly selected according to the probability in a roulette wheel manner according to the current operator weight, and the current solution x is calculated according to the selected perturbation operator and repair operator. c Perform a neighborhood search to obtain a new solution x′, and update the number of times the perturbation operator and repair operator selected in this round are selected.

[0088] As one of the optional embodiments, the disturbance operator includes a random disturbance operator and a probabilistic disturbance operator;

[0089] The random perturbation operator is used to randomly select a preset number of aircraft paths to construct a neighborhood;

[0090] The probability perturbation operator is used to select the preset number of aircraft paths according to the importance of the flight to construct a neighborhood; wherein, the lower the importance of the flight, the higher the probability that the corresponding aircraft path is selected.

[0091] Specifically, the algorithm includes two perturbation operators:

[0092] Random perturbation operator: randomly select k aircraft paths;

[0093] Probabilistic perturbation operator: Since important flights are usually not adjusted during actual flight adjustments, flight importance is introduced, and the probability of a flight being selected when generating a neighborhood is determined by flight importance: flights with high flight importance are selected with a lower probability, and flights with low flight importance are selected with a higher probability. Specifically, the sum of flight importance of the flights contained in each aircraft path is calculated, and the sum of flight importance of all aircraft paths is sorted from high to low. The selection probability is determined according to the ranking of the sum of flight importance, and k aircraft paths are selected according to the determined selection probability. Among them, the aircraft paths with the top 20% of flight importance are selected with a probability of 10%, the aircraft paths with the top 20% to 40% of flight importance are selected with a probability of 20%, and the aircraft paths with the top 40% to 100% of flight importance are selected with a probability of 70%.

[0094] As one of the optional embodiments, the repair operator includes a path exchange repair operator and an insertion repair operator;

[0095] The path exchange repair operator is used to exchange the selected aircraft paths in pairs to obtain the repaired aircraft paths;

[0096] The insertion repair operator is used to reinsert the disturbed flight on the selected aircraft path into any aircraft path to obtain a repaired aircraft path.

[0097] Specifically, the algorithm includes two repair operators:

[0098] Path exchange repair operator: exchange the selected k aircraft paths in pairs;

[0099] Insertion repair operator: reinsert the disturbed flights on the selected k aircraft paths into a certain aircraft path. The disturbed flights refer to the flights on the disturbed aircraft path that cannot be executed normally because they do not meet the minimum stopover time, airport connection rules or flight maximum delay time rules.

[0100] As an optional embodiment, after obtaining the repaired aircraft path, the method further includes:

[0101] According to the preset airport connection rules, minimum stopover time rules and maximum flight delay time rules, determine whether each repaired aircraft path meets all the rules;

[0102] If satisfied, a new solution is generated based on the repaired aircraft path;

[0103] If not, the flights on the aircraft path will be delayed or cancelled, a new aircraft path will be generated, and a new solution will be generated.

[0104] Specifically, after executing the selected repair operator, it is necessary to perform rule checks on the repaired aircraft path. The rules to be checked include: airport connection rule: the landing airport of the preceding flight must be consistent with the departure airport of the succeeding flight; minimum stopover time rule: the time interval between the takeoff time of the succeeding flight and the landing time of the preceding flight must be greater than or equal to the minimum stopover time of the aircraft type at the airport; maximum flight delay rule: the delay time of a flight shall not exceed the set maximum delay time.

[0105] When each repaired aircraft path satisfies the above three rules, a new solution is generated based on the repaired aircraft path; when there is a repaired aircraft path that does not satisfy any of the three rules, the flights on the repaired aircraft path are delayed or cancelled, and a new aircraft path that meets the rules is generated, and a new solution is generated.

[0106] Furthermore, determine whether the new solution x′ satisfies the taboo criterion. If so, add the new solution x′ to the taboo table. If the taboo table is full, delete one element in a first-in-first-out manner before adding the new solution x′. If the new solution x′ does not meet the taboo criterion, use the selected perturbation operator to regenerate the neighborhood, and use the repair operator to obtain a new solution until the new solution meets the taboo criterion. Then, update the current optimal solution and the current solution according to the selected strategy, and update the strategy weight, operator weight, taboo table and historical optimal solution list.

[0107] As one of the optional embodiments, if the strategy is a delayed acceptance hill climbing strategy, then updating the current solution and the current optimal solution according to the new solution and the selected strategy specifically includes:

[0108] According to the objective function in the flight scheduling model, determine whether the objective function value of the new solution is better than the objective function value of the current optimal solution; if so, use the new solution as the current solution and the current optimal solution; if not, determine whether the objective function value of the new solution is better than the objective function value of the current solution;

[0109] If the objective function value of the new solution is better than the objective function value of the current solution, the new solution is used as the current solution;

[0110] If the objective function value of the new solution is not better than the objective function value of the current solution, determining whether the list of historical optimal solutions is full;

[0111] If the historical optimal solution list is not full, inserting the current solution into the historical optimal solution list;

[0112] If the historical optimal solution list is full, compare the objective function value of the current solution with the objective function value of the worst solution in the historical optimal solution list; if the objective function value of the current solution is better than the objective function value of the worst solution, delete the worst solution and insert the current solution into the historical optimal solution list.

[0113] Specifically, when a new solution x′ that satisfies the taboo criterion is obtained, the objective function value C of the new solution x′ is determined. x′ Is it better than the current optimal solution x? * The objective function value of If so, let the current optimal solution x * Equal to x′, let the current solution x c =x′, increase the operator scores of the selected perturbation operator and repair operator by 10 points, increase the strategy score of the selected strategy by 10 points, and update the weights before the next iteration until the termination condition is met; if C x′ Not better than Then determine the objective function value C of the new solution x′ x′ Is it better than the current solution x? c The objective function value of If so, let the current solution x c =x′, and increase the operator scores of the selected perturbation operator and repair operator by 5 points each, and increase the strategy score of the selected strategy by 5 points; if C x′ Not better than And C x′ Not better than The process is then performed according to the strategy selected for the current iteration round.

[0114] Specifically, if the selected strategy is the delayed acceptance hill climbing strategy, then determine the historical optimal solution list L H Is it full? If L H If it is not full, then accept the current solution x c And x c Insert L H In; if L H If it is full, the current solution x c The objective function value and L H The objective function value of the worst solution is compared. If x c If the objective function value of is worse, then x is not accepted. c , otherwise accept x c , delete L H The worst solution and x c Insert L H ;

[0115] If the selected strategy is simulated annealing strategy, calculate the difference between the objective function of the new solution and the current solution According to the idea of ​​simulated annealing, by probability To accept the current solution x c , and let the current solution x c Equal to the new solution x′.

[0116] As one of the optional embodiments, the adjusting the strategy weight and the operator weight accordingly according to the historical performance of the strategy and the operator specifically includes:

[0117] The corresponding strategy weight is calculated according to the preset initial strategy weight, the number of times the strategy is selected, the strategy score and the preset update coefficient; wherein the strategy score increases as the total number of updates of the current solution and the current optimal solution corresponding to the selected strategy during the iteration increases;

[0118] The corresponding operator weight is calculated according to the preset initial operator weight, the number of times the operator is selected, the operator score and the preset update coefficient; wherein the operator score increases with the increase in the total number of updates of the current solution and the current optimal solution corresponding to the selected operator during the iteration process.

[0119] Specifically, the update formula of the strategy weight is:

[0120]

[0121] in, is the updated weight of the i-th strategy, is the initial weight of the ith strategy, is the number of times the i-th strategy is selected, is the score of the i-th strategy, and θ is the update coefficient that controls the speed of weight change; preferably, θ is set to 0.5, and the initial weights of the delayed acceptance hill climbing strategy and the simulated annealing strategy are both set to 1.

[0122] The update formula of the perturbation operator weight is:

[0123]

[0124] in, is the updated weight of the i-th perturbation operator, is the initial weight of the ith perturbation operator, is the number of times the i-th perturbation operator is selected, is the score of the ith perturbation operator, θ is the update coefficient that controls the speed of weight change; preferably, θ is set to 0.5, the initial weight of the random perturbation operator is set to 1, and the initial weight of the probabilistic perturbation operator is set to 5. Among them, the initial weight of the probabilistic perturbation operator is larger, so the algorithm will select the probabilistic perturbation operator with a greater probability at the beginning.

[0125] The update formula for the repair operator weight is:

[0126]

[0127] in, is the updated weight of the i-th repair operator, is the initial weight of the i-th repair operator, is the number of times the i-th repair operator is selected, is the score of the ith repair operator, and θ is the update coefficient that controls the speed of weight change. Preferably, θ is set to 0.5, and the initial weights of the path exchange repair operator and the insertion repair operator are both set to 1.

[0128] Furthermore, after updating the weights, it is determined whether the algorithm meets the termination condition. If not, the next iteration is performed according to the updated weights until the termination condition is met, then the iteration ends and the optimal solution is output. The termination condition includes reaching the set maximum number of iterations or failing to obtain a better feasible solution after several consecutive iterations.

[0129] As an optional embodiment, the method further includes:

[0130] The flight scheduling model uses a multi-threaded parallel approach to perform search iterations, and compares the optimal solutions obtained by all threads to obtain an overall optimal solution; the overall optimal solution is output as the optimal solution of the flight scheduling model.

[0131] Specifically, a multi-threaded parallel approach is adopted to independently execute the process of finding the optimal solution by using the improved adaptive large neighborhood search algorithm. Each thread obtains an optimal solution, compares all the optimal solutions, and outputs the overall optimal solution as the optimal solution of the model, further improving the search efficiency.

[0132] The embodiment of the present invention can increase the search range of the algorithm in the solution space by using an improved adaptive large neighborhood search algorithm to search in multiple neighborhoods of the current solution. It adopts multiple strategies and operators, and adjusts the strategies and operators used in the next iteration according to the historical performance of the strategies and operators, which can effectively improve the search efficiency and the quality of the solution; by combining multiple strategies such as simulated annealing and delayed reception hill climbing, it can avoid falling into the local optimum; by combining the taboo idea, it can avoid repeatedly searching the same neighborhood; by using the importance of flights to guide the neighborhood construction, it can integrate the expert business experience into the operator design, avoid blind search, and effectively improve the search efficiency; by using a multi-threaded method to simultaneously use multiple threads to perform adaptive large neighborhood search and output the optimal solution, it can improve the search efficiency and avoid the local optimum. The embodiment of the present invention can avoid falling into the local optimum when solving the flight recovery problem, improve the search efficiency and the quality of the solution, and can provide a high-quality scheduling solution for the recovery of abnormal flights within an acceptable time.

[0133] Correspondingly, the present invention also provides an abnormal flight scheduling device, which can implement all the processes of the abnormal flight scheduling method in the above embodiment.

[0134] See also Figure 3 , Figure 3 1 is a schematic diagram of the structure of an abnormal flight scheduling device provided by an embodiment of the present invention. The abnormal flight scheduling device comprises:

[0135] The information acquisition module 301 is used to obtain flight information of the flight to be restored and available aircraft information, and establish a flight scheduling model based on flight importance;

[0136] An initialization module 302, used to initialize parameters and generate an initial solution based on the flight scheduling model;

[0137] The optimal solution search module 303 is used to use the initial solution as the current solution and the current optimal solution, and adopt an adaptive large neighborhood search algorithm to perform search iterations; in each iteration, the strategy is probabilistically selected according to the strategy weight in a roulette manner; the disturbance operator and the repair operator are probabilistically selected according to the operator weight in a roulette manner; the neighborhood is constructed according to the selected disturbance operator, and a new solution is obtained according to the selected repair operator until the new solution meets the taboo criterion, and the current solution and the current optimal solution are updated according to the new solution and the selected strategy; the strategy weight and the operator weight are correspondingly adjusted according to the historical performance of the strategy and the operator to perform the next iteration; iterate until the termination condition is met to obtain the optimal solution of the flight scheduling model; wherein the strategy includes a delayed acceptance hill climbing strategy and a simulated annealing strategy;

[0138] The flight scheduling module 304 is used to obtain a scheduling plan for the flight to be restored according to the optimal solution of the flight scheduling model.

[0139] Preferably, the initialization parameters and generating the initial solution specifically include:

[0140] Initialize the maximum number of iterations, strategy weight, strategy score, operator weight, and operator score;

[0141] Initialize a taboo table, a list of historical optimal solutions of the delayed acceptance hill climbing strategy, and an initial temperature of the simulated annealing strategy; wherein the taboo table is used to record the initial solution and the new solution obtained in each iteration process;

[0142] The disturbed aircraft path is restored by delaying or canceling flights to generate an initial solution; wherein the initial solution is the flights to be restored and the aircraft corresponding to each flight, and each aircraft path includes at least one flight.

[0143] Preferably, the disturbance operator includes a random disturbance operator and a probabilistic disturbance operator;

[0144] The random perturbation operator is used to randomly select a preset number of aircraft paths to construct a neighborhood;

[0145] The probability perturbation operator is used to select the preset number of aircraft paths according to the importance of the flight to construct a neighborhood; wherein, the lower the importance of the flight, the higher the probability that the corresponding aircraft path is selected.

[0146] Preferably, the repair operator includes a path exchange repair operator and an insertion repair operator;

[0147] The path exchange repair operator is used to exchange the selected aircraft paths in pairs to obtain the repaired aircraft paths;

[0148] The insertion repair operator is used to reinsert the disturbed flight on the selected aircraft path into any aircraft path to obtain a repaired aircraft path.

[0149] Preferably, the device further comprises:

[0150] The aircraft path checking module is used to determine whether each repaired aircraft path meets all the rules according to the preset airport connection rules, minimum stopover time rules and maximum flight delay time rules; if it does, a new solution is generated based on the repaired aircraft path; if it does not, the flights on the aircraft path are delayed or cancelled, and a new aircraft path and a new solution are generated.

[0151] Preferably, if the strategy is a delayed acceptance hill climbing strategy, then updating the current solution and the current optimal solution according to the new solution and the selected strategy specifically includes:

[0152] According to the objective function in the flight scheduling model, determine whether the objective function value of the new solution is better than the objective function value of the current optimal solution; if so, use the new solution as the current solution and the current optimal solution; if not, determine whether the objective function value of the new solution is better than the objective function value of the current solution;

[0153] If the objective function value of the new solution is better than the objective function value of the current solution, the new solution is used as the current solution;

[0154] If the objective function value of the new solution is not better than the objective function value of the current solution, determining whether the list of historical optimal solutions is full;

[0155] If the historical optimal solution list is not full, inserting the current solution into the historical optimal solution list;

[0156] If the historical optimal solution list is full, compare the objective function value of the current solution with the objective function value of the worst solution in the historical optimal solution list; if the objective function value of the current solution is better than the objective function value of the worst solution, delete the worst solution and insert the current solution into the historical optimal solution list.

[0157] Preferably, the adjusting the strategy weight and the operator weight accordingly according to the historical performance of the strategy and the operator specifically includes:

[0158] The corresponding strategy weight is calculated according to the preset initial strategy weight, the number of times the strategy is selected, the strategy score and the preset update coefficient; wherein the strategy score increases as the total number of updates of the current solution and the current optimal solution corresponding to the selected strategy during the iteration increases;

[0159] The corresponding operator weight is calculated according to the preset initial operator weight, the number of times the operator is selected, the operator score and the preset update coefficient; wherein the operator score increases with the increase in the total number of updates of the current solution and the current optimal solution corresponding to the selected operator during the iteration process.

[0160] Preferably, the device further comprises:

[0161] The multi-thread module is used to perform search iterations on the flight scheduling model in a multi-threaded parallel manner, and compare the optimal solutions obtained by all threads to obtain an overall optimal solution; the overall optimal solution is output as the optimal solution of the flight scheduling model.

[0162] In specific implementation, the working principle, control process and technical effect achieved by the abnormal flight scheduling device provided in the embodiment of the present invention are the same as those of the abnormal flight scheduling method in the above embodiment, and will not be repeated here.

[0163] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the abnormal flight scheduling method described in any of the above embodiments.

[0164] The embodiment of the present invention provides an abnormal flight scheduling method, device and storage medium, which have the beneficial effects of: by using an improved adaptive large neighborhood search algorithm to search in multiple neighborhoods of the current solution, the algorithm can increase the search range in the solution space, and it adopts multiple strategies and operators, and adjusts the strategies and operators used in the next iteration according to the historical performance of the strategies and operators, which can effectively improve the search efficiency and the quality of the solution; by combining multiple strategies such as simulated annealing and delayed reception hill climbing, it can avoid falling into the local optimum; by combining the taboo idea, it can avoid repeatedly searching the same neighborhood; by using the importance of flights to guide the neighborhood construction, it can integrate the expert business experience into the operator design, avoid blind search, and effectively improve the search efficiency; by using a multi-threaded method to simultaneously use multiple threads to perform adaptive large neighborhood search and output the optimal solution, it can improve the search efficiency and avoid the local optimum. The embodiment of the present invention can avoid falling into the local optimum when solving the flight recovery problem, improve the search efficiency and the quality of the solution, and can provide a high-quality scheduling solution for the recovery of abnormal flights within an acceptable time.

[0165] It should be noted that the system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the system embodiment provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0166] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An abnormal flight scheduling method, characterized in that: include: Obtain flight information of flights to be restored within the restoration period and available aircraft information, and establish a flight scheduling model based on flight importance; Based on the flight scheduling model, initializing parameters and generating an initial solution; Taking the initial solution as the current solution and the current optimal solution, an adaptive large neighborhood search algorithm is used to perform search iterations; In each iteration, the strategy is probabilistically selected according to the strategy weight in a roulette manner; the perturbation operator and the repair operator are probabilistically selected according to the operator weight in a roulette manner; a neighborhood is constructed according to the selected perturbation operator, and a new solution is obtained according to the selected repair operator until the new solution satisfies the taboo criterion, and then the current solution and the current optimal solution are updated according to the new solution and the selected strategy; According to the historical performance of the strategy and the operator, the strategy weight and the operator weight are adjusted accordingly to perform the next iteration; the iteration is performed until the termination condition is met to obtain the optimal solution of the flight scheduling model; wherein the strategy includes a delayed acceptance hill climbing strategy and a simulated annealing strategy; According to the optimal solution of the flight scheduling model, a scheduling plan for the flight to be restored is obtained.

2. The abnormal flight scheduling method according to claim 1, characterized in that: The initialization parameters and generating the initial solution specifically include: Initialize the maximum number of iterations, strategy weight, strategy score, operator weight, and operator score; Initialize a taboo table, a list of historical optimal solutions of the delayed acceptance hill climbing strategy, and an initial temperature of the simulated annealing strategy; wherein the taboo table is used to record the initial solution and the new solution obtained in each iteration process; The disturbed aircraft path is restored by delaying or canceling flights to generate an initial solution; wherein the initial solution is the flights to be restored and the aircraft corresponding to each flight, and each aircraft path includes at least one flight.

3. The abnormal flight scheduling method according to claim 1, characterized in that: The disturbance operator includes a random disturbance operator and a probabilistic disturbance operator; The random perturbation operator is used to randomly select a preset number of aircraft paths to construct a neighborhood; The probability perturbation operator is used to select the preset number of aircraft paths according to the importance of the flight to construct a neighborhood; wherein, the lower the importance of the flight, the higher the probability that the corresponding aircraft path is selected.

4. The abnormal flight scheduling method according to claim 1, characterized in that: The repair operators include a path exchange repair operator and an insertion repair operator; The path exchange repair operator is used to exchange the selected aircraft paths in pairs to obtain the repaired aircraft paths; The insertion repair operator is used to reinsert the disturbed flight on the selected aircraft path into any aircraft path to obtain a repaired aircraft path.

5. The abnormal flight scheduling method according to claim 4, characterized in that: After obtaining the repaired aircraft path, the method further includes: According to the preset airport connection rules, minimum stopover time rules and maximum flight delay time rules, determine whether each repaired aircraft path meets all the rules; If satisfied, a new solution is generated based on the repaired aircraft path; If not, the flights on the aircraft path will be delayed or cancelled, a new aircraft path will be generated, and a new solution will be generated.

6. The abnormal flight scheduling method according to claim 5, characterized in that: If the strategy is a delayed acceptance hill climbing strategy, then updating the current solution and the current optimal solution according to the new solution and the selected strategy specifically includes: According to the objective function in the flight scheduling model, determine whether the objective function value of the new solution is better than the objective function value of the current optimal solution; if so, use the new solution as the current solution and the current optimal solution; if not, determine whether the objective function value of the new solution is better than the objective function value of the current solution; If the objective function value of the new solution is better than the objective function value of the current solution, the new solution is used as the current solution; If the objective function value of the new solution is not better than the objective function value of the current solution, determining whether the list of historical optimal solutions is full; If the historical optimal solution list is not full, inserting the current solution into the historical optimal solution list; If the historical optimal solution list is full, compare the objective function value of the current solution with the objective function value of the worst solution in the historical optimal solution list; if the objective function value of the current solution is better than the objective function value of the worst solution, delete the worst solution and insert the current solution into the historical optimal solution list.

7. The abnormal flight scheduling method according to claim 1, characterized in that: The strategy weights and operator weights are adjusted accordingly according to the historical performance of the strategy and the operator, specifically including: The corresponding strategy weight is calculated according to the preset initial strategy weight, the number of times the strategy is selected, the strategy score and the preset update coefficient; wherein the strategy score increases as the total number of updates of the current solution and the current optimal solution corresponding to the selected strategy during the iteration increases; The corresponding operator weight is calculated according to the preset initial operator weight, the number of times the operator is selected, the operator score and the preset update coefficient; wherein the operator score increases with the increase in the total number of updates of the current solution and the current optimal solution corresponding to the selected operator during the iteration process.

8. The abnormal flight scheduling method according to claim 1, characterized in that: The method further comprises: The flight scheduling model uses a multi-threaded parallel approach to perform search iterations, and compares the optimal solutions obtained by all threads to obtain an overall optimal solution; the overall optimal solution is output as the optimal solution of the flight scheduling model.

9. An abnormal flight dispatching device, characterized in that: include: An information acquisition module is used to obtain flight information of flights to be restored and available aircraft information, and to establish a flight scheduling model based on flight importance; An initialization module, used to initialize parameters and generate an initial solution based on the flight scheduling model; An optimal solution search module, used to use the initial solution as the current solution and the current optimal solution, and perform search iteration using an adaptive large neighborhood search algorithm; In each iteration, the strategy is probabilistically selected according to the strategy weight in a roulette manner; the perturbation operator and the repair operator are probabilistically selected according to the operator weight in a roulette manner; a neighborhood is constructed according to the selected perturbation operator, and a new solution is obtained according to the selected repair operator until the new solution satisfies the taboo criterion, and then the current solution and the current optimal solution are updated according to the new solution and the selected strategy; According to the historical performance of the strategy and the operator, the strategy weight and the operator weight are adjusted accordingly to perform the next iteration; the iteration is performed until the termination condition is met to obtain the optimal solution of the flight scheduling model; wherein the strategy includes a delayed acceptance hill climbing strategy and a simulated annealing strategy; The flight scheduling module is used to obtain the scheduling plan of the flight to be restored according to the optimal solution of the flight scheduling model.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the abnormal flight scheduling method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Shared bicycle carrying optimization method based on adaptive neighborhood search algorithm

    CN112907188A

  • Multi-satellite task planning method and system for large-area target

    CN115659556A

  • Air transportation resource scheduling method, electronic equipment and storage medium

    CN117035276A

  • Transportation system and method for passenger and route scheduling

    WO2020263177A1

Cited By

  • Flight arrival and landing scheduling method based on hyper-heuristic algorithm

    CN120299304A

  • Helicopter rescue scheduling method and system based on large neighborhood search algorithm

    CN120509700A

  • A method and system for scheduling a helicopter rescue based on a large neighborhood search algorithm

    CN120509700B