WO2024032376A1 - Vehicle path optimization method based on hybrid genetic algorithm, and application thereof - Google Patents

Vehicle path optimization method based on hybrid genetic algorithm, and application thereof Download PDF

Info

Publication number
WO2024032376A1
WO2024032376A1 PCT/CN2023/109506 CN2023109506W WO2024032376A1 WO 2024032376 A1 WO2024032376 A1 WO 2024032376A1 CN 2023109506 W CN2023109506 W CN 2023109506W WO 2024032376 A1 WO2024032376 A1 WO 2024032376A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
cargo
sequence
goods
information
Prior art date
Application number
PCT/CN2023/109506
Other languages
French (fr)
Chinese (zh)
Inventor
姚陈潇
Original Assignee
姚陈潇
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 姚陈潇 filed Critical 姚陈潇
Publication of WO2024032376A1 publication Critical patent/WO2024032376A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • G06Q30/0284Time or distance, e.g. usage of parking meters or taximeters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Definitions

  • the present invention relates to the technical field of combined optimization of cargo loading and vehicle routing.
  • the distribution center (or the logistics company responsible for transportation management) organizes appropriate driving routes according to the production plan of the automobile manufacturer every day, and delivers the goods to each supplier. Collect parts of different quantities, sizes, and unloading time limits, use vehicles of different models to perform transportation tasks, and send the parts to the distribution center for unloading, so that the parts inventory in the distribution center can continue to meet the production plan of the automobile manufacturer. .
  • it can achieve the purpose of minimizing the total transportation cost and minimizing the total transportation time under certain constraints, such as vehicle loading constraints, the divisible supply demand of a single supplier, and limited vehicle types and quantities.
  • the purpose of the present invention is to overcome the shortcomings of the existing technology and provide a vehicle path optimization method and application based on a hybrid genetic algorithm.
  • the present invention can set a target fitness function according to actual operating conditions to evaluate the vehicle path scheme generated after genetic operations. , to finally select the optimal vehicle route plan.
  • the present invention provides the following technical solutions:
  • a vehicle route optimization method based on hybrid genetic algorithm including the following steps:
  • Obtain cargo information and vehicle information execute the steps of establishing sequence information and generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select the Pareto solution, and calculate each
  • the target fitness function value of the chromosome is used to compare the Pareto solutions, and the final Pareto solution and its corresponding vehicle route plan are determined after eliminating the bad and retaining the good; the vehicle route plan includes all paths and the corresponding loading plan.
  • the target fitness function includes the total transportation cost costR and the total transportation time timeR of the vehicle route plan.
  • the chromosome is compiled based on integer coding.
  • the chromosome includes the first half of the cargo segment and the second half of the vehicle segment.
  • the cargo segments are based on parts packaging containers, and one box is regarded as one gene. When the goods are combined After forming into pallets, combine one pallet into one box.
  • a cargo sequence I_list, a vehicle model sequence K_list and a supplier node sequence S_list are established.
  • the supplier node sequence in the supplier node sequence S_list is The goods are arranged according to their position information in the goods sequence I_list.
  • the steps of generating feasible solutions include: Step S201, generate an initial population of goods + vehicle models; Step S202, based on the chromosome information in the initial population, correspondingly obtain the vehicle route plan, and calculate the target fitness function value of each chromosome in the initial population, Select the Pareto solution and its corresponding vehicle routing scheme, and write the new Pareto solution and its corresponding vehicle routing scheme into the Pareto optimal solution set; step S203, perform genetic operations on each chromosome in the initial population of the aforementioned goods + vehicle models, Generate the cargo offspring population; based on the chromosome information in the cargo offspring population, correspondingly obtain the vehicle route plan, calculate the target fitness function value of each chromosome in the cargo offspring population, compare the Pareto solutions, and obtain the new Pareto solution and its corresponding The vehicle route plan is written into the Pareto optimal solution set; step S204, determine whether the termination condition is met, and if the termination condition is reached, continue to step S205; otherwise, return to step S202
  • step S2023 take out the iL-th cargo from the cargo sequence I_list and add it to the cargo sequence L_list to be loaded.
  • execute Step S2024 otherwise, execute step S2025; step S2024, use the cargo sequence to be loaded and the carriage information corresponding to the vehicle model as parameters, call the preset simulated annealing algorithm, generate a loading plan, and follow the position order of the loaded cargo in the cargo sequence I_list , arrange the corresponding supplier node S_list sequence, remove duplicate supplier nodes, add a distribution center at the start node and end node of the supplier node sequence S_list, generate a path, store the path in the vehicle routing scheme, and calculate The path has been loaded with the earliest delivery time window of the goods and whether each goods is late ⁇ i .
  • step S2025 when iL ⁇ length(I_list)
  • ⁇ i is a 0-1 variable.
  • the genetic operation includes selection, crossover and mutation operations on the cargo + vehicle model chromosomes; the genetic operation independently performs selection, crossover and mutation operations on the cargo fragments and vehicle vehicle fragments on the chromosomes; the crossover probability of each of the aforementioned chromosomes or The aforementioned mutation probabilities can be set to the same value.
  • Step S301 segmenting vehicle vehicle segments and cargo segments: For segmenting vehicle segment segments, the order is from the beginning to the end, and only one segment is segmented at a time.
  • Car model obtain the cabin volume of the car model; for segmented cargo fragments, the sequence is divided one by one from beginning to end, until the sum of the divided cargo volumes exceeds the cabin volume of the vehicle model, or the cargo fragments have been segmented Completed; step S302, perform loading verification: use the preset vehicle loading algorithm to verify the segmented vehicle models and goods and generate a loading plan; determine whether there are unloaded goods after verification, and determine if yes , put the unloaded goods back into the cargo fragments, and loop through steps S301 and S302 until all the goods are loaded into the corresponding vehicles; step S303, generate a vehicle route plan: according to the loaded goods of each vehicle , generate a vehicle route plan, and calculate the earliest unloading window time, total transportation cost and total transportation time for each route.
  • a vehicle route optimization system based on hybrid genetic algorithm including:
  • the condition preset module sets vehicle loading constraints and vehicle path constraints, as well as corresponding target evaluation indicators in the vehicle path plan;
  • Information input module is used to input cargo information, vehicle model information and supplier node information
  • the solution generation module is used to obtain cargo information and vehicle information, execute the steps of establishing sequence information and generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select Pareto solution, and calculate the target fitness function value of the chromosome in each iteration process to compare the Pareto solutions, and determine the final Pareto solution and its corresponding vehicle path plan after eliminating the bad and retaining the good; the vehicle path plan includes all paths and Corresponding loading plan.
  • the advantage of the present invention is that based on actual operational needs, a target fitness function is set to evaluate the vehicle route plan generated after the genetic operation, and the selection, crossover and mutation operations are independently performed in the genetic operation. , filter the descendants The better Pareto solution corresponding to the chromosome in the population is finally selected through multiple iteration processes to select the optimal vehicle route plan.
  • the loading constraints, path constraints, total transportation cost and total transportation time are also considered to facilitate the handling of actual transportation problems in real scenarios.
  • Figure 1 is a flow chart provided by an embodiment of the present invention.
  • Figure 2 is an example diagram of a coding and decoding process provided by an embodiment of the present invention.
  • FIG. 3 is an example diagram of a vehicle route considering cargo loading constraints and multi-vehicle demand splitting provided by an embodiment of the present invention.
  • Figure 4 is an example diagram of a crossover operation in a genetic operation provided by an embodiment of the present invention.
  • Figure 5 is a diagram illustrating an example of mutation operation in genetic operation provided by the embodiment of the present invention.
  • Figure 6 is a schematic structural diagram of a system provided by an embodiment of the present invention.
  • I ⁇ 1,...,n ⁇ : A collection of goods to be loaded, including n goods to be loaded.
  • K ⁇ 1,...,k ⁇ : car model set.
  • R ⁇ 1,...,r ⁇ : Output result path unit set, in which there are r output result paths.
  • the decision variables of the mathematical model are v ir , ⁇ rl , w rk and u ijr , as defined in the following table:
  • a vehicle route optimization method based on a hybrid genetic algorithm including the following implementation steps:
  • Step S1 set the target fitness function as the target evaluation index of the vehicle route plan.
  • the standard is used to evaluate the adaptability of chromosomes in genetic algorithms.
  • the target fitness function is the total transportation cost costR and the total transportation time timeR of the vehicle route plan.
  • the total transportation time is expressed as:
  • the solution objectives of the combined optimization problem of vehicle loading and vehicle routing are set to the lowest total transportation cost costR and the lowest total transportation time timeR, as shown below:
  • the first goal is to minimize the total transportation cost costR.
  • the first item of this goal is the sum of the transportation cost in transit and the cost of loading and unloading trucks for each route.
  • the second item is the penalty cost caused by picking up the goods early; the second goal is transportation.
  • the total time timeR is the least, and the transportation time is the sum of the transportation time in transit and the loading and unloading time at the node.
  • the constraint conditions for vehicle loading and vehicle routing are set accordingly to satisfy the minimum total transportation cost costR and the total transportation time timeR under the condition of many constraints. least.
  • Vehicle loading constraints are divided into general constraints and special constraints; one type is general constraints: mainly volume constraints, constraints that the loaded goods are not embedded in each other, and constraints that the loaded goods and the carriage are not embedded; the other type is special constraints: There are mainly complete support constraints, single box load-bearing constraints, cargo stacking constraints, vehicle load-bearing constraints and center of gravity constraints.
  • a supplier node is visited by at least one pickup path, as shown in equation (1).
  • a pickup route can only be served by one vehicle, as shown in equation (4).
  • a supplier node is visited by at least one pickup path, as shown in equation (5).
  • a pickup route can only be served by one vehicle, as shown in equation (8).
  • the chromosome is compiled based on integer coding.
  • the chromosome includes the first half of the cargo segment and the second half of the vehicle segment.
  • the cargo segment is based on the parts packaging container, and one box is regarded as one gene. When the goods After combining into pallets, one combined pallet is used as one box.
  • FIG. 2 As a preferred implementation of this embodiment, see Figure 2.
  • numbers from 1 to 9 are used to indicate that there are 9 boxes of goods. Each box of goods has its corresponding supplier information, unloading time window information, and Basic loading information such as cargo size, cargo weight, cargo stacking rules, etc.
  • the 9th, 6th and 8th boxes of goods belong to supplier S1
  • the 7th, 5th, 4th and 1st boxes of goods belong to supplier S2
  • the 3rd and 2nd boxes of goods belong to supplier S3
  • the vehicle model fragment code 11 to The number 13 indicates that there are 3 vehicles responsible for transportation tasks, corresponding to 8-meter, 12-meter and 8-meter models respectively.
  • Step S2 obtain cargo information and vehicle information, execute the steps of establishing sequence information and generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select the Pareto solution, and Calculate the target fitness function value of the chromosome in each iteration process to compare the Pareto solutions, and determine the final Pareto solution and its corresponding vehicle route plan after eliminating the bad and retaining the good; the vehicle route plan includes all paths and corresponding loads plan.
  • a cargo sequence I_list, a vehicle model sequence K_list, and a supplier node sequence S_list are established corresponding to the collected cargo information, vehicle model information, and supplier node information.
  • the supplier node sequence S_list The supplier node sequence is arranged correspondingly according to the position information of the goods in the goods sequence I_list.
  • the generated feasible solution preferably uses a hybrid genetic algorithm to solve the combined optimization problem of cargo loading and vehicle routing, and adopts the chromosome encoding method of cargo + vehicle type to obtain the initial population of cargo + vehicle type.
  • the step S200 of generating feasible solutions includes:
  • Step S201 Generate an initial population of goods + vehicle models.
  • parameters of the genetic algorithm include: initial population, population size N, number of iterations T, crossover probability PC, mutation probability PM, etc., and the initial population generation process is as follows.
  • N the population size N is 100, first randomly generate 100 sets of cargo sequences and 100 sets of vehicle model sequences, then add a starting point before each cargo in the cargo sequence, and add a starting point at the end of the cargo sequence, and use the same method to The vehicle vehicle sequence is processed, and finally a cargo sequence and vehicle vehicle sequence are spliced to form a chromosome in the population.
  • Step S202 Based on the chromosome information in the initial population, correspondingly obtain the vehicle route plan, calculate the target fitness function value of each chromosome in the initial population, select the Pareto solution and its corresponding vehicle route plan, and combine the new Pareto solution and its corresponding The vehicle routing plan is written into the Pareto optimal solution set.
  • Step S203 perform genetic operations on each chromosome in the initial population of cargo + vehicle models to generate a population of cargo offspring; based on the chromosome information in the population of cargo offspring, corresponding Obtain the vehicle route plan, calculate the target fitness function value of each chromosome in the cargo offspring population, compare the Pareto solutions, obtain the new Pareto solution and its corresponding vehicle route plan, and write it into the Pareto optimal solution set.
  • Step S204 Determine whether the termination condition is met. If the termination condition is met, continue to execute step S205. Otherwise, return to step S202.
  • the maximum number of iterations is preferably used as the termination condition.
  • the algorithm program iteration is terminated and the Pareto optimal solution set is output.
  • Step S205 output the Pareto optimal solution set and the corresponding vehicle route plan.
  • the output information includes the supplier sequence, loading plan, transportation time ti , total transportation cost costR and total transportation time timeR information on the route.
  • the hybrid genetic algorithm optimizes the vehicle model allocation and demand splitting scheme through genetic operations, and uses the vehicle loading algorithm to verify and divide the generated paths, and finally outputs the multi-objective Pareto optimal solution set to obtain Feasible vehicle routing options.
  • Step S2022 if iK ⁇ length(K_list), retrieve the iK-th vehicle model from the vehicle model sequence K_list, otherwise, retrieve the length(K_list)-th vehicle model from the vehicle model sequence K_list, and obtain the cabin volume CV.
  • Step S2023 remove the iL-th cargo from the cargo sequence I_list and add it to the cargo sequence L_list to be loaded.
  • step S2024 is executed. Otherwise, step S2025 is executed.
  • the simulated annealing algorithm refers to an algorithm that randomly adjusts the loading of goods during the simulated annealing process, generates new loading sequences, and selects the optimal loading plan by comparing the loading rates according to different loading sequences corresponding to different loading rates. .
  • the content of calling the simulated annealing algorithm to generate the cargo loading plan is an existing technology, so it will not be elaborated in the preferred implementation of this embodiment.
  • each supplier is allowed multiple visits per day, the same supplier has multiple paths to visit to pick up goods, each The daily cumulative supply of each supplier may exceed the capacity of one vehicle. Each vehicle may transport part of the supplied parts but must complete the transportation of all supplied parts on the same day.
  • Path 1 is: a 12-meter truck departs from the distribution center at 6 o'clock on the 1st and travels to supplier 1 first. Pick up the goods at Supplier 2, then drive to Supplier 2 to pick up the goods, and finally send them to the distribution center for unloading;
  • Route 2 is: an 8-meter truck departs from the distribution center at 12 o'clock on the 1st, first drives to Supplier 2 to pick up the goods, and then Drive to supplier 3 to pick up the goods, and finally send them to the distribution center for unloading.
  • Step S2026 output the vehicle route plan.
  • the information of each R i path includes the supplier sequence, packing plan, transportation time t i on the path, and whether the loaded goods are Late ⁇ i . .
  • the ⁇ i is a 0-1 variable.
  • the genetic operation includes selection, crossover and mutation operations on the cargo+vehicle chromosomes; the genetic operation independently performs selection, crossover and mutation operations on the cargo fragments and vehicle vehicle fragments on the chromosomes; the crossover probability of each of the aforementioned chromosomes Or the aforementioned mutation probability can be set to the same value.
  • the selection operation preferably adopts an elite retention strategy. Assume there are 100 chromosomes. First, select two chromosomes with the lowest total transportation cost and lowest total transportation time and retain them in the next generation population; then randomly pair the remaining 98 chromosomes. 49 pairs of new chromosomes were obtained; and crossover and mutation operations were performed on the new chromosomes.
  • the crossover operation preferably adopts the Inver-over method, that is, among the above-mentioned 49 pairs of chromosomes, a probability value is randomly generated for each pair of chromosomes. If the probability value corresponding to a pair of chromosomes is less than the crossover probability initially defined by the algorithm, this pair of chromosomes is used as the parent chromosome, and the crossover operation is performed to generate two offspring chromosomes.
  • FIG. 4 In the crossover operation, two parent chromosomes are randomly selected: P1 and P2 chromosomes, gene G1 is randomly selected from chromosome P1, and the location G1 of gene G1 is searched in chromosome P2. ', select the first gene G2 after gene G1'. If G1' is the last gene in chromosome P2, select the first gene in chromosome P2 as G2, find the G2 position G2' in chromosome P1, and match G1 together with The part between G1 and G2' is flipped and transformed, but the position of G2' remains unchanged. In the same way, crossover processing is performed on chromosome P2.
  • the intersection operation using the Inver-over method has the characteristics of fast convergence speed and high accuracy.
  • the mutation operation randomly generates a probability value for each pair of chromosomes for the 98 chromosomes obtained after the crossover operation. If the probability value of a chromosome is less than the mutation probability initially defined by the algorithm, then this chromosome will be used as the parent chromosome, and a mutation operation will be performed to generate a offspring chromosome. If the two target fitness function values of the offspring chromosome are better than those of the parent chromosome If there are two target fitness function values, use the offspring chromosome to replace the parent chromosome; if the two target fitness function values of the offspring chromosome are worse than the two target fitness function values of the parent chromosome, continue to retain the parent chromosome chromosome.
  • the mutation operation preferably adopts a single gene replacement method.
  • the mutation process of the single gene replacement method can randomly select two genes in the chromosome for position exchange.
  • the corresponding solution goals of this embodiment are to minimize the total transportation cost and minimize the total transportation time.
  • there are multiple optimal solutions namely Pareto solutions, and their corresponding solution sets are Pareto optimal solution sets.
  • Each Pareto solution cannot be compared with each other for all chromosomes. , so the target fitness function is set to evaluate the quality of chromosomes, the fitness function value corresponding to each chromosome is calculated, a Pareto solution is formed and selected.
  • the aforementioned Pareto solution is decoded to generate a vehicle route solution, and the decoding includes the steps:
  • Step S301 segment vehicle models and cargo segments: For segmenting vehicle segments, the order is from beginning to end, and only one model is segmented at a time to obtain the cabin volume of that model; for segmenting cargo segments, the order is from beginning to end. direction, segment one by one until the sum of the volumes of the cargo that has been segmented this time exceeds the compartment volume of the vehicle model, or the cargo segments have been segmented.
  • Step S302 perform loading verification: use the preset vehicle loading algorithm to verify the segmented vehicle models and goods and generate a loading plan; determine whether there are unloaded goods after verification. If it is determined to be yes, The unloaded goods are put back into the goods fragments, and steps S301 and S302 are processed in a loop until all the goods are loaded into the corresponding vehicles.
  • Step S303 generate a vehicle route plan: generate a vehicle route plan based on the loaded goods of each vehicle, and calculate the earliest unloading window time, total transportation cost, and total transportation time for each route.
  • the vehicle routing solution for this problem is 2 paths, that is, the One route uses an 8-meter vehicle, starting from the distribution center, driving to the supplier node S1 to pick up the 9th, 6th, and 8th goods, and then driving to the supplier node S2 to pick up the 7th goods, and then sent to the distribution center for unloading;
  • the second route uses a 12-meter vehicle, starting from the distribution center, driving to the supplier node S2 to pick up the 5th, 4th, and 1st goods, and then driving to the supplier node S3 to pick up the 3rd and 2nd goods, and then sending them to distribution. Center unloading.
  • improved encoding and decoding methods and hybrid genetic algorithms are used to realize and optimize vehicle vehicle allocation and demand splitting, and the vehicle loading algorithm is used for verification to generate a vehicle route plan.
  • the present invention also provides an embodiment, providing a vehicle route optimization system 100 based on a hybrid genetic algorithm.
  • the system 100 includes conditions Preset module 110, information input module 120 and solution generation module 130.
  • the condition presetting module 110 sets vehicle loading constraint conditions and vehicle route constraint conditions, as well as corresponding target evaluation indicators in the vehicle route plan.
  • the information input module 120 is used to input cargo information, vehicle model information and supplier node information.
  • the solution generation module 130 is used to obtain cargo information and vehicle information, execute the step of establishing sequence information and the step of generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select Pareto solution, and calculate the target fitness function value of the chromosome in each iteration process to compare the Pareto solution, and determine the final Pareto solution and its corresponding vehicle path plan after eliminating the bad and retaining the good; the vehicle path plan includes all paths and the corresponding loading plan.
  • the system may also include a user interface module for collecting user input information and outputting information to the user.
  • the user interface module includes a graphical user interface (GUI) for users to view and analyze results.
  • GUI graphical user interface
  • the system may also include other components typically found in computing systems, such as an operating system, a queue manager, a device driver, a database driver, or one or more network protocols stored in memory and executed by a processor.
  • an operating system such as an operating system, a queue manager, a device driver, a database driver, or one or more network protocols stored in memory and executed by a processor.

