WO2023098698A1 - Logistics distribution network determination method and apparatus, terminal device, and storage medium - Google Patents

Logistics distribution network determination method and apparatus, terminal device, and storage medium Download PDF

Info

Publication number
WO2023098698A1
WO2023098698A1 PCT/CN2022/135277 CN2022135277W WO2023098698A1 WO 2023098698 A1 WO2023098698 A1 WO 2023098698A1 CN 2022135277 W CN2022135277 W CN 2022135277W WO 2023098698 A1 WO2023098698 A1 WO 2023098698A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
parent node
bound value
sorting
lower bound
Prior art date
Application number
PCT/CN2022/135277
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 WO2023098698A1 publication Critical patent/WO2023098698A1/en

Links

Images

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/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0835Relationships between shipper or supplier and carriers
    • G06Q10/08355Routing methods

Definitions

  • the present application relates to the field of logistics transportation, for example, to a method, device, terminal equipment and storage medium for determining a logistics distribution network.
  • the network composed of warehouses, sorting centers and stations can be called a logistics distribution network.
  • the logistics distribution network can be determined.
  • two kinds of solving algorithms, the precise algorithm and the heuristic algorithm can be mainly applied.
  • the present application provides a method, device, terminal equipment, and storage medium for determining a logistics distribution network, which can not only quickly solve large-scale networks, but also evaluate the rationality of the current solution.
  • the present application provides a method for determining a logistics distribution network, including:
  • the initial network Using the initial network as a candidate network, determining the lower bound value and upper bound value of the initial network; wherein the connection relationship between multiple sorting centers in the initial network is preset;
  • the cycle is not stopped, then by setting the subsequent connected relationship between the station and the sorting center on the basis of the parent node, the child node of the parent node is generated; the candidate network in the current cycle is updated according to the lower bound value of the child node , and enter the next cycle;
  • the network corresponding to the upper bound value of the parent node determined when the loop is stopped is determined as the logistics distribution network
  • the lower bound value is the transportation cost determined based on the previous connection relationship between the warehouse and the sorting center in the corresponding network;
  • the transport cost is determined by the subsequent connectivity relationship of the center.
  • the present application provides a device for determining a logistics distribution network, including:
  • the initialization module is configured to use the initial network as a candidate network, and determine the lower limit value and the upper limit value of the initial network; wherein, the connection relationship between multiple sorting centers in the initial network is preset;
  • the evaluation module is configured to determine the candidate network with the smallest lower bound value as the parent node in the current cycle, and determine whether to stop the cycle according to the difference between the lower bound value and the upper bound value of the parent node determined in the current cycle;
  • the branch and delimitation module is configured to generate a child node of the parent node by setting the subsequent connection relationship between the station and the sorting center on the basis of the parent node if the loop is not stopped; according to the lower bound value of the child node Update the candidate network in the current cycle and enter the next cycle;
  • the network determination module is configured to determine the network corresponding to the upper bound value of the parent node determined when the cycle is stopped as the logistics distribution network if the cycle is stopped;
  • the lower bound value is the transportation cost determined based on the previous connection relationship between the warehouse and the sorting center in the corresponding network;
  • the transport cost is determined by the subsequent connectivity relationship of the center.
  • the present application provides a terminal device, including:
  • processors one or more processors
  • memory configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the above-mentioned method for determining the logistics distribution network.
  • the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for determining a logistics distribution network is implemented.
  • FIG. 1 is a flowchart of a method for determining a logistics distribution network provided in Embodiment 1 of the present application;
  • FIG. 2 is a schematic diagram of an initial network in a method for determining a logistics distribution network provided in Embodiment 1 of the present application;
  • Fig. 3 is a schematic diagram of determining the lower limit value and the upper limit value in stages in a method for determining a logistics distribution network provided in Embodiment 1 of the present application;
  • FIG. 4 is a schematic diagram of determining the network lower limit value in a method for determining a logistics distribution network provided in Embodiment 2 of the present application;
  • Fig. 5 is a schematic diagram of determining the network upper limit value in a method for determining a logistics distribution network provided in Embodiment 3 of the present application;
  • FIG. 6 is a flow diagram based on a priority queue in a method for determining a logistics distribution network provided in Embodiment 4 of the present application;
  • FIG. 7 is a schematic structural diagram of a device for determining a logistics distribution network provided in Embodiment 5 of the present application.
  • FIG. 8 is a schematic diagram of a hardware structure of a terminal device provided in Embodiment 6 of the present application.
  • FIG. 1 is a flowchart of a method for determining a logistics distribution network provided in Embodiment 1 of the present application.
  • the method for determining the logistics distribution network provided in the embodiment of the present application can be applied to the situation of determining the logistics distribution network, such as a network determined for the connection relationship between multiple sorting centers, determining the previous connection relationship between the warehouse and the sorting center, and Determine the status of the connection relationship between the station and the sorting center.
  • the method can be executed by a device for determining the logistics distribution network, which is implemented in the form of software and/or hardware, and can be configured in a terminal device, for example, in a terminal device such as a computer.
  • the method for determining the logistics distribution network includes:
  • the initial network can be considered as the connection relationship between the sorting centers has been preset, while the previous connection relationship between the warehouse and the sorting center is waiting to be set, and the subsequent connection between the station and the sorting center A network of relationships waiting to be set.
  • the determination of the logistics distribution network can be realized by determining the former connection relationship between the warehouse and the sorting center in the initial network, and the latter connection relationship between the station and the sorting center.
  • the logistics distribution network may be a logistics distribution network applied within a region or within a city, or a trunk logistics distribution network applied between multiple regions and multiple cities.
  • FIG. 2 is a schematic diagram of an initial network in a method for determining a logistics distribution network provided in Embodiment 1 of the present application.
  • the initial network may include warehouse k 1 - warehouse k 3 , sorting center f 1 - sorting center f 6 , station z 1 -site z 4 .
  • the solid line can indicate that the connected relationship between the two ends of the line has been determined, and there is no need to set the connected relationship;
  • the dashed connected line can indicate that the connected relationship between the two ends of the two lines has not been determined, and the connected relationship needs to be set.
  • the connection relationship within f 1 -f 6 is determined, but the connection relationship between k 1 -k 3 and the sorting center and z 1 -z 4 and the sorting center is uncertain.
  • connection relationship between the previous term and the latter term in the logistics distribution network can be determined on the basis of the initial network, with the goal of minimizing the overall transportation cost of the network.
  • the transportation cost between every two logistics points in the network (logistics points include warehouses, sorting centers and stations) can be considered to be positively correlated with the quantity of goods transported and the transportation distance between logistics points.
  • the transportation distance between logistics points can be determined according to the geographical location between the two points.
  • the quantity of goods transported can be obtained by predicting the quantity of goods between the two logistics points according to the forecast model; , physical point storage characteristics, etc.), and the cargo volume of the logistics point are generated through learning and training.
  • the lower bound value of the transportation cost can be regarded as the minimum estimated value of the overall transportation cost; the upper bound value of the transportation cost can be regarded as the maximum estimated value of the overall transportation cost.
  • the lower bound value can be the transportation cost determined based on the preceding connectivity relationship between the warehouse and the sorting center in the corresponding network; the upper bound value can be based on the preceding connectivity relationship, based on the subsequent term of the station and the sorting center in the corresponding network The transportation cost determined by the connectivity relationship.
  • FIG. 3 is a schematic diagram of determining the lower limit value and the upper limit value in stages in a method for determining a logistics distribution network provided in Embodiment 1 of the present application.
  • the lower bound of the overall transportation cost can be predicted separately through two-stage estimation values and upper bounds.
  • the first-stage estimation can estimate the lower bound value of the network
  • the second-stage estimation can estimate the lower bound value of the network.
  • the minimum cost generated by the feasible setting of the antecedent connectivity of a warehouse can be estimated; then the antecedent connectivity of the site can be determined according to the estimation results; finally, according to the antecedent connectivity of multiple sites The estimated lower bound value of the connectivity relationship.
  • the corresponding subsequent connection relationship may be different.
  • the following situation may exist in the first stage of estimation: when warehouse k 1 sets the previous connection relationship to produce the minimum cost, station z 1 needs to be connected with sorting center f 5 ; and warehouse k 2 sets the previous connection When the relationship produces the minimum cost, station z 1 needs to be connected with sorting center f 6 . Therefore, the lower bound value can be the idealized minimum transportation cost, which is usually smaller than the real transportation cost.
  • the minimum cost generated by the feasible setting of the subsequent connectivity relationship of each site can be estimated first; then, the minimum cost can be estimated based on the minimum cost of different sites upper bound value.
  • the upper bound value is the estimated transportation cost of the network based on the idealized lower bound value.
  • the lower bound value and upper bound value can be obtained, and the evaluation standard of network rationality can be obtained. Since the logistics distribution network is globally optimal, the upper and lower bounds determined based on the above technical characteristics are the same. By determining the upper and lower bounds of the network, the rationality of the network can be evaluated to lay a foundation.
  • the current candidate network includes the initial network during the initial cycle, and more candidate networks can be updated as the parent node is branched during the subsequent cycle. Since the logistics distribution network is determined with the goal of minimizing the transportation cost, in each cycle, the network with the smallest lower bound value can be used as the parent node to generate the logistics distribution network according to the parent node, or continue to update the candidate network based on the parent node .
  • determining whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop includes: determining the relative difference between the lower bound value and the upper bound value of the parent node determined in the current loop value, if the relative difference is less than or equal to the preset threshold, the loop will stop.
  • the relative difference between the lower bound value and the upper bound value of the parent node can be expressed as Wherein UB may represent the upper bound value of the parent node, and LB may represent the lower bound value of the parent node.
  • the preset threshold can be set according to empirical values or experimental values. Since the logistics distribution network is globally optimal, the upper and lower bounds are the same (that is, GAP is 0), and when the relative difference between the parent node and the parent node is less than or equal to the preset threshold, the parent node and the global optimal solution can be considered The gap is small, and the current parent node has met the requirements of rationality.
  • the determination of the logistics distribution network can improve the scope of application of the determination method.
  • loop stop conditions may also be preset.
  • Other loop stop conditions may include, for example: a preset number of loops N, all subsequent connection relationships are set, and the like. In these achievable ways, when the current number reaches the preset number of cycles, the cycle can be stopped, which can avoid the situation that too many cycles lead to a long time-consuming situation when the preset threshold setting is unreasonable. It is also possible to stop the loop when all the connected relations of the latter items are set, so that the global optimal solution of the logistics distribution network can be obtained.
  • the connection relationship of one station in the subsequent connection relationship between the station to be determined and the sorting center can be set, that is, branching is carried out on the basis of the parent node, in order to expect to generate the global optimal solution of distance Recent new candidate networks.
  • generating the child node of the parent node includes: selecting the first station from the stations that do not set the connection relationship in the parent node; On the basis of the parent node, a network with a subsequent connection relationship between the first station and the sorting center is determined as a child node of the parent node.
  • the parent node is the initial network during the first cycle, and the initial network usually does not satisfy the rationality. At this time, it is necessary to generate the child nodes of the initial network.
  • Generating child nodes on the basis of the initial network may include: randomly selecting the first site from sites z 1 -z 4 that have no connectivity relationship, for example, selecting z 1 ; on the basis of the parent node, setting z 1 and the sorting center Connectivity relationship, for example, set z 1 to be connected to f 5 to get a child node, and set z 1 to be connected to f 6 to get another child node.
  • updating the candidate network in the current cycle according to the lower bound value of the child node may include: when the lower bound value of the child node is smaller than the upper bound value of the parent node, using the child node as a new candidate network, and deleting the parent node .
  • the lower bound value of the child node is usually greater than or equal to the lower bound value of the parent node.
  • the upper bound value of the child node is usually greater than the upper bound value of the parent node.
  • the child node is compared to The parent node is farther away from the global optimal solution, and the child node can be pruned without updating the child node to the candidate network.
  • the child node can be used as a new candidate network.
  • the loop of S120 may continue to be executed until the parent node in the evaluation loop satisfies the rationality of the requirement and stops.
  • branch child nodes are generated according to the feasible setting of the subsequent connectivity relationship in the parent node, and the lower bound value of the child node is used to delimit the candidate network to update the candidate network, avoiding the need for full-scale Branch and bound, which can speed up the solution speed of the network, and can quickly determine the large-scale network.
  • the loop can be stopped, and the logistics distribution network can be determined according to the parent node determined when the loop is stopped.
  • the network corresponding to the upper bound value of the parent node can be determined as the logistics distribution network.
  • the embodiment of the present application provides a method for determining a logistics distribution network.
  • branch child nodes are generated according to the feasible setting of the subsequent connection relationship in the parent node, and based on the child node
  • the lower bound value is delimited to update the candidate network, which avoids the need to perform a full amount of branch and delimitation, thereby speeding up the solution speed of the network, and can quickly determine large-scale networks.
  • the lower bound value of the transportation cost is determined based on the former connection relationship between the warehouse and the sorting center in the network
  • the upper limit value of the transportation cost is determined based on the former connection relationship and the latter connection relationship between the station and the sorting center.
  • the boundary value can obtain the evaluation standard of network rationality. Since the logistics distribution network is globally optimal, the upper and lower bounds determined based on the above-mentioned technical characteristics are the same, and the rationality of the parent node can be realized based on the gap between the upper and lower bounds of the parent node in the current cycle. to evaluate. Furthermore, by stopping the loop when the evaluation of the parent node is reasonable, and determining the final logistics distribution network, the network solution quality and solution speed can be balanced.
  • This embodiment describes the manner of determining the lower limit value on the basis of the foregoing embodiments.
  • FIG. 4 is a schematic diagram of determining a network lower limit value in a method for determining a logistics distribution network provided in Embodiment 2 of the present application.
  • the manner of determining the lower bound value may include:
  • each warehouse in the candidate network is traversed, and the network formed by the currently traversed warehouse and the networks except all warehouses in the candidate network is used as the first sub-network.
  • the first sub-network is composed of k 1 and the network except all warehouses in Fig. 4, that is, the first sub-network includes k 1 and the sorting center f 1 -f 6 , and station z 1 -z 4 .
  • the multiple sorting centers can be divided into multiple layers, and the sorting center on the first layer geographically close to the warehouse can be called the first sorting center.
  • the sorting centers f 1 and f 2 can be called the first sorting center.
  • the connection relationship between k 1 and f 1 and f 2 can be set respectively, and the transportation cost of the first sub-network can be determined when it is connected with f 1 and f 2 .
  • the connection relationship corresponding to when the transportation cost of the first sub-network is minimum can be determined as the previous connection relationship between k 1 and the first sorting center.
  • the lower bound value of the candidate network is determined.
  • the transportation costs corresponding to the preceding connection relations of each warehouse can be summed to obtain the lower bound value of the network.
  • determining the previous connectivity relationship between the currently traversed warehouse and at least one first sorting center among the plurality of sorting centers includes:
  • a connected relationship is established between the currently traversed warehouse and each of the first sorting centers among the multiple sorting centers, and the sum of the minimum transportation costs from the currently connected first sorting center to the multiple sites is determined.
  • determining the sum of transportation costs from f 1 to z 1 -z 4 may include: traversing z 1 -z 4 , for the currently traversed station (take z 1 as an example), respectively set the connection relationship between the station and the sorting center that can be connected (for example, set the connection relationship between z 1 and f 5 , f 6 respectively); Estimate the transport cost from k 1 to the current traversal site, and determine the minimum transport cost corresponding to the current site (for example, determine the transport costs C f1,z5 of f 1 to f 5 to z 1 , and determine f 1 to f 6 to The transportation cost C f1,z6 of z 1 , and take the minimum value); after the traversal, sum the minimum transportation costs corresponding to z 1 -z 4 to obtain a minimum transportation cost sum C f1 .
  • connection relationship corresponding to the minimum total transportation cost can be determined as the previous connection relationship between the current traversed warehouse and the first target center in the first sorting center; for example, when C sum1 is the smallest, it can be determined that the current traversed
  • the first target center for the warehouse k 1 to establish the connection relationship of the preceding item is the sorting center f 1 .
  • connection relationship between the currently traversed warehouse and the first target center can be determined according to the minimum total transportation cost.
  • the embodiment of the present application describes the manner of determining the lower limit value on the basis of the foregoing embodiments.
  • the transportation cost can be predicted according to the connection relationship constructed each time; according to the transportation cost predicted each time, the warehouse and the first sorting center can be obtained
  • the optimal connection mode of the center furthermore, the determination of the lower bound value can be realized according to the optimal connection mode of each warehouse.
  • the method of determining the logistics distribution network proposed in the embodiment of the present application and the above-mentioned embodiment belongs to the same idea, and the technical details not described in detail in this embodiment can be referred to the above-mentioned embodiment, and this embodiment has the same features as the above-mentioned embodiment Effect.
  • This embodiment describes the manner of determining the upper limit value on the basis of the foregoing embodiments.
  • FIG. 5 is a schematic diagram of determining an upper limit value of a network in a method for determining a logistics distribution network provided in Embodiment 3 of the present application.
  • the manner of determining the upper limit value may include:
  • the preceding connectivity relationship can be determined through the methods provided in the above embodiments, and other methods aiming at minimizing the transportation cost can also be used to determine the preceding connectivity relationship of the network, for example, a machine learning model can be used to determine the preceding connectivity relationship .
  • the upper limit value can be determined on the basis of it.
  • the connection relationship between warehouses k 1 -k 3 and the sorting center has been determined.
  • the second sub-network is composed of z 1 , which is composed of the network except all stations in Fig. 5, That is, the second sub-network includes z 1 , sorting centers f 1 -f 6 , and warehouses k 1 -k 3 .
  • Multiple sorting centers can be divided into multiple layers, and the sorting center on the layer close to the site geographically can be called the second sorting center.
  • the sorting centers f 5 and f 6 can be called the second sorting center.
  • the connection relationship between z 1 and f 5 and f 6 can be set respectively, and the transportation cost of the second sub-network can be determined when connecting with f 5 and f 6 .
  • the connection relationship corresponding to when the transportation cost of the second sub-network is minimum can be determined as the subsequent connection relationship between z 1 and the second sorting center.
  • the upper bound value of the candidate network is determined.
  • the transportation costs corresponding to the subsequent connection relationship of each site can be summed to obtain the upper limit value of the network.
  • determining the subsequent connection relationship between the current traversal site and at least one second sorting center among the plurality of sorting centers includes:
  • the sum of transportation costs can include: respectively determine the transportation costs of k 1 -k 3 to f 5 to z 1 , C k1,f5,z1 , C k2,f5,z1 and C k3,f5,z1 , and carry out the three items
  • the sum of transportation costs from warehouse k 1 -k 3 to z 1 corresponding to f 5 is obtained by summing C f5,z1 .
  • the transportation cost and C f6,z1 corresponding to f 6 from warehouse k 1 -k 3 to z 1 .
  • the subsequent connectivity relationship corresponding to the minimum value of C f5, z1 and C f6, z1 can be determined as the second target center that establishes the subsequent connectivity relationship with the currently traversed z1 ; for example, when C f5, z1 is the most hour, it can be determined that the second target center that establishes a subsequent connection relationship with the currently traversed z 1 is the sorting center f 5 .
  • the subsequent connection relationship of the current traversal site can be determined. And based on the same method, the subsequent connection relationship of each site can be realized.
  • the embodiment of the present application describes the manner of determining the upper limit value on the basis of the foregoing embodiments.
  • the transportation cost can be predicted according to the connection relationship constructed each time; according to the transportation cost predicted each time,
  • the optimal connection mode between the station and the second sorting center can be obtained; furthermore, the determination of the upper limit value can be realized according to the optimal connection mode of each station.
  • the method for determining the logistics distribution network proposed in the embodiment of the present application and the above-mentioned embodiment belongs to the same idea, and the technical details not described in detail in this embodiment can be referred to the above-mentioned embodiment, and this embodiment and the above-mentioned embodiment have the same Effect.
  • the technical features of priority queues are added. Based on the feature that the priority queue can be sorted according to the priority of the data attributes in it, the parent node can be quickly obtained in each cycle.
  • FIG. 6 is a flowchart based on priority queues in a method for determining a logistics distribution network provided in Embodiment 4 of the present application.
  • the method for determining the logistics distribution network may include:
  • the lower bound value is the transportation cost determined based on the previous connectivity relationship between the warehouse and the sorting center in the corresponding network; the upper bound value is determined based on the latter connectivity relationship between the station and the sorting center in the corresponding network on the basis of the previous connectivity relationship transportation cost.
  • the data (for example, data in matrix format) representing the connection relationship of logistics points in the candidate network can be added to the priority queue as a node.
  • the queue attribute of the node may include but not limited to: the lower bound value of the network represented by the node, the parent node of the node (that is, the data corresponding to the connection relationship of the logistics point in the parent node network of the node representing the network), and the subsequent item of the node Connected state (that is, the setting of the connection relationship between nodes and subsequent items in the network).
  • the priority queue can set the priority for the node according to the lower bound value in the queue attribute, that is, set the priority for the candidate network corresponding to the node.
  • Initializing the priority queue may include: adding data representing the connection relationship of multiple logistics points in the initial network as a root node to the priority queue; and setting queue attributes for the root node.
  • S630 Determine the parent node in the candidate network in the current loop according to the priority, and determine whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop.
  • the highest priority can be set to the node with the smallest lower bound value, so that the parent node in each cycle can be the node with the highest priority, which is conducive to the rapid determination of the parent node.
  • whether to stop the loop can be determined according to the difference between the lower bound value and the upper bound value of the parent node.
  • the station without a connection relationship can be determined, and then the connection relationship between the first station and the sorting center can be set to generate a child node of the parent node.
  • the parent node in the current cycle When the parent node in the current cycle is evaluated as satisfying the rationality, the parent node can be popped up, and can be determined as the logistics distribution network based on the parent node popped up when the cycle stops.
  • the embodiment of the present application adds the technical features of the priority queue. Based on the feature that the priority queue can be sorted according to the priority of the data attributes in it, the parent node can be quickly obtained in each cycle.
  • the method of determining the logistics distribution network proposed in the embodiment of the present application and the above-mentioned embodiment belongs to the same idea, and the technical details not described in detail in this embodiment can be referred to the above-mentioned embodiment, and this embodiment has the same features as the above-mentioned embodiment Effect.
  • FIG. 7 is a schematic structural diagram of an apparatus for determining a logistics distribution network provided in Embodiment 5 of the present application.
  • the device for determining the logistics distribution network provided in the embodiment of the present application can be applied to the situation of determining the logistics distribution network, for example, for a network determined for the connection relationship between multiple sorting centers, determine the preceding connection relationship between the warehouse and the sorting center, and Determine the status of the connection relationship between the station and the sorting center.
  • the device for determining the logistics distribution network in the embodiment of the present application includes:
  • the initialization module 710 is set to use the initial network as a candidate network to determine the lower bound value and upper bound value of the initial network; the connection relationship between multiple sorting centers in the initial network is preset; the evaluation module 720 is set to The candidate network with the minimum lower bound value is determined as the parent node, and the difference between the lower bound value and the upper bound value of the parent node determined in the current cycle determines whether to stop the cycle; the branch and bound module 730 is set to if the cycle is not stopped , then by setting the connection relationship between the station and the sorting center on the basis of the parent node, the child node of the parent node is generated; the candidate network in the current cycle is updated according to the lower bound value of the child node, and enters the next cycle; the network determination module 740, if the loop is stopped, the network corresponding to the upper bound value of the parent node determined when the loop is stopped is determined as the logistics distribution network; wherein, the lower bound value is based on the preceding connectivity relationship between the warehouse and the sorting center in
  • the branch and bound module 730 includes:
  • the branch unit is set to select the first station from the stations that have no connection relationship in the parent node; the network that has the connection relationship between the first station and the sorting center on the basis of the parent node is determined as the child of the parent node. node.
  • the branch and bound module 730 includes:
  • Delimiting unit when the lower bound value of the child node is smaller than the upper bound value of the parent node, the child node is used as a new candidate network, and the parent node is deleted.
  • the initialization module 710 and the branch and bound module 730 may include:
  • the lower bound value determination unit is set to determine the lower bound value according to the following determination methods:
  • the lower limit value determination unit can be set to:
  • the sum of the minimum transportation costs corresponding to the first sorting center determines the preceding connectivity relationship between the currently traversed warehouse and the first target center in at least one first sorting center.
  • the initialization module 710 and the evaluation module 720 may also include:
  • the upper limit value determination unit is set to determine the upper limit value according to the following determination methods:
  • connection relationship in the preceding item traverse the sites in the candidate network that do not have a connection relationship, and use the network formed by the currently traversed site, the site that has a connection relationship, and the network except all the sites in the candidate network as the second sub-network; Aiming at the minimum transportation cost of the second sub-network, determine the subsequent connection relationship between the current traversal site and at least one second sorting center among the plurality of sorting centers; upper bound value.
  • the upper limit value determination unit can be set to:
  • the means for determining the logistics distribution network may also include:
  • the queue addition module is set to add each candidate network to the priority queue; wherein, the priority is set in the priority queue according to the lower bound value of different candidate networks; correspondingly, the evaluation module can be set to: determine the current cycle according to the priority The parent node in the candidate network in .
  • the assessment module can be set to:
  • the device for determining the logistics distribution network provided in the embodiment of the present application belongs to the same concept as the method for determining the logistics distribution network provided in the above-mentioned embodiment.
  • the embodiment has the same effect as the above-described embodiment.
  • FIG. 8 is a schematic diagram of a hardware structure of a terminal device provided in Embodiment 6 of the present application.
  • the terminal equipment in the embodiment of the present application may include but not limited to mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital televisions (Television, TV), desktop computers, etc.
  • the terminal device 800 shown in FIG. 8 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
  • a terminal device 800 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 801, which may be stored in a read-only memory (Read-Only Memory, ROM) 802 according to the Various appropriate actions and processes are performed by a program loaded into a random access memory (Random Access Memory, RAM) 803 by 808 . In the RAM 803, various programs and data necessary for the operation of the terminal device 800 are also stored.
  • the processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
  • An input/output (Input/Output, I/O) interface 805 is also connected to the bus 804 .
  • an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; including, for example, a liquid crystal display (Liquid Crystal Display, LCD) , an output device 807 such as a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809.
  • the communication means 809 may allow the terminal device 800 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 8 shows a terminal device 800 having various means, it is not required to implement or possess all of the means shown. More or fewer means may alternatively be implemented or provided.
  • the processes described above with reference to the flowcharts may be implemented as computer software programs.
  • the embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts.
  • the computer program may be downloaded and installed from a network via communication means 809, or from storage means 808, or from ROM 802.
  • the processing device 801 the above-mentioned functions defined in the method for determining the logistics delivery network provided in the embodiment of the present application are executed.
  • the terminal provided in the embodiment of the present application and the method for determining the logistics distribution network provided in the above embodiment belong to the same concept.
  • the embodiment of the present application is consistent with the above embodiment has the same effect.
  • An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for determining a logistics distribution network provided in the foregoing embodiments is implemented.
  • the above-mentioned computer-readable storage medium in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof.
  • Examples of computer readable storage media may include, but are not limited to: electrical connections with one or more conductors, portable computer disks, hard disks, RAM, Read-Only Memory, ROM, Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory) -Only Memory, Erasable Programmable Read-Only Memory, EPROM) or flash memory (FLASH), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or the above any suitable combination.
  • a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, device or device.
  • the computer-readable signal medium may include a data signal propagated in the baseband or as a part of the carrier wave, and the computer-readable program code is carried therein.
  • propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • the program code contained on the computer readable medium can be transmitted by any appropriate medium, including but not limited to: electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future-developed network protocols such as Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP), and can communicate with any form or medium of digital Data communication (eg, communication network) interconnections.
  • Examples of communication networks include local area networks (Local Area Network, LAN), wide area networks (Wide Area Network, WAN), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently existing networks that are known or developed in the future.
  • the above-mentioned computer-readable storage medium may be contained in the above-mentioned terminal device, or may exist independently without being assembled into the terminal device.
  • the terminal device stores one or more programs, and when the one or more programs are executed by the terminal device, the terminal device:
  • the initial network is used as the candidate network, and the lower and upper bound values of the initial network are determined; the connection relationship between multiple sorting centers in the initial network is preset; in the current cycle, the candidate network with the smallest lower bound value is determined as the parent
  • the node determines whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop; if the loop does not stop, then by setting the subsequent connection relationship between the station and the sorting center on the basis of the parent node, Generate child nodes of the parent node; update the candidate network in the current cycle according to the lower bound value of the child node, and enter the next cycle; if the cycle is stopped, the network corresponding to the upper limit value of the parent node determined when the cycle is stopped is determined as Logistics distribution network; wherein, the lower bound value is the transportation cost determined based on the previous connection relationship between the warehouse and the sorting center in the corresponding network; the upper bound value is based on the previous connection relationship, based on the corresponding network.
  • Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a LAN or WAN, or it can be connected to an external computer (eg via the Internet using an Internet Service Provider).
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. Wherein, the name of the unit does not constitute a limitation of the unit itself in one case.
  • exemplary forms of hardware logic components include: Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Products (Application Specific Standard Parts, ASSP), System on Chip (System on Chip, SOC), Complex Programmable Logic Device (Complex Programming Logic Device, CPLD) and so on.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A logistics distribution network determination method and apparatus, a terminal device, and a storage medium. The logistics distribution network determination method comprises: taking an initial network as a candidate network, determining a lower bound value and an upper bound value of the initial network; taking a candidate network having a minimum lower bound value as a parent node in a current loop, and determining, according to a difference between a lower bound value and an upper bound value of the parent node, whether to stop the loop or not; if not stopping the loop, generating a subnode by setting the consequent connected relationship between a station and a sorting center on the basis of the father node; updating the candidate network in the current loop according to a lower bound value of the subnode, and entering a next loop; and if stopping the loop, taking a network corresponding to an upper bound value of the parent node when stopping the loop as a logistics distribution network. The lower bound value is determined on the basis of the antecedent connected relationship between a warehouse and a sorting center in a corresponding network, and the upper bound value is determined on the basis of the consequent connected relationship between a station and a sorting center in a corresponding network and the antecedent connected relationship.

