Travel plan generation device, travel plan generation method, and program

The use of a recurrent neural network with an attention mechanism in vehicle routing problems generates nearly optimal tour plans by dynamically updating mask information to exclude previously selected points, improving route efficiency and avoiding inefficiencies.

JP7548411B2Active Publication Date: 2024-09-10NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023504925
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-09
Publication Date
2024-09-10
Estimated Expiration
2041-03-09

AI Technical Summary

Technical Problem

Existing methods for generating vehicle tour plans, particularly in scenarios involving multiple vehicles, often result in less-than-optimal solutions due to constraints and restrictions, making it difficult to achieve a strictly optimal itinerary plan.

Method used

A recurrent neural network (RNN) with an attention mechanism is employed to generate tour plans by outputting visit probabilities for multiple locations, using mask information to exclude previously selected points and selecting the most probable points for each vehicle while updating mask information to avoid inefficiencies.

Benefits of technology

This approach enables the generation of nearly optimal tour plans by avoiding inefficient route selections and looping, resulting in more effective vehicle routing solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548411000010
    Figure 0007548411000010
  • Figure 0007548411000017
    Figure 0007548411000017
  • Figure 0007548411000012
    Figure 0007548411000012
Patent Text Reader

Abstract

A circuit plan generation device according to one embodiment of the present invention which is equipped with a generation unit which, when point information pertaining to a plurality of points and moving body information pertaining to a plurality of moving bodies are inputted thereto, generates a circuit plan for making a circuit between the plurality of points via the plurality of moving bodies by performing processing for selecting one point among the plurality of points for each output step by using a recurrent neural network configured so as to output the probability of visiting the plurality of points and mask information indicating non-selectable points among the plurality of points, and also equipped with an output unit for outputting the circuit plan, wherein the points which have already been selected for the plurality of moving bodies except for the point which was selected the previous time are set as non-selectable points for each moving body in the mask information for each moving body.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to combinatorial optimization of problems such as vehicle routing problems (VRPs). [Background technology]

[0002] The delivery planning problem is a problem of finding an optimal route plan under various constraints (e.g., the number of vehicles and the loading capacity of the vehicles) when delivering or collecting packages such as parcels for home delivery or relief supplies for disaster areas to multiple locations. The route plan includes the route for each vehicle. An optimal route plan is, for example, a route plan that has the shortest total route distance.

[0003] Because the number of route patterns (combinations) is enormous, it is difficult to derive a strictly optimal route plan. For this reason, an approach that utilizes machine learning to quickly obtain a nearly optimal route plan is being adopted.

[0004] In an approach to solving a delivery planning problem using machine learning, a method using a recurrent neural network (RNN) with an attention mechanism is known. Non-Patent Document 1 and Non-Patent Document 2 disclose a method for obtaining a route plan when there is one vehicle. Non-Patent Document 3 discloses a method for obtaining a route plan when there are multiple vehicles under a rule that the vehicles select visiting points in a predetermined order. In Non-Patent Document 3, the above rule imposes restrictions on the route plans that can be output. For this reason, depending on the problem case, a route plan that cannot be said to be optimal may be obtained. [Prior art documents] [Non-patent literature]

[0005] [Non-Patent Document 1] Irwan Bello, Hieu Pham, Quoc V. Le, Mohammad Norouzi, and Samy Bengio, “Neural Combinatorial Optimization with Reinforcement Learning,” arXiv preprint, arXiv:1611.09940, 2016. [Non-Patent Document 2] Mohammadreza Nazari, Afshin Oroojlooy, Martin Takac, and Lawrence V. Snyder, “Reinforcement Learning for Solving the Vehicle Routing Problem,” 32nd Conference on Neural Information Processing Systems (2018). [Non-Patent Document 3] Jose Manuel Vera and Andres G. Abad, “Deep Reinforcement Learning for Routing a Heterogeneous Fleet of Vehicles,” IEEE LA-CCI, 2019. Summary of the Invention [Problem to be solved by the invention]

[0006] The present invention aims to provide a technique that makes it possible to obtain a near-optimal itinerary plan. [Means for solving the problem]

[0007] A travel plan generation device according to one embodiment of the present invention comprises a generation unit that generates a travel plan for traveling around the multiple locations with the multiple moving objects by performing a process of selecting one of the multiple locations at each output step using a recurrent neural network configured to output the visiting probability of the multiple locations when location information for a plurality of locations and mobile object information for a plurality of moving objects are input, and mask information indicating unselectable locations among the multiple locations, and an output unit that outputs the travel plan, and in the mask information for each moving object, locations already selected for the multiple moving objects, excluding the location previously selected for each moving object, are set as the unselectable locations. Effect of the Invention