Abstract

The present invention provides a vehicle path optimization method based on a hybrid genetic algorithm and an application thereof, which relate to the technical field of combination optimization of cargo loading and vehicle paths. The method comprises: setting a target fitness function as a target evaluation indicator of a vehicle path scheme for evaluating the fitness of chromosomes in a genetic algorithm; obtaining cargo information and vehicle information, and executing a step of establishing sequence information and a step of generating a feasible scheme, so as to determine a vehicle path scheme; and in the step of generating a feasible scheme, computing target fitness function values corresponding to primary chromosomes to select Pareto solutions, computing a target fitness function value of the chromosomes in each iteration to compare Pareto solutions, and screening out a final Pareto solution and a corresponding vehicle path scheme. According to the method, a target fitness function is set according to actual operation conditions to evaluate vehicle path schemes generated after genetic operations, so as to screen out an optimal vehicle path scheme.

Description

基于混合遗传算法的车辆路径优化方法及应用Vehicle route optimization method and application based on hybrid genetic algorithm 技术领域Technical field
本发明涉及货物装载和车辆路径的组合优化技术领域。The present invention relates to the technical field of combined optimization of cargo loading and vehicle routing.
背景技术Background technique
汽车零部件入厂物流中循环取货问题作为一种货物装载和车辆路径的组合优化问题,一直是物流工业中研究的主流问题之一。As a combined optimization problem of cargo loading and vehicle routing, the circular pickup problem of auto parts in-factory logistics has always been one of the mainstream issues studied in the logistics industry.
在汽车零部件入厂物流中循环取货问题中,其采用了多频次,小批量的循环取货模式。为了满足汽车柔性生产和库存管理对零部件取货运输的要求,在实际运营中存在一个供应商每天被多车次访问、需求可被拆分后分别运输、多种车型车辆执行运输任务以及限定卸货时间窗等情形。In the problem of cyclic pickup in the logistics of auto parts entering the factory, a multi-frequency, small-batch cyclic pickup model is adopted. In order to meet the requirements of flexible production and inventory management of automobiles for parts pickup and transportation, in actual operations, a supplier is visited by multiple vehicles every day, the demand can be split and transported separately, multiple types of vehicles perform transportation tasks, and unloading is limited. time window, etc.
即在现实情况下,存在一定数量的供应商分布于地理空间的各处,配送中心(或负责运输管理的物流公司)每天根据汽车制造厂的生产计划,组织适当的行车路径,向各供应商收取不同数量、不同尺寸、不同卸货时间限制的零部件,由不同车型的车辆来执行运输任务,将零部件送至配送中心卸货,使得配送中心的零部件库存能够持续满足汽车制造厂的生产计划。同时,又能在一定的约束即车辆装载约束、单个供应商的供应需求可拆分、车辆车型与数量限定等条件下,达到运输总成本最小和运输总时间最少的目的。That is to say, in reality, there are a certain number of suppliers distributed throughout the geographical space. The distribution center (or the logistics company responsible for transportation management) organizes appropriate driving routes according to the production plan of the automobile manufacturer every day, and delivers the goods to each supplier. Collect parts of different quantities, sizes, and unloading time limits, use vehicles of different models to perform transportation tasks, and send the parts to the distribution center for unloading, so that the parts inventory in the distribution center can continue to meet the production plan of the automobile manufacturer. . At the same time, it can achieve the purpose of minimizing the total transportation cost and minimizing the total transportation time under certain constraints, such as vehicle loading constraints, the divisible supply demand of a single supplier, and limited vehicle types and quantities.
在汽车零部件入厂物流中循环取货问题中,考虑到运输总成本和运输总时间,对货物装载和车辆路径加以限制,针对货物装载和车辆路径设置了以下限定规则:In the problem of recycling goods in the inbound logistics of auto parts, taking into account the total transportation cost and total transportation time, restrictions are placed on cargo loading and vehicle paths. The following limiting rules are set for cargo loading and vehicle paths:
针对货物装载,需要满足四个方面的假设条件:1)车厢及待装货物均为长方体;2)放入的货物必须完全被包含在车厢内;3)货物只能以棱平行或垂直于车厢的棱的方向放置;4)要求货物只能绕着高度棱进行旋转,不可倾倒放置。For cargo loading, four assumptions need to be met: 1) the carriage and the goods to be loaded are both rectangular parallelepipeds; 2) the goods placed must be completely contained in the carriage; 3) the goods can only be loaded with edges parallel or perpendicular to the carriage Place the goods in the direction of the edge; 4) It is required that the goods can only be rotated around the height edge and cannot be placed upside down.
针对车辆路径需要满足五个方面的假设条件:1)每条路径必须从配送中心出发,最后回到配送中心;2)每个供应商可被路径访问不只一次;3)每条路径装入的货物应当满足车厢三维限制;4)每条路径只能由一辆车来服务;5)所有货物都有路径来取货配送。 Five assumptions need to be met for vehicle routes: 1) Each route must start from the distribution center and finally return to the distribution center; 2) Each supplier can be visited more than once by the route; 3) Each route loads The goods should meet the three-dimensional restrictions of the carriage; 4) Each path can only be served by one vehicle; 5) All goods have a path for pickup and delivery.
除以上限定规则之外,还需要保障在解决汽车零部件入厂物流中循环取货问题的过程中,以最小化库存和运输总成本为目标,实现车辆运输、配送等环节的资源优化。In addition to the above restricted rules, it is also necessary to ensure that in the process of solving the recycling problem of auto parts inbound logistics, the goal is to minimize the total inventory and transportation costs and achieve resource optimization in vehicle transportation, distribution and other links.
为此,提供一种基于混合遗传算法的车辆路径优化方法及应用,来获得可行的、多个考虑有货物装载的车辆路径方案,是当前亟需解决的技术问题。To this end, providing a vehicle route optimization method and application based on a hybrid genetic algorithm to obtain feasible, multiple vehicle route solutions that consider cargo loading is an urgent technical problem that needs to be solved.
发明内容Contents of the invention
本发明的目的在于:克服现有技术的不足,提供一种基于混合遗传算法的车辆路径优化方法及应用,本发明能够针对实际运营情况设置目标适应度函数来评价遗传操作后生成的车辆路径方案,以最终筛选出最优的车辆路径方案。The purpose of the present invention is to overcome the shortcomings of the existing technology and provide a vehicle path optimization method and application based on a hybrid genetic algorithm. The present invention can set a target fitness function according to actual operating conditions to evaluate the vehicle path scheme generated after genetic operations. , to finally select the optimal vehicle route plan.
为解决现有的技术问题,本发明提供了如下技术方案:In order to solve the existing technical problems, the present invention provides the following technical solutions:
一种基于混合遗传算法的车辆路径优化方法,包括如下步骤:A vehicle route optimization method based on hybrid genetic algorithm, including the following steps:
设置目标适应度函数作为车辆路径方案的目标评价指标,用来评价遗传算法中染色体的适应能力;Set the target fitness function as the target evaluation index of the vehicle routing plan to evaluate the adaptability of chromosomes in the genetic algorithm;
获取货物信息和车辆信息,执行建立序列信息步骤和生成可行方案步骤,以确定车辆路径方案;在生成可行方案步骤中,计算初代染色体对应的目标适应度函数值以选择Pareto解,并计算出每一迭代过程中染色体的目标适应度函数值来比较Pareto解,去劣存优后确定最终的Pareto解及其对应的车辆路径方案;所述车辆路径方案中包括所有路径以及对应的装载方案。Obtain cargo information and vehicle information, execute the steps of establishing sequence information and generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select the Pareto solution, and calculate each In an iterative process, the target fitness function value of the chromosome is used to compare the Pareto solutions, and the final Pareto solution and its corresponding vehicle route plan are determined after eliminating the bad and retaining the good; the vehicle route plan includes all paths and the corresponding loading plan.
进一步,所述目标适应度函数包括车辆路径方案的运输总成本costR和运输总时间timeR。Further, the target fitness function includes the total transportation cost costR and the total transportation time timeR of the vehicle route plan.
进一步,所述染色体基于整数编码进行编制,所述染色体包括前半段的货物片段和后半段的车型片段,其中,货物片段以零部件包装容器为单位,将一箱作为一个基因,当货物组合成托盘后,将组合后一个托盘作为一箱。Further, the chromosome is compiled based on integer coding. The chromosome includes the first half of the cargo segment and the second half of the vehicle segment. The cargo segments are based on parts packaging containers, and one box is regarded as one gene. When the goods are combined After forming into pallets, combine one pallet into one box.
进一步,在建立序列信息步骤中,对应采集的货物信息、车型信息和供应商节点信息,建立货物序列I_list、车型序列K_list和供应商节点序列S_list,所述供应商节点序列S_list中供应商节点顺序按照货物在货物序列I_list中的位置信息对应排列。 Further, in the step of establishing sequence information, corresponding to the collected cargo information, vehicle model information and supplier node information, a cargo sequence I_list, a vehicle model sequence K_list and a supplier node sequence S_list are established. The supplier node sequence in the supplier node sequence S_list is The goods are arranged according to their position information in the goods sequence I_list.
进一步,生成可行方案的步骤包括:步骤S201,生成货物+车型初始种群;步骤S202,基于初始种群中的染色体信息,对应得到车辆路径方案,计算初始种群中各条染色体的目标适应度函数值,选择Pareto解及其对应的车辆路径方案,将新Pareto解及其对应的车辆路径方案,写入Pareto最优解集;步骤S203,对前述货物+车型初始种群中的每个染色体进行遗传操作,生成货物子代种群;基于货物子代种群中的染色体信息,对应得到车辆路径方案,计算货物子代种群中各条染色体的目标适应度函数值,比较Pareto解,得到新Pareto解及其对应的车辆路径方案,并写入Pareto最优解集;步骤S204,判断是否满足终止条件,若已达到终止条件,则继续执行步骤S205,否则,返回步骤S202;步骤S205,输出Pareto最优解集和对应的车辆路径方案,输出的信息包含该路径上供应商序列、装载方案、运输时间ti、运输总成本costR和运输总时间timeR信息。Further, the steps of generating feasible solutions include: Step S201, generate an initial population of goods + vehicle models; Step S202, based on the chromosome information in the initial population, correspondingly obtain the vehicle route plan, and calculate the target fitness function value of each chromosome in the initial population, Select the Pareto solution and its corresponding vehicle routing scheme, and write the new Pareto solution and its corresponding vehicle routing scheme into the Pareto optimal solution set; step S203, perform genetic operations on each chromosome in the initial population of the aforementioned goods + vehicle models, Generate the cargo offspring population; based on the chromosome information in the cargo offspring population, correspondingly obtain the vehicle route plan, calculate the target fitness function value of each chromosome in the cargo offspring population, compare the Pareto solutions, and obtain the new Pareto solution and its corresponding The vehicle route plan is written into the Pareto optimal solution set; step S204, determine whether the termination condition is met, and if the termination condition is reached, continue to step S205; otherwise, return to step S202; step S205, output the Pareto optimal solution set and For the corresponding vehicle route plan, the output information includes the supplier sequence, loading plan, transportation time ti , total transportation cost costR and total transportation time timeR information on the route.
进一步,对应得到车辆路径方案时,包括步骤:步骤S2021,建立货物与供应商节点的关系,获取货物序列I_list、车型序列K_list和供应商节点序列S_list,初始化iL=1,iK=1,其中,iL代表第iL个货物,iK代表第iK个车型,设置待装货物序列L_list;步骤S2022,如果iK≤length(K_list),从车型序列K_list取出第iK个车型,否则,从车型序列K_list取出第length(K_list)个车型,并获取车厢体积CV;步骤S2023,从货物序列I_list中,取出第iL个货物加入待装货物序列L_list,当待装货物序列中货物体积之和大于车厢体积CV,执行步骤S2024,否则,执行步骤S2025;步骤S2024,将待装货物序列和车型对应的车厢信息作为参数,调用预设的模拟退火算法,生成装载方案,按照已装货物在货物序列I_list中的位置顺序,排列出对应的供应商节点S_list顺序,去掉重复的供应商节点,在供应商节点顺序S_list的开始节点和结束节点处增加上配送中心,生成路径,将该路径存入车辆路径方案,计算出该路径已装入货物的最早交货时间窗和各货物是否迟到αi,最后将已装货物从待装货物序列中删除,设置iK=iK+1;步骤S2025,当iL≤length(I_list)时,设置iL=iL+1,执行步骤S2023;如果待装货物序列L_list为空,进入步骤S2026,否则,返回步骤S2024;步骤S2026,输出车辆路径方案,对前述车辆路径方案中任意i∈R,每条Ri路径的信息,包含该路径上供应商序列、装箱方案、 运输时间ti,已装入的货物是否迟到αiFurther, when the vehicle route plan is obtained, the following steps are included: Step S2021, establish the relationship between goods and supplier nodes, obtain the goods sequence I_list, vehicle model sequence K_list and supplier node sequence S_list, initialize iL=1, iK=1, where, iL represents the iL-th cargo, iK represents the iK-th vehicle model, and sets the cargo sequence L_list to be loaded; step S2022, if iK≤length(K_list), retrieve the iK-th vehicle model from the vehicle model sequence K_list, otherwise, retrieve the iK-th vehicle model from the vehicle model sequence K_list. length(K_list) vehicle types, and obtain the compartment volume CV; step S2023, take out the iL-th cargo from the cargo sequence I_list and add it to the cargo sequence L_list to be loaded. When the sum of the volumes of the cargo in the cargo sequence to be loaded is greater than the compartment volume CV, execute Step S2024, otherwise, execute step S2025; step S2024, use the cargo sequence to be loaded and the carriage information corresponding to the vehicle model as parameters, call the preset simulated annealing algorithm, generate a loading plan, and follow the position order of the loaded cargo in the cargo sequence I_list , arrange the corresponding supplier node S_list sequence, remove duplicate supplier nodes, add a distribution center at the start node and end node of the supplier node sequence S_list, generate a path, store the path in the vehicle routing scheme, and calculate The path has been loaded with the earliest delivery time window of the goods and whether each goods is late α i . Finally, the loaded goods are deleted from the sequence of goods to be loaded, and iK=iK+1 is set; step S2025, when iL≤length(I_list) When , set iL=iL+1 and execute step S2023; if the sequence of goods to be loaded L_list is empty, go to step S2026, otherwise, return to step S2024; step S2026, output the vehicle route plan, for any i∈R in the aforementioned vehicle route plan , the information of each R i path includes the supplier sequence, packing scheme, Transportation time t i , whether the loaded goods are late α i .
进一步,所述αi为0-1变量,针对货物i,i∈I,αi=1表示已装载在车上,αi=0表示未装载在车上。Further, the α i is a 0-1 variable. For the cargo i, i∈I, α i =1 indicates that it is loaded on the vehicle, and α i =0 indicates that it is not loaded on the vehicle.
进一步,所述遗传操作包括对货物+车型染色体的选择、交叉和变异操作;所述遗传操作将染色体上货物片段和车型片段分别独立地进行选择、交叉和变异操作;前述染色体各自的交叉概率或前述变异概率能够设置为相同的值。Further, the genetic operation includes selection, crossover and mutation operations on the cargo + vehicle model chromosomes; the genetic operation independently performs selection, crossover and mutation operations on the cargo fragments and vehicle vehicle fragments on the chromosomes; the crossover probability of each of the aforementioned chromosomes or The aforementioned mutation probabilities can be set to the same value.
进一步,对前述Pareto解进行解码以生成车辆路径方案,所述解码包括步骤:步骤S301,切分车型片段和货物片段:针对切分车型片段,顺序按照从头至尾方向,每次只切分一个车型,获取该车型的车厢体积;针对切分货物片段,顺序按照从头至尾方向,逐个切分,直至本次已切分的货物体积之和超过车型的车厢体积为止,或者货物片段已切分完毕;步骤S302,进行装载校验:利用预设的车辆装载算法,对已切分的车型和货物进行校验并生成装载方案;判断校验后是否有未装入的货物,判定为是时,将未装入的货物放回货物片段中,循环处理步骤S301和步骤S302,直至将所有货物都装入对应的车辆中;步骤S303,生成车辆路径方案:根据每辆车已装入的货物,生成车辆路径方案,并计算每条路径的最早卸货的窗口时间、运输总成本与运输总时间。Further, the aforementioned Pareto solution is decoded to generate a vehicle route plan. The decoding includes the steps: Step S301, segmenting vehicle vehicle segments and cargo segments: For segmenting vehicle segment segments, the order is from the beginning to the end, and only one segment is segmented at a time. Car model, obtain the cabin volume of the car model; for segmented cargo fragments, the sequence is divided one by one from beginning to end, until the sum of the divided cargo volumes exceeds the cabin volume of the vehicle model, or the cargo fragments have been segmented Completed; step S302, perform loading verification: use the preset vehicle loading algorithm to verify the segmented vehicle models and goods and generate a loading plan; determine whether there are unloaded goods after verification, and determine if yes , put the unloaded goods back into the cargo fragments, and loop through steps S301 and S302 until all the goods are loaded into the corresponding vehicles; step S303, generate a vehicle route plan: according to the loaded goods of each vehicle , generate a vehicle route plan, and calculate the earliest unloading window time, total transportation cost and total transportation time for each route.
一种基于混合遗传算法的车辆路径优化系统,包括:A vehicle route optimization system based on hybrid genetic algorithm, including:
条件预置模块,设置车辆装载约束条件和车辆路径约束条件,以及车辆路径方案中对应的目标评价指标;The condition preset module sets vehicle loading constraints and vehicle path constraints, as well as corresponding target evaluation indicators in the vehicle path plan;
信息输入模块,用以输入货物信息、车型信息和供应商节点信息;Information input module is used to input cargo information, vehicle model information and supplier node information;
方案生成模块,用以获取货物信息和车辆信息,执行建立序列信息步骤和生成可行方案步骤,以确定车辆路径方案;在生成可行方案步骤中,计算初代染色体对应的目标适应度函数值以选择Pareto解,并计算出每一迭代过程中染色体的目标适应度函数值来比较Pareto解,去劣存优后确定最终的Pareto解及其对应的车辆路径方案;所述车辆路径方案中包括所有路径以及对应的装载方案。The solution generation module is used to obtain cargo information and vehicle information, execute the steps of establishing sequence information and generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select Pareto solution, and calculate the target fitness function value of the chromosome in each iteration process to compare the Pareto solutions, and determine the final Pareto solution and its corresponding vehicle path plan after eliminating the bad and retaining the good; the vehicle path plan includes all paths and Corresponding loading plan.
基于上述优点和积极效果,本发明的优势在于:基于实际运营需要,设置目标适应度函数来评价遗传操作后生成的车辆路径方案,并在遗传操作中通过分别独立地进行选择、交叉和变异操作,筛选子代 种群中染色体对应的更优的Pareto解,并经过多次迭代过程最终筛选出最优的车辆路径方案。Based on the above advantages and positive effects, the advantage of the present invention is that based on actual operational needs, a target fitness function is set to evaluate the vehicle route plan generated after the genetic operation, and the selection, crossover and mutation operations are independently performed in the genetic operation. , filter the descendants The better Pareto solution corresponding to the chromosome in the population is finally selected through multiple iteration processes to select the optimal vehicle route plan.
进一步,在设置目标适应度函数时,同时考虑装载约束、路径约束、运输总成本和运输总时间,便于应对现实场景下的实际运输问题。Furthermore, when setting the target fitness function, the loading constraints, path constraints, total transportation cost and total transportation time are also considered to facilitate the handling of actual transportation problems in real scenarios.
附图说明Description of drawings
图1为本发明实施例提供的一个流程图。Figure 1 is a flow chart provided by an embodiment of the present invention.
图2为本发明实施例提供的一个编码解码过程示例图。Figure 2 is an example diagram of a coding and decoding process provided by an embodiment of the present invention.
图3为本发明实施例提供的一个考虑货物装载约束和多车型需求拆分的车辆路径示例图。FIG. 3 is an example diagram of a vehicle route considering cargo loading constraints and multi-vehicle demand splitting provided by an embodiment of the present invention.
图4为本发明实施例提供的一个遗传操作中交叉操作示例图。Figure 4 is an example diagram of a crossover operation in a genetic operation provided by an embodiment of the present invention.
图5为本发明实施例提供的一个遗传操作中变异操作示例图。Figure 5 is a diagram illustrating an example of mutation operation in genetic operation provided by the embodiment of the present invention.
图6为本发明实施例提供的系统的结构示意图。Figure 6 is a schematic structural diagram of a system provided by an embodiment of the present invention.
附图标记说明:
系统100,条件预置模块110,信息输入模块120,方案生成模
块130。
Explanation of reference symbols:
System 100, condition presetting module 110, information input module 120, solution generation module 130.
具体实施方式Detailed ways
以下结合附图和具体实施例对本发明公开的一种基于混合遗传算法的车辆路径优化方法及应用,作进一步详细说明。应当注意的是,下述实施例中描述的技术特征或者技术特征的组合不应当被认为是孤立的,它们可以被相互组合从而达到更好的技术效果。在下述实施例的附图中,各附图所出现的相同标号代表相同的特征或者部件,可应用于不同实施例中。因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。A vehicle route optimization method and application based on a hybrid genetic algorithm disclosed in the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the technical features or combinations of technical features described in the following embodiments should not be considered isolated, and they can be combined with each other to achieve better technical effects. In the drawings of the following embodiments, the same reference numerals appearing in each drawing represent the same features or components and can be applied to different embodiments. Thus, once an item is defined in one figure, it does not need further discussion in subsequent figures.
需说明的是,本说明书所附图中所绘示的结构、比例、大小等,均仅用以配合说明书所揭示的内容,以供熟悉此技术的人士了解与阅读,并非用以限定发明可实施的限定条件,任何结构的修饰、比例关系的改变或大小的调整,在不影响发明所能产生的功效及所能达成的目的下,均应落在发明所揭示的技术内容所能涵盖的范围内。本发明的优选实施方式的范围包括另外的实现,其中可以不按所述的或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序, 来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。It should be noted that the structures, proportions, sizes, etc. shown in the drawings attached to this specification are only used to match the content disclosed in the specification and are for the understanding and reading of people familiar with this technology. They are not used to limit the scope of the invention. Any structural modifications, changes in proportions, or adjustments in size, as long as they do not affect the effects that the invention can produce and the purposes that it can achieve, should fall within the scope of the technical content disclosed by the invention. within the range. The scope of the preferred embodiments of the present invention includes alternative implementations in which the order described or discussed may be different, including in a substantially simultaneous manner or in the reverse order depending on the functionality involved, To perform functions, this should be understood by those skilled in the art to which embodiments of the present invention belong.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为授权说明书的一部分。在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the authorized specification. In all examples shown and discussed herein, any specific values are to be construed as illustrative only and not as limiting. Accordingly, other examples of the exemplary embodiments may have different values.
在本发明中,货物装载和车辆路径的组合优化问题的求解方法所需要的集合、参数、决策变量等技术术语定义的表示如下:In the present invention, the definitions of technical terms such as sets, parameters, and decision variables required for the solution method of the combined optimization problem of cargo loading and vehicle routing are expressed as follows:
1)集合1) Collection
I={1,…,n}:待装载货物的集合,其中包括n个待装载货物。I={1,…,n}: A collection of goods to be loaded, including n goods to be loaded.
S={0,1,…,m}:节点集合,其中,0为配送中心节点,1,…,m为零部件供应商。S={0,1,…,m}: node set, where 0 is the distribution center node and 1,…,m are parts suppliers.
K={1,…,k}:车型集合。K={1,…,k}: car model set.
R={1,…,r}:输出结果路径单元集合,其中输出结果路径共有r条。R={1,…,r}: Output result path unit set, in which there are r output result paths.
2)参数设置2) Parameter settings
数学模型的参数设置如表1所示:The parameter settings of the mathematical model are shown in Table 1:
表1车辆路径问题的参数设置

Table 1 Parameter settings for vehicle routing problem

3)决策变量3) Decision variables
针对货物装载和车辆路径的组合优化问题,其数学模型的决策变量有vir、αrl、wrk和uijr,定义如下表所示:
For the combined optimization problem of cargo loading and vehicle routing, the decision variables of the mathematical model are v ir , α rl , w rk and u ijr , as defined in the following table:
实施例Example
参见图1所示,提供了一种基于混合遗传算法的车辆路径优化方法,包括如下实施步骤:As shown in Figure 1, a vehicle route optimization method based on a hybrid genetic algorithm is provided, including the following implementation steps:
步骤S1,设置目标适应度函数作为车辆路径方案的目标评价指 标,用来评价遗传算法中染色体的适应能力。Step S1, set the target fitness function as the target evaluation index of the vehicle route plan. The standard is used to evaluate the adaptability of chromosomes in genetic algorithms.
在本实施例中,所述目标适应度函数为车辆路径方案的运输总成本costR和运输总时间timeR。In this embodiment, the target fitness function is the total transportation cost costR and the total transportation time timeR of the vehicle route plan.
其中,所述运输总成本表示为:
Among them, the total transportation cost is expressed as:
所述运输总时间表示为: The total transportation time is expressed as:
作为本实施例的优选实施方式,考虑到车型分配和需求拆分,将车辆装载和车辆路径的组合优化问题的求解目标设置为运输总成本costR最低和运输总时间timeR最少,如下所示:

As a preferred implementation of this embodiment, taking into account vehicle vehicle allocation and demand splitting, the solution objectives of the combined optimization problem of vehicle loading and vehicle routing are set to the lowest total transportation cost costR and the lowest total transportation time timeR, as shown below:

and
其中,第一个目标是运输总成本costR最低,该目标的第一项是每条路径在途运输成本和装卸车成本之和,第二项是提前取货造成惩罚费用;第二个目标是运输总时间timeR最少,运输时间是在途运输时间与在节点装卸时间之和。Among them, the first goal is to minimize the total transportation cost costR. The first item of this goal is the sum of the transportation cost in transit and the cost of loading and unloading trucks for each route. The second item is the penalty cost caused by picking up the goods early; the second goal is transportation. The total time timeR is the least, and the transportation time is the sum of the transportation time in transit and the loading and unloading time at the node.
针对上述求解目标,在求解货物装载和车辆路径的组合优化问题时,相应设置针对车辆装载和车辆路径的约束条件,以在诸多约束条件的情况下,满足运输总成本costR最低和运输总时间timeR最少。In view of the above solution goals, when solving the combined optimization problem of cargo loading and vehicle routing, the constraint conditions for vehicle loading and vehicle routing are set accordingly to satisfy the minimum total transportation cost costR and the total transportation time timeR under the condition of many constraints. least.
以上求解目标需要在满足车辆装载约束的同时,还要满足车辆路径约束条件。The above solution objectives need to satisfy both the vehicle loading constraints and the vehicle path constraints.
车辆装载约束分为一般约束和特殊约束;一类为一般约束:主要有体积约束,装入货物之间互不嵌入约束,以及装入货物与车厢不相嵌约束;另一类为特殊约束:主要有完全支撑约束、单箱承重约束、货物堆叠约束、车辆承重约束和重心约束。Vehicle loading constraints are divided into general constraints and special constraints; one type is general constraints: mainly volume constraints, constraints that the loaded goods are not embedded in each other, and constraints that the loaded goods and the carriage are not embedded; the other type is special constraints: There are mainly complete support constraints, single box load-bearing constraints, cargo stacking constraints, vehicle load-bearing constraints and center of gravity constraints.
以上车辆装载约束的内容为现有技术,故不在本实施例中详述。The above vehicle loading constraints are existing technologies and will not be described in detail in this embodiment.
所述车辆路径约束对应的数学表达具体如下:The mathematical expression corresponding to the vehicle path constraints is as follows:
a)一个供应商节点至少被一条取货路径访问,如式(1)所示。
a) A supplier node is visited by at least one pickup path, as shown in equation (1).
b)供应商所有货物都有取货路径来运输,如式(2)所示。
b) All goods from the supplier have a pickup path for transportation, as shown in equation (2).
c)供应商所有货物都需要配送到配送中心卸货,如式(3)所示。
c) All goods from the supplier need to be delivered to the distribution center for unloading, as shown in equation (3).
d)一条取货路径只能有一辆车服务,如式(4)所示。
d) A pickup route can only be served by one vehicle, as shown in equation (4).
e)一个供应商节点至少被一条取货路径访问,如式(5)所示。
e) A supplier node is visited by at least one pickup path, as shown in equation (5).
f)供应商所有货物都有取货路径来访问,如式(6)所示。
f) All goods of the supplier have pickup paths for access, as shown in equation (6).
g)一条路径弧上两个节点访问时间之差等于两点之间运输时间,如式(7)所示。
g) The difference in access time of two nodes on a path arc is equal to the transportation time between the two points, as shown in equation (7).
h)一条取货路径来只能由一辆车来服务,如式(8)所示。
h) A pickup route can only be served by one vehicle, as shown in equation (8).
具体的,所述染色体基于整数编码进行编制,所述染色体包括前半段的货物片段和后半段的车型片段,其中,货物片段以零部件包装容器为单位,将一箱作为一个基因,当货物组合成托盘后,将组合后的一个托盘作为一箱。Specifically, the chromosome is compiled based on integer coding. The chromosome includes the first half of the cargo segment and the second half of the vehicle segment. The cargo segment is based on the parts packaging container, and one box is regarded as one gene. When the goods After combining into pallets, one combined pallet is used as one box.
作为本实施例的一个优选实施方式,参见图2所示,在货物片段编码中,用1到9数字表示有9箱货物,每箱货物有其对应的供应商信息,卸货时间窗信息,以及如货物尺寸、货物重量、货物堆叠规则等装载基础信息。 As a preferred implementation of this embodiment, see Figure 2. In the cargo segment coding, numbers from 1 to 9 are used to indicate that there are 9 boxes of goods. Each box of goods has its corresponding supplier information, unloading time window information, and Basic loading information such as cargo size, cargo weight, cargo stacking rules, etc.
其中,第9、6和8箱货物属于供应商S1、第7、5、4和1箱货物则属于供应商S2,而第3和2箱货物属于供应商S3;车型片段编码中,11到13数字表示有3辆车辆负责运输任务,分别对应8米、12米和8米车型。Among them, the 9th, 6th and 8th boxes of goods belong to supplier S1, the 7th, 5th, 4th and 1st boxes of goods belong to supplier S2, and the 3rd and 2nd boxes of goods belong to supplier S3; in the vehicle model fragment code, 11 to The number 13 indicates that there are 3 vehicles responsible for transportation tasks, corresponding to 8-meter, 12-meter and 8-meter models respectively.
步骤S2,获取货物信息和车辆信息,执行建立序列信息步骤和生成可行方案步骤,以确定车辆路径方案;在生成可行方案步骤中,计算初代染色体对应的目标适应度函数值以选择Pareto解,并计算出每一迭代过程中染色体的目标适应度函数值来比较Pareto解,去劣存优后确定最终的Pareto解及其对应的车辆路径方案;所述车辆路径方案中包括所有路径以及对应的装载方案。Step S2, obtain cargo information and vehicle information, execute the steps of establishing sequence information and generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select the Pareto solution, and Calculate the target fitness function value of the chromosome in each iteration process to compare the Pareto solutions, and determine the final Pareto solution and its corresponding vehicle route plan after eliminating the bad and retaining the good; the vehicle route plan includes all paths and corresponding loads plan.
具体的,在所述建立序列信息步骤S100中,对应采集的货物信息、车型信息和供应商节点信息,建立货物序列I_list、车型序列K_list和供应商节点序列S_list,所述供应商节点序列S_list中供应商节点顺序按照货物在货物序列I_list中的位置信息对应排列。Specifically, in the step S100 of establishing sequence information, a cargo sequence I_list, a vehicle model sequence K_list, and a supplier node sequence S_list are established corresponding to the collected cargo information, vehicle model information, and supplier node information. In the supplier node sequence S_list The supplier node sequence is arranged correspondingly according to the position information of the goods in the goods sequence I_list.
优选的,所述生成可行方案优选运用混合遗传算法来求解货物装载和车辆路径的组合优化问题,采取货物+车型的染色体编码方式得到货物+车型初始种群。Preferably, the generated feasible solution preferably uses a hybrid genetic algorithm to solve the combined optimization problem of cargo loading and vehicle routing, and adopts the chromosome encoding method of cargo + vehicle type to obtain the initial population of cargo + vehicle type.
具体的,所述生成可行方案步骤S200包括:Specifically, the step S200 of generating feasible solutions includes:
步骤S201,生成货物+车型初始种群。Step S201: Generate an initial population of goods + vehicle models.
需要说明的是,所述遗传算法的参数包含:初始种群、种群规模N、迭代次数T、交叉概率PC和变异概率PM等,同时初始种群产生过程如下。It should be noted that the parameters of the genetic algorithm include: initial population, population size N, number of iterations T, crossover probability PC, mutation probability PM, etc., and the initial population generation process is as follows.
假定种群规模N为100,则先随机产生100组货物序列和100组车型序列,然后在货物序列中的每个货物之前加入一个起始点,和货物序列尾部加入一个起始点,用同样的方法对车型序列进行处理,最后将一个货物序列和车型序列拼接形成种群中的一条染色体。Assume that the population size N is 100, first randomly generate 100 sets of cargo sequences and 100 sets of vehicle model sequences, then add a starting point before each cargo in the cargo sequence, and add a starting point at the end of the cargo sequence, and use the same method to The vehicle vehicle sequence is processed, and finally a cargo sequence and vehicle vehicle sequence are spliced to form a chromosome in the population.
步骤S202,基于初始种群中的染色体信息,对应得到车辆路径方案,计算初始种群中各条染色体的目标适应度函数值,选择Pareto解及其对应的车辆路径方案,将新Pareto解及其对应的车辆路径方案,写入Pareto最优解集。Step S202: Based on the chromosome information in the initial population, correspondingly obtain the vehicle route plan, calculate the target fitness function value of each chromosome in the initial population, select the Pareto solution and its corresponding vehicle route plan, and combine the new Pareto solution and its corresponding The vehicle routing plan is written into the Pareto optimal solution set.
步骤S203,对前述货物+车型初始种群中的每个染色体进行遗传操作,生成货物子代种群;基于货物子代种群中的染色体信息,对应 得到车辆路径方案,计算货物子代种群中各条染色体的目标适应度函数值,比较Pareto解,得到新Pareto解及其对应的车辆路径方案,并写入Pareto最优解集。Step S203, perform genetic operations on each chromosome in the initial population of cargo + vehicle models to generate a population of cargo offspring; based on the chromosome information in the population of cargo offspring, corresponding Obtain the vehicle route plan, calculate the target fitness function value of each chromosome in the cargo offspring population, compare the Pareto solutions, obtain the new Pareto solution and its corresponding vehicle route plan, and write it into the Pareto optimal solution set.
步骤S204,判断是否满足终止条件,若已达到终止条件,则继续执行步骤S205,否则,返回步骤S202。Step S204: Determine whether the termination condition is met. If the termination condition is met, continue to execute step S205. Otherwise, return to step S202.
在本实施例中,优选采用最大迭代次数作为终止条件,当遗传算法运行到指定的最大迭代次数时,则终止算法程序迭代,输出Pareto最优解集。In this embodiment, the maximum number of iterations is preferably used as the termination condition. When the genetic algorithm runs to the specified maximum number of iterations, the algorithm program iteration is terminated and the Pareto optimal solution set is output.
步骤S205,输出Pareto最优解集和对应的车辆路径方案,输出的信息包含该路径上供应商序列、装载方案、运输时间ti、运输总成本costR和运输总时间timeR信息。Step S205, output the Pareto optimal solution set and the corresponding vehicle route plan. The output information includes the supplier sequence, loading plan, transportation time ti , total transportation cost costR and total transportation time timeR information on the route.
需要强调的是,所述混合遗传算法通过遗传操作优化了车型分配与需求拆分方案,并利用车辆装载算法来校验并划分生成路径,最后输出多目标Pareto最优解集,以此来获得可行的车辆路径方案。It should be emphasized that the hybrid genetic algorithm optimizes the vehicle model allocation and demand splitting scheme through genetic operations, and uses the vehicle loading algorithm to verify and divide the generated paths, and finally outputs the multi-objective Pareto optimal solution set to obtain Feasible vehicle routing options.
还需要说明的是,在前述生成可行方案步骤中,对应得到车辆路径方案时,包括步骤:It should also be noted that in the aforementioned steps of generating feasible solutions, corresponding to obtaining the vehicle route solution, the following steps are included:
S2021,建立货物与供应商节点的关系,获取货物序列I_list、车型序列K_list和供应商节点序列S_list,初始化iL=1,iK=1,其中,iL代表第iL个货物,iK代表第iK个车型,设置待装货物序列L_list。S2021, establish the relationship between goods and supplier nodes, obtain the goods sequence I_list, vehicle model sequence K_list and supplier node sequence S_list, initialize iL=1, iK=1, where iL represents the iL-th goods and iK represents the iK-th vehicle model , set the sequence of goods to be loaded L_list.
步骤S2022,如果iK≤length(K_list),从车型序列K_list取出第iK个车型,否则,从车型序列K_list取出第length(K_list)个车型,并获取车厢体积CV。Step S2022, if iK≤length(K_list), retrieve the iK-th vehicle model from the vehicle model sequence K_list, otherwise, retrieve the length(K_list)-th vehicle model from the vehicle model sequence K_list, and obtain the cabin volume CV.
步骤S2023,从货物序列I_list中,取出第iL个货物加入待装货物序列L_list,当待装货物序列中货物体积之和大于车厢体积CV,执行步骤S2024,否则,执行步骤S2025。Step S2023, remove the iL-th cargo from the cargo sequence I_list and add it to the cargo sequence L_list to be loaded. When the sum of the volumes of the cargo in the cargo sequence to be loaded is greater than the compartment volume CV, step S2024 is executed. Otherwise, step S2025 is executed.
步骤S2024,将待装货物序列和车型对应的车厢信息作为参数,调用预设的模拟退火算法,生成装载方案,按照已装货物在货物序列I_list中的位置顺序,排列出对应的供应商节点S_list顺序,去掉重复的供应商节点,在供应商节点顺序S_list的开始节点和结束节点处增加上配送中心,生成路径,将该路径存入车辆路径方案,计算出该路径已装入货物的最早交货时间窗和各货物是否迟到αi,最后将已装货物从待装货物序列中删除,设置iK=iK+1。 Step S2024, use the cargo sequence to be loaded and the carriage information corresponding to the vehicle model as parameters, call the preset simulated annealing algorithm, generate a loading plan, and arrange the corresponding supplier nodes S_list according to the position order of the loaded goods in the cargo sequence I_list. sequence, remove duplicate supplier nodes, add a distribution center at the start node and end node of the supplier node sequence S_list, generate a path, store the path in the vehicle routing scheme, and calculate the earliest delivery of goods loaded on the path The cargo time window and whether each cargo is late α i are determined. Finally, the loaded cargo is deleted from the sequence of cargo to be loaded, and iK=iK+1 is set.
所述模拟退火算法是指在模拟退火过程中,随机调整货物的装载,产生新的装载序列,并依据不同装载序列对应不同的装载率,通过比较装载率选择最优的装载方案的一种算法。The simulated annealing algorithm refers to an algorithm that randomly adjusts the loading of goods during the simulated annealing process, generates new loading sequences, and selects the optimal loading plan by comparing the loading rates according to different loading sequences corresponding to different loading rates. .
在本实施例的优选实施方式中,调用模拟退火算法来生成货物装载方案的内容为现有技术,故不在本实施例的优选实施方式中进行详细展开。In the preferred implementation of this embodiment, the content of calling the simulated annealing algorithm to generate the cargo loading plan is an existing technology, so it will not be elaborated in the preferred implementation of this embodiment.
需要说明的是,在生成路径时,需要考虑多种情形,作为举例而非限定,例如:每个供应商每日允许多次访问的情形,同一个供应商有多条路径访问取货,每个供应商每日累计供应量可能超过一辆车的容量,每个车次可能运输部分供应零部件但是当日必须完成运输全部供应的零部件。It should be noted that when generating routes, a variety of situations need to be considered, as examples rather than limitations, for example: each supplier is allowed multiple visits per day, the same supplier has multiple paths to visit to pick up goods, each The daily cumulative supply of each supplier may exceed the capacity of one vehicle. Each vehicle may transport part of the supplied parts but must complete the transportation of all supplied parts on the same day.
作为举例,参见图3所示,对应不同车型执行的运输任务,可以生成多条运输路径,例如:路径1为:1日6点一辆12米车从配送中心出发,先行驶到供应商1处取货,再行驶到供应商2处取货,最后送到配送中心卸货;路径2为:1日12点一辆8米车从配送中心出发,先行驶到供应商2处取货,再行驶到供应商3处取货,最后送到配送中心卸货。As an example, see Figure 3. Multiple transportation paths can be generated corresponding to the transportation tasks performed by different models. For example: Path 1 is: a 12-meter truck departs from the distribution center at 6 o'clock on the 1st and travels to supplier 1 first. Pick up the goods at Supplier 2, then drive to Supplier 2 to pick up the goods, and finally send them to the distribution center for unloading; Route 2 is: an 8-meter truck departs from the distribution center at 12 o'clock on the 1st, first drives to Supplier 2 to pick up the goods, and then Drive to supplier 3 to pick up the goods, and finally send them to the distribution center for unloading.
步骤S2025,当iL≤length(I_list)时,设置iL=iL+1,执行步骤S2023;如果待装货物序列L_list为空,进入步骤S2026,否则,返回步骤S2024。Step S2025, when iL≤length(I_list), set iL=iL+1 and execute step S2023; if the sequence of goods to be loaded L_list is empty, proceed to step S2026, otherwise, return to step S2024.
步骤S2026,输出车辆路径方案,对前述车辆路径方案中任意i∈R,每条Ri路径的信息,包含该路径上供应商序列、装箱方案、运输时间ti,已装入的货物是否迟到αi。。Step S2026, output the vehicle route plan. For any i∈R in the aforementioned vehicle route plan, the information of each R i path includes the supplier sequence, packing plan, transportation time t i on the path, and whether the loaded goods are Late α i . .
其中,所述αi为0-1变量,针对货物i,i∈I,αi=1表示已装载在车上,αi=0表示未装载在车上。Among them, the α i is a 0-1 variable. For the cargo i, i∈I, α i =1 indicates that it is loaded on the vehicle, and α i =0 indicates that it is not loaded on the vehicle.
优选的,所述遗传操作包括对货物+车型染色体的选择、交叉和变异操作;所述遗传操作将染色体上货物片段和车型片段分别独立地进行选择、交叉和变异操作;前述染色体各自的交叉概率或前述变异概率能够设置为相同的值。Preferably, the genetic operation includes selection, crossover and mutation operations on the cargo+vehicle chromosomes; the genetic operation independently performs selection, crossover and mutation operations on the cargo fragments and vehicle vehicle fragments on the chromosomes; the crossover probability of each of the aforementioned chromosomes Or the aforementioned mutation probability can be set to the same value.
其中,所述选择操作优选采用精英保留策略。假设有100条染色体,首先从中选择两条运输总成本最低和运输总时间最低的染色体,保留到下一代种群中;然后将剩余的98条染色体进行两两随机配对, 得到了49对新的染色体;再者对新的染色体进行交叉与变异操作。Wherein, the selection operation preferably adopts an elite retention strategy. Assume there are 100 chromosomes. First, select two chromosomes with the lowest total transportation cost and lowest total transportation time and retain them in the next generation population; then randomly pair the remaining 98 chromosomes. 49 pairs of new chromosomes were obtained; and crossover and mutation operations were performed on the new chromosomes.
所述交叉操作优选采用Inver-over方法,即在上述的49对染色体中,分别随机给每对染色体产生一个概率值。如果有一对染色体对应的概率值小于算法初始定义的交叉概率,则以这一对染色体作为父代染色体,进行交叉操作处理后产生两条子代的染色体。The crossover operation preferably adopts the Inver-over method, that is, among the above-mentioned 49 pairs of chromosomes, a probability value is randomly generated for each pair of chromosomes. If the probability value corresponding to a pair of chromosomes is less than the crossover probability initially defined by the algorithm, this pair of chromosomes is used as the parent chromosome, and the crossover operation is performed to generate two offspring chromosomes.
作为举例而非限制,参见图4所示,在交叉操作中,随机选择两条父代染色体:P1和P2染色体,从染色体P1中随机选择基因G1,并在染色体P2中查找基因G1所在位置G1’,选择基因G1’之后第一个基因G2,若G1’为染色体P2中最后一个基因,则选择染色体P2中第一个基因作为G2,在染色体P1中寻找G2位置G2’,并对G1连同G1与G2’之间部分进行翻转变换,但G2’位置则保持不动。同理,对染色体P2进行交叉处理。所述交叉操作采用Inver-over方法时具有收敛速度快、精度高的特点。As an example but not a limitation, see Figure 4. In the crossover operation, two parent chromosomes are randomly selected: P1 and P2 chromosomes, gene G1 is randomly selected from chromosome P1, and the location G1 of gene G1 is searched in chromosome P2. ', select the first gene G2 after gene G1'. If G1' is the last gene in chromosome P2, select the first gene in chromosome P2 as G2, find the G2 position G2' in chromosome P1, and match G1 together with The part between G1 and G2' is flipped and transformed, but the position of G2' remains unchanged. In the same way, crossover processing is performed on chromosome P2. The intersection operation using the Inver-over method has the characteristics of fast convergence speed and high accuracy.
所述变异操作针对经交叉操作后得到的98条染色体,分别随机给每对染色体产生一个概率值。如果染色体的概率值小于算法初始定义的变异概率,则以该条染色体作为父代染色体,进行变异操作产生子代染色体,如果子代染色体的两个目标适应度函数值都优于父代染色体的两个目标适应度函数值,则利用子代染色体替代父代染色体;如果子代染色体的两个目标适应度函数值比父代染色体的两个目标适应度函数值都差,则继续保留父代染色体。The mutation operation randomly generates a probability value for each pair of chromosomes for the 98 chromosomes obtained after the crossover operation. If the probability value of a chromosome is less than the mutation probability initially defined by the algorithm, then this chromosome will be used as the parent chromosome, and a mutation operation will be performed to generate a offspring chromosome. If the two target fitness function values of the offspring chromosome are better than those of the parent chromosome If there are two target fitness function values, use the offspring chromosome to replace the parent chromosome; if the two target fitness function values of the offspring chromosome are worse than the two target fitness function values of the parent chromosome, continue to retain the parent chromosome chromosome.
所述变异操作优选采用单基因置换方法,单基因置换方法的变异过程能够随机选择染色体中两个基因进行位置交换。The mutation operation preferably adopts a single gene replacement method. The mutation process of the single gene replacement method can randomly select two genes in the chromosome for position exchange.
参见图5所示,假设一条父代染色体P,从染色体P中随机选择一个基因位置G1,再在染色体P中寻找与G1不同位置的G2,然后交换染色体P中G1和G2位置的基因。As shown in Figure 5, assuming a parent chromosome P, randomly select a gene position G1 from the chromosome P, then search for G2 in a different position from G1 in the chromosome P, and then exchange the genes at the G1 and G2 positions in the chromosome P.
此外,针对去劣存优的操作而言,需要说明的是,由于本实施例对应求解的目标为运输总成本最低和运输总时间最少。针对前述目标进行求解时存在有多个最优解,即Pareto解,其对应的解集为Pareto最优解集,其中的各Pareto解针对所有的染色体而言,相互间没法进行优劣比较,故设置目标适应度函数用来评价染色体的优劣,计算出每个染色体对应的适应度函数值,组成Pareto解并进行选择。In addition, regarding the operation of removing the bad and saving the good, it should be noted that the corresponding solution goals of this embodiment are to minimize the total transportation cost and minimize the total transportation time. When solving the aforementioned goals, there are multiple optimal solutions, namely Pareto solutions, and their corresponding solution sets are Pareto optimal solution sets. Each Pareto solution cannot be compared with each other for all chromosomes. , so the target fitness function is set to evaluate the quality of chromosomes, the fitness function value corresponding to each chromosome is calculated, a Pareto solution is formed and selected.
即假设当前迭代产生的新解为S,则需要将S解与Pareto最优 解集中所有解进行目标适应度函数值比较,如果Pareto最优解集中所有解都优于S,则放弃S;如果存在S优于Pareto最优解集中部分解,则将S加入Pareto最优解集,同时删除Pareto最优解集中被S都全部超过的解。That is, assuming that the new solution generated by the current iteration is S, you need to combine the S solution with the Pareto optimal All solutions in the solution set are compared with the target fitness function value. If all solutions in the Pareto optimal solution set are better than S, then S is abandoned; if there is some solution in the Pareto optimal solution set that S is better than, S is added to the Pareto optimal solution. set, and at the same time delete the solutions that are exceeded by all S in the Pareto optimal solution set.
优选的,对前述Pareto解进行解码以生成车辆路径方案,所述解码包括步骤:Preferably, the aforementioned Pareto solution is decoded to generate a vehicle route solution, and the decoding includes the steps:
步骤S301,切分车型片段和货物片段:针对切分车型片段,顺序按照从头至尾方向,每次只切分一个车型,获取该车型的车厢体积;针对切分货物片段,顺序按照从头至尾方向,逐个切分,直至本次已切分的货物体积之和超过车型的车厢体积为止,或者货物片段已切分完毕。Step S301, segment vehicle models and cargo segments: For segmenting vehicle segments, the order is from beginning to end, and only one model is segmented at a time to obtain the cabin volume of that model; for segmenting cargo segments, the order is from beginning to end. direction, segment one by one until the sum of the volumes of the cargo that has been segmented this time exceeds the compartment volume of the vehicle model, or the cargo segments have been segmented.
步骤S302,进行装载校验:利用预设的车辆装载算法,对已切分的车型和货物进行校验并生成装载方案;判断校验后是否有未装入的货物,判定为是时,将未装入的货物放回货物片段中,循环处理步骤S301和步骤S302,直至将所有货物都装入对应的车辆中。Step S302, perform loading verification: use the preset vehicle loading algorithm to verify the segmented vehicle models and goods and generate a loading plan; determine whether there are unloaded goods after verification. If it is determined to be yes, The unloaded goods are put back into the goods fragments, and steps S301 and S302 are processed in a loop until all the goods are loaded into the corresponding vehicles.
步骤S303,生成车辆路径方案:根据每辆车已装入的货物,生成车辆路径方案,并计算每条路径的最早卸货的窗口时间、运输总成本与运输总时间。Step S303, generate a vehicle route plan: generate a vehicle route plan based on the loaded goods of each vehicle, and calculate the earliest unloading window time, total transportation cost, and total transportation time for each route.
作为举例而非限制,参见图2所示,针对9箱货物信息和3辆车型信息,利用上述解码方法,得到解码结果为096870541320和0130120110,则该问题的车辆路径方案为2条路径,即第1条路径采用8米车型车辆,从配送中心出发,行驶到供应商节点S1取货第9、6、8货物,之后行驶到供应商节点S2取货第7货物,然后送到配送中心卸货;第2条路径采用12米车型车辆,从配送中心出发,行驶到供应商节点S2取货第5、4、1货物,之后行驶到供应商节点S3取货第3、2货物,然后送到配送中心卸货。As an example but not a limitation, see Figure 2. For 9 boxes of cargo information and 3 vehicle model information, using the above decoding method, the decoding results are 096870541320 and 0130120110. Then the vehicle routing solution for this problem is 2 paths, that is, the One route uses an 8-meter vehicle, starting from the distribution center, driving to the supplier node S1 to pick up the 9th, 6th, and 8th goods, and then driving to the supplier node S2 to pick up the 7th goods, and then sent to the distribution center for unloading; The second route uses a 12-meter vehicle, starting from the distribution center, driving to the supplier node S2 to pick up the 5th, 4th, and 1st goods, and then driving to the supplier node S3 to pick up the 3rd and 2nd goods, and then sending them to distribution. Center unloading.
本实施例中,通过改进的编码、解码方法和混合遗传算法,实现并优化车型分配和需求拆分,并利用车辆装载算法进行校验,生成车辆路径方案。In this embodiment, improved encoding and decoding methods and hybrid genetic algorithms are used to realize and optimize vehicle vehicle allocation and demand splitting, and the vehicle loading algorithm is used for verification to generate a vehicle route plan.
其它技术特征参考在前实施例,在此不再赘述。For other technical features, please refer to the previous embodiments and will not be described again here.
此外,参见图6所示,本发明还给出了一个实施例,提供了一种基于混合遗传算法的车辆路径优化系统100,所述系统100包括条件 预置模块110、信息输入模块120和方案生成模块130。In addition, as shown in Figure 6, the present invention also provides an embodiment, providing a vehicle route optimization system 100 based on a hybrid genetic algorithm. The system 100 includes conditions Preset module 110, information input module 120 and solution generation module 130.
条件预置模块110,设置车辆装载约束条件和车辆路径约束条件,以及车辆路径方案中对应的目标评价指标。The condition presetting module 110 sets vehicle loading constraint conditions and vehicle route constraint conditions, as well as corresponding target evaluation indicators in the vehicle route plan.
信息输入模块120,用以输入货物信息、车型信息和供应商节点信息。The information input module 120 is used to input cargo information, vehicle model information and supplier node information.
方案生成模块130,用以获取货物信息和车辆信息,执行建立序列信息步骤和生成可行方案步骤,以确定车辆路径方案;在生成可行方案步骤中,计算初代染色体对应的目标适应度函数值以选择Pareto解,并计算出每一迭代过程中染色体的目标适应度函数值来比较Pareto解,去劣存优后确定最终的Pareto解及其对应的车辆路径方案;所述车辆路径方案中包括所有路径以及对应的装载方案。The solution generation module 130 is used to obtain cargo information and vehicle information, execute the step of establishing sequence information and the step of generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select Pareto solution, and calculate the target fitness function value of the chromosome in each iteration process to compare the Pareto solution, and determine the final Pareto solution and its corresponding vehicle path plan after eliminating the bad and retaining the good; the vehicle path plan includes all paths and the corresponding loading plan.
所述系统还可以包括用户接口模块,用以采集用户的输入信息以及向用户输出信息。所述用户接口模块包括图形用户界面(GUI),以便用户查看和分析结果。The system may also include a user interface module for collecting user input information and outputting information to the user. The user interface module includes a graphical user interface (GUI) for users to view and analyze results.
所述系统还可以包括通常在计算系统中找到的其它组件,诸如存储在存储器中并由处理器执行的操作系统、队列管理器、设备驱动程序、数据库驱动程序或一个或多个网络协议等。The system may also include other components typically found in computing systems, such as an operating system, a queue manager, a device driver, a database driver, or one or more network protocols stored in memory and executed by a processor.
其它技术特征参见在前实施例,在此不再赘述。For other technical features, please refer to the previous embodiments and will not be described again here.
在上面的描述中,在本公开内容的目标保护范围内,各组件可以以任意数目选择性地且操作性地进行合并。另外,像“包括”、“囊括”以及“具有”的术语应当默认被解释为包括性的或开放性的,而不是排他性的或封闭性,除非其被明确限定为相反的含义。所有技术、科技或其他方面的术语都符合本领域技术人员所理解的含义,除非其被限定为相反的含义。在词典里找到的公共术语应当在相关技术文档的背景下不被太理想化或太不实际地解释,除非本公开内容明确将其限定成那样。In the above description, components may be selectively and operatively combined in any number within the intended scope of the present disclosure. In addition, terms like "includes," "includes," and "having" should be construed as inclusive or open by default, rather than exclusive or closed, unless expressly qualified to the contrary. All technical, scientific or other terms have the same meaning as understood by those skilled in the art unless limited to a contrary meaning. Common terms found in dictionaries should not be interpreted too ideally or too impractically in the context of the relevant technical documentation, unless the present disclosure explicitly limits them to that.
虽然已出于说明的目的描述了本公开内容的示例方面,但是本领域技术人员应当意识到,上述描述仅是对本发明较佳实施例的描述,并非对本发明范围的任何限定,本发明的优选实施方式的范围包括另外的实现,其中可以不按所述出现或讨论的顺序来执行功能。本发明领域的普通技术人员根据上述揭示内容做的任何变更、修饰,均属于权利要求书的保护范围。 Although example aspects of the present disclosure have been described for illustrative purposes, those skilled in the art will appreciate that the foregoing description is merely a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. The scope of the embodiments includes additional implementations in which functions may be performed out of the order in which they appear or are discussed. Any changes or modifications made by those of ordinary skill in the field of the present invention based on the above disclosure shall fall within the protection scope of the claims.

Claims (10)

  1. 一种基于混合遗传算法的车辆路径优化方法,其特征在于,包括如下步骤:A vehicle route optimization method based on a hybrid genetic algorithm, which is characterized by including the following steps:
    设置目标适应度函数作为车辆路径方案的目标评价指标,用来评价遗传算法中染色体的适应能力;Set the target fitness function as the target evaluation index of the vehicle routing plan to evaluate the adaptability of chromosomes in the genetic algorithm;
    获取货物信息和车辆信息,执行建立序列信息步骤和生成可行方案步骤,以确定车辆路径方案;在生成可行方案步骤中,计算初代染色体对应的目标适应度函数值以选择Pareto解,并计算出每一迭代过程中染色体的目标适应度函数值来比较Pareto解,去劣存优后确定最终的Pareto解及其对应的车辆路径方案;所述车辆路径方案中包括所有路径以及对应的装载方案。Obtain cargo information and vehicle information, execute the steps of establishing sequence information and generating feasible solutions to determine the vehicle route solution; in the step of generating feasible solutions, calculate the target fitness function value corresponding to the first-generation chromosome to select the Pareto solution, and calculate each In an iterative process, the target fitness function value of the chromosome is used to compare the Pareto solutions, and the final Pareto solution and its corresponding vehicle route plan are determined after eliminating the bad and retaining the good; the vehicle route plan includes all paths and the corresponding loading plan.
  2. 根据权利要求1所述的方法,其特征在于,所述目标适应度函数包括车辆路径方案的运输总成本costR和运输总时间timeR。The method according to claim 1, characterized in that the target fitness function includes the total transportation cost costR and the total transportation time timeR of the vehicle route plan.
  3. 根据权利要求1所述的方法,其特征在于,所述染色体基于整数编码进行编制,所述染色体包括前半段的货物片段和后半段的车型片段,其中,货物片段以零部件包装容器为单位,将一箱作为一个基因,当货物组合成托盘后,将组合后一个托盘作为一箱。The method according to claim 1, characterized in that the chromosome is compiled based on integer coding, and the chromosome includes a first half cargo segment and a second half vehicle segment segment, wherein the cargo segment is in units of parts packaging containers. , treat one box as one gene, and when the goods are combined into pallets, one pallet will be combined into one box.
  4. 根据权利要求1所述的方法,其特征在于,在建立序列信息步骤中,对应采集的货物信息、车型信息和供应商节点信息,建立货物序列I_list、车型序列K_list和供应商节点序列S_list,所述供应商节点序列S_list中供应商节点顺序按照货物在货物序列I_list中的位置信息对应排列。The method according to claim 1, characterized in that in the step of establishing sequence information, a cargo sequence I_list, a vehicle model sequence K_list and a supplier node sequence S_list are established corresponding to the collected cargo information, vehicle model information and supplier node information, so The order of the supplier nodes in the supplier node sequence S_list is correspondingly arranged according to the position information of the goods in the goods sequence I_list.
  5. 根据权利要求1所述的方法,其特征在于,生成可行方案的步骤包括:The method according to claim 1, characterized in that the step of generating feasible solutions includes:
    步骤S201,生成货物+车型初始种群;Step S201, generate an initial population of goods + vehicle models;
    步骤S202,基于初始种群中的染色体信息,对应得到车辆路径方案,计算初始种群中各条染色体的目标适应度函数值,选择Pareto解及其对应的车辆路径方案,将新Pareto解及其对应的车辆路径方案,写入Pareto最优解集;Step S202: Based on the chromosome information in the initial population, correspondingly obtain the vehicle route plan, calculate the target fitness function value of each chromosome in the initial population, select the Pareto solution and its corresponding vehicle route plan, and combine the new Pareto solution and its corresponding The vehicle routing plan is written into the Pareto optimal solution set;
    步骤S203,对前述货物+车型初始种群中的每个染色体进行遗传操作,生成货物子代种群;基于货物子代种群中的染色体信息,对应得到车辆路径方案,计算货物子代种群中各条染色体的目标适应度函数值,比较Pareto解,得到新Pareto解及其对应的车辆路径方案,并写入Pareto最优解集; Step S203: Perform genetic operations on each chromosome in the initial population of cargo + vehicle models to generate a population of cargo offspring; based on the chromosome information in the population of cargo offspring, obtain the corresponding vehicle route plan and calculate each chromosome in the population of cargo offspring. Target fitness function value, compare the Pareto solution, obtain the new Pareto solution and its corresponding vehicle route plan, and write it into the Pareto optimal solution set;
    步骤S204,判断是否满足终止条件,若已达到终止条件,则继续执行步骤S205,否则,返回步骤S202;Step S204, determine whether the termination condition is met. If the termination condition is met, continue to execute step S205. Otherwise, return to step S202;
    步骤S205,输出Pareto最优解集和对应的车辆路径方案,输出的信息包含该路径上供应商序列、装载方案、运输时间ti、运输总成本costR和运输总时间timeR信息。Step S205, output the Pareto optimal solution set and the corresponding vehicle route plan. The output information includes the supplier sequence, loading plan, transportation time ti , total transportation cost costR and total transportation time timeR information on the route.
  6. 根据权利要求5所述的方法,其特征在于,对应得到车辆路径方案时,包括步骤:The method according to claim 5, characterized in that when correspondingly obtaining the vehicle route plan, it includes the steps:
    步骤S2021,建立货物与供应商节点的关系,获取货物序列I_list、车型序列K_list和供应商节点序列S_list,初始化iL=1,iK=1,其中,iL代表第iL个货物,iK代表第iK个车型,设置待装货物序列L_list;步骤S2022,如果iK≤length(K_list),从车型序列K_list取出第iK个车型,否则,从车型序列K_list取出第length(K_list)个车型,并获取车厢体积CV;Step S2021, establish the relationship between goods and supplier nodes, obtain the goods sequence I_list, vehicle model sequence K_list and supplier node sequence S_list, initialize iL=1, iK=1, where iL represents the iL-th goods and iK represents the iK-th goods Car model, set the sequence of goods to be loaded L_list; step S2022, if iK ≤ length (K_list), take out the iK-th car model from the car model sequence K_list, otherwise, take out the length (K_list)-th car model from the car model sequence K_list, and obtain the cabin volume CV ;
    步骤S2023,从货物序列I_list中,取出第iL个货物加入待装货物序列L_list,当待装货物序列中货物体积之和大于车厢体积CV,执行步骤S2024,否则,执行步骤S2025;Step S2023, remove the iL-th cargo from the cargo sequence I_list and add it to the cargo sequence L_list to be loaded. When the sum of the volumes of the cargo in the cargo sequence to be loaded is greater than the compartment volume CV, step S2024 is executed. Otherwise, step S2025 is executed;
    步骤S2024,将待装货物序列和车型对应的车厢信息作为参数,调用预设的模拟退火算法,生成装载方案,按照已装货物在货物序列I_list中的位置顺序,排列出对应的供应商节点S_list顺序,去掉重复的供应商节点,在供应商节点顺序S_list的开始节点和结束节点处增加上配送中心,生成路径,将该路径存入车辆路径方案,计算出该路径已装入货物的最早交货时间窗和各货物是否迟到αi,最后将已装货物从待装货物序列中删除,设置iK=iK+1;Step S2024, use the cargo sequence to be loaded and the carriage information corresponding to the vehicle model as parameters, call the preset simulated annealing algorithm, generate a loading plan, and arrange the corresponding supplier nodes S_list according to the position order of the loaded goods in the cargo sequence I_list. sequence, remove duplicate supplier nodes, add a distribution center at the start node and end node of the supplier node sequence S_list, generate a path, store the path in the vehicle routing scheme, and calculate the earliest delivery of goods loaded on the path The cargo time window and whether each cargo is late α i , finally delete the loaded cargo from the sequence of cargo to be loaded, and set iK=iK+1;
    步骤S2025,当iL≤length(I_list)时,设置iL=iL+1,执行步骤S2023;如果待装货物序列L_list为空,进入步骤S2026,否则,返回步骤S2024;Step S2025, when iL≤length(I_list), set iL=iL+1 and execute step S2023; if the sequence of goods to be loaded L_list is empty, enter step S2026, otherwise, return to step S2024;
    步骤S2026,输出车辆路径方案,对前述车辆路径方案中任意i∈R,每条Ri路径的信息,包含该路径上供应商序列、装箱方案、运输时间ti,已装入的货物是否迟到αiStep S2026, output the vehicle route plan. For any i∈R in the aforementioned vehicle route plan, the information of each R i path includes the supplier sequence, packing plan, transportation time t i on the path, and whether the loaded goods are Late α i .
  7. 根据权利要求6所述的方法,其特征在于,所述αi为0-1变量,针对货物i,i∈I,αi=1表示已装载在车上,αi=0表示未装载在车上。The method according to claim 6, characterized in that the α i is a 0-1 variable. For the cargo i, i∈I, α i =1 indicates that it has been loaded on the vehicle, and α i =0 indicates that it has not been loaded on the vehicle. in the car.
  8. 根据权利要求5所述的方法,其特征在于,所述遗传操作包括对货 物+车型染色体的选择、交叉和变异操作;所述遗传操作将染色体上货物片段和车型片段分别独立地进行选择、交叉和变异操作;前述染色体各自的交叉概率或前述变异概率能够设置为相同的值。The method of claim 5, wherein the genetic manipulation includes The selection, crossover and mutation operations of object + vehicle vehicle chromosomes; the genetic operation independently performs selection, crossover and mutation operations on the cargo fragments and vehicle vehicle fragments on the chromosomes; the respective crossover probabilities or the aforementioned mutation probabilities of the aforementioned chromosomes can be set to the same value.
  9. 根据权利要求5所述的方法,其特征在于,对前述Pareto解进行解码以生成车辆路径方案,所述解码包括步骤:The method according to claim 5, characterized in that the aforementioned Pareto solution is decoded to generate a vehicle route solution, and the decoding includes the steps:
    步骤S301,切分车型片段和货物片段:针对切分车型片段,顺序按照从头至尾方向,每次只切分一个车型,获取该车型的车厢体积;针对切分货物片段,顺序按照从头至尾方向,逐个切分,直至本次已切分的货物体积之和超过车型的车厢体积为止,或者货物片段已切分完毕;Step S301, segment vehicle models and cargo segments: For segmenting vehicle segments, the order is from beginning to end, and only one model is segmented at a time to obtain the cabin volume of that model; for segmenting cargo segments, the order is from beginning to end. direction, segment one by one until the sum of the volume of the cargo that has been segmented this time exceeds the compartment volume of the vehicle model, or the cargo segments have been segmented;
    步骤S302,进行装载校验:利用预设的车辆装载算法,对已切分的车型和货物进行校验并生成装载方案;判断校验后是否有未装入的货物,判定为是时,将未装入的货物放回货物片段中,循环处理步骤S301和步骤S302,直至将所有货物都装入对应的车辆中;Step S302, perform loading verification: use the preset vehicle loading algorithm to verify the segmented vehicle models and goods and generate a loading plan; determine whether there are unloaded goods after verification. If it is determined to be yes, The unloaded goods are put back into the cargo fragments, and steps S301 and S302 are processed in a loop until all the goods are loaded into the corresponding vehicles;
    步骤S303,生成车辆路径方案:根据每辆车已装入的货物,生成车辆路径方案,并计算每条路径的最早卸货的窗口时间、运输总成本与运输总时间。Step S303, generate a vehicle route plan: generate a vehicle route plan based on the loaded goods of each vehicle, and calculate the earliest unloading window time, total transportation cost, and total transportation time for each route.
  10. 一种以实施权利要求1-9中任一项所述的基于混合遗传算法的车辆路径优化系统,其特征在于,包括:A vehicle path optimization system based on a hybrid genetic algorithm for implementing any one of claims 1-9, characterized in that it includes:
    条件预置模块,设置车辆装载约束条件和车辆路径约束条件,以及车辆路径方案中对应的目标评价指标;The condition preset module sets vehicle loading constraints and vehicle path constraints, as well as corresponding target evaluation indicators in the vehicle path plan;
    信息输入模块,用以输入货物信息、车型信息和供应商节点信息;方案生成模块,用以获取货物信息和车辆信息,执行建立序列信息步骤和生成可行方案步骤,以确定车辆路径方案;在生成可行方案步骤中,计算初代染色体对应的目标适应度函数值以选择Pareto解,并计算出每一迭代过程中染色体的目标适应度函数值来比较Pareto解,去劣存优后确定最终的Pareto解及其对应的车辆路径方案;所述车辆路径方案中包括所有路径以及对应的装载方案。 The information input module is used to input cargo information, vehicle model information and supplier node information; the solution generation module is used to obtain cargo information and vehicle information, and execute the steps of establishing sequence information and generating feasible solutions to determine the vehicle routing solution; after generating In the feasible solution step, the target fitness function value corresponding to the first-generation chromosome is calculated to select the Pareto solution, and the target fitness function value of the chromosome in each iteration is calculated to compare the Pareto solution, and the final Pareto solution is determined after eliminating the bad and retaining the good. and its corresponding vehicle route plan; the vehicle route plan includes all routes and corresponding loading plans.
PCT/CN2023/109506 2022-08-11 2023-07-27 Vehicle path optimization method based on hybrid genetic algorithm, and application thereof WO2024032376A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210964189.0A CN115330051B (en) 2022-08-11 2022-08-11 Vehicle path optimization method based on hybrid genetic algorithm and application
CN202210964189.0 2022-08-11

Publications (1)

Publication Number Publication Date
WO2024032376A1 true WO2024032376A1 (en) 2024-02-15

Family

ID=83923265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/109506 WO2024032376A1 (en) 2022-08-11 2023-07-27 Vehicle path optimization method based on hybrid genetic algorithm, and application thereof

Country Status (2)

Country Link
CN (1) CN115330051B (en)
WO (1) WO2024032376A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115330051B (en) * 2022-08-11 2023-08-04 姚陈潇 Vehicle path optimization method based on hybrid genetic algorithm and application

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175405A (en) * 2019-05-27 2019-08-27 上海维祥信息技术有限公司 Vehicle loading optimization method and system
US20200256686A1 (en) * 2019-02-13 2020-08-13 The Boeing Company Methods and apparatus for determining a vehicle path
CN114611794A (en) * 2022-03-11 2022-06-10 合肥工业大学 Vehicle-machine cooperative pick-and-place path optimization method and system based on sub-heuristic algorithm
CN115330051A (en) * 2022-08-11 2022-11-11 姚陈潇 Vehicle path optimization method based on hybrid genetic algorithm and application
CN115345549A (en) * 2022-08-11 2022-11-15 上海维祥信息技术有限公司 Vehicle path adjusting method and system combined with loading scheme

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108253988A (en) * 2017-12-29 2018-07-06 重庆大学 Milk-Run paths planning method based on electric vehicle
CN108197761B (en) * 2018-01-31 2021-05-07 山东交通学院 In-plant logistics scheduling method and system integrating circular goods taking and swing-hanging type distribution
CN110163544A (en) * 2018-04-03 2019-08-23 西安科技大学 A method of the genetic algorithm based on optimization carries out goods delivery
CN108921472B (en) * 2018-06-30 2021-09-21 华南理工大学 Multi-vehicle-type two-stage vehicle and goods matching method
KR102503198B1 (en) * 2020-07-09 2023-02-24 주식회사 와이엘피 Device and method for providing optimal cargo delivery route based on artificial intelligence
CN113222275A (en) * 2021-05-26 2021-08-06 大连海事大学 Vehicle path optimization method considering space-time distance under time-varying road network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200256686A1 (en) * 2019-02-13 2020-08-13 The Boeing Company Methods and apparatus for determining a vehicle path
CN110175405A (en) * 2019-05-27 2019-08-27 上海维祥信息技术有限公司 Vehicle loading optimization method and system
CN114611794A (en) * 2022-03-11 2022-06-10 合肥工业大学 Vehicle-machine cooperative pick-and-place path optimization method and system based on sub-heuristic algorithm
CN115330051A (en) * 2022-08-11 2022-11-11 姚陈潇 Vehicle path optimization method based on hybrid genetic algorithm and application
CN115345549A (en) * 2022-08-11 2022-11-15 上海维祥信息技术有限公司 Vehicle path adjusting method and system combined with loading scheme

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HU, QIAOLI ET AL.: "Low-carbon Logistics Distribution Route Optimization Based on Hybrid Genetic Algorithm", LOGISTICS SCI-TECH, 30 April 2022 (2022-04-30) *

Also Published As

Publication number Publication date
CN115330051A (en) 2022-11-11
CN115330051B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
Skinner et al. Optimisation for job scheduling at automated container terminals using genetic algorithm
CN110059900B (en) Method and device for controlling transport vehicles in a warehouse
US8438118B2 (en) Transportation management processes and systems
WO2024032376A1 (en) Vehicle path optimization method based on hybrid genetic algorithm, and application thereof
CN115345549B (en) Vehicle path adjustment method and system combined with loading scheme
CN112052991B (en) Automatic container terminal AGV re-entry and re-exit path planning method with quayside crane buffer area
US20200327497A1 (en) System and method for linehaul optimization
Lv et al. Operational optimization of transit consolidation in multimodal transport
Jamrus et al. Extended priority-based hybrid genetic algorithm for the less-than-container loading problem
Benantar et al. On the integration of container availability constraints into daily drayage operations arising in France: Modelling and optimization
Ayachi et al. A Genetic algorithm to solve the container storage space allocation problem
Hu et al. Improved Benders decomposition for stochastic yard template planning in container terminals
CN115081119B (en) Method, device and equipment for optimizing train loading and readable storage medium
CN114358233A (en) Multi-AGV path planning problem optimization method and system based on double-hybrid particle swarm
KR102624451B1 (en) Server, method and computer program for providing route information for logistics
Wang et al. Minimization of delay and travel time of yard trucks in container terminals using an improved GA with guidance search
Liang et al. A multi-objective genetic algorithm for yard crane scheduling problem with multiple work lines
Wang et al. Improved harmony search algorithm for truck scheduling problem in multiple-door cross-docking systems
CN111985730A (en) Logistics path planning method and device, computer equipment and storage medium
CN115345550B (en) Vehicle path planning method and system
Li et al. A multi-objective evolutionary algorithm based on R2 indicator for pickup and delivery problem with time windows
CN114239931A (en) Method and device for realizing logistics storage loading scheduling based on improved ant colony algorithm
Xiong et al. Delivery vehicle scheduling modeling and optimization for automobile mixed milk-run mode involved indirect suppliers
Zhu et al. Multimodal transport cost model bases on dynamic alliances
Chen et al. An integrating scheduling model for mixed cross-operation in container terminals

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23851598

Country of ref document: EP

Kind code of ref document: A1