Order optimization distribution method based on intelligent take-out platform rider reliability evaluation
By constructing a multi-objective takeout order optimization allocation model and an adaptive large neighborhood search algorithm, combined with the simulated annealing mechanism, the problem that traditional allocation methods are difficult to achieve efficient and accurate order allocation is solved, the best matching of orders and riders is achieved, and the efficiency is improved. User satisfaction and platform competitiveness.
Patent Information
- Application Number
- CN202411164420.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-08-23
AI Technical Summary
The traditional manual allocation method is difficult to ensure efficient and accurate allocation of takeout orders. Especially when the reliability of riders is uneven and the delivery environment is complex, it is difficult to achieve optimal order allocation.
Based on the intelligent takeout platform, a multi-objective takeout order optimization allocation model is constructed. Combining the linear weighted sum method and the adaptive large neighborhood search algorithm, combined with the simulated annealing mechanism, an order optimization allocation strategy is constructed to obtain the lowest total delivery cost, maximum rider reliability, An order allocation scheme that maximizes customer satisfaction.
It achieves the best matching of orders and riders, reduces delivery time and costs, improves user satisfaction and platform competitiveness, and promotes the automated and intelligent development of the takeaway delivery system.
Smart Images

Figure CN118674244A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent takeout dispatching, and in particular to an order optimization allocation method based on reliability evaluation of riders on an intelligent takeout delivery platform. Background Art
[0002] With the advent of the "Internet +" era, the food delivery industry has risen rapidly and has become a key bridge connecting catering businesses and consumers. However, with the explosive growth in the number of orders, how to efficiently and accurately allocate food delivery orders has become an important issue that food delivery platforms need to solve. The traditional manual allocation method is not only inefficient, but also difficult to ensure the optimality of order allocation, especially in the face of uneven rider reliability and complex and changeable delivery environments, and cannot effectively optimize order allocation. Summary of the invention
[0003] The present invention provides an order optimization allocation method based on the reliability evaluation of riders on an intelligent food delivery platform to overcome the above-mentioned technical problems.
[0004] In order to achieve the above object, the technical solution of the present invention is: The order optimization allocation method based on the reliability evaluation of the riders on the intelligent food delivery platform includes the following steps: S1: Construct a multi-objective takeaway order optimization allocation model with the goals of minimizing the total delivery cost of the takeaway platform, maximizing the reliability of riders, and maximizing customer satisfaction; The multi-objective takeaway order optimization allocation model includes a takeaway platform delivery total cost objective function, a rider reliability objective function, a customer satisfaction objective function, and a constraint function; S2: Based on the linear weighted sum method, the multi-objective takeaway order optimization allocation model is integrated to obtain a single objective function model; S3: construct an order optimization allocation strategy based on an adaptive large neighborhood search algorithm combined with a simulated annealing mechanism; and obtain an order optimization allocation solution that optimizes the single objective function model based on the order optimization allocation strategy.
[0005] Furthermore, the multi-objective takeaway order optimization allocation model constructed in S1 is expressed as (1) (2) (3) The constraint function is: (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) Where: represents the total delivery cost objective function of the food delivery platform; represents the objective function of rider reliability; represents the customer satisfaction objective function; Represents the set of all newly accepted orders; Represents the current set of uncompleted orders; Indicates rider A collection of unfulfilled orders; represents the set of all orders, that is ; It represents a collection of experienced riders; Indicates the set of newly joined riders; represents the set of all riders, that is ; Represents a set of customer points; Represents a set of merchant points; Indicates the current location point set of the assignable rider; Represents the set of all nodes, that is ; Represents a slave node To Node distance; It means that the takeaway can only be delivered by the platform The delivery time; Indicates that the customer can accept the order The latest delivery time; Indicates rider Driving speed; Indicates the average speed of experienced riders; Indicates the average speed of new riders; It represents the cost for the rider to travel a unit distance; Representation Node The amount of pickup and delivery for customers or merchants, and when When the customer picks up the goods, the quantity is negative. When indicating a merchant, the delivery quantity is positive; Indicates the maximum number of takeout orders a rider can carry in one delivery; Indicates service time; Represents order density, and its value is the ratio of the number of orders to the number of riders; It represents the equilibrium threshold used to measure the degree of equilibrium of the number of orders allocated to each rider by the system; Indicates rider Walk through nodes, reach the node Cargo capacity at the time; Indicates rider Walk through Points to reach the node time of day; Indicates the customer Orders By Merchant Decision variables at service time; Indicates rider By node Go to the node Decision variables when Indicates order By Rider Decision variables during delivery; constraint functions (4) and (5) indicate that the rider starts from the current location, and each customer point and merchant point is only visited once during the delivery process; constraint function (6) indicates that in newly received orders, the customer point and the merchant point must be assigned to the same rider to ensure the integrity and continuity of the order; constraint function (7) indicates that for orders that were not completed in the previous stage, the originally assigned rider must continue to complete the delivery; constraint functions (8) and (9) ensure that all orders complete the pickup and delivery process from the merchant point to the customer point; constraint function (1 0) indicates that there are differences in the delivery speeds of different types of riders; constraint function (11) requires that all orders must follow the order of picking up the food first and then delivering it; constraint functions (12) and (13) stipulate that the number of takeouts carried by the rider at any time in the delivery path must not exceed its maximum carrying capacity; constraint function (14) indicates that the allocation of newly accepted orders must meet the equilibrium threshold constraint to ensure that the workload of each rider is relatively balanced, avoid some riders being overloaded while other riders are idle, so as to improve the overall delivery efficiency and service quality; constraint function (15) represents the value range of the decision variable.
[0006] Furthermore, in S2, the multi-objective takeaway order optimization allocation model is integrated based on the linear weighted sum method, and the single objective function model expression is obtained as follows: (16) Where: It represents a single objective function model after integrating the multi-objective takeaway order optimization allocation model; They represent the weight parameters of the corresponding set total delivery cost target of the food delivery platform, the rider reliability target, and the rider reliability target of the order delivery time to the customer, respectively, and , .
[0007] Furthermore, in S3, the order optimization allocation strategy constructed based on the adaptive large neighborhood search algorithm combined with the simulated annealing mechanism is as follows: S31: Use integer coding method to obtain The decoder of the rider delivery path contains several merchant nodes and customer nodes, and the merchants and customers of the same order are bundled accordingly to obtain new orders; S32: Put all new orders into the uninserted order set In the example, the set of uninserted orders is selected in turn based on the greedy algorithm. Insert the new order in and output the initial solution; S33: Based on the adaptive large neighborhood search algorithm, a removal operator of the takeaway order pickup and delivery node is defined, and the removal operator includes a random removal operator, a worst removal operator, and a spatiotemporal similarity removal operator; Random removal operator: randomly remove the pick-up and delivery nodes corresponding to some orders to perturb the initial solution; Worst removal operator: obtain the descending order list of the impact of new orders on the single objective function model, and remove the previous order based on the descending order list of new orders. Pickup and delivery nodes corresponding to each order; Spatiotemporal similarity removal operator: randomly select a new order and remove the pick-up and delivery nodes corresponding to the order with the highest spatiotemporal similarity based on the spatiotemporal similarity function, until the ratio of the number of removed orders to the total number of orders reaches ; And the expression of the spatiotemporal similarity function is (17) Where: Indicates the spatiotemporal similarity of two orders; and Respectively indicate orders The pick-up and delivery nodes; and Respectively indicate orders The pick-up and delivery nodes; Indicates that the rider arrives at the node time; represents the weight coefficient; S34: constructing a repair operator for the delivery node of the takeaway order according to the greedy and random selection rules, so as to iteratively insert the delivery node of the takeaway order removed by the removal operator into the delivery path of each rider in units of orders according to the repair operator, and obtain a new feasible solution; The repair operator includes a greedy repair operator and a maximum regret value repair operator; The greedy repair operator: according to the greedy principle, the order Insert rider The best position of the path, and the insertion method is the same as steps S32 to S33; And the order Insert rider The best way to get the path location is: Obtain new orders based on a single objective function model Add to Rider The minimum target change value of the path, and the rider corresponding to the minimum target change value Path as New Order Optimal position for insertion; The maximum regret repair operator: Get an order from all orders where the new order is inserted Regret value , that is, the order Insert the difference between the target value of the best position and the second best position, and iterate to select the maximum regret value The corresponding orders are inserted into their optimal positions; S35: setting the operator combination allocation weights of each removal operator and repair operator, and obtaining the current feasible solution for inserting the new order into the delivery path of each rider according to the operator combination allocation weights; Adopting an adaptive roulette mechanism to dynamically select the combination of removal operators and repair operators to iterate and obtain new feasible solutions; And after each iteration cycle, according to the operator in the search process The target value increment caused Calculate the operator in the iteration cycle The new weight of , and the target value increment Specifically, in the search process based on the operator The absolute value of the difference between the single objective function model values obtained before and after the iteration; Then the expression for updating the operator weight value is (18) Where: represents a constant, and ; S36: using a simulated annealing algorithm to control whether a new feasible solution of the adaptive large neighborhood search algorithm is accepted, until the termination number of iterations is reached, and then outputting the optimal feasible solution; And the optimal feasible solution is the optimal solution for inserting new orders into the rider's delivery path.
[0008] Further, the greedy algorithm described in S32 sequentially selects the uninserted order set The method for inserting an order in the new order is as follows: S321: Obtain new orders based on a single objective function model Insert rider The minimum target change value of the path, and the rider corresponding to the minimum target change value Path as New Order Optimal position for insertion; And if the rider With order If the matching does not satisfy the capacity constraint, i.e., constraint function (12) and constraint function (13), and the time constraint, i.e., constraint function (14), then ; and use Indicates insert order
[0009] The minimum target value change caused by ; S322: Select The corresponding order is inserted into the corresponding optimal position, and the order is removed from the set of uninserted orders. ; S323: If the order set is not inserted If it is empty or there is no order to perform the insertion operation, the initial solution is output; Otherwise return to step S321.
[0010] Furthermore, in S36, a simulated annealing algorithm is used to control whether a new feasible solution of the adaptive large neighborhood search algorithm is accepted or not, specifically, Using the simulated annealing strategy Metropolis, the new feasible solution The current feasible solution Make comparisons; If the new feasible solution Better than the current feasible solution , then accept the new feasible solution ; If the new feasible solution Worse than the current feasible solution , then with probability Accept inferior solution, where and Represent new feasible solutions The current feasible solution The corresponding target value of the single objective function model; Represents the current The temperature of the iteration, and , Represents the cooling factor.
[0011] Beneficial effects: The present invention provides an order optimization allocation method based on the reliability evaluation of the riders of the intelligent food delivery platform. By comprehensively considering the historical delivery records, user evaluations, delivery punctuality, service attitude and other factors of the riders, a multi-objective food delivery order optimization allocation model and constraint function with the goals of minimizing the total delivery cost of the food delivery platform, maximizing the rider reliability and maximizing the customer satisfaction are constructed; the linear weighted sum method is used to convert the multi-objective into a single-objective optimization problem, so that the decision preferences of the decision makers of the crowdsourcing food delivery platform for the total delivery cost, the overall matching rider reliability of the platform and the customer satisfaction with the order delivery time can be quantified, thereby more clearly guiding the optimization process; based on the adaptive large neighborhood search algorithm combined with the simulated annealing mechanism, an order optimization allocation strategy is constructed, which can analyze the order requirements in real time, such as the delivery distance, time window, commodity characteristics, etc., and at the same time, combined with the real-time location of the rider, the number of orders in transit, the estimated completion time and other information, the intelligent matching strategy is used to allocate the order to the most suitable rider. To obtain the optimal allocation plan for the order. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0013] Figure 1 It is a flow chart of the order optimization allocation method based on the reliability evaluation of the riders on the intelligent food delivery platform of the present invention; Figure 2 This is a flow chart of the order optimization allocation strategy constructed in this embodiment; Figure 3 This is a schematic diagram of the customer time satisfaction function in this embodiment; Figure 4 It is a line graph of cost weight change in this embodiment; Figure 5 is a line diagram of the weight change of the rider's reliable level in this embodiment; Figure 6 It is a line graph of the change of the time satisfaction level weight in this embodiment; Figure 7 is a line graph showing the effect of the change in the equalization threshold on the target value in this embodiment; Figure 8 This is a schematic diagram of inserting an order in this embodiment. DETAILED DESCRIPTION
[0014] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0015] This embodiment provides an order optimization allocation method based on the reliability evaluation of the riders on the smart food delivery platform. Figure 1 As shown, the following steps are included: S1: Construct a multi-objective takeaway order optimization allocation model with the goals of minimizing the total delivery cost of the takeaway platform, maximizing the reliability of riders, and maximizing customer satisfaction; The multi-objective takeaway order optimization allocation model includes a takeaway platform delivery total cost objective function, a rider reliability objective function, a customer satisfaction objective function, and a constraint function; Specifically, in order to increase the possibility that riders can complete orders on time, in quantity, with high quality and efficiency, and provide customers with a high-quality service experience, this embodiment introduces the concept of rider reliability on the basis of previous scholars' goals of maximizing customer satisfaction with order delivery time and minimizing total delivery costs, and increases the platform's overall matching of the goal of maximizing rider reliability, thereby improving user experience and reducing system disturbances in terms of service and timeliness.
[0016] Among them, the rider reliability represents the comprehensive quality score of the rider to achieve reliable performance. Selecting a rider with high reliability can bring less risk, higher benefits and better service quality to the platform. This embodiment selects four indicators, namely, the rate of non-rejected orders, the rate of intact takeout, the rate of on-time completion, and the rate of favorable service attitude, from the three aspects of work habits, delivery capabilities, and service attitude as the key factors to measure the reliability of the rider. The calculation formula is as follows: (1) Where: Indicates rider reliability; Indicates the rate of non-rejected orders, using riders It is expressed as the ratio of unrejected orders to total allocated orders; Indicates the delivery completion rate, using riders It is expressed as the ratio of the number of takeaway orders completed to the total number of completed orders; Indicates the on-time completion rate, using riders It is expressed as the ratio of the number of orders completed within a specified time to the total number of orders completed; Indicates the rate of positive reviews for service attitude, given to riders It is expressed as the ratio of the number of customers who give favorable service attitude to the total number of customers served; Respectively represent the weight of each indicator. Due to the large changes in riders in a short period of time, the above indicators are calculated based on the riders' historical performance data within a week. In addition, in actual delivery scenarios, the difference in riders' delivery capabilities is also reflected in the delivery speed, which will affect the riders' Arrival Node The time of delivery results in differences in customer time satisfaction. Since this difference becomes smaller as the riders become familiar with the work, this embodiment divides the riders into two categories: new and old riders, and assigns them different delivery speeds; Customer time satisfaction indicates the reliability of the rider to complete the order on time according to the platform plan, which is determined by the promised delivery time and the takeaway delivery time. When the takeaway is delivered ahead of schedule, the customer time satisfaction is 1. When the takeaway delivery time is later than the platform promised delivery time, the customer time satisfaction will show a linear downward trend, such as Figure 3 Order By Rider Customer satisfaction with delivery time The calculation formula is as follows: (2) Where: Rider Arrival Node Time , by the rider The time to reach the previous node, plus the rider's service time at the previous node, and the travel time from the previous node to the current node are expressed as follows: (3) This embodiment also includes the following assumptions: Assumption 1: Assume that all orders are required to be delivered as soon as possible; Assumption 2: Assume that the service time for pickup and delivery of food by drivers is the same average value; Assumption 3: Assume that the maximum number of cargoes that a rider can carry in his delivery vehicle is known and is a fixed constant; Assumption 4: Assume that the delivery vehicles of the riders travel at a constant speed, and different types of riders have different speeds. Uncertain events such as vehicle failures and road congestion are not considered; The constructed multi-objective takeaway order optimization allocation model is expressed as (4) (5) (6) The constraint function is: (7) (8) (9) (10) (11) (12) (13) (14) (15) (16) (17) (18)
[0017] Where: represents the total delivery cost objective function of the food delivery platform; represents the objective function of rider reliability; represents the customer satisfaction objective function; Represents the set of all newly accepted orders; Represents the current set of uncompleted orders; Indicates rider A collection of unfulfilled orders; represents the set of all orders, that is ; It represents a collection of experienced riders; Indicates the set of newly joined riders; represents the set of all riders, that is ; Represents a set of customer points; Represents a set of merchant points; Indicates the current location point set of the assignable rider; Represents the set of all nodes, that is ; Represents a slave node To Node distance; It means that the takeaway can only be delivered by the platform The delivery time; Indicates that the customer can accept the order The latest delivery time; Indicates rider Driving speed; Indicates the average speed of experienced riders; Indicates the average speed of new riders; It represents the cost for the rider to travel a unit distance; Representation Node The amount of pickup and delivery for customers or merchants, and when When the customer picks up the goods, the quantity is negative. When indicating a merchant, the delivery quantity is positive; Indicates the maximum number of takeout orders a rider can carry in one delivery; Indicates service time; Represents order density, and its value is the ratio of the number of orders to the number of riders; It represents the equilibrium threshold used to measure the degree of equilibrium of the number of orders allocated to each rider by the system; Indicates rider Walk through nodes, reach the node Cargo capacity at the time; Indicates rider Walk through m Points to reach the node time of day; Indicates the customer Orders By Merchant Decision variables at service time; Indicates rider By node Go to the node j Decision variables when Indicates order By Rider Decision variables during delivery; is a 0-1 variable. Orders By Merchant When serving, its value is 1, otherwise it is 0; is a 0-1 variable, when the rider By node Go to the node When , its value is 1, otherwise it is 0; is a 0-1 variable. By Rider During delivery, its value is 1, otherwise it is 0. Constraint functions (7) and (8) indicate that the rider starts from the current location, and each customer point and merchant point is only visited once during the delivery process; constraint function (9) indicates that in the newly received order, the customer point and the merchant point must be assigned to the same rider to ensure the integrity and continuity of the order; constraint function (10) indicates that for the orders that were not completed in the previous stage, the originally assigned rider must continue to complete the delivery; constraint functions (11) and (12) ensure that all orders complete the pickup and delivery process from the merchant point to the customer point; constraint function (13) indicates The constraint function (14) requires that all orders must follow the order of picking up the food first and then delivering it. The constraint functions (15) and (16) stipulate that the number of takeouts carried by the rider at any time in the delivery path must not exceed its maximum carrying capacity. The constraint function (17) indicates that the allocation of newly accepted orders must meet the equilibrium threshold constraint to ensure that the workload of each rider is relatively balanced, avoiding some riders being overloaded while other riders are idle, so as to improve the overall delivery efficiency and service quality. The constraint function (18) represents the value range of the decision variable.
[0018] S2: Based on the linear weighted sum method, the multi-objective takeaway order optimization allocation model is integrated to obtain a single objective function model; Specifically, in a multi-objective programming problem, due to the conflicting characteristics between the objectives, there is usually no solution that can achieve the best of all objectives at the same time, so the goal of this embodiment is to find a set of non-inferior solutions. To achieve this goal, a common strategy is to convert the multi-objective into a single-objective programming problem. The common conversion methods are as follows: (1) Hierarchical sequence method: By sorting the objectives according to the priority level, the optimization problem of each objective is solved step by step. In each step, the next objective will be considered only when the previous objective reaches the optimal or near-optimal state; (2) Constraint method: select a main goal and transform other goals into constraints by setting thresholds, thereby achieving comprehensive consideration of multiple goals; (3) Evaluation function method: by constructing a comprehensive evaluation function to reflect all objectives at the same time. Common evaluation function methods include ideal point method, maximum and minimum method, linear weighted sum method, etc. Among the many conversion methods that convert multi-objective into single-objective optimization problems, the linear weighted sum method becomes a reasonable choice due to its simplicity and applicability. This method can also quantify the decision preferences of crowdsourcing food delivery platform decision makers regarding the total delivery cost, the overall reliability of the platform matching riders, and the customer satisfaction with the order delivery time, thereby guiding the optimization process more clearly.
[0019] The linear weighted sum method first assigns weight coefficients according to the relative importance of each goal in the decision-making process, standardizes each objective function to unify the comparison scale, and finally multiplies each objective function with the corresponding weight coefficient and adds them together to form a comprehensive evaluation function. By optimizing this evaluation function (minimizing or maximizing), the optimal solution to the multi-objective planning problem is obtained. This embodiment uses the linear weighted sum method to transform the goal, which involves the following steps: (1) Weight allocation: In the linear weighted sum method, assigning weight coefficients to each objective function is a key step, which directly affects the composition of the final solution and the quality of the decision. The determination of the weight coefficient should reflect the relative importance of each objective in the overall decision-making process and the decision maker's preferences. In order to ensure the scientificity and rationality of the weights, a variety of methods can be used to determine the weights, including hierarchical analysis method, expert scoring method, etc. The model in this embodiment contains three objectives: total delivery cost, overall platform matching rider reliability, and customer satisfaction with order delivery time. Weights are set for each objective. , for each weight: (19) (20) (2) Standardization: The purpose of standardization is to eliminate the differences in the dimensions and magnitudes of the objective functions so that all objective functions can be compared and weighed on the same scale. Through standardization, each objective can play its due role in the decision-making process without being inappropriately amplified or weakened. In order to ensure that the three objectives of total delivery cost, the reliability of the platform's overall matching of riders, and the satisfaction of customers with order delivery are balanced in the multi-objective planning problem, specific normalization methods are adopted for different objectives so that the results are scaled to the interval [0,1]. This embodiment uses the deviation normalization method to achieve linear transformation for the total delivery cost target, and the transformation is shown in formula (21); the average of the platform's overall matching of riders and the satisfaction of customers with order delivery is taken, and the transformation is shown in formula (22); (twenty one) (twenty two) (3) Minimization weighted sum evaluation function: Substitute equations (4), (5) and (6) into the standardized transformation formula and add them together to construct a comprehensive evaluation function. The multi-objective model containing maximum and minimum functions is converted into a minimization single-objective model. The objective function combination is as follows: (twenty three) Where: It represents a single objective function model after integrating the multi-objective takeaway order optimization allocation model; They represent the weight parameters of the corresponding set total delivery cost target of the food delivery platform, the rider reliability target, and the rider reliability target of the order delivery time to the customer, respectively, and , ; S3: construct an order optimization allocation strategy based on an adaptive large neighborhood search algorithm combined with a simulated annealing mechanism; and obtain an order optimization allocation solution that optimizes the single objective function model based on the order optimization allocation strategy.
[0020] In this embodiment, when solving the above-mentioned transformed model using the constructed order optimization allocation strategy, this embodiment specially designs an efficient order optimization allocation algorithm for the NP-hard problem of optimizing the allocation of takeout orders. This algorithm is particularly suitable for processing scenarios where the order scale in crowdsourcing takeout platforms is large and the quality requirements of the allocation plan are strict. Based on the rider reliability score, this embodiment uses the adaptive large neighborhood search (ALNS) strategy combined with the simulated annealing mechanism to achieve deep optimization of order allocation. During the operation of the algorithm, this embodiment fully considers the multi-dimensional requirements of the order, such as delivery distance, time window, commodity characteristics, etc. This information is analyzed in real time and included in the optimization considerations. At the same time, this embodiment is also closely combined with the real-time status of the rider, including the rider's location, the number of orders in transit, the estimated completion time, and the key rider reliability score. Through the intelligent matching strategy, each order is accurately allocated to the most suitable rider in the current state.
[0021] The core of the ALNS algorithm lies in its powerful search capability and efficient convergence mechanism. Through the mutual competition and cooperation between operators, the algorithm can construct a diverse neighborhood structure, effectively broaden the search scope, and explore more potential high-quality solutions. The introduction of the simulated annealing strategy further enhances the global search capability of the algorithm and avoids the dilemma of the search process falling into the local optimum due to premature convergence. This embodiment can not only realize the optimal allocation of orders based on the rider reliability score, but also ensure the efficiency and accuracy of order allocation by real-time analysis of order demand and rider status combined with intelligent matching strategies. The process of the order optimization allocation strategy is as follows: Figure 2 As shown; In a specific embodiment, Figure 8 As shown in Figure 2, the order optimization allocation strategy constructed in S3 based on the adaptive large neighborhood search algorithm combined with the simulated annealing mechanism is as follows: S31: Use integer coding method to obtain The decoder of the rider delivery path contains several merchant nodes and customer nodes, and the merchants and customers of the same order are bundled accordingly to obtain new orders; S32: Put all new orders into the uninserted order set In the example, the set of uninserted orders is selected in turn based on the greedy algorithm. Insert the new order in and output the initial solution; The greedy algorithm selects the uninserted order set in turn The method for inserting an order in the new order is as follows: S321: Obtain new orders based on a single objective function model Insert rider The minimum target change value of the path, and the rider corresponding to the minimum target change value Path as New Order Optimal position for insertion; And if the rider With order If the matching does not satisfy the capacity constraint, i.e., constraint function (15) and constraint function (16), and the time constraint, i.e., constraint function (17), then ; and use Indicates insert order The minimum target value change caused by ; S322: Select The corresponding order is inserted into the corresponding optimal position, and the order is removed from the set of uninserted orders. ; S323: If the order set is not inserted If it is empty or there is no order to perform the insertion operation, the initial solution is output; Otherwise, return to step S321; S33: Based on the adaptive large neighborhood search algorithm, define the removal operator of the takeaway order delivery node, and the removal operator includes a random removal operator, a worst removal operator, and a spatiotemporal similarity removal operator Random removal operator: randomly remove the pick-up and delivery nodes corresponding to some orders to perturb the initial solution; Worst removal operator: obtain a descending order list of the impact of new orders on a single objective function model, and remove the top order with the greatest impact on the single objective function model based on the descending order list of new orders. Pickup and delivery nodes corresponding to each order; Spatiotemporal similarity removal operator: randomly select a new order and remove the pick-up and delivery nodes corresponding to the order with the highest spatiotemporal similarity based on the spatiotemporal similarity function, until the ratio of the number of removed orders to the total number of orders reaches ; And the expression of the spatiotemporal similarity function is (20) Where: Indicates the spatiotemporal similarity of two orders; and Respectively indicate orders The pick-up and delivery nodes; and Respectively indicate orders The pick-up and delivery nodes; Indicates that the rider arrives at the node time; , represents the weight coefficient; S34: constructing a repair operator for the delivery node of the takeaway order according to the greedy and random selection rules, so as to iteratively insert the delivery node of the takeaway order removed by the removal operator into the delivery path of each rider in units of orders according to the repair operator, and obtain a new feasible solution; The repair operator includes a greedy repair operator and a maximum regret value repair operator; The greedy repair operator: according to the greedy principle, the order Insert rider The best position of the path, and the insertion method is the same as steps S32 to S33; And the order Insert rider The best way to get the path location is: Obtain new orders based on a single objective function model Add to Rider The minimum target change value of the path, and the rider corresponding to the minimum target change value Path as New Order Optimal position for insertion; The maximum regret repair operator: Get an order from all orders where the new order is inserted Regret value , that is, the order Insert the difference between the target value of the best position and the second best position, and iterate to select the maximum regret value The corresponding orders are inserted into their optimal positions; S35: setting the operator combination allocation weights of each removal operator and repair operator, and obtaining the current feasible solution for inserting the new order into the delivery path of each rider according to the operator combination allocation weights; Adopting an adaptive roulette mechanism to dynamically select the combination of removal operators and repair operators to iterate and obtain new feasible solutions; And after each iteration cycle, according to the operator in the search process The target value increment caused Calculate the operator in the iteration cycle The new weight of , then the expression for updating the operator weight is (twenty one) Where: represents a constant, and ; And the target value increment Specifically, in the search process based on the operator The absolute value of the difference between the single objective function model values obtained before and after the iteration; S36: using a simulated annealing algorithm to control whether a new feasible solution of the adaptive large neighborhood search algorithm is accepted, until the termination number of iterations is reached, and then outputting the optimal feasible solution; And the optimal feasible solution is the optimal solution for inserting new orders into the rider's delivery route; Specifically, the simulated annealing algorithm is used in S36 to control whether the new feasible solution of the adaptive large neighborhood search algorithm is accepted. Specifically, Using the simulated annealing strategy Metropolis, the new feasible solution The current feasible solution Make comparisons; If the new feasible solution Better than the current feasible solution , then accept the new feasible solution ; If the new feasible solution Worse than the current feasible solution , then with probability Accept inferior solution, where and Represent new feasible solutions The current feasible solution The corresponding target value of the single objective function model; Represents the current The temperature of the iteration, and , Represents the cooling factor.
[0022] Compared with the prior art, the present invention has the following beneficial effects: The implementation of the present invention can significantly improve the order distribution efficiency and user experience of the food delivery platform. By accurately evaluating the reliability of the riders, the best match between orders and riders is achieved, reducing delivery time and costs. At the same time, real-time monitoring and dynamic adjustment mechanisms ensure efficient execution and on-time delivery of orders, improving user satisfaction and platform competitiveness. In addition, the present invention also promotes the automation and intelligent development of food delivery systems, providing strong support for the application of smart logistics.
[0023] In this example, in order to verify the effectiveness of the crowdsourcing takeaway order allocation optimization model considering the reliability of the riders, merchants and customer points within a three-kilometer radius of a university were selected as the research objects, and a small-scale example was constructed based on actual survey data. Five riders are responsible for the delivery tasks in a certain delivery area, among which the rider reliability of three veteran riders is 1, 1, and 0.91 respectively, and the rider reliability of two new riders is 0.78 and 0.65 respectively. The average speed of the veteran riders is =35km / h, average speed of a new rider =25km / h, average unit delivery cost =0.02RMB / m, average service time = 3 min, promised delivery time The latest acceptable delivery time is 40 minutes after the order is placed. 90 minutes after the order is placed, the rider’s maximum cargo capacity = 10, and the equilibrium threshold = 1. The experimental test environment is MATLAB2021b, running on a PC with an i5-1260P processor and 8G memory.
[0024] In order to verify the effectiveness of the crowdsourcing takeaway dispatching strategy considering the reliability of the riders, 20 initial orders were assigned to 5 riders starting from the distribution center. The unfinished orders, locations and delivery routes of the 5 riders were updated with the order execution status after 20 minutes. Based on this, 10 new orders were assigned and the weights were used. The values are 0.5, 0.25, and 0.25 respectively. Some initial order information is shown in Table 1, the initial matching results are shown in Table 2, the newly added order information is shown in Table 3, and the matching results after adding the order are shown in Table 4.
[0025] Table 1 Information about the initial order of the test case
[0026] Table 2 Rider matching orders and route arrangements in the initial period
[0027] Table 3 Test case new order related information
[0028] As shown in Table 4, under the dispatching strategy that does not consider the reliability of the riders, the platform only allocates orders based on customer satisfaction with order delivery time and total delivery cost. Orders are more often assigned to riders with lower reliability, resulting in a low overall rider reliability level on the platform. Compared with this strategy, the crowdsourcing takeaway dispatching strategy that considers rider reliability can greatly improve the overall rider reliability level of the platform. At the same time, due to the speed difference between new and old riders, customer satisfaction with order delivery time is also slightly improved, while the total delivery cost is slightly increased. The reason is that allocating more orders to riders with higher reliability has led to a certain detour.
[0029] Table 4 Comparison of results after adding orders under different strategies
[0030] Sensitivity analysis: In order to analyze the impact of crowdsourcing takeaway platform decision preferences on each target value, the same test data was used to Experiments were conducted with different values, gradually increasing one weight, taking the average of the remaining weights, and comparing the impact of different decision weights on the total delivery cost, the overall reliability of the platform matching riders, and the customer satisfaction level of order delivery time. The results are as follows Figures 4 to 6 shown.
[0031] Depend on Figure 4 It can be seen that as the cost weight increases, the cost continues to decrease, while the rider reliability level and time satisfaction level decrease slowly in the early stage, and then decrease rapidly when the cost weight is greater than 0.5; Figure 5 It can be seen that as the weight of the rider's reliability level increases, the rider's reliability level first accelerates and then tends to be flat. This is because the number of orders assigned to the rider is limited by the equilibrium threshold. At the same time, the time satisfaction level continues to decline and the cost continues to rise. When the weight of the rider's reliability level increases to 0.3, the cost rises significantly faster. Figure 6 It can be seen that as the weight of time satisfaction level increases, time satisfaction level and cost continue to rise, while the reliability level of riders decreases slowly in the early stage, and then decreases rapidly when the weight of time satisfaction level increases to 0.4. Therefore, if the decision makers of the crowdsourcing food delivery platform give too high a weight to one goal, it may cause the other two goal values to be greatly reduced, and the overall optimization effect is not obvious.
[0032] The equilibrium threshold is an important parameter to ensure the balance and coordination of order distribution. It is represented by the average value of the difference between the number of orders allocated to each rider and the average number of orders available to each rider on the platform. The smaller the equilibrium threshold, the more balanced the order distribution and the fairer the competition among the riders on the platform. On the contrary, the larger the equilibrium threshold, the more unbalanced the order distribution and the possibility of unfair distribution among the riders on the platform. In order to analyze the impact of the equilibrium threshold on each target value, experiments were conducted on different values of the equilibrium threshold under the same test data. The results are shown in the figure below. Figure 7 shown.
[0033] When the equilibrium threshold is small, the cost is high and the rider reliability and time satisfaction are low. This is because the equilibrium threshold is too low, which limits the number of orders assigned to each rider, resulting in poor target results. As the equilibrium threshold increases, the cost decreases, the rider reliability and time satisfaction increase, and the change range of each target value changes from large changes to gentle changes. When the equilibrium threshold is too large, the target values no longer change. This is because the order allocation decision is constrained by other constraints and the equilibrium threshold loses its binding force.
[0034] Based on the existing research on order allocation optimization problems, this embodiment deeply analyzes the rider behaviors that affect the quality of order delivery, introduces the concept of rider reliability, and proposes to establish a crowdsourcing takeout order allocation optimization model that matches the overall platform rider reliability, maximizes customer satisfaction with order delivery time, and minimizes total delivery costs from the perspective of improving the possibility of riders completing orders efficiently and with high quality. An improved adaptive large neighborhood search algorithm is designed to solve such order allocation problems, and the effectiveness and adaptability of the model and algorithm are verified through examples. Research shows that the crowdsourcing takeout order dispatching strategy that takes rider reliability into consideration can effectively improve the overall platform matching rider reliability and customer satisfaction with order delivery time, thereby enhancing the possibility of reliable fulfillment of platform orders. In addition, this study can obtain the following management insights through sensitivity analysis: (1) The preferences of decision makers of the crowdsourcing food delivery platform for cost, rider reliability and time satisfaction will have a great impact on the order allocation results, and giving too high a weight to one goal may cause the other two goals to be greatly reduced, and the overall optimization effect is not obvious; (2) Setting an appropriate equilibrium threshold can help reduce costs, improve rider reliability and time satisfaction, and the equilibrium threshold is closely related to order density. The equilibrium threshold should be dynamically adjusted according to changes in order density. In view of the characteristics of crowdsourcing riders who have short working hours and can rest at any time, this embodiment designs a crowdsourcing food delivery order allocation optimization problem that takes rider reliability into consideration. However, full-time riders are prone to fatigue due to long-term and high-intensity work, which reduces delivery efficiency. Subsequent research can comprehensively consider rider reliability and fatigue, and deeply optimize the algorithm to achieve higher solution efficiency and quality.
[0035] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An order optimization allocation method based on the reliability evaluation of riders on an intelligent food delivery platform is characterized by: The following steps are involved: S1: Construct a multi-objective takeaway order optimization allocation model with the goals of minimizing the total delivery cost of the takeaway platform, maximizing the reliability of riders, and maximizing customer satisfaction; The multi-objective takeaway order optimization allocation model includes a takeaway platform delivery total cost objective function, a rider reliability objective function, a customer satisfaction objective function, and a constraint function; S2: Based on the linear weighted sum method, the multi-objective takeaway order optimization allocation model is integrated to obtain a single objective function model; The obtained single objective function model expression is: (16) Where: It represents a single objective function model after integrating the multi-objective takeaway order optimization allocation model; They represent the weight parameters of the corresponding set total delivery cost target of the food delivery platform, the rider reliability target, and the rider reliability target of the order delivery time to the customer, respectively, and , ; S3: construct an order optimization allocation strategy based on an adaptive large neighborhood search algorithm combined with a simulated annealing mechanism; and obtain an order optimization allocation solution that optimizes the single objective function model based on the order optimization allocation strategy.
2. The order optimization allocation method based on the reliability evaluation of the intelligent food delivery platform rider according to claim 1 is characterized in that: The multi-objective takeaway order optimization allocation model constructed in S1 is expressed as (1) (2) (3) The constraint function is: (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) Where: represents the total delivery cost objective function of the food delivery platform; represents the objective function of rider reliability; represents the customer satisfaction objective function; Represents the set of all newly accepted orders; Represents the current set of uncompleted orders; Indicates rider A collection of unfulfilled orders; represents the set of all orders, that is ; It represents a collection of experienced riders; Indicates the set of newly joined riders; represents the set of all riders, that is ; Represents a set of customer points; Represents a set of merchant points; Indicates the current location point set of the assignable rider; Represents the set of all nodes, that is ; Represents a slave node To Node distance; It means that the takeaway can only be delivered by the platform The delivery time; Indicates that the customer can accept the order The latest delivery time; Indicates rider Driving speed; Indicates the average speed of experienced riders; Indicates the average speed of new riders; It represents the cost for the rider to travel a unit distance; Representation Node The amount of pickup and delivery for customers or merchants, and when When the customer picks up the goods, the quantity is negative. When indicating a merchant, the delivery quantity is positive; Indicates the maximum number of takeout orders a rider can carry in one delivery; Indicates service time; Represents order density, and its value is the ratio of the number of orders to the number of riders; It represents the equilibrium threshold used to measure the degree of equilibrium of the number of orders allocated to each rider by the system; Indicates rider Walk through nodes, reach the node Cargo capacity at the time; Indicates rider Walk through Points to reach the node time of day; Indicates the customer Orders By Merchant Decision variables at service time; Indicates rider By node Go to the node Decision variables when Indicates order By Rider Decision variables during delivery; constraint functions (4) and (5) indicate that the rider starts from the current location, and each customer point and merchant point is only visited once during the delivery process; constraint function (6) indicates that in newly received orders, the customer point and the merchant point must be assigned to the same rider to ensure the integrity and continuity of the order; constraint function (7) indicates that for orders that were not completed in the previous stage, the originally assigned rider must continue to complete the delivery; constraint functions (8) and (9) ensure that all orders complete the pickup and delivery process from the merchant point to the customer point; constraint function (1 0) indicates that there are differences in the delivery speeds of different types of riders; constraint function (11) requires that all orders must follow the order of picking up the food first and then delivering it; constraint functions (12) and (13) stipulate that the number of takeouts carried by the rider at any time in the delivery path must not exceed its maximum carrying capacity; constraint function (14) indicates that the allocation of newly accepted orders must meet the equilibrium threshold constraint to ensure that the workload of each rider is relatively balanced, avoid some riders being overloaded while other riders are idle, so as to improve the overall delivery efficiency and service quality; constraint function (15) represents the value range of the decision variable.
3. The order optimization allocation method based on the reliability evaluation of the intelligent food delivery platform rider according to claim 1 is characterized in that: In S3, the order optimization allocation strategy constructed based on the adaptive large neighborhood search algorithm combined with the simulated annealing mechanism is as follows: S31: Use integer coding method to obtain The decoder of the rider delivery path contains several merchant nodes and customer nodes, and the merchants and customers of the same order are bundled accordingly to obtain new orders; S32: Put all new orders into the uninserted order set In the example, the set of uninserted orders is selected in turn based on the greedy algorithm. Insert the new order in and output the initial solution; S33: Based on the adaptive large neighborhood search algorithm, a removal operator of the takeaway order pickup and delivery node is defined, and the removal operator includes a random removal operator, a worst removal operator, and a spatiotemporal similarity removal operator; Random removal operator: randomly remove the pick-up and delivery nodes corresponding to some orders to perturb the initial solution; Worst removal operator: obtain the descending order list of the impact of new orders on the single objective function model, and remove the previous order based on the descending order list of new orders. Pickup and delivery nodes corresponding to each order; Spatiotemporal similarity removal operator: randomly select a new order and remove the pick-up and delivery nodes corresponding to the order with the highest spatiotemporal similarity based on the spatiotemporal similarity function, until the ratio of the number of removed orders to the total number of orders reaches ; And the expression of the spatiotemporal similarity function is (17) Where: Indicates the spatiotemporal similarity of two orders; and Respectively indicate orders The pick-up and delivery nodes; and Respectively indicate orders The pick-up and delivery nodes; Indicates that the rider arrives at the node time; , represents the weight coefficient; S34: constructing a repair operator for the delivery node of the takeaway order according to the greedy and random selection rules, so as to iteratively insert the delivery node of the takeaway order removed by the removal operator into the delivery path of each rider in units of orders according to the repair operator, and obtain a new feasible solution; The repair operator includes a greedy repair operator and a maximum regret value repair operator; The greedy repair operator: according to the greedy principle, the order Insert rider The best position of the path, and the insertion method is the same as steps S32 to S33; And the order Insert rider The best way to get the path location is: Obtain new orders based on a single objective function model Add to Rider The minimum target change value of the path, and the rider corresponding to the minimum target change value Path as New Order Optimal position for insertion; The maximum regret repair operator: Get an order from all orders where the new order is inserted Regret value , that is, the order Insert the difference between the target value of the best position and the second best position, and iterate to select the maximum regret value The corresponding orders are inserted into their optimal positions; S35: setting the operator combination allocation weights of each removal operator and repair operator, and obtaining the current feasible solution for inserting the new order into the delivery path of each rider according to the operator combination allocation weights; Adopting an adaptive roulette mechanism to dynamically select the combination of removal operators and repair operators to iterate and obtain new feasible solutions; And after each iteration cycle, according to the operator in the search process The target value increment caused Calculate the operator in the iteration cycle The new weight of , and the target value increment Specifically, in the search process based on the operator The absolute value of the difference between the single objective function model values obtained before and after the iteration; Then the expression for updating the operator weight value is (18) Where: represents a constant, and ; S36: using a simulated annealing algorithm to control whether a new feasible solution of the adaptive large neighborhood search algorithm is accepted, until the termination number of iterations is reached, and then outputting the optimal feasible solution; And the optimal feasible solution is the optimal solution for inserting new orders into the rider's delivery path.
4. The order optimization allocation method based on the reliability evaluation of the intelligent food delivery platform rider according to claim 3 is characterized in that: S32 selects the uninserted order set in turn based on the greedy algorithm The method for inserting an order in the new order is as follows: S321: Obtain new orders based on a single objective function model Insert rider The minimum target change value of the path, and the rider corresponding to the minimum target change value Path as New Order Optimal position for insertion; And if the rider With order If the matching does not satisfy the capacity constraint, i.e., constraint function (12) and constraint function (13), and the time constraint, i.e., constraint function (14), then ; and use Indicates insert order The minimum target value change caused by ; S322: Select The corresponding order is inserted into the corresponding optimal position, and the order is removed from the set of uninserted orders. ; S323: If the order set is not inserted If it is empty or there is no order to perform the insertion operation, the initial solution is output; Otherwise return to step S321.
5. The order optimization allocation method based on the reliability evaluation of the intelligent food delivery platform rider according to claim 3 is characterized in that: In S36, the simulated annealing algorithm is used to control whether the new feasible solution of the adaptive large neighborhood search algorithm is accepted. Specifically, Using the simulated annealing strategy Metropolis, the new feasible solution The current feasible solution Make comparisons; If the new feasible solution Better than the current feasible solution , then accept the new feasible solution ; If the new feasible solution Worse than the current feasible solution , then with probability Accept inferior solution, where and Represent new feasible solutions The current feasible solution The corresponding target value of the single objective function model; Represents the current The temperature of the iteration, and , Represents the cooling factor.
Citation Information
Patent Citations
Dynamic demand response electric bus scheduling method based on improved adaptive large-field algorithm
CN115547052A
Scheduling method for O2O platform instant distribution field
CN118211900A
Bike sharing rebalancing optimization method based on adaptive neighborhood search algorithm
US20220292413A1
Cited By
Take-out rider post site selection method and device based on track and space and medium
CN119579244A
Instant delivery task allocation method based on two-stage meta-heuristic algorithm
CN122022101A