[0008] According to the present invention, techniques are provided that allow for obtaining near optimal itinerary plans. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a block diagram showing a traveling schedule generating device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram showing an RNN used by the travel plan generating unit shown in FIG. [Diagram 3] FIG. 3 is a diagram showing a specific example of an RNN used by the travel plan generating unit shown in FIG. [Figure 4] FIG. 4 is a diagram showing a problem example handled by the travel plan generating device of FIG. [Diagram 5] FIG. 5 is a block diagram showing a hardware configuration of the traveling schedule generating device of FIG. [Figure 6] FIG. 6 is a block diagram showing a learning device according to an embodiment of the present invention. [Figure 7] FIG. 7 is a flowchart showing the operation of the traveling schedule generating device of FIG. [Figure 8] FIG. 8 is a flowchart showing the operation of the traveling schedule generating device of FIG. [Figure 9]FIG. 9 is a diagram for explaining the operation of the traveling schedule generating device of FIG. [Figure 10] FIG. 10 is a diagram for explaining a traveling schedule generating process in the traveling schedule generating device of FIG. [Figure 11] FIG. 11 is a diagram for explaining a travel schedule generation process in the prior art. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0011] [composition] FIG. 1 is a schematic diagram of a travel plan generating device 100 according to an embodiment of the present invention. The travel plan generating device 100 shown in FIG. 1 generates a travel plan for a plurality of vehicles to travel to a plurality of locations. For example, the travel plan generating device 100 determines routes (paths) for a plurality of vehicles in order to deliver packages to a plurality of locations by the plurality of vehicles. The purpose of the vehicles visiting the locations is not limited to the delivery of packages. For example, the purpose may be the collection of packages. The purpose may also be an action that does not involve the exchange of packages. The travel plan includes a route for each vehicle. The route for each vehicle indicates the locations and the order in which the vehicle will visit.

[0012] In the example shown in FIG. 1, the traveling plan generating device 100 includes an input unit 102, a traveling plan generating unit 104, a traveling plan output unit 106, a learning parameter acquiring unit 108, and a learning parameter storage unit 112.

[0013] The learning parameter acquisition unit 108 acquires learning parameters determined by a learning device 600 (FIG. 6) described later, and stores the learning parameters in the learning parameter storage unit 112. In an example in which the traveling plan generation device 100 is connected to the learning device 600 via a network, the learning parameter acquisition unit 108 receives the learning parameters from the learning device 600 via the network. The learning parameters include weights to be applied to the neural network used by the traveling plan generation unit 104.

[0014] The input unit 102 acquires, as input data, point information related to a plurality of points and vehicle information related to a plurality of vehicles. In an example in which the travel plan generating device 100 is connected to a terminal device used by a human operator via a network, the input unit 102 receives input data from the terminal device via the network. Alternatively, the input unit 102 may receive input data from an input device (e.g., a keyboard) connected to the travel plan generating device 100. The input data includes information indicating a problem case for which a travel plan is to be generated. The point information includes information indicating the positions of a plurality of points and a load requirement (e.g., the amount of load to be delivered). The vehicle information includes information indicating the positions and loading capacity (e.g., the amount of load that can be loaded) of a plurality of vehicles.

[0015] The travel plan generating unit 104 generates a travel plan based on the vehicle information and the location information acquired by the input unit 102. The travel plan generating unit 104 may use a pre-trained recurrent neural network (RNN) equipped with an attention mechanism to generate the travel plan. The travel plan generating unit 104 acquires learning parameters from the learning parameter storage unit 112 and applies the learning parameters to the RNN.

[0016] The RNN is configured to output the visiting probability of a plurality of points when the point information and the vehicle information are input. The visiting probability of each point is the probability that a vehicle will come to deliver a package to that point under a certain situation, and represents the likelihood of visiting that point under a certain situation. The travel plan generating unit 104 holds mask information indicating unselectable points among the plurality of points for each vehicle. The travel plan generating unit 104 performs a process of selecting one of the plurality of points using the RNN and the mask information for each output step, and obtains a travel plan as a result. The process includes selecting one of the plurality of vehicles in a predetermined order. Hereinafter, the vehicle selected at each output step is also referred to as a target vehicle. The output step is also referred to as a time step.

[0017] The travel plan output unit 106 outputs the travel plan generated by the travel plan generating unit 104. For example, the travel plan output unit 106 transmits the travel plan to the terminal device via a network. Alternatively, the travel plan output unit 106 may display the travel plan on a display device connected to the travel plan generating device 100.