Description

物流配送网络的确定方法、装置、终端设备及存储介质Method, device, terminal equipment and storage medium for determining logistics distribution network
本申请要求在2021年11月30日提交中国专利局、申请号为202111444293.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202111444293.9 filed with the China Patent Office on November 30, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及物流运输领域,例如涉及一种物流配送网络的确定方法、装置、终端设备及存储介质。The present application relates to the field of logistics transportation, for example, to a method, device, terminal equipment and storage medium for determining a logistics distribution network.
背景技术Background technique
在物流运输领域,可将由仓库、分拣中心和站点构成的网络,称为物流配送网络。通过构建仓库、分拣中心和站点之间的连通关系,能够实现物流配送网络的确定。相关技术中,对于物流配送网络的确定,主要可应用精确算法和启发式算法两种求解算法。In the field of logistics and transportation, the network composed of warehouses, sorting centers and stations can be called a logistics distribution network. By constructing the connection relationship among warehouses, sorting centers and stations, the logistics distribution network can be determined. In the related technology, for the determination of the logistics distribution network, two kinds of solving algorithms, the precise algorithm and the heuristic algorithm, can be mainly applied.
相关技术中至少存在以下技术问题:There are at least the following technical problems in the related art:
利用精确算法确定规模较大的网络时,由于计算量大,导致难以在可接受的时间内完成对网络的求解;利用启发式算法确定网络时,由于求解过程具有一定随机性,导致无法评估当前解的合理性。When using precise algorithms to determine large-scale networks, due to the large amount of calculations, it is difficult to complete the solution to the network within an acceptable time; when using heuristic algorithms to determine networks, due to the randomness of the solution process, it is impossible to evaluate the current rationality of the solution.
发明内容Contents of the invention
本申请提供一种物流配送网络的确定方法、装置、终端设备及存储介质,不仅能够针对规模较大网络进行快速求解,还能够评估当前解的合理性。The present application provides a method, device, terminal equipment, and storage medium for determining a logistics distribution network, which can not only quickly solve large-scale networks, but also evaluate the rationality of the current solution.
第一方面,本申请提供了一种物流配送网络的确定方法,包括:In the first aspect, the present application provides a method for determining a logistics distribution network, including:
将初始网络作为候选网络,确定所述初始网络的下界值和上界值;其中所述初始网络中多个分拣中心间的连通关系是预先设置的;Using the initial network as a candidate network, determining the lower bound value and upper bound value of the initial network; wherein the connection relationship between multiple sorting centers in the initial network is preset;
在当前循环中将具有最小下界值的候选网络确定为父节点,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环;Determine the candidate network with the minimum lower bound value as the parent node in the current loop, and determine whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop;
若不停止循环,则通过在所述父节点基础上设置站点与分拣中心的后项连通关系,生成所述父节点的子节点;根据所述子节点的下界值更新当前循环中的候选网络,并进入下一循环;If the cycle is not stopped, then by setting the subsequent connected relationship between the station and the sorting center on the basis of the parent node, the child node of the parent node is generated; the candidate network in the current cycle is updated according to the lower bound value of the child node , and enter the next cycle;
若停止循环,则将与停止循环时确定的父节点的上界值对应的网络确定为物流配送网络;If the loop is stopped, the network corresponding to the upper bound value of the parent node determined when the loop is stopped is determined as the logistics distribution network;
其中,所述下界值为基于对应网络中仓库与分拣中心的前项连通关系确定的运输成本;所述上界值为在所述前项连通关系基础上,基于对应网络中站点与分拣中心的后项连通关系确定的运输成本。Wherein, the lower bound value is the transportation cost determined based on the previous connection relationship between the warehouse and the sorting center in the corresponding network; The transport cost is determined by the subsequent connectivity relationship of the center.
第二方面,本申请提供了一种物流配送网络的确定装置,包括:In a second aspect, the present application provides a device for determining a logistics distribution network, including:
初始化模块,设置为将初始网络作为候选网络,确定所述初始网络的下界值和上界值;其中,所述初始网络中多个分拣中心间的连通关系是预先设置的;The initialization module is configured to use the initial network as a candidate network, and determine the lower limit value and the upper limit value of the initial network; wherein, the connection relationship between multiple sorting centers in the initial network is preset;
评估模块,设置为在当前循环中将具有最小下界值的候选网络确定为父节点,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环;The evaluation module is configured to determine the candidate network with the smallest lower bound value as the parent node in the current cycle, and determine whether to stop the cycle according to the difference between the lower bound value and the upper bound value of the parent node determined in the current cycle;
分支定界模块,设置为若不停止循环,则通过在所述父节点基础上设置站点与分拣中心的后项连通关系,生成所述父节点的子节点;根据所述子节点的下界值更新当前循环中的候选网络,并进入下一循环;The branch and delimitation module is configured to generate a child node of the parent node by setting the subsequent connection relationship between the station and the sorting center on the basis of the parent node if the loop is not stopped; according to the lower bound value of the child node Update the candidate network in the current cycle and enter the next cycle;
网络确定模块,设置为若停止循环,则将与停止循环时确定的父节点的上界值对应的网络确定为物流配送网络;The network determination module is configured to determine the network corresponding to the upper bound value of the parent node determined when the cycle is stopped as the logistics distribution network if the cycle is stopped;
其中,所述下界值为基于对应网络中仓库与分拣中心的前项连通关系确定的运输成本;所述上界值为在所述前项连通关系基础上,基于对应网络中站点与分拣中心的后项连通关系确定的运输成本。Wherein, the lower bound value is the transportation cost determined based on the previous connection relationship between the warehouse and the sorting center in the corresponding network; The transport cost is determined by the subsequent connectivity relationship of the center.
第三方面,本申请提供了一种终端设备,包括:In a third aspect, the present application provides a terminal device, including:
一个或多个处理器;one or more processors;
存储器,设置为存储一个或多个程序;memory configured to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的物流配送网络的确定方法。When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the above-mentioned method for determining the logistics distribution network.
第四方面,本申请提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的物流配送网络的确定方法。In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for determining a logistics distribution network is implemented.
附图说明Description of drawings
图1是本申请实施例一提供的一种物流配送网络的确定方法的流程图;FIG. 1 is a flowchart of a method for determining a logistics distribution network provided in Embodiment 1 of the present application;
图2是本申请实施例一提供的一种物流配送网络的确定方法中初始网络的示意图;FIG. 2 is a schematic diagram of an initial network in a method for determining a logistics distribution network provided in Embodiment 1 of the present application;
图3是本申请实施例一提供的一种物流配送网络的确定方法中分阶段确定下界值和上界值的示意图;Fig. 3 is a schematic diagram of determining the lower limit value and the upper limit value in stages in a method for determining a logistics distribution network provided in Embodiment 1 of the present application;
图4是本申请实施例二提供的一种物流配送网络的确定方法中确定网络下界值的示意图;FIG. 4 is a schematic diagram of determining the network lower limit value in a method for determining a logistics distribution network provided in Embodiment 2 of the present application;
图5是本申请实施例三提供的一种物流配送网络的确定方法中确定网络上界值的示意图;Fig. 5 is a schematic diagram of determining the network upper limit value in a method for determining a logistics distribution network provided in Embodiment 3 of the present application;
图6是本申请实施例四提供的一种物流配送网络的确定方法中基于优先队列的流程框图;FIG. 6 is a flow diagram based on a priority queue in a method for determining a logistics distribution network provided in Embodiment 4 of the present application;
图7是本申请实施例五提供的一种物流配送网络的确定装置的结构示意图;FIG. 7 is a schematic structural diagram of a device for determining a logistics distribution network provided in Embodiment 5 of the present application;
图8是本申请实施例六提供的一种终端设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of a terminal device provided in Embodiment 6 of the present application.
具体实施方式Detailed ways
以下将参照本申请实施例中的附图,通过实施方式描述本申请的技术方案,所描述的实施例是本申请一部分实施例。下述多个实施例中,每个实施例中同时提供了可选特征和示例,实施例中记载的多个特征可进行组合,形成多个可选方案。The following will describe the technical solutions of the present application through implementation with reference to the drawings in the embodiments of the present application, and the described embodiments are part of the embodiments of the present application. In the following multiple embodiments, optional features and examples are provided in each embodiment, and multiple features described in the embodiments can be combined to form multiple optional solutions.
实施例一Embodiment one
图1是本申请实施例一提供的一种物流配送网络的确定方法的流程图。本申请实施例提供的物流配送网络的确定方法可适用于确定物流配送网络的情况,例如针对多个分拣中心间的连通关系确定的网络,确定仓库与分拣中心的前项连通关系,以及确定站点与分拣中心的后项连通关系的情况。该方法可由物流配送网络的确定装置来执行,该装置采用软件和/或硬件的方式实现,可以配置于终端设备中,例如配置于计算机等终端设备中。FIG. 1 is a flowchart of a method for determining a logistics distribution network provided in Embodiment 1 of the present application. The method for determining the logistics distribution network provided in the embodiment of the present application can be applied to the situation of determining the logistics distribution network, such as a network determined for the connection relationship between multiple sorting centers, determining the previous connection relationship between the warehouse and the sorting center, and Determine the status of the connection relationship between the station and the sorting center. The method can be executed by a device for determining the logistics distribution network, which is implemented in the form of software and/or hardware, and can be configured in a terminal device, for example, in a terminal device such as a computer.
如图1所示,本申请实施例中提供的物流配送网络的确定方法,包括:As shown in Figure 1, the method for determining the logistics distribution network provided in the embodiment of the present application includes:
S110、将初始网络作为候选网络,确定初始网络的下界值和上界值;初始网络中多个分拣中心间的连通关系是预先设置的。S110. Using the initial network as a candidate network, determine a lower limit value and an upper limit value of the initial network; the connection relationship between multiple sorting centers in the initial network is preset.
本申请实施例中,初始网络可以认为是,分拣中心之间的连通关系已预先设置,而仓库与分拣中心间的前项连通关系等待设置,以及站点与分拣中心间的后项连通关系等待设置的网络。通过确定初始网络中的仓库与分拣中心间的前项连通关系,以及站点与分拣中心间的后项连通关系,能够实现物流配送网络的确定。其中,物流配送网络可以是应用于一区域内部的、一城市内部的物流配送网络,也可以是应用于多区域间的、多城市间的干线物流配送网络。In the embodiment of this application, the initial network can be considered as the connection relationship between the sorting centers has been preset, while the previous connection relationship between the warehouse and the sorting center is waiting to be set, and the subsequent connection between the station and the sorting center A network of relationships waiting to be set. The determination of the logistics distribution network can be realized by determining the former connection relationship between the warehouse and the sorting center in the initial network, and the latter connection relationship between the station and the sorting center. Wherein, the logistics distribution network may be a logistics distribution network applied within a region or within a city, or a trunk logistics distribution network applied between multiple regions and multiple cities.
示例性的,图2是本申请实施例一提供的一种物流配送网络的确定方法中初始网络的示意图。参见图2,初始网络中可以包括仓库k 1-仓库k 3,分拣中心 f 1-分拣中心f 6,站点z 1-站点z 4。其中,实线连线可表征连线两端的连通关系已确定,无需进行连通关系的设置;虚线连线可表征两线两端的连通关系未确定,需要进行连通关系的设置。例如,图2中f 1-f 6内连通关系是确定的,而k 1-k 3分别与分拣中心,z 1-z 4分别与分拣中心的连通关系是不确定的。 Exemplarily, FIG. 2 is a schematic diagram of an initial network in a method for determining a logistics distribution network provided in Embodiment 1 of the present application. Referring to Fig. 2, the initial network may include warehouse k 1 - warehouse k 3 , sorting center f 1 - sorting center f 6 , station z 1 -site z 4 . Among them, the solid line can indicate that the connected relationship between the two ends of the line has been determined, and there is no need to set the connected relationship; the dashed connected line can indicate that the connected relationship between the two ends of the two lines has not been determined, and the connected relationship needs to be set. For example, in Fig. 2, the connection relationship within f 1 -f 6 is determined, but the connection relationship between k 1 -k 3 and the sorting center and z 1 -z 4 and the sorting center is uncertain.
物流配送网络中前项/后项连通关系,可以是在初始网络基础上,以网络总体的运输成本最小为目标进行确定。其中,网络中每两个物流点(物流点包括仓库、分拣中心和站点)之间的运输成本,可以认为与物流点间的运送的货物量和运输距离正相关。其中,物流点间的运输距离可以根据两点之间的地理位置确定。运送的货物量,可以根据预测模型对两物流点之间的货物量进行预测得到;预测模型可以根据历史记录的中样本物流网络中两物流点的特征(例如两物流点间的位置、交通特征,物理点存储特征等),与物流点的货物量,进行学习训练生成。The connection relationship between the previous term and the latter term in the logistics distribution network can be determined on the basis of the initial network, with the goal of minimizing the overall transportation cost of the network. Among them, the transportation cost between every two logistics points in the network (logistics points include warehouses, sorting centers and stations) can be considered to be positively correlated with the quantity of goods transported and the transportation distance between logistics points. Among them, the transportation distance between logistics points can be determined according to the geographical location between the two points. The quantity of goods transported can be obtained by predicting the quantity of goods between the two logistics points according to the forecast model; , physical point storage characteristics, etc.), and the cargo volume of the logistics point are generated through learning and training.
并且,运输成本估计过程中,也可以根据前项/后项连通关系的可行配置进行确定。其中,运输成本的下界值,可以认为是总体的运输成本的最小估计值;运输成本的上界值可以认为是总体的运输成本的最大估计值。并且,下界值可以为基于对应网络中仓库与分拣中心的前项连通关系确定的运输成本;上界值可以为在前项连通关系基础上,基于对应网络中站点与分拣中心的后项连通关系确定的运输成本。In addition, in the process of estimating the transportation cost, it can also be determined according to the feasible configuration of the previous item/next item connectivity relationship. Wherein, the lower bound value of the transportation cost can be regarded as the minimum estimated value of the overall transportation cost; the upper bound value of the transportation cost can be regarded as the maximum estimated value of the overall transportation cost. In addition, the lower bound value can be the transportation cost determined based on the preceding connectivity relationship between the warehouse and the sorting center in the corresponding network; the upper bound value can be based on the preceding connectivity relationship, based on the subsequent term of the station and the sorting center in the corresponding network The transportation cost determined by the connectivity relationship.
示例性的,图3是本申请实施例一提供的一种物流配送网络的确定方法中分阶段确定下界值和上界值的示意图。针对任一网络(例如初始网络,以及后续公开的父节点和子节点的网络),可以在当前的网络基础上,若多个连通关系配置完成,通过两阶段估计来分别预测总体的运输成本的下界值和上界值。参见图3,第一阶段估计可对网络的下界值进行估计,第二阶段估计可以对网络的下界值进行估计。Exemplarily, FIG. 3 is a schematic diagram of determining the lower limit value and the upper limit value in stages in a method for determining a logistics distribution network provided in Embodiment 1 of the present application. For any network (such as the initial network, and the network of parent nodes and child nodes disclosed later), based on the current network, if multiple connectivity relationships are configured, the lower bound of the overall transportation cost can be predicted separately through two-stage estimation values and upper bounds. Referring to FIG. 3 , the first-stage estimation can estimate the lower bound value of the network, and the second-stage estimation can estimate the lower bound value of the network.
在第一阶段估计中:首先可以对一仓库的前项连通关系的可行设置产生的最小成本进行估计;然后可以根据估计结果确定该站点的前项连通关系;最后,根据多个站点的前项连通关系估计下界值。In the first stage of estimation: firstly, the minimum cost generated by the feasible setting of the antecedent connectivity of a warehouse can be estimated; then the antecedent connectivity of the site can be determined according to the estimation results; finally, according to the antecedent connectivity of multiple sites The estimated lower bound value of the connectivity relationship.
不同仓库设置前项连通关系产生最小成本时,对应的后项连通关系可能存在差异。例如,参见图2,第一阶段估计时可能存在下述情况:仓库k 1设置前项连通关系产生最小成本时,站点z 1需要与分拣中心f 5连通;而仓库k 2设置前项连通关系产生最小成本时,站点z 1需要与分拣中心f 6连通。因此,下界值可以为理想化的最小的运输成本,该值通常小于真实运输成本。 When different warehouses set the preceding connection relationship to produce the minimum cost, the corresponding subsequent connection relationship may be different. For example, referring to Fig. 2, the following situation may exist in the first stage of estimation: when warehouse k 1 sets the previous connection relationship to produce the minimum cost, station z 1 needs to be connected with sorting center f 5 ; and warehouse k 2 sets the previous connection When the relationship produces the minimum cost, station z 1 needs to be connected with sorting center f 6 . Therefore, the lower bound value can be the idealized minimum transportation cost, which is usually smaller than the real transportation cost.
在第二阶段估计中:在确定该站点的前项连通关系基础上,首先可对每个站点的后项连通关系的可行设置产生的最小成本进行估计;然后,可以根据不 同站点的最小成本估计上界值。上界值为在理想化的下界值基础上,估计出的网络的运输成本。In the second stage of estimation: on the basis of determining the antecedent connectivity relationship of the site, the minimum cost generated by the feasible setting of the subsequent connectivity relationship of each site can be estimated first; then, the minimum cost can be estimated based on the minimum cost of different sites upper bound value. The upper bound value is the estimated transportation cost of the network based on the idealized lower bound value.
通过将运输成本划分为两个阶段估计,得到下界值和上界值,能够得到网络合理性的评估标准。由于物流配送网络为全局最优时,基于上述技术特征确定的上界值与下界值相同,通过确定网络的上界值和下界值,能够评估网络的合理性奠定基础。By dividing the transportation cost into two stages of estimation, the lower bound value and upper bound value can be obtained, and the evaluation standard of network rationality can be obtained. Since the logistics distribution network is globally optimal, the upper and lower bounds determined based on the above technical characteristics are the same. By determining the upper and lower bounds of the network, the rationality of the network can be evaluated to lay a foundation.
S120、在当前循环中将具有最小下界值的候选网络确定为父节点,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环。S120. In the current loop, determine the candidate network with the smallest lower bound value as the parent node, and determine whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop.
本实施例中,初始循环时当前的候选网络包括初始网络,而随着后续循环过程中对父节点进行分支,可以更新出更多的候选网络。由于物流配送网络以运输成本最小为目标进行确定,在每次循环过程中,可以将下界值最小的网络作为父节点,以根据父节点生成物流配送网络,或者在父节点基础上继续更新候选网络。In this embodiment, the current candidate network includes the initial network during the initial cycle, and more candidate networks can be updated as the parent node is branched during the subsequent cycle. Since the logistics distribution network is determined with the goal of minimizing the transportation cost, in each cycle, the network with the smallest lower bound value can be used as the parent node to generate the logistics distribution network according to the parent node, or continue to update the candidate network based on the parent node .
当根据当前循环中确定的父节点的下界值和上界值的差距值,评估父节点满足需求的合理性时,可以确定停止循环;当根据当前循环中确定的父节点的下界值和上界值的差距值,评估父节点不满足需求的合理性时,可以确定继续循环。When evaluating the rationality of the parent node to meet the demand according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop, it can be determined to stop the loop; when the lower bound value and the upper bound of the parent node determined in the current loop The gap value of the value, when evaluating the rationality of the parent node not meeting the requirement, it can be determined to continue the loop.
在一些实施方式中,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环,包括:确定当前循环中确定的父节点的下界值和上界值的相对差值,若相对差值小于或等于预设阈值,则停止循环。In some implementations, determining whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop includes: determining the relative difference between the lower bound value and the upper bound value of the parent node determined in the current loop value, if the relative difference is less than or equal to the preset threshold, the loop will stop.
在这些实现方式中,父节点的下界值和上界值的相对差值,可以表示为
Figure PCTCN2022135277-appb-000001
其中UB可以表示父节点的上界值,LB可以表示父节点的下界值。其中,预设阈值可以根据经验值或实验值进行设置。由于物流配送网络为全局最优时,上界值与下界值相同(即GAP为0),在与父节点对应的相对差值小于或等于预设阈值时,可以认为父节点与全局最优解差距较小,当前的父节点已满足了合理性的需求。此外,通过根据相对差值判断父节点的合理性,有利于使确定方法同时适用于运输成本较大的场景(例如城市间的物流配送场景),和运输成本较小的场景(例如城市内的物流配送场景)下,物流配送网络的确定,可提高确定方法的适用范围。
In these implementations, the relative difference between the lower bound value and the upper bound value of the parent node can be expressed as
Figure PCTCN2022135277-appb-000001
Wherein UB may represent the upper bound value of the parent node, and LB may represent the lower bound value of the parent node. Wherein, the preset threshold can be set according to empirical values or experimental values. Since the logistics distribution network is globally optimal, the upper and lower bounds are the same (that is, GAP is 0), and when the relative difference between the parent node and the parent node is less than or equal to the preset threshold, the parent node and the global optimal solution can be considered The gap is small, and the current parent node has met the requirements of rationality. In addition, by judging the rationality of the parent node based on the relative difference, it is beneficial to make the determination method applicable to scenarios with high transportation costs (such as logistics distribution scenarios between cities) and scenarios with small transportation costs (such as intra-city Logistics distribution scenario), the determination of the logistics distribution network can improve the scope of application of the determination method.
此外,在一些其他实现方式中,除根据与父节点的下界值和上界值对应的相对差值判断是否停止循环外,还可以预设其他循环停止条件。其他循环停止条件,例如可以包括:预设循环次数N、后项连通关系全部设置完毕等。在这些可实现的方式中,可以在当前次数达到预设循环次数时,就停止循环,能够 避免在预设阈值设置不合理时,循环过多导致耗时较长的情况出现。也可以在后项连通关系全部设置完毕时,停止循环,从而能够得到物流配送网络的全局最优解。In addition, in some other implementation manners, in addition to judging whether to stop the loop according to the relative difference between the lower bound value and the upper bound value of the parent node, other loop stop conditions may also be preset. Other loop stop conditions may include, for example: a preset number of loops N, all subsequent connection relationships are set, and the like. In these achievable ways, when the current number reaches the preset number of cycles, the cycle can be stopped, which can avoid the situation that too many cycles lead to a long time-consuming situation when the preset threshold setting is unreasonable. It is also possible to stop the loop when all the connected relations of the latter items are set, so that the global optimal solution of the logistics distribution network can be obtained.
S130、若不停止循环,则通过在父节点基础上设置站点与分拣中心的后项连通关系,生成父节点的子节点;根据子节点的下界值更新当前循环中的候选网络,并进入下一循环。S130. If the loop is not stopped, generate a child node of the parent node by setting the subsequent connection relationship between the station and the sorting center on the basis of the parent node; update the candidate network in the current loop according to the lower bound value of the child node, and enter the next one cycle.
本实施例中,当根据与当前父节点的下界值和上界值对应的差距值,评估父节点不满足需求的合理性时,可以认为当前父节点距离全局最优解较远。此时,可以在父节点基础上,对等待确定的站点与分拣中心的后项连通关系中一个站点的连通关系进行设置,即在父节点基础上进行分支,以期望生成距离全局最优解较近的新的候选网络。In this embodiment, when evaluating the rationality that the parent node does not meet the requirement according to the gap value corresponding to the lower bound value and the upper bound value of the current parent node, it can be considered that the current parent node is far from the global optimal solution. At this time, on the basis of the parent node, the connection relationship of one station in the subsequent connection relationship between the station to be determined and the sorting center can be set, that is, branching is carried out on the basis of the parent node, in order to expect to generate the global optimal solution of distance Recent new candidate networks.
在一些实施方式中,通过在父节点基础上设置站点与分拣中心的后项连通关系,生成父节点的子节点,包括:从父节点中未设置连通关系的站点中选取第一站点;将在父节点基础上设置有第一站点与分拣中心的后项连通关系的网络,确定为父节点的子节点。In some implementation manners, by setting the subsequent connection relationship between the station and the sorting center on the basis of the parent node, generating the child node of the parent node includes: selecting the first station from the stations that do not set the connection relationship in the parent node; On the basis of the parent node, a network with a subsequent connection relationship between the first station and the sorting center is determined as a child node of the parent node.
以图2为例,首次循环过程中父节点为初始网络,初始网络通常不满足合理性,此时需要生成初始网络的子节点。在初始网络基础上生成子节点,例如可以包括:从未设置连通关系的站点z 1-z 4中随机选取第一站点,例如选取z 1;在父节点基础上,设置z 1与分拣中心的连通关系,例如设置z 1与f 5连通得到一个子节点,以及设置z 1与f 6连通得到另一个子节点。 Taking Figure 2 as an example, the parent node is the initial network during the first cycle, and the initial network usually does not satisfy the rationality. At this time, it is necessary to generate the child nodes of the initial network. Generating child nodes on the basis of the initial network, for example, may include: randomly selecting the first site from sites z 1 -z 4 that have no connectivity relationship, for example, selecting z 1 ; on the basis of the parent node, setting z 1 and the sorting center Connectivity relationship, for example, set z 1 to be connected to f 5 to get a child node, and set z 1 to be connected to f 6 to get another child node.
在这些实施方式中,通过逐步固定后项连通关系,不仅可减少计算量,还可以使网络的上界值和下界值的估计更加准确,从而有利于快速获取到距离全局最优解较近的网络,以进行继续循环或输出物流配送网络。In these implementations, by gradually fixing the connectivity relationship of the latter term, not only can the amount of calculation be reduced, but also the estimation of the upper and lower bound values of the network can be made more accurate, which is conducive to quickly obtaining the optimal solution that is closer to the global optimal solution. Network for continuous circulation or output logistics distribution network.
本实施例中,在生成父节点的子节点之后,还可以根据生成的子节点的下界值判断子节点是否为对父节点的优化,即对每个子节点进行定界。In this embodiment, after the child nodes of the parent node are generated, it is also possible to determine whether the child nodes are optimized for the parent node according to the lower bound value of the generated child nodes, that is, delimit each child node.
在一些实施方式中,根据子节点的下界值更新当前循环中的候选网络,可以包括:子节点的下界值小于父节点的上界值时,将子节点作为新的候选网络,并删除父节点。In some implementations, updating the candidate network in the current cycle according to the lower bound value of the child node may include: when the lower bound value of the child node is smaller than the upper bound value of the parent node, using the child node as a new candidate network, and deleting the parent node .
由于通常子节点的下界值相较于父节点的下界值,更接近真实值,子节点的下界值通常大于或等于父节点的下界值。然而,当子节点的下界值过大时,例如大于或等于父节点的上界值时,那么子节点的上界值通常要比父节点的上界值更大,此时子节点相较于父节点距离全局最优解更远,可不将该子节点更新至候选网络,即实现子节点的剪枝。当子节点的下界值小于父节点的上界值 时,可以将子节点作为新的候选网络。Because usually the lower bound value of the child node is closer to the real value than the lower bound value of the parent node, the lower bound value of the child node is usually greater than or equal to the lower bound value of the parent node. However, when the lower bound value of the child node is too large, for example, greater than or equal to the upper bound value of the parent node, then the upper bound value of the child node is usually greater than the upper bound value of the parent node. At this time, the child node is compared to The parent node is farther away from the global optimal solution, and the child node can be pruned without updating the child node to the candidate network. When the lower bound value of the child node is smaller than the upper bound value of the parent node, the child node can be used as a new candidate network.
在这些实施方式中,通过对分支过程产生的合理性较低的部分子节点进行剪枝,能够避免进行全量分支,从而可以提高网络确定速度。同时,在父节点基础上得到距离全局最优解更近的子节点后,可以将满意度较差的父节点进行删除,从而可以仅保留当前较优的网络作为候选网络,以减少存储空间消耗。In these implementation manners, by pruning some child nodes with low rationality generated in the branching process, full branching can be avoided, thereby improving the network determination speed. At the same time, after getting the child nodes closer to the global optimal solution based on the parent node, the parent node with poor satisfaction can be deleted, so that only the current better network can be kept as a candidate network to reduce storage space consumption .
本实施例中,在更新候选网络之后,可以继续执行S120的循环,直至评估循环中父节点满足需求合理性时停止。通过将最小下界值的候选网络作为父节点,根据父节点中后项连通关系的可行设置来生成分支子节点,并基于子节点的下界值进行定界,以更新候选网络,避免了进行全量的分支定界,从而可加快网络的求解速度,能够针对规模较大网络进行快速确定。In this embodiment, after the candidate network is updated, the loop of S120 may continue to be executed until the parent node in the evaluation loop satisfies the rationality of the requirement and stops. By using the candidate network with the smallest lower bound value as the parent node, branch child nodes are generated according to the feasible setting of the subsequent connectivity relationship in the parent node, and the lower bound value of the child node is used to delimit the candidate network to update the candidate network, avoiding the need for full-scale Branch and bound, which can speed up the solution speed of the network, and can quickly determine the large-scale network.
S140、若停止循环,则将与停止循环时确定的父节点的上界值对应的网络确定为物流配送网络。S140. If the loop is stopped, determine the network corresponding to the upper limit value of the parent node determined when the loop is stopped as the logistics distribution network.
本实施例中,当根据与当前父节点的下界值和上界值对应的差距值,评估父节点满足需求的合理性时,可以认为当前父节点距离全局最优解较近。此时可以停止循环,并根据停止循环时确定的父节点,确定物流配送网络。其中,由于父节点的上界值对应的网络中,既确定了前项连通关系,又确定了后项连通关系,可以将父节点的上界值对应的网络,确定为物流配送网络。In this embodiment, when evaluating the rationality of the parent node satisfying the requirement according to the gap value corresponding to the lower bound value and the upper bound value of the current parent node, it can be considered that the current parent node is closer to the global optimal solution. At this point, the loop can be stopped, and the logistics distribution network can be determined according to the parent node determined when the loop is stopped. Among them, since in the network corresponding to the upper bound value of the parent node, both the preceding connected relationship and the following connected relationship are determined, the network corresponding to the upper bound value of the parent node can be determined as the logistics distribution network.
本申请实施例提供的一种物流配送网络的确定方法,通过将具有最小下界值的候选网络作为父节点,根据父节点中后项连通关系的可行设置来生成分支子节点,并基于子节点的下界值进行定界,以更新候选网络,避免了进行全量的分支定界,从而可加快网络的求解速度,能够针对规模较大网络进行快速确定。The embodiment of the present application provides a method for determining a logistics distribution network. By using the candidate network with the minimum lower bound value as the parent node, branch child nodes are generated according to the feasible setting of the subsequent connection relationship in the parent node, and based on the child node The lower bound value is delimited to update the candidate network, which avoids the need to perform a full amount of branch and delimitation, thereby speeding up the solution speed of the network, and can quickly determine large-scale networks.
此外,通过基于网络中仓库与分拣中心的前项连通关系,确定运输成本的下界值,并在前项连通关系基础上,基于站点与分拣中心的后项连通关系,确定运输成本的上界值,能够得到网络合理性的评估标准。由于物流配送网络为全局最优时,基于上述技术特征确定的上界值与下界值相同,通过根据当前循环中父节点的上界值和下界值的差距值,能够实现对父节点的合理性进行评估。进而,通过在父节点评估为合理时就停止循环,并进行最终物流配送网络的确定,能够使网络求解质量和求解速度进行均衡。In addition, the lower bound value of the transportation cost is determined based on the former connection relationship between the warehouse and the sorting center in the network, and the upper limit value of the transportation cost is determined based on the former connection relationship and the latter connection relationship between the station and the sorting center. The boundary value can obtain the evaluation standard of network rationality. Since the logistics distribution network is globally optimal, the upper and lower bounds determined based on the above-mentioned technical characteristics are the same, and the rationality of the parent node can be realized based on the gap between the upper and lower bounds of the parent node in the current cycle. to evaluate. Furthermore, by stopping the loop when the evaluation of the parent node is reasonable, and determining the final logistics distribution network, the network solution quality and solution speed can be balanced.
实施例二Embodiment two
本实施例在上述实施例基础上,对下界值的确定方式进行了描述。通过分别预构建一个仓库与每个第一分拣中心的连通关系,能够根据每次构建的连通关系预测出运输成本;根据每次预测出的运输成本,能得出该仓库与第一分拣 中心最佳的连通方式;进而,可以根据每个仓库的最佳的连通方式,实现对下界值的确定。This embodiment describes the manner of determining the lower limit value on the basis of the foregoing embodiments. By pre-constructing the connection relationship between a warehouse and each first sorting center, the transportation cost can be predicted according to the connection relationship constructed each time; according to the transportation cost predicted each time, the warehouse and the first sorting center can be obtained The optimal connection mode of the center; furthermore, the determination of the lower bound value can be realized according to the optimal connection mode of each warehouse.
示例性的,图4是本申请实施例二提供的一种物流配送网络的确定方法中确定网络下界值的示意图。参考图4中示出的网络,在一些实现方式中,下界值的确定方式,可以包括:Exemplarily, FIG. 4 is a schematic diagram of determining a network lower limit value in a method for determining a logistics distribution network provided in Embodiment 2 of the present application. Referring to the network shown in FIG. 4, in some implementations, the manner of determining the lower bound value may include:
首先,遍历候选网络中的每个仓库,将当前遍历仓库与候选网络中除全部仓库外的网络构成的网络,作为第一子网络。参见图4,以当前遍历的仓库为仓库k 1为例,第一子网络为由k 1,与图4中除全部仓库外的网络构成,即第一子网络包括k 1,分拣中心f 1-f 6,以及站点z 1-z 4First, each warehouse in the candidate network is traversed, and the network formed by the currently traversed warehouse and the networks except all warehouses in the candidate network is used as the first sub-network. Referring to Fig. 4, taking the currently traversed warehouse as warehouse k 1 as an example, the first sub-network is composed of k 1 and the network except all warehouses in Fig. 4, that is, the first sub-network includes k 1 and the sorting center f 1 -f 6 , and station z 1 -z 4 .
然后,以第一子网络的运输成本最小为目标,确定当前遍历仓库与多个分拣中心中的至少一个第一分拣中心的前项连通关系。其中,多个分拣中心可以划分为多层,且可以将地理位置上靠近仓库的一层中的分拣中心,称为第一分拣中心。参见图4,可以将分拣中心f 1、f 2称为第一分拣中心。当前遍历的仓库为k 1时,可以分别设置k 1与f 1、f 2的连通关系,可以确定与f 1、f 2的连通时第一子网络的运输成本。并且,可以将第一子网络的运输成本最小时对应的连通关系,确定为k 1与第一分拣中心的前项连通关系。 Then, with the goal of minimizing the transportation cost of the first sub-network, determine the previous connectivity relationship between the currently traversed warehouse and at least one first sorting center among the plurality of sorting centers. Wherein, the multiple sorting centers can be divided into multiple layers, and the sorting center on the first layer geographically close to the warehouse can be called the first sorting center. Referring to Fig. 4, the sorting centers f 1 and f 2 can be called the first sorting center. When the currently traversed warehouse is k 1 , the connection relationship between k 1 and f 1 and f 2 can be set respectively, and the transportation cost of the first sub-network can be determined when it is connected with f 1 and f 2 . In addition, the connection relationship corresponding to when the transportation cost of the first sub-network is minimum can be determined as the previous connection relationship between k 1 and the first sorting center.
最后,根据每个仓库的前项连通关系,确定候选网络的下界值。其中,在采用上述方法,确定每个仓库的前项连通关系之后,可以将与每个仓库的前项连通关系对应的运输成本求和,得到网络的下界值。Finally, according to the previous connected relationship of each warehouse, the lower bound value of the candidate network is determined. Wherein, after using the above method to determine the preceding connection relationship of each warehouse, the transportation costs corresponding to the preceding connection relations of each warehouse can be summed to obtain the lower bound value of the network.
再次参考图4,在一些实现方式中,以第一子网络的运输成本最小为目标,确定当前遍历仓库与多个分拣中心中的至少一个第一分拣中心的前项连通关系,包括:Referring again to FIG. 4 , in some implementations, with the goal of minimizing the transportation cost of the first sub-network, determining the previous connectivity relationship between the currently traversed warehouse and at least one first sorting center among the plurality of sorting centers includes:
首先,将当前遍历仓库与多个分拣中心中的每个第一分拣中心建立连通关系,确定从当前建立连通关系的第一分拣中心到多个站点的最小运输成本的和。Firstly, a connected relationship is established between the currently traversed warehouse and each of the first sorting centers among the multiple sorting centers, and the sum of the minimum transportation costs from the currently connected first sorting center to the multiple sites is determined.
以当前遍历的仓库为仓库k 1,当前与k 1建立连通关系的第一分拣中心为f 1为例,确定从f 1到z 1-z 4的运输成本的和,可以包括:遍历z 1-z 4,针对当前遍历的站点(以z 1为例),分别设置站点与可连通的分拣中心之间的连通关系(例如分别设置z 1与f 5、f 6的连通关系);估计从k 1到当前遍历站点的运输成本,并确定与当前站点对应的最小运输成本(例如分别确定f 1到f 5到z 1的运输成本C f1,z5,以及确定f 1到f 6到z 1的运输成本C f1,z6,并从中取最小值);遍历完毕后,将与z 1-z 4对应的最小运输成本求和,得到一个最小运输成本的和C f1Taking the currently traversed warehouse as warehouse k 1 , and the first sorting center currently connected to k 1 as f 1 as an example, determining the sum of transportation costs from f 1 to z 1 -z 4 may include: traversing z 1 -z 4 , for the currently traversed station (take z 1 as an example), respectively set the connection relationship between the station and the sorting center that can be connected (for example, set the connection relationship between z 1 and f 5 , f 6 respectively); Estimate the transport cost from k 1 to the current traversal site, and determine the minimum transport cost corresponding to the current site (for example, determine the transport costs C f1,z5 of f 1 to f 5 to z 1 , and determine f 1 to f 6 to The transportation cost C f1,z6 of z 1 , and take the minimum value); after the traversal, sum the minimum transportation costs corresponding to z 1 -z 4 to obtain a minimum transportation cost sum C f1 .
然后,根据与每个第一分拣中心对应的最小运输成本的和,确定当前遍历仓库与至少一个第一分拣中心中的第一目标中心的前项连通关系。Then, according to the sum of the minimum transportation costs corresponding to each first sorting center, determine the previous connection relationship between the currently traversed warehouse and the first target center in the at least one first sorting center.
基于上述相同方法,再确定f 2到z 1-z 4的运输成本的和C f2。进而,可以确定当前遍历的仓库的总运输成本的最小值;例如,k 1与f 1连通时的总运输成本C sum1=C k1,f1+C f1;k 1与f 2连通时的总运输成本C sum2=C k1,f2+C f2。接着,可以将与最小的总运输成本对应的连通关系,确定为当前遍历仓库与第一分拣中心中第一目标中心的前项连通关系;例如,当C sum1最小时,可以确定与当前遍历仓库k 1建立前项连通关系的第一目标中心,为分拣中心f 1Based on the same method as above, the sum C f2 of the transportation costs from f 2 to z 1 -z 4 is determined. Furthermore, the minimum value of the total transportation cost of the currently traversed warehouse can be determined; for example, the total transportation cost C sum1 = C k1,f1 + C f1 when k 1 and f 1 are connected; the total transportation cost when k 1 and f 2 are connected Cost C sum2 =C k1,f2 +C f2 . Then, the connection relationship corresponding to the minimum total transportation cost can be determined as the previous connection relationship between the current traversed warehouse and the first target center in the first sorting center; for example, when C sum1 is the smallest, it can be determined that the current traversed The first target center for the warehouse k 1 to establish the connection relationship of the preceding item is the sorting center f 1 .
在这些实现方式中,通过根据前项/后项连通关系的可行配置,估计出总运输成本,能够实现根据最小的总运输成本确定当前遍历仓库与第一目标中心的连通关系。In these implementations, by estimating the total transportation cost based on the feasible configuration of the previous item/next item connection relationship, the connection relationship between the currently traversed warehouse and the first target center can be determined according to the minimum total transportation cost.
本申请实施例在上述实施例基础上,对下界值的确定方式进行了描述。通过分别预构建一个仓库与每个第一分拣中心的连通关系,能够根据每次构建的连通关系预测出运输成本;根据每次预测出的运输成本,能得出该仓库与第一分拣中心最佳的连通方式;进而,可以根据每个仓库的最佳的连通方式,实现对下界值的确定。此外,本申请实施例与上述实施例提出的物流配送网络的确定方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述实施例,且本实施例与上述实施例具有相同的效果。The embodiment of the present application describes the manner of determining the lower limit value on the basis of the foregoing embodiments. By pre-constructing the connection relationship between a warehouse and each first sorting center, the transportation cost can be predicted according to the connection relationship constructed each time; according to the transportation cost predicted each time, the warehouse and the first sorting center can be obtained The optimal connection mode of the center; furthermore, the determination of the lower bound value can be realized according to the optimal connection mode of each warehouse. In addition, the method of determining the logistics distribution network proposed in the embodiment of the present application and the above-mentioned embodiment belongs to the same idea, and the technical details not described in detail in this embodiment can be referred to the above-mentioned embodiment, and this embodiment has the same features as the above-mentioned embodiment Effect.
实施例三Embodiment Three
本实施例在上述实施例基础上,对上界值的确定方式进行了描述。通过在前项连通关系确定的基础上,分别预构建一个站点与每个第二分拣中心的连通关系,能够根据每次构建的连通关系预测出运输成本;根据每次预测出的运输成本,能得出该站点与第二分拣中心最佳的连通方式;进而,可以根据每个站点的最佳的连通方式,实现对上界值的确定。This embodiment describes the manner of determining the upper limit value on the basis of the foregoing embodiments. By pre-constructing the connection relationship between a station and each second sorting center on the basis of the connection relationship determined in the previous item, the transportation cost can be predicted according to the connection relationship constructed each time; according to the transportation cost predicted each time, The optimal connection mode between the station and the second sorting center can be obtained; furthermore, the determination of the upper limit value can be realized according to the optimal connection mode of each station.
示例性的,图5是本申请实施例三提供的一种物流配送网络的确定方法中确定网络上界值的示意图。参考图5中示出的网络,在一些实现方式中,上界值的确定方式,可以包括:Exemplarily, FIG. 5 is a schematic diagram of determining an upper limit value of a network in a method for determining a logistics distribution network provided in Embodiment 3 of the present application. Referring to the network shown in FIG. 5, in some implementations, the manner of determining the upper limit value may include:
首先,在前项连通关系基础上,遍历候选网络中未设置连通关系的站点,将当前遍历站点、设置连通关系的站点,与网络中除全部站点外的候选网络构成的网络,作为第二子网络。Firstly, on the basis of the connectivity relationship in the previous item, traverse the sites without connectivity relationships in the candidate network, and use the network composed of the currently traversed sites, the sites with connectivity relationships, and the candidate networks except all the sites in the network as the second sub-network. network.
可以通过上述实施例提供的方式进行前项连通关系的确定,还可以利用以运输成本最小为目标的其他方式,确定网络的前项连通关系,例如可以利用机器学习模型等方式确定前项连通关系。在确定网络的前项连通关系之后,可以在其基础上进行上界值的确定。The preceding connectivity relationship can be determined through the methods provided in the above embodiments, and other methods aiming at minimizing the transportation cost can also be used to determine the preceding connectivity relationship of the network, for example, a machine learning model can be used to determine the preceding connectivity relationship . After determining the previous connection relationship of the network, the upper limit value can be determined on the basis of it.
参见图5,仓库k 1-k 3与分拣中心的前项连通关系已确定。图5中,以当前 遍历的未设置连通关系的站点为z 1为例,由于设置连通关系的站点的空,第二子网络为由z 1,与图5中除全部站点外的网络构成,即第二子网络包括z 1,分拣中心f 1-f 6,以及仓库k 1-k 3Referring to Fig. 5, the connection relationship between warehouses k 1 -k 3 and the sorting center has been determined. In Fig. 5, taking the currently traversed station without a connected relationship as z 1 as an example, since the station with connected connected relationship is empty, the second sub-network is composed of z 1 , which is composed of the network except all stations in Fig. 5, That is, the second sub-network includes z 1 , sorting centers f 1 -f 6 , and warehouses k 1 -k 3 .
然后,以第二子网络的运输成本最小为目标,确定当前遍历站点与多个分拣中心中的至少一个第二分拣中心的后项连通关系。Then, with the goal of minimizing the transportation cost of the second sub-network, determine the subsequent connection relationship between the currently traversed site and at least one second sorting center among the plurality of sorting centers.
多个分拣中心可以划分为多层,且可以将地理位置上靠近站点的一层中的分拣中心,称为第二分拣中心。参见图5,可以将分拣中心f 5、f 6称为第二分拣中心。当前遍历的站点为z 1时,可以分别设置z 1与f 5、f 6的连通关系,可以确定与f 5、f 6的连通时第二子网络的运输成本。并且,可以将第二子网络的运输成本最小时对应的连通关系,确定为z 1与第二分拣中心的后项连通关系。 Multiple sorting centers can be divided into multiple layers, and the sorting center on the layer close to the site geographically can be called the second sorting center. Referring to Fig. 5, the sorting centers f 5 and f 6 can be called the second sorting center. When the currently traversed site is z 1 , the connection relationship between z 1 and f 5 and f 6 can be set respectively, and the transportation cost of the second sub-network can be determined when connecting with f 5 and f 6 . In addition, the connection relationship corresponding to when the transportation cost of the second sub-network is minimum can be determined as the subsequent connection relationship between z 1 and the second sorting center.
最后,根据每个站点的后项连通关系,确定候选网络的上界值。其中,在采用上述方法,确定每个站点的后项连通关系之后,可以将与每个站点的后项连通关系对应的运输成本求和,得到网络的上界值。Finally, according to the subsequent connection relationship of each site, the upper bound value of the candidate network is determined. Wherein, after using the above method to determine the subsequent connection relationship of each site, the transportation costs corresponding to the subsequent connection relationship of each site can be summed to obtain the upper limit value of the network.
再次参考图5,在一些实现方式中,以第二子网络的运输成本最小为目标,确定当前遍历站点与多个分拣中心中的至少一个第二分拣中心的后项连通关系,包括:Referring again to FIG. 5 , in some implementations, with the goal of minimizing the transportation cost of the second sub-network, determining the subsequent connection relationship between the current traversal site and at least one second sorting center among the plurality of sorting centers includes:
首先,将当前遍历站点与多个分拣中心中的每个第二分拣中心建立连通关系,确定与当前建立连通关系的第二分拣中心对应的,从多个仓库到当前遍历站点的运输成本的和。First, establish a connection relationship between the current traversal site and each second sorting center among the multiple sorting centers, and determine the transportation from the multiple warehouses to the current traversal site corresponding to the second sorting center that currently establishes the connection relationship sum of costs.
以当前遍历的未设置连通关系的站点为z 1,当前与z 1建立连通关系的第二分拣中心为f 5为例,确定与f 5对应的从仓库k 1-k 3到z 1的运输成本和,可以包括:分别确定k 1-k 3到f 5到z 1的运输成本,C k1,f5,z1,C k2,f5,z1和C k3,f5,z1,并将三项进行加和得到与f 5对应的从仓库k 1-k 3到z 1的运输成本和C f5,z1Taking the currently traversed site without a connected relationship as z 1 , and the second sorting center that currently establishes a connected relationship with z 1 as f 5 as an example, determine the location from warehouse k 1 -k 3 to z 1 corresponding to f 5 The sum of transportation costs can include: respectively determine the transportation costs of k 1 -k 3 to f 5 to z 1 , C k1,f5,z1 , C k2,f5,z1 and C k3,f5,z1 , and carry out the three items The sum of transportation costs from warehouse k 1 -k 3 to z 1 corresponding to f 5 is obtained by summing C f5,z1 .
然后,根据与每个第二分拣中心对应的运输成本的和,确定当前遍历站点与至少一个第二分拣中心中的第二目标中心的后项连通关系。Then, according to the sum of the transportation costs corresponding to each second sorting center, determine the subsequent connection relationship between the current traverse station and the second target center in at least one second sorting center.
基于上述相同方法,再确定与f 6对应的从仓库k 1-k 3到z 1的运输成本和C f6,z1。进而,可以将C f5,z1和C f6,z1中最小值对应的后项连通关系,确定为与当前遍历的z 1建立后项连通关系的第二目标中心;例如,当C f5,z1最小时,可以确定与当前遍历的z 1建立后项连通关系的第二目标中心,为分拣中心f 5Based on the same method as above, determine the transportation cost and C f6,z1 corresponding to f 6 from warehouse k 1 -k 3 to z 1 . Furthermore, the subsequent connectivity relationship corresponding to the minimum value of C f5, z1 and C f6, z1 can be determined as the second target center that establishes the subsequent connectivity relationship with the currently traversed z1 ; for example, when C f5, z1 is the most hour, it can be determined that the second target center that establishes a subsequent connection relationship with the currently traversed z 1 is the sorting center f 5 .
在这些实现方式中,通过根据多个仓库到当前遍历站点的运输成本的和,能够确定当前遍历站点的后项连通关系。并基于相同方法,能够实现每个站点的后项连通关系。In these implementation manners, based on the sum of the transportation costs from multiple warehouses to the current traversal site, the subsequent connection relationship of the current traversal site can be determined. And based on the same method, the subsequent connection relationship of each site can be realized.
本申请实施例在上述实施例基础上,对上界值的确定方式进行了描述。通 过在前项连通关系确定的基础上,分别预构建一个站点与每个第二分拣中心的连通关系,能够根据每次构建的连通关系预测出运输成本;根据每次预测出的运输成本,能得出该站点与第二分拣中心最佳的连通方式;进而,可以根据每个站点的最佳的连通方式,实现对上界值的确定。此外,本申请实施例与上述实施例提出的物流配送网络的确定方法属于同一思,未在本实施例中详尽描述的技术细节可参见上述实施例,且本实施例与上述实施例具有相同的效果。The embodiment of the present application describes the manner of determining the upper limit value on the basis of the foregoing embodiments. By pre-constructing the connection relationship between a station and each second sorting center on the basis of the connection relationship determined in the previous item, the transportation cost can be predicted according to the connection relationship constructed each time; according to the transportation cost predicted each time, The optimal connection mode between the station and the second sorting center can be obtained; furthermore, the determination of the upper limit value can be realized according to the optimal connection mode of each station. In addition, the method for determining the logistics distribution network proposed in the embodiment of the present application and the above-mentioned embodiment belongs to the same idea, and the technical details not described in detail in this embodiment can be referred to the above-mentioned embodiment, and this embodiment and the above-mentioned embodiment have the same Effect.
实施例四Embodiment Four
本实施例在上述实施例基础上,增加了优先级队列的技术特征。通过基于优先队列可根据其中的数据属性的优先级进行排序的特性,能够在每次循环中快速获取到父节点。In this embodiment, on the basis of the foregoing embodiments, the technical features of priority queues are added. Based on the feature that the priority queue can be sorted according to the priority of the data attributes in it, the parent node can be quickly obtained in each cycle.
示例性的,图6是本申请实施例四提供的一种物流配送网络的确定方法中基于优先队列的流程框图。参见图6,物流配送网络的确定方法,可以包括:Exemplarily, FIG. 6 is a flowchart based on priority queues in a method for determining a logistics distribution network provided in Embodiment 4 of the present application. Referring to Figure 6, the method for determining the logistics distribution network may include:
S610、将初始网络作为候选网络,确定初始网络的下界值和上界值;初始网络中多个分拣中心间的连通关系是预先设置的。S610. Using the initial network as a candidate network, determine a lower limit value and an upper limit value of the initial network; the connection relationship between multiple sorting centers in the initial network is preset.
下界值为基于对应网络中仓库与分拣中心的前项连通关系确定的运输成本;上界值为在前项连通关系基础上,基于对应网络中站点与分拣中心的后项连通关系确定的运输成本。The lower bound value is the transportation cost determined based on the previous connectivity relationship between the warehouse and the sorting center in the corresponding network; the upper bound value is determined based on the latter connectivity relationship between the station and the sorting center in the corresponding network on the basis of the previous connectivity relationship transportation cost.
S620、将每个候选网络添加至优先级队列中;其中,优先级队列中按不同候选网络的下界值设置优先级。S620. Add each candidate network to a priority queue; wherein, the priority is set in the priority queue according to the lower bound value of different candidate networks.
本实施例中,表征候选网络中物流点连通关系的数据(例如矩阵格式的数据),可以作为节点添加至优先队列中。其中,节点的队列属性可以包括但不限于:节点所表征的网络的下界值,节点的父节点(即与节点表征网络的父节点网络中物流点连通关系对应的数据),以及节点的后项连通状态(即与节点表征网络中后项连通关系的设置情况)。其中,优先队列可以按照队列属性中的下界值来为节点设置优先级,即为节点对应的候选网络设置优先级。In this embodiment, the data (for example, data in matrix format) representing the connection relationship of logistics points in the candidate network can be added to the priority queue as a node. Among them, the queue attribute of the node may include but not limited to: the lower bound value of the network represented by the node, the parent node of the node (that is, the data corresponding to the connection relationship of the logistics point in the parent node network of the node representing the network), and the subsequent item of the node Connected state (that is, the setting of the connection relationship between nodes and subsequent items in the network). Wherein, the priority queue can set the priority for the node according to the lower bound value in the queue attribute, that is, set the priority for the candidate network corresponding to the node.
在确定初始网络、初始网络的下界值和上界值时,可以据此对优先队列进行初始化。初始化优先队列可以包括:将表征初始网络中多个物流点连通关系的数据作为根节点,添加至优先队列中;为根节点设置队列属性。When determining the initial network, the lower bound value and the upper bound value of the initial network, the priority queue can be initialized accordingly. Initializing the priority queue may include: adding data representing the connection relationship of multiple logistics points in the initial network as a root node to the priority queue; and setting queue attributes for the root node.
S630、根据优先级确定当前循环中的候选网络中的父节点,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环。S630. Determine the parent node in the candidate network in the current loop according to the priority, and determine whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop.
可以将下界值最小的节点设置最高优先级,从而可以使每次循环中的父节点皆为最高优先级的节点,从而有利于父节点的快速确定。在确定父节点后,可根据父节点的下界值和上界值的差距值,确定是否停止循环。The highest priority can be set to the node with the smallest lower bound value, so that the parent node in each cycle can be the node with the highest priority, which is conducive to the rapid determination of the parent node. After the parent node is determined, whether to stop the loop can be determined according to the difference between the lower bound value and the upper bound value of the parent node.
S640、若不停止循环,则通过在父节点基础上设置站点与分拣中心的后项连通关系,生成父节点的子节点;根据子节点的下界值更新当前循环中的候选网络,并进入下一循环。S640. If the loop is not stopped, generate a child node of the parent node by setting the subsequent connection relationship between the station and the sorting center on the basis of the parent node; update the candidate network in the current loop according to the lower bound value of the child node, and enter the next one cycle.
可以根据优先队列中的后项连通状态属性,确定未设置连通关系的站点,进而可以设置未设置连通关系中第一站点与分拣中心的后项连通关系,生成父节点的子节点。其中,在对候选网络进行更新后,可以跳转至S620,根据新增的候选网络向优先队列中添加新的节点,并设置新的节点的队列属性;也可以根据新增节点的父节点属性,将优先队列中相应的父节点弹出,以保证优先队列中始终存储更新后的候选网络对应的节点。According to the connection status attribute of the next item in the priority queue, the station without a connection relationship can be determined, and then the connection relationship between the first station and the sorting center can be set to generate a child node of the parent node. Wherein, after updating the candidate network, you can jump to S620, add a new node to the priority queue according to the newly added candidate network, and set the queue attribute of the new node; , pop the corresponding parent node in the priority queue to ensure that the node corresponding to the updated candidate network is always stored in the priority queue.
S650、若停止循环,则将与停止循环时确定的父节点的上界值对应的网络确定为物流配送网络。S650. If the loop is stopped, determine the network corresponding to the upper limit value of the parent node determined when the loop is stopped as the logistics distribution network.
当前循环中父节点评估为满足合理性时,可以将父节点进行弹出,并且可以基于循环停止时弹出的父节点确定为物流配送网络。When the parent node in the current cycle is evaluated as satisfying the rationality, the parent node can be popped up, and can be determined as the logistics distribution network based on the parent node popped up when the cycle stops.
本申请实施例在上述实施例基础上,增加了优先级队列的技术特征。通过基于优先队列可根据其中的数据属性的优先级进行排序的特性,能够在每次循环中快速获取到父节点。此外,本申请实施例与上述实施例提出的物流配送网络的确定方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述实施例,且本实施例与上述实施例具有相同的效果。On the basis of the foregoing embodiments, the embodiment of the present application adds the technical features of the priority queue. Based on the feature that the priority queue can be sorted according to the priority of the data attributes in it, the parent node can be quickly obtained in each cycle. In addition, the method of determining the logistics distribution network proposed in the embodiment of the present application and the above-mentioned embodiment belongs to the same idea, and the technical details not described in detail in this embodiment can be referred to the above-mentioned embodiment, and this embodiment has the same features as the above-mentioned embodiment Effect.
实施例五Embodiment five
图7是本申请实施例五提供的一种物流配送网络的确定装置的结构示意图。本申请实施例提供的物流配送网络的确定装置可适用于确定物流配送网络的情况,例如针对多个分拣中心间的连通关系确定的网络,确定仓库与分拣中心的前项连通关系,和确定站点与分拣中心的后项连通关系的情况。FIG. 7 is a schematic structural diagram of an apparatus for determining a logistics distribution network provided in Embodiment 5 of the present application. The device for determining the logistics distribution network provided in the embodiment of the present application can be applied to the situation of determining the logistics distribution network, for example, for a network determined for the connection relationship between multiple sorting centers, determine the preceding connection relationship between the warehouse and the sorting center, and Determine the status of the connection relationship between the station and the sorting center.
如图7所示,本申请实施例中物流配送网络的确定装置,包括:As shown in Figure 7, the device for determining the logistics distribution network in the embodiment of the present application includes:
初始化模块710,设置为将初始网络作为候选网络,确定初始网络的下界值和上界值;初始网络中多个分拣中心间的连通关系是预先设置的;评估模块720,设置为在当前循环中将具有最小下界值的候选网络确定为父节点,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环;分支定界模块730,设置为若不停止循环,则通过在父节点基础上设置站点与分拣中心的后项连通关系,生成父节点的子节点;根据子节点的下界值更新当前循环中的候选网络,并进入下一循环;网络确定模块740,设置为若停止循环,则将与停止循环时确定的父节点的上界值对应的网络确定为物流配送网络;其中,下界值为基于对应网络中仓库与分拣中心的前项连通关系确定的运输成本;上界值 为在前项连通关系基础上,基于对应网络中站点与分拣中心的后项连通关系确定的运输成本。The initialization module 710 is set to use the initial network as a candidate network to determine the lower bound value and upper bound value of the initial network; the connection relationship between multiple sorting centers in the initial network is preset; the evaluation module 720 is set to The candidate network with the minimum lower bound value is determined as the parent node, and the difference between the lower bound value and the upper bound value of the parent node determined in the current cycle determines whether to stop the cycle; the branch and bound module 730 is set to if the cycle is not stopped , then by setting the connection relationship between the station and the sorting center on the basis of the parent node, the child node of the parent node is generated; the candidate network in the current cycle is updated according to the lower bound value of the child node, and enters the next cycle; the network determination module 740, if the loop is stopped, the network corresponding to the upper bound value of the parent node determined when the loop is stopped is determined as the logistics distribution network; wherein, the lower bound value is based on the preceding connectivity relationship between the warehouse and the sorting center in the corresponding network The determined transportation cost; the upper limit value is the transportation cost determined based on the connection relationship between the previous item and the subsequent connection relationship between the station and the sorting center in the corresponding network.
在一些实施方式中,分支定界模块730,包括:In some implementations, the branch and bound module 730 includes:
分支单元,设置为从父节点中未设置连通关系的站点中选取第一站点;将在父节点基础上设置有第一站点与分拣中心的后项连通关系的网络,确定为父节点的子节点。The branch unit is set to select the first station from the stations that have no connection relationship in the parent node; the network that has the connection relationship between the first station and the sorting center on the basis of the parent node is determined as the child of the parent node. node.
在一些实施方式中,分支定界模块730,包括:In some implementations, the branch and bound module 730 includes:
定界单元,设置为子节点的下界值小于父节点的上界值时,将子节点作为新的候选网络,并删除父节点。Delimiting unit, when the lower bound value of the child node is smaller than the upper bound value of the parent node, the child node is used as a new candidate network, and the parent node is deleted.
在一些实施方式中,初始化模块710和分支定界模块730,可以包括:In some implementations, the initialization module 710 and the branch and bound module 730 may include:
下界值确定单元,设置为根据下述确定方式确定下界值:The lower bound value determination unit is set to determine the lower bound value according to the following determination methods:
遍历候选网络中的每个仓库,将当前遍历仓库与候选网络中除全部仓库外的网络构成的网络,作为第一子网络;以第一子网络的运输成本最小为目标,确定当前遍历仓库与多个分拣中心中的至少一个第一分拣中心的前项连通关系;根据每个仓库的前项连通关系,确定候选网络的下界值。Traverse each warehouse in the candidate network, and use the network composed of the currently traversed warehouse and the network except all warehouses in the candidate network as the first sub-network; aiming at the minimum transportation cost of the first sub-network, determine the current traversed warehouse and The previous connection relationship of at least one first sorting center among the plurality of sorting centers; according to the previous connection relationship of each warehouse, the lower limit value of the candidate network is determined.
在一些实施方式中,下界值确定单元,可以设置为:In some embodiments, the lower limit value determination unit can be set to:
将当前遍历仓库与多个分拣中心中的每个第一分拣中心建立连通关系,确定从当前建立连通关系的第一分拣中心到多个站点的最小运输成本的和;根据与每个第一分拣中心对应的最小运输成本的和,确定当前遍历仓库与至少一个第一分拣中心中的第一目标中心的前项连通关系。Establish a connected relationship between the current traversing warehouse and each of the first sorting centers among the multiple sorting centers, and determine the sum of the minimum transportation costs from the first sorting center that currently establishes a connected relationship to multiple sites; The sum of the minimum transportation costs corresponding to the first sorting center determines the preceding connectivity relationship between the currently traversed warehouse and the first target center in at least one first sorting center.
在一些实施方式中,初始化模块710和评估模块720,还可以包括:In some implementations, the initialization module 710 and the evaluation module 720 may also include:
上界值确定单元,设置为根据下述确定方式确定上界值:The upper limit value determination unit is set to determine the upper limit value according to the following determination methods:
在前项连通关系基础上,遍历候选网络中未设置连通关系的站点,将当前遍历站点、设置连通关系的站点,与候选网络中除全部站点外的网络构成的网络,作为第二子网络;以第二子网络的运输成本最小为目标,确定当前遍历站点与多个分拣中心中的至少一个第二分拣中心的后项连通关系;根据每个站点的后项连通关系,确定网络的上界值。On the basis of the connection relationship in the preceding item, traverse the sites in the candidate network that do not have a connection relationship, and use the network formed by the currently traversed site, the site that has a connection relationship, and the network except all the sites in the candidate network as the second sub-network; Aiming at the minimum transportation cost of the second sub-network, determine the subsequent connection relationship between the current traversal site and at least one second sorting center among the plurality of sorting centers; upper bound value.
在一些实施方式中,上界值确定单元,可以设置为:In some embodiments, the upper limit value determination unit can be set to:
将当前遍历站点与多个分拣中心中的每个第二分拣中心建立连通关系,确定与当前建立连通关系的第二分拣中心对应的,从多个仓库到当前遍历站点的运输成本的和;根据与每个第二分拣中心对应的运输成本的和,确定当前遍历站点与至少一个第二分拣中心中的第二目标中心的后项连通关系。Establish a connection relationship between the current traversal site and each second sorting center in multiple sorting centers, and determine the transportation cost from multiple warehouses to the current traversal site corresponding to the second sorting center with the current connection relationship and; according to the sum of the transportation costs corresponding to each second sorting center, determine the subsequent connection relationship between the current traverse station and the second target center in at least one second sorting center.
在一些实施方式中,物流配送网络的确定装置,还可以包括:In some embodiments, the means for determining the logistics distribution network may also include:
队列添加模块,设置为将每个候选网络添加至优先级队列中;其中,优先级队列中按不同候选网络的下界值设置优先级;相应的,评估模块可以设置为:根据优先级确定当前循环中的候选网络中的父节点。The queue addition module is set to add each candidate network to the priority queue; wherein, the priority is set in the priority queue according to the lower bound value of different candidate networks; correspondingly, the evaluation module can be set to: determine the current cycle according to the priority The parent node in the candidate network in .
在一些实施方式中,评估模块,可以设置为:In some implementations, the assessment module can be set to:
确定当前循环中确定的父节点的下界值和上界值的相对差值,若相对差值小于或等于预设阈值,则停止循环。Determine the relative difference between the lower bound value and the upper bound value of the parent node determined in the current loop, and stop the loop if the relative difference is less than or equal to a preset threshold.
本申请实施例提供的物流配送网络的确定装置,与上述实施例提供的物流配送网络的确定方法属于同一构思,未在本申请实施例中详尽描述的技术细节可参见上述实施例,并且本申请实施例与上述实施例具有相同的效果。The device for determining the logistics distribution network provided in the embodiment of the present application belongs to the same concept as the method for determining the logistics distribution network provided in the above-mentioned embodiment. For technical details not described in detail in the embodiment of the present application, please refer to the above-mentioned embodiment, and this application The embodiment has the same effect as the above-described embodiment.
实施例六Embodiment six
图8是本申请实施例六提供的一种终端设备的硬件结构示意图。本申请实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图8示出的终端设备800仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。FIG. 8 is a schematic diagram of a hardware structure of a terminal device provided in Embodiment 6 of the present application. The terminal equipment in the embodiment of the present application may include but not limited to mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital televisions (Television, TV), desktop computers, etc. The terminal device 800 shown in FIG. 8 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
如图8所示,终端设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(Read-Only Memory,ROM)802中的程序或者从存储装置808加载到随机访问存储器(Random Access Memory,RAM)803中的程序而执行多种适当的动作和处理。在RAM 803中,还存储有终端设备800操作所需的多种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(Input/Output,I/O)接口805也连接至总线804。As shown in FIG. 8, a terminal device 800 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 801, which may be stored in a read-only memory (Read-Only Memory, ROM) 802 according to the Various appropriate actions and processes are performed by a program loaded into a random access memory (Random Access Memory, RAM) 803 by 808 . In the RAM 803, various programs and data necessary for the operation of the terminal device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input/output (Input/Output, I/O) interface 805 is also connected to the bus 804 .
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许终端设备800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有多种装置的终端设备800,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I/O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; including, for example, a liquid crystal display (Liquid Crystal Display, LCD) , an output device 807 such as a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication means 809 may allow the terminal device 800 to perform wireless or wired communication with other devices to exchange data. Although FIG. 8 shows a terminal device 800 having various means, it is not required to implement or possess all of the means shown. More or fewer means may alternatively be implemented or provided.
根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软 件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本申请实施例提供的物流配送网络的确定方法中限定的上述功能。According to an embodiment of the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, the embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 809, or from storage means 808, or from ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method for determining the logistics delivery network provided in the embodiment of the present application are executed.
本申请实施例提供的终端与上述实施例提供的物流配送网络的确定方法属于同一构思,未在本申请实施例中详尽描述的技术细节可参见上述实施例,并且本申请实施例与上述实施例具有相同的效果。The terminal provided in the embodiment of the present application and the method for determining the logistics distribution network provided in the above embodiment belong to the same concept. For technical details not described in detail in the embodiment of the present application, please refer to the above embodiment, and the embodiment of the present application is consistent with the above embodiment has the same effect.
实施例七Embodiment seven
本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的物流配送网络的确定方法。An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for determining a logistics distribution network provided in the foregoing embodiments is implemented.
本申请实施例上述的计算机可读存储介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、Read-Only Memory,ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,Erasable Programmable Read-Only Memory,EPROM)或闪存(FLASH)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。The above-mentioned computer-readable storage medium in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. Examples of computer readable storage media may include, but are not limited to: electrical connections with one or more conductors, portable computer disks, hard disks, RAM, Read-Only Memory, ROM, Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory) -Only Memory, Erasable Programmable Read-Only Memory, EPROM) or flash memory (FLASH), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or the above any suitable combination. In the embodiments of the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, device or device. However, in the embodiment of the present application, the computer-readable signal medium may include a data signal propagated in the baseband or as a part of the carrier wave, and the computer-readable program code is carried therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . The program code contained on the computer readable medium can be transmitted by any appropriate medium, including but not limited to: electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(Hyper Text Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。 通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some implementations, the client and the server can communicate using any currently known or future-developed network protocols such as Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP), and can communicate with any form or medium of digital Data communication (eg, communication network) interconnections. Examples of communication networks include local area networks (Local Area Network, LAN), wide area networks (Wide Area Network, WAN), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently existing networks that are known or developed in the future.
上述计算机可读存储介质可以是上述终端设备中所包含的,也可以是单独存在,而未装配入该终端设备中的。The above-mentioned computer-readable storage medium may be contained in the above-mentioned terminal device, or may exist independently without being assembled into the terminal device.
上述终端设备存储承载有一个或者多个程序,当上述一个或者多个程序被该终端设备执行时,使得该终端设备:The terminal device stores one or more programs, and when the one or more programs are executed by the terminal device, the terminal device:
将初始网络作为候选网络,确定初始网络的下界值和上界值;初始网络中多个分拣中心间的连通关系是预先设置的;在当前循环中将具有最小下界值的候选网络确定为父节点,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环;若不停止循环,则通过在父节点基础上设置站点与分拣中心的后项连通关系,生成父节点的子节点;根据子节点的下界值更新当前循环中的候选网络,并进入下一循环;若停止循环,则将与停止循环时确定的父节点的上界值对应的网络确定为物流配送网络;其中,下界值为基于对应网络中仓库与分拣中心的前项连通关系确定的运输成本;上界值为在前项连通关系基础上,基于对应网络中站点与分拣中心的后项连通关系确定的运输成本。The initial network is used as the candidate network, and the lower and upper bound values of the initial network are determined; the connection relationship between multiple sorting centers in the initial network is preset; in the current cycle, the candidate network with the smallest lower bound value is determined as the parent The node determines whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop; if the loop does not stop, then by setting the subsequent connection relationship between the station and the sorting center on the basis of the parent node, Generate child nodes of the parent node; update the candidate network in the current cycle according to the lower bound value of the child node, and enter the next cycle; if the cycle is stopped, the network corresponding to the upper limit value of the parent node determined when the cycle is stopped is determined as Logistics distribution network; wherein, the lower bound value is the transportation cost determined based on the previous connection relationship between the warehouse and the sorting center in the corresponding network; the upper bound value is based on the previous connection relationship, based on the corresponding network. The transportation cost determined by the connectivity relationship of the latter item.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. Where a remote computer is involved, the remote computer can be connected to the user computer through any kind of network, including a LAN or WAN, or it can be connected to an external computer (eg via the Internet using an Internet Service Provider).
附图中的流程图和框图,图示了按照本申请多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能页可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用 硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在一种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. Wherein, the name of the unit does not constitute a limitation of the unit itself in one case.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范样式的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programming Logic Device,CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary forms of hardware logic components that may be used include: Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Products (Application Specific Standard Parts, ASSP), System on Chip (System on Chip, SOC), Complex Programmable Logic Device (Complex Programming Logic Device, CPLD) and so on.

Claims (12)

  1. 一种物流配送网络的确定方法,包括:A method for determining a logistics distribution network, comprising:
    将初始网络作为候选网络,确定所述初始网络的下界值和上界值;其中,所述初始网络中多个分拣中心间的连通关系是预先设置的;Using the initial network as a candidate network, determine the lower bound value and upper bound value of the initial network; wherein, the connectivity relationship between multiple sorting centers in the initial network is preset;
    在当前循环中将具有最小下界值的候选网络确定为父节点,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环;Determine the candidate network with the minimum lower bound value as the parent node in the current loop, and determine whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop;
    响应于不停止循环,通过在所述父节点基础上设置站点与分拣中心的后项连通关系,生成所述父节点的子节点;根据所述子节点的下界值更新当前循环中的候选网络,并进入下一循环;In response to not stopping the cycle, by setting the subsequent connected relationship between the station and the sorting center on the basis of the parent node, the child node of the parent node is generated; the candidate network in the current cycle is updated according to the lower bound value of the child node , and enter the next cycle;
    响应于停止循环,将与停止循环的情况下确定的父节点的上界值对应的网络确定为物流配送网络;In response to stopping the loop, determining the network corresponding to the upper bound value of the parent node determined in the case of stopping the loop as the logistics distribution network;
    其中,所述下界值为基于对应网络中仓库与分拣中心的前项连通关系确定的运输成本;所述上界值为在所述前项连通关系基础上,基于对应网络中站点与分拣中心的后项连通关系确定的运输成本。Wherein, the lower bound value is the transportation cost determined based on the previous connection relationship between the warehouse and the sorting center in the corresponding network; The transport cost is determined by the subsequent connectivity relationship of the center.
  2. 根据权利要求1所述的方法,其中,所述通过在所述父节点基础上设置站点与分拣中心的后项连通关系,生成所述父节点的子节点,包括:The method according to claim 1, wherein said generating a child node of said parent node by setting a subsequent connected relationship between a station and a sorting center on the basis of said parent node includes:
    从所述父节点中未设置连通关系的站点中选取第一站点;Selecting the first site from the sites with no connection relationship set in the parent node;
    将在所述父节点基础上设置有所述第一站点与分拣中心的后项连通关系的网络,确定为所述父节点的子节点。Determining the network with the subsequent connected relationship between the first station and the sorting center based on the parent node as a child node of the parent node.
  3. 根据权利要求1所述的方法,其中,所述根据所述子节点的下界值更新当前循环中的候选网络的,包括:The method according to claim 1, wherein said updating the candidate network in the current cycle according to the lower bound value of the child node comprises:
    在所述子节点的下界值小于所述父节点的上界值的情况下,将所述子节点作为新的候选网络,并删除所述父节点。When the lower bound value of the child node is smaller than the upper bound value of the parent node, the child node is used as a new candidate network, and the parent node is deleted.
  4. 根据权利要求1所述的方法,其中,所述下界值的确定方式,包括:The method according to claim 1, wherein the method of determining the lower limit value comprises:
    遍历所述候选网络中的每个仓库,将当前遍历仓库与所述候选网络中除全部仓库外的网络构成的网络,作为第一子网络;Traverse each warehouse in the candidate network, and use the network formed by the currently traversed warehouse and the network except all warehouses in the candidate network as the first sub-network;
    以所述第一子网络的运输成本最小为目标,确定当前遍历仓库与所述多个分拣中心中的至少一个第一分拣中心的前项连通关系;With the minimum transportation cost of the first sub-network as the goal, determine the previous connection relationship between the currently traversed warehouse and at least one first sorting center among the plurality of sorting centers;
    根据每个仓库的前项连通关系,确定所述候选网络的下界值。Determine the lower bound value of the candidate network according to the previous connected relationship of each warehouse.
  5. 根据权利要求4所述的方法,其中,所述以所述第一子网络的运输成本最小为目标,确定当前遍历仓库与所述多个分拣中心中的至少一个第一分拣中心的前项连通关系,包括:The method according to claim 4, wherein, with the goal of minimizing the transportation cost of the first sub-network, determining the distance between the currently traversed warehouse and at least one first sorting center among the plurality of sorting centers Item connectivity, including:
    将当前遍历仓库与所述多个分拣中心中的每个第一分拣中心建立连通关系,确定从当前建立连通关系的第一分拣中心到多个站点的最小运输成本的和;Establishing a connected relationship between the current traversing warehouse and each first sorting center in the plurality of sorting centers, and determining the sum of the minimum transportation costs from the first sorting center currently establishing a connected relationship to multiple sites;
    根据与每个第一分拣中心对应的最小运输成本的和,确定当前遍历仓库与所述至少一个第一分拣中心中的第一目标中心的前项连通关系。According to the sum of the minimum transportation costs corresponding to each first sorting center, determine the previous connection relationship between the currently traversed warehouse and the first target center in the at least one first sorting center.
  6. 根据权利要求1所述的方法,其中,所述上界值的确定方式,包括:The method according to claim 1, wherein the method of determining the upper limit value comprises:
    在所述前项连通关系基础上,遍历所述候选网络中未设置连通关系的站点,将当前遍历站点、设置连通关系的站点,与所述候选网络中除全部站点外的网络构成的网络,作为第二子网络;On the basis of the connectivity relationship in the preceding item, traverse the sites in the candidate network that do not have a connectivity relationship, and combine the currently traversed sites and the sites that have a connectivity relationship with the network formed by the networks except all the sites in the candidate network, as a second sub-network;
    以所述第二子网络的运输成本最小为目标,确定当前遍历站点与所述多个分拣中心中的至少一个第二分拣中心的后项连通关系;With the minimum transportation cost of the second sub-network as the goal, determine the subsequent connection relationship between the current traversed site and at least one second sorting center among the plurality of sorting centers;
    根据每个站点的后项连通关系,确定所述候选网络的上界值。The upper limit value of the candidate network is determined according to the subsequent connectivity relationship of each site.
  7. 根据权利要求6所述的方法,其中,所述以所述第二子网络的运输成本最小为目标,确定当前遍历站点与所述多个分拣中心中的至少一个第二分拣中心的后项连通关系,包括:The method according to claim 6, wherein, with the goal of minimizing the transportation cost of the second sub-network, determining the distance between the current traversal site and at least one second sorting center in the plurality of sorting centers Item connectivity, including:
    将当前遍历站点与所述多个分拣中心中的每个第二分拣中心建立连通关系,确定与当前建立连通关系的第二分拣中心对应的,从多个仓库到当前遍历站点的运输成本的和;Establish a connection relationship between the current traversal site and each second sorting center in the plurality of sorting centers, and determine the transportation from the multiple warehouses to the current traversal site corresponding to the second sorting center with the current connection relationship established sum of costs;
    根据与每个第二分拣中心对应的运输成本的和,确定当前遍历站点与所述至少一个第二分拣中心中的第二目标中心的后项连通关系。According to the sum of the transportation costs corresponding to each second sorting center, determine the subsequent connection relationship between the current traversed site and the second target center in the at least one second sorting center.
  8. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    将每个候选网络添加至优先级队列中;其中,所述优先级队列中按不同候选网络的下界值设置优先级;Adding each candidate network to a priority queue; wherein, the priority is set according to the lower bound value of different candidate networks in the priority queue;
    所述在当前循环中将具有最小下界值的候选网络确定为父节点,包括:The determining the candidate network with the minimum lower bound value as the parent node in the current cycle includes:
    根据优先级确定当前循环中的候选网络中的父节点。Determine the parent node in the candidate network in the current cycle according to the priority.
  9. 根据权利要求1所述的方法,其中,所述根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环,包括:The method according to claim 1, wherein, determining whether to stop the loop according to the difference between the lower bound value and the upper bound value of the parent node determined in the current loop includes:
    确定当前循环中确定的父节点的下界值和上界值的相对差值,在所述相对差值小于或等于预设阈值的情况下,停止循环。Determine the relative difference between the lower limit value and the upper limit value of the parent node determined in the current cycle, and stop the cycle when the relative difference value is less than or equal to a preset threshold.
  10. 一种物流配送网络的确定装置,包括:A device for determining a logistics distribution network, comprising:
    初始化模块,设置为将初始网络作为候选网络,确定所述初始网络的下界值和上界值;其中,所述初始网络中多个分拣中心间的连通关系是预先设置的;The initialization module is configured to use the initial network as a candidate network, and determine the lower limit value and the upper limit value of the initial network; wherein, the connection relationship between multiple sorting centers in the initial network is preset;
    评估模块,设置为在当前循环中将具有最小下界值的候选网络确定为父节点,根据当前循环中确定的父节点的下界值和上界值的差距值,确定是否停止循环;The evaluation module is configured to determine the candidate network with the smallest lower bound value as the parent node in the current cycle, and determine whether to stop the cycle according to the difference between the lower bound value and the upper bound value of the parent node determined in the current cycle;
    分支定界模块,设置为响应于不停止循环,通过在所述父节点基础上设置站点与分拣中心的后项连通关系,生成所述父节点的子节点;根据所述子节点的下界值更新当前循环中的候选网络,并进入下一循环;A branch-and-bound module, configured to respond to the non-stop loop, by setting the subsequent connection relationship between the station and the sorting center on the basis of the parent node, to generate a child node of the parent node; according to the lower bound value of the child node Update the candidate network in the current cycle and enter the next cycle;
    网络确定模块,设置为响应于停止循环,将与停止循环的情况下确定的父节点的上界值对应的网络确定为物流配送网络;The network determination module is configured to determine the network corresponding to the upper bound value of the parent node determined in the case of stopping the loop as the logistics distribution network in response to stopping the loop;
    其中,所述下界值为基于对应网络中仓库与分拣中心的前项连通关系确定的运输成本;所述上界值为在所述前项连通关系基础上,基于对应网络中站点与分拣中心的后项连通关系确定的运输成本。Wherein, the lower bound value is the transportation cost determined based on the previous connection relationship between the warehouse and the sorting center in the corresponding network; The transport cost is determined by the subsequent connectivity relationship of the center.
  11. 一种终端设备,包括:A terminal device comprising:
    至少一个处理器;at least one processor;
    存储器,设置为存储至少一个程序;a memory configured to store at least one program;
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-9中任一所述的物流配送网络的确定方法。When the at least one program is executed by the at least one processor, the at least one processor is made to implement the method for determining the logistics distribution network according to any one of claims 1-9.
  12. 一种计算机可读存储介质,存储有计算机程序,所述程序被处理器执行时实现如权利要求1-9中任一所述的物流配送网络的确定方法。A computer-readable storage medium storing a computer program, the program implementing the method for determining a logistics distribution network according to any one of claims 1-9 when the program is executed by a processor.
PCT/CN2022/135277 2021-11-30 2022-11-30 Logistics distribution network determination method and apparatus, terminal device, and storage medium WO2023098698A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111444293.9 2021-11-30
CN202111444293.9A CN114154930A (en) 2021-11-30 2021-11-30 Method and device for determining logistics distribution network, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023098698A1 true WO2023098698A1 (en) 2023-06-08

Family

ID=80454918

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/135277 WO2023098698A1 (en) 2021-11-30 2022-11-30 Logistics distribution network determination method and apparatus, terminal device, and storage medium

Country Status (2)

Country Link
CN (1) CN114154930A (en)
WO (1) WO2023098698A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114154930A (en) * 2021-11-30 2022-03-08 北京京东振世信息技术有限公司 Method and device for determining logistics distribution network, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130061203A1 (en) * 2011-09-06 2013-03-07 International Business Machines Corporation Modeling Task-Site Allocation Networks
US20190394737A1 (en) * 2017-03-07 2019-12-26 Huawei Technologies Co., Ltd. Parent Node Selection Method and Network Node
CN111667085A (en) * 2019-03-08 2020-09-15 北京京东尚科信息技术有限公司 Method, device, medium and electronic equipment for determining logistics routing network
CN113259144A (en) * 2020-02-07 2021-08-13 北京京东振世信息技术有限公司 Storage network planning method and device
CN114154930A (en) * 2021-11-30 2022-03-08 北京京东振世信息技术有限公司 Method and device for determining logistics distribution network, terminal equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130061203A1 (en) * 2011-09-06 2013-03-07 International Business Machines Corporation Modeling Task-Site Allocation Networks
US20190394737A1 (en) * 2017-03-07 2019-12-26 Huawei Technologies Co., Ltd. Parent Node Selection Method and Network Node
CN111667085A (en) * 2019-03-08 2020-09-15 北京京东尚科信息技术有限公司 Method, device, medium and electronic equipment for determining logistics routing network
CN113259144A (en) * 2020-02-07 2021-08-13 北京京东振世信息技术有限公司 Storage network planning method and device
CN114154930A (en) * 2021-11-30 2022-03-08 北京京东振世信息技术有限公司 Method and device for determining logistics distribution network, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN114154930A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
WO2023092792A1 (en) Optimization method for modeling based on federated learning, and electronic device, storage medium and program product
US20150356703A1 (en) Arranging a transport service based on computed vectors associated with service providers
WO2023098698A1 (en) Logistics distribution network determination method and apparatus, terminal device, and storage medium
US11651498B2 (en) Method for accelerating three-dimensional object segmentation with point cloud simplifications
CN112650841A (en) Information processing method and device and electronic equipment
CN110781373A (en) List updating method and device, readable medium and electronic equipment
WO2023116138A1 (en) Modeling method for multi-task model, promotional content processing method, and related apparatuses
CN110390493A (en) Task management method, device, storage medium and electronic equipment
WO2022188534A1 (en) Information pushing method and apparatus
CN113255950B (en) Method and device for optimizing logistics network
CN113673446A (en) Image recognition method and device, electronic equipment and computer readable medium
WO2023185896A1 (en) Text generation method and apparatus, and computer device and storage medium
CN113837808B (en) Promotion information pushing method, device, equipment, medium and product
WO2022063157A1 (en) Parameter configuration method and related system
CN114666263A (en) High-dynamic intelligent route determining method and device, electronic equipment and storage medium
CN111582456A (en) Method, apparatus, device and medium for generating network model information
CN113778078A (en) Positioning information generation method and device, electronic equipment and computer readable medium
CN116755889B (en) Data acceleration method, device and equipment applied to server cluster data interaction
CN110752958A (en) User behavior analysis method, device, equipment and storage medium
CN116521377B (en) Service computing unloading method, system, device, equipment and medium
CN111582482B (en) Method, apparatus, device and medium for generating network model information
US20230334096A1 (en) Graph data processing method and apparatus, computer device, and storage medium
CN110633707A (en) Method and device for predicting speed
CN116822259B (en) Evaluation information generation method and device based on scene simulation and electronic equipment
WO2023202244A1 (en) Waybill volume splitting method and apparatus, and electronic device and computer-readable medium

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: 22900502

Country of ref document: EP

Kind code of ref document: A1