[0018] Fig. 2 illustrates an example of an RNN used by the tour plan generating unit 104. In the example illustrated in Fig. 2, the RNN includes an encoder 202 and a decoder 204 as RNN modules, and an attention mechanism 206.

[0019] The travel plan generating unit 104 inputs the point information and the vehicle information to the encoder 202. The encoder 202 embeds the point information and the vehicle information in a space with a fixed number of dimensions. Specifically, the encoder 202 generates an embedding vector with a fixed number of dimensions corresponding to the point information, and generates an embedding vector with a fixed number of dimensions corresponding to the vehicle information. Hereinafter, the embedding vector corresponding to the point information is also referred to as a point information vector, and the embedding vector corresponding to the vehicle information is also referred to as a vehicle information vector. The encoder 202 provides the point information vector and the vehicle information vector to the attention mechanism 206.

[0020] The decoder 204 receives information about the location selected in the previous output step from the travel plan generator 104, and generates a hidden vector based on the received information. The decoder 204 holds the hidden vector generated in the previous output step, and uses the held hidden vector to generate a new hidden vector. Specifically, the decoder 204 generates a hidden vector in the current output step based on information about the location selected in the previous output step and the hidden vector generated by itself in the previous output step. The decoder 204 provides the generated hidden vector to the attention mechanism 206.

[0021] The attention mechanism 206 calculates the visiting probability of a location based on the location information vector and the vehicle information vector received from the encoder 202 and the hidden vector received from the decoder 204.

[0022] FIG. 3 is a schematic diagram of an example of the RNN shown in FIG. t is a vector that represents the location information at output step t. Vector X t can be expressed as follows:

number

[0023] Z t is a vector that represents the vehicle information at output step t. Vector Z t can be expressed as follows:

number

[0024] Fig. 4 shows an example of a problem case handled by the travel schedule generating device 100. Specifically, Fig. 4 shows a problem case in which vehicles z1, z2, and z3 with a loading capacity of "10" are present at a starting point at coordinates (0.5, 0.5), and a requested amount of "8" cargo is delivered to point x1 at coordinates (0.1, 0.1), a requested amount of "3" cargo is delivered to point x2 at coordinates (0.1, 0.9), and a requested amount of "5" cargo is delivered to point x3 at coordinates (0.9, 0.1). In this case, vectors X0 and Z0 corresponding to the point information and vehicle information acquired by the input unit 102, respectively, are expressed as follows.

number

[0025] Referring again to FIG. 3, y t =x i t represents the information about the point selected at output step t. t is a vector that represents information about the points selected in output steps 0 to t. t can be expressed as follows:

number

[0026] The attention mechanism 206 receives the point information vector and the vehicle information vector from the encoder 202. The point information vector is a vector X t The embedding vector is generated from the vector Z t is the embedding vector generated from

number

[0027] The attention mechanism 206 calculates the location information vector, the vehicle information vector, and the hidden vector h t Based on this, we estimate the attention vector u t Generate the attention vector u t can be expressed as follows:

number

[0028] The attention mechanism 206 calculates the attention vector u t Based on this, the visiting probability P(y t+1 |Y t ,X t ) is calculated. t+1 |Y t ,X t ) can be expressed as follows:

number

[0029] The travel plan generating unit 104 selects one of the points excluding the points indicated as unselectable points in the mask information of the target vehicle based on the visit probability of the point output from the RNN. For example, the travel plan generating unit 104 changes the visit probability of the points indicated as unselectable points in the mask information of the target vehicle to zero, and then selects the point with the highest visit probability. The travel plan generating unit 104 adds the selected point to the route of the target vehicle.

[0030] The travel plan generating unit 104 updates the mask information based on the selected point. When the newly selected point for the target vehicle is different from the point previously selected for the target vehicle, the travel plan generating unit 104 adds the point previously selected for the target vehicle to the mask information of the target vehicle as a non-selectable point. When the newly selected point for the target vehicle is different from the point previously selected for the target vehicle, the travel plan generating unit 104 adds the newly selected point for the target vehicle to the mask information of the vehicles other than the target vehicle as a non-selectable point. When the newly selected point for the target vehicle is the same as the point previously selected for the target vehicle and the newly selected points for the multiple vehicles other than the target vehicle are the same as the point previously selected for the multiple vehicles other than the target vehicle, the travel plan generating unit 104 adds the point previously selected for each vehicle to the mask information of each vehicle as a non-selectable point.

[0031] Fig. 5 illustrates an example of a hardware configuration of the traveling schedule generating device 100. In the example illustrated in Fig. 5, the traveling schedule generating device 100 includes a processor 501, a RAM (Random Access Memory) 502, a program memory 503, a storage device 504, and an input / output interface 505. The processor 501 controls the RAM 502, the program memory 503, the storage device 504, and the input / output interface 505, and exchanges signals with them.

[0032] The processor 501 includes a general-purpose circuit such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The RAM 502 is used by the processor 501 as a working memory. For example, the RAM 502 is used to hold mask information. The RAM 502 includes a volatile memory such as an SDRAM. The program memory 503 stores programs executed by the processor 501, including a travel plan generation program. The programs include computer-executable instructions. For example, a ROM is used as the program memory 503. A partial area of ​​the storage device 504 may be used as the program memory 503.

[0033] The processor 501 loads the program stored in the program memory 503 into the RAM 502, and interprets and executes the program. When the traveling plan generation program is executed by the processor 501, it causes the processor 501 to perform a series of processes including the processes described in relation to the traveling plan generation unit 104 of the traveling plan generation device 100.

[0034] The program may be provided to the traveling plan generating device 100 in a state where it is stored in a computer-readable recording medium. In this case, the traveling plan generating device 100 has a drive for reading data from the recording medium and acquires the program from the recording medium. Examples of the recording medium include magnetic disks, optical disks (CD-ROM, CD-R, DVD-ROM, DVD-R, etc.), magneto-optical disks (MO, etc.), and semiconductor memories. The program may also be distributed through a network. Specifically, the program may be stored in a server on the network, and the traveling plan generating device 100 may download the program from the server.

[0035] The storage device 504 stores data such as learning parameters, etc. The storage device 504 includes a non-volatile memory such as a hard disk drive (HDD) or a solid state drive (SSD).

[0036] The input / output interface 505 includes a communication module for communicating with an external device and a plurality of terminals for connecting peripheral devices. The communication module includes a wired module and / or a wireless module. Examples of the peripheral devices include a display device, a keyboard, and a mouse. The processor 501 acquires data such as location information, vehicle information, and learning parameters via the input / output interface 505. The processor 501 outputs a tour plan via the input / output interface 505.

[0037] Fig. 6 shows an outline of a learning device 600 according to an embodiment of the present invention. The learning device 600 shown in Fig. 6 learns learning parameters of a neural network used by the traveling schedule generation device 100 shown in Fig. 1. The learning device 600 optimizes the learning parameters using the results of multiple simulations, etc.

[0038] 6, the learning device 600 includes an input unit 602, a travel plan generating unit 604, a learning unit 606, a learning parameter output unit 608, and a learning parameter storage unit 612. The learning device 600 may be realized by causing a processor to execute a program. The learning device 600 may have a hardware configuration similar to that shown in FIG.

[0039] The input unit 602 acquires a large number of learning data sets. The learning data sets are prepared, for example, by random generation. Each learning data set includes location information and vehicle information.

[0040] The travel plan generating unit 604 generates a travel plan based on each learning data set. The travel plan generating unit 604 generates a travel plan in the same manner as the travel plan generating unit 104 shown in FIG. 1. The travel plan generating unit 604 uses an RNN with the same configuration as the RNN used by the travel plan generating unit 104. The travel plan generating unit 604 generates a travel plan based on the learning data set using an RNN to which the learning parameters stored in the learning parameter storage unit 612 are applied. The learning parameters include v and W described above.

[0041] The learning unit 606 updates the learning parameters based on the traveling plan generated by the traveling plan generating unit 604. As the learning algorithm, for example, the A2C (Advantage Actor Critic) algorithm can be used.

[0042] The learning device 600 repeatedly performs processes including generating a travel schedule and updating the learning parameters. The learning parameter output unit 608 outputs the finally obtained learning parameters. For example, the learning parameter output unit 608 transmits the learning parameters to the travel schedule generating device 100 shown in FIG. 1 via a network.

[0043] Although the learning device 600 is illustrated as a device separate from the traveling plan generating device 100, the learning device 600 may exist within the traveling plan generating device 100.

[0044] [Operation] Next, the operation of the traveling schedule generating device 100 will be described.

[0045] Fig. 7 shows an outline of an example of the operation of the travel plan generating device 100 when generating a travel plan. In step S701 of Fig. 7, the travel plan generating unit 104 receives input data including location information and vehicle information from the input unit 102, and inputs the input data to the RNN encoder 202. In step S702, initialization is performed for the output step and mask information. For example, the output step t is set to 1, the selection parameter z is set to 1, and the contents of the mask information of all vehicles are erased. The vehicle identified by the selection parameter z is referred to as a target vehicle or vehicle z.

[0046] In step S703, the travel plan generating unit 104 selects one of the multiple locations by using the RNN and the mask information of the target vehicle. For example, the travel plan generating unit 104 inputs the location information and vehicle information after the processing of the output step t-1 is completed to the RNN, and obtains the visiting probability of the location from the RNN. The travel plan generating unit 104 sets the visiting probability of the location identified according to the mask information of the target vehicle to zero. Then, the travel plan generating unit 104 selects the location with the highest visiting probability.

[0047] In step S704, the travel plan generating unit 104 adds the selected point to the route of the target vehicle. If the newly selected point for the target vehicle is the same as the previously selected point for the target vehicle, the selected point is not added to the route of the target vehicle. Furthermore, the travel plan generating unit 104 generates point information and vehicle information for the next output step. In the problem case shown in FIG. 4, it is assumed that the travel plan generating unit 104 selects a point x1 and a vehicle z1. In this case, the travel plan generating unit 104 adds the point x1 to the route of the vehicle z1. The baggage requirement of the point x1 is "8", and the loading capacity of the vehicle z1 is "10". Therefore, the vehicle z1 can load all the baggage to be delivered to the point x1. The travel plan generating unit 104 changes the baggage requirement of the point x1 to zero, changes the position of the vehicle z1 to the coordinates (0.1, 0.1), and changes the loading capacity of the vehicle z1 to 2.

[0048] In step S705, the traveling schedule generator 104 updates the mask information. The mask information update in step S705 will be described later.

[0049] In step S706, the travel plan generating unit 104 judges whether or not all points have been selected. If any point has not been selected (step S706; No), the process proceeds to step S708. In step S708, the output step t is incremented by 1. If the selection parameter z is M, the selection parameter z is set to 1, otherwise, the selection parameter z is incremented by 1. The process returns to step S703, and steps S703 to S705 are repeatedly executed.

[0050] If all the points have been selected (step S706; Yes), the process proceeds to step S707. In step S707, the travel plan output unit 106 outputs the routes of the individual vehicles as a travel plan.

[0051] Fig. 8 shows an outline of an example of the operation of the travel schedule generating device 100 when updating mask information. In step S801 in Fig. 8, the travel schedule generating unit 104 judges whether or not a newly selected point for the target vehicle is the same as a previously selected point for the target vehicle. When the current output step t is t0, the newly selected point for the target vehicle refers to the point selected at output step t = t0, and the previously selected point for the target vehicle refers to the point selected at output step t = t0-M. As described above, M is the number of vehicles, and the target vehicle at output step t = t0 is the same as the target vehicle at output step t = t0-M.

[0052] If the newly selected point for the target vehicle is different from the previously selected point for the target vehicle (step S801; No), the process proceeds to step S804.

[0053] In step S804, the travel schedule generating unit 104 updates the mask information of the target vehicle. Specifically, the travel schedule generating unit 104 adds the previously selected point for the target vehicle to the mask information of the target vehicle.

[0054] In step S805, the travel schedule generating unit 104 updates the mask information of the other vehicles (all vehicles except the target vehicle). Specifically, the travel schedule generating unit 104 adds the newly selected point for the target vehicle to the mask information of the other vehicles. This ends the process.

[0055] If the newly selected point for the target vehicle is the same as the previously selected point for the target vehicle (step S801; Yes), the process proceeds to step S802. Selecting the same point as the previously selected point for the target vehicle corresponds to passing or skipping the point selection for the target vehicle.

[0056] In step S802, the travel plan generator 104 determines whether the newly selected point for the other vehicle is the same as the previously selected point for the other vehicle. If the current output step t is t0, the newly selected point for the other vehicle refers to the point selected in the output step from t0-M+1 to t0-1, and the previously selected point for each of the other vehicles refers to the point selected in the output step from t0-2M+1 to t0-M-1.

[0057] If the newly selected point for the other vehicle is the same as the previously selected point for the other vehicle (step S802; Yes), the process proceeds to step S803. In step S803, the travel schedule generating unit 104 updates the mask information of all vehicles. Specifically, the travel schedule generating unit 104 adds the previously selected point for each vehicle to the mask information of each vehicle. This ends the process.

[0058] The process of step S803 is executed when the same location is selected twice consecutively for all vehicles, thereby making it possible to avoid the process from continuing to loop.

[0059] If the newly selected point for any of the other vehicles is different from the previously selected point for that vehicle (step S802; No), the travel plan generation unit 104 does not update the mask information of any of the vehicles and the processing ends.

[0060] The mask information update will be specifically described with reference to Fig. 9. Here, a problem example is assumed in which a route for three vehicles z1, z2, and z3 to travel around ten locations x1 to x10 is generated. Vehicles z1, z2, and z3 are selected in this order.

[0061] In output step t=1, the travel plan generator 104 selects the vehicle z1 as a target vehicle and selects the point x1 as a point to be added to the route of the target vehicle z1. The travel plan generator 104 adds the point x1 to the mask information of the vehicles z2 and z3.

[0062] In output step t=2, the travel plan generator 104 selects the vehicle z2 as a target vehicle and selects the point x3 as a point to be added to the route of the target vehicle z2. The travel plan generator 104 adds the point x3 to the mask information of the vehicles z1 and z3.

[0063] In output step t=3, the travel plan generator 104 selects the vehicle z3 as a target vehicle and selects the point x5 as a point to be added to the route of the target vehicle z3. The travel plan generator 104 adds the point x5 to the mask information of the vehicles z1 and z2.

[0064] The mask information and route of each vehicle at the time when the processing of output step t=3 is completed are as shown in the upper part of Fig. 9. For example, the mask information of vehicle z1 includes points x3 and x5, and the route of vehicle z1 includes point x1.

[0065] At output step t=4, the travel plan generation unit 104 selects vehicle z1 as the target vehicle and selects point x6 as a point to add to the route of the target vehicle z1. The point previously selected for the target vehicle z1 (selected at output step t=1) is point x1. The newly selected point x6 for the target vehicle z1 is different from the point x1 previously selected for the target vehicle z1. Therefore, the travel plan generation unit 104 adds point x1 to the mask information of vehicle z1, and adds point x6 to the mask information of vehicles z2 and z3.

[0066] At output step t=5, the travel plan generation unit 104 selects vehicle z2 as the target vehicle and selects point x2 as a point to add to the route of the target vehicle z2. The point previously selected for the target vehicle z2 (selected at output step t=2) is point x3. The newly selected point x6 for the target vehicle z2 is different from point x1 previously selected for the target vehicle z2. Therefore, the travel plan generation unit 104 adds point x3 to the mask information of vehicle z2, and adds point x2 to the mask information of vehicles z1 and z3.

[0067] At output step t=6, the travel plan generation unit 104 selects vehicle z3 as the target vehicle and selects point x7 as a point to add to the route of the target vehicle z3. The point previously selected for the target vehicle z3 (selected at output step t=3) is point x5. The newly selected point x7 for the target vehicle z2 is different from the point x5 previously selected for the target vehicle z2. Therefore, the travel plan generation unit 104 adds point x5 to the mask information of vehicle z3, and adds point x7 to the mask information of vehicles z1 and z2.

[0068] The mask information and route of each vehicle at the time when the processing of output step t=6 is completed are as shown in the middle part of Fig. 9. For example, the mask information of vehicle z1 includes points x3, x5, x1, x2, and x7, and the route of vehicle z1 includes points x1 and x6.

[0069] At output step t=7, the travel plan generation unit 104 selects vehicle z1 as the target vehicle and selects point x6 as a point to add to the route of the target vehicle z1. The point previously selected for the target vehicle z1 is point x6. The newly selected point x6 for the target vehicle z1 is the same as the point x6 previously selected for the target vehicle z1. The newly selected point x7 for vehicle z3 (selected at output step t=6) is different from the point x5 previously selected for vehicle z3 (selected at output step t=3). Therefore, at output step t=7, the travel plan generation unit 104 does not update the mask information of any of the vehicles.

[0070] At output step t=8, the travel plan generating unit 104 selects vehicle z2 as a target vehicle and selects point x2 as a point to add to the route of the target vehicle z2. The point previously selected for the target vehicle z2 is point x2. The newly selected point x2 for the target vehicle z2 is the same as the point previously selected for the target vehicle z2. The newly selected point x6 (selected at output step t=7) for vehicle z1 is the same as the point x6 previously selected for vehicle z1 (selected at output step t=4). The newly selected point x7 (selected at output step t=6) for vehicle z3 is different from the point x5 previously selected for vehicle z3 (selected at output step t=3). Therefore, at output step t=8, the travel plan generating unit 104 does not update the mask information of any of the vehicles.

[0071] At output step t=9, the travel plan generating unit 104 selects the vehicle z3 as a target vehicle and selects the point x7 as a point to be added to the route of the target vehicle z3. The point previously selected for the target vehicle z3 is the point x7. The newly selected point x2 for the target vehicle z3 is the same as the point x2 previously selected for the target vehicle z3. The newly selected point x2 (selected at output step t=8) for the vehicle z2 is the same as the point x2 previously selected for the vehicle z2 (selected at output step t=5), and the newly selected point x6 (selected at output step t=7) for the vehicle z1 is the same as the point x6 previously selected for the vehicle z1 (selected at output step t=4). Therefore, the travel plan generating unit 104 adds the point x6 to the mask information of the vehicle z1, adds the point x2 to the mask information of the vehicle z2, and adds the point x7 to the mask information of the vehicle z3.

[0072] The mask information and route of each vehicle at the time when the processing of output step t=9 is completed are shown in the lower part of Fig. 9. For example, the mask information of vehicle z1 includes points x3, x5, x1, x2, x7, and x6, and the route of vehicle z1 includes points x1 and x6.

[0073] [effect] In the travel plan generating device 100 according to the present embodiment, the travel plan generating unit 104 generates a travel plan by performing a process of selecting one of the multiple locations using an RNN configured to output the visiting probability of the multiple locations when receiving location information on multiple locations and vehicle information on multiple vehicles, and mask information indicating non-selectable locations, for each output step. In the mask information of each vehicle, locations already selected for the multiple vehicles except for the location previously selected for each vehicle are set as non-selectable locations. The process includes selecting one of the multiple vehicles as a target vehicle according to a predetermined order, selecting one location from the multiple locations except for the location specified according to the mask information of the target vehicle based on the visiting probability of the multiple locations output from the RNN, adding the selected location to the route of the target vehicle, and updating the mask information based on the target vehicle and the selected location. When a newly selected point for the target vehicle is different from a previously selected point for the target vehicle, the route plan generating unit 104 adds the previously selected point for the target vehicle to the mask information of the target vehicle as a non-selectable point, and adds the newly selected point for the target vehicle to the mask information of the multiple vehicles other than the target vehicle as a non-selectable point. This makes it possible to reselect the previously selected point for each vehicle. In other words, it becomes possible not to select an unselected point for each vehicle. It is possible to avoid selecting a point that will result in an inefficient route. It becomes possible to obtain a route plan that is closer to optimal in many problem cases.

[0074] When the newly selected points for all vehicles are the same as the previously selected points, the travel plan generating unit 104 adds the previously selected points for each vehicle to the mask information of each vehicle as non-selectable points. This makes it possible to avoid a situation in which the process loops and a travel plan is not generated.

[0075] Fig. 10 shows an outline of a travel plan generation process in the travel plan generation device 100, and Fig. 11 shows an outline of a travel plan generation process in the technology disclosed in Non-Patent Document 3. In the problem case shown in Fig. 10 and Fig. 11, there are three points x1, x2, and x3, and two vehicles z1 and z2.

[0076] Both the travel plan generating device 100 and the technology disclosed in Non-Patent Document 3 generate a travel plan according to a rule that vehicles are selected in a predetermined order. For example, in the case of three vehicles z1, z2, and z3, a location to be visited by vehicle z1 is selected, then a location to be visited by vehicle z2 is selected, and then a location to be visited by vehicle z3 is selected. This operation is repeated.

[0077] In the technology disclosed in Non-Patent Document 3, as shown in FIG. 11, at t=1, vehicle z1 is selected as a target vehicle, and point x1 is selected as a point to be added to the route of vehicle z1. At t=2, vehicle z2 is selected as a target vehicle, and point x2 is selected as a point to be added to the route of vehicle z2. At t=3, vehicle z1 is selected as a target vehicle, and point x3 is added as a point to be added to the route of vehicle z1. The total travel distance is smaller when vehicle z2 visits point x3 than when vehicle z1 visits point x3. Therefore, the obtained travel plan is not an optimal solution.

[0078] On the other hand, the travel plan generating device 100 can generate a travel plan as shown in FIG. 10. Specifically, at t=1, the vehicle z1 is selected as a target vehicle, and the point x1 is selected as a point to be added to the route of the vehicle z1. At t=2, the vehicle z2 is selected as a target vehicle, and the point x2 is selected as a point to be added to the route of the vehicle z2. At t=3, the vehicle z1 is selected as a target vehicle, and the point x1 is selected as a point to be added to the route of the vehicle z1, but since the point x1 is the same as the point selected last time, it is not added to the route of the vehicle z1. At t=4, the vehicle z2 is selected as a target vehicle, and the point x3 is selected as a point to be added to the route of the vehicle z2. As a result, a travel plan is generated in which the vehicle z1 visits the point x1 and the vehicle z2 visits the points x2 and x3. The travel plan generating device 100 can obtain a travel plan with a smaller total travel distance. In this way, this embodiment makes it possible to eliminate the selection of a point that becomes an inefficient route. Therefore, it is possible to obtain a more optimal solution in many cases.

[0079] [Variations] In the above-described embodiment, a vehicle visits a location. A vehicle is merely one example of a moving object that visits a location. A moving object may be a human being.

[0080] The location information may not include information indicating the cargo demand amount of the multiple locations, and the vehicle information may not include information indicating the loading capacity of the multiple vehicles. For example, the location information may include only information indicating the positions of the multiple locations, and the vehicle information may include only information indicating the positions of the multiple vehicles.

[0081] In the above-described embodiment, the newly selected point for the target vehicle is set as a non-selectable point for other vehicles (step S805 in FIG. 8). The route plan generating unit 104 may update the mask information of the other vehicles based on the luggage capacity of the selected point and the loading capacity of the target vehicle. For example, the target vehicle may not be able to deliver all luggage of the selected point depending on its loading capacity. In that case, one of the other vehicles needs to visit the selected point, and the selected point is not set as a non-selectable point for other vehicles. Specifically, the route plan generating unit 104 does not update the mask information of the other vehicles if the luggage requirement amount of the selected point exceeds the loading capacity of the target vehicle, and updates the mask information of the other vehicles otherwise.

[0082] The present invention is not limited to the above-mentioned embodiment, and various modifications can be made in the implementation stage without departing from the gist of the invention. The embodiments may be implemented in appropriate combination, and in that case, the combined effect can be obtained. Furthermore, the above-mentioned embodiment includes various inventions, and various inventions can be extracted by combinations selected from the multiple components disclosed. For example, if the problem can be solved and the effect can be obtained even if some components are deleted from all the components shown in the embodiment, the configuration from which the components are deleted can be extracted as an invention. [Explanation of symbols]

[0083] 100...Travel plan generating device 102...Input section 104...Travel plan generation unit 106…Patient planning output section 108...Learning parameter acquisition unit 112...Learning parameter storage unit 202…Encoder 204...Decoder 206...Attention mechanism 501...Processor 502…RAM 503…Program memory 504...Storage devices 505... Input / Output Interface 600…Learning device 602...Input section 604...Travel plan generation unit 606…Learning Department 608...Learning parameter output unit 612...Learning parameter storage unit

Claims

1. a generation unit that generates a travel plan for traveling around the multiple locations by the multiple mobile objects by performing a process of selecting one location from the multiple locations at each output step using a recurrent neural network configured to output a visiting probability of the multiple locations when location information about the multiple locations and mobile object information about the multiple mobile objects are input; an output unit that outputs the travel plan; Equipped with In the mask information of each moving body, points already selected for the plurality of moving bodies, excluding a point previously selected for each moving body, are set as the non-selectable points. Tour plan generator.

2. The process comprises: selecting one of the plurality of moving bodies in accordance with a predetermined order; selecting one location from the plurality of locations excluding a location specified according to the mask information of the selected moving object based on the visiting probability of the plurality of locations output from the recurrent neural network; adding the selected point to a route of the selected mobile object; updating the mask information of the plurality of moving objects based on the selected moving object and the selected location; Equipped with The travel plan generating device according to claim 1 .

3. updating the mask information of the plurality of moving bodies includes, when a newly selected point for the selected moving body is different from a previously selected point for the selected moving body, adding the previously selected point for the selected moving body as the unselectable point to the mask information of the selected moving body. The travel plan generating device according to claim 2 .

4. updating the mask information of the plurality of moving bodies includes, when a newly selected point for the selected moving body is different from a previously selected point for the selected moving body, adding the newly selected point for the selected moving body as the unselectable point to the mask information of the plurality of moving bodies excluding the selected moving body. The travel plan generating device according to claim 3 .

5. updating the mask information of the plurality of moving bodies comprises, when a newly selected point for the selected moving body is the same as a previously selected point for the selected moving body, and when a newly selected point for the plurality of moving bodies excluding the selected moving body is the same as a previously selected point for the plurality of moving bodies excluding the selected moving body, adding the previously selected point for each moving body to the mask information of each moving body as a non-selectable point; The travel plan generating device according to any one of claims 2 to 4.

6. A computer-implemented method for generating a travel plan, comprising: a recurrent neural network configured to output a visiting probability of a plurality of locations when receiving location information about a plurality of locations and mobile unit information about a plurality of mobile units, and a process of selecting one of the plurality of locations using mask information indicating unselectable locations among the plurality of locations for each output step, thereby generating a travel plan for traveling around the plurality of locations by the plurality of mobile units; outputting the itinerary; and Equipped with In the mask information of each moving body, points already selected for the plurality of moving bodies, excluding a point previously selected for each moving body, are set as the non-selectable points. A method for generating a tour plan.

7. A program for causing a computer to function as each unit included in the travel schedule generating device according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Delivery vehicle path planning method based on neural evolution

    CN110110903A

  • Vehicle path planning method and system based on pointer neural network, and storage medium

    CN110147901A