JP7114031B2 - Patrol route search device, patrol route generation method, and program - Google Patents

Patrol route search device, patrol route generation method, and program Download PDF

Info

Publication number
JP7114031B2
JP7114031B2 JP2018136366A JP2018136366A JP7114031B2 JP 7114031 B2 JP7114031 B2 JP 7114031B2 JP 2018136366 A JP2018136366 A JP 2018136366A JP 2018136366 A JP2018136366 A JP 2018136366A JP 7114031 B2 JP7114031 B2 JP 7114031B2
Authority
JP
Japan
Prior art keywords
amount
route
patrol route
route search
maximum
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2018136366A
Other languages
Japanese (ja)
Other versions
JP2020013431A (en
Inventor
英昭 岸本
Original Assignee
Kii株式会社
Kii株式会社
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 Kii株式会社, Kii株式会社 filed Critical Kii株式会社
Priority to JP2018136366A priority Critical patent/JP7114031B2/en
Publication of JP2020013431A publication Critical patent/JP2020013431A/en
Application granted granted Critical
Publication of JP7114031B2 publication Critical patent/JP7114031B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、巡回経路探索装置、巡回経路生成方法、及びプログラムに関する。 The present invention relates to a tour route search device, a tour route generation method, and a program.

特許文献1には、欠品を最小限に抑え、補充場所での台車積み込み量を適正とし、無駄な輸送コストや作業コストを発生させないようにすることを目的として構成された、自動販売機補充作業支援システムについて記載されている。自動販売機補充作業支援システムは、ネットワークを通じて自動販売機の商品在庫状況を受信し、補充作業員が補充対象地域から構成される巡回ルートの中のいずれかの補充対象地域に到達した時点での商品配送トラック内の商品在庫から、巡回ルート内の自動販売機の商品在庫状況および自動販売機ごとに予め設定された補充基準に基づき、自動販売機に配分する商品およびその量を算出し、配分する商品およびその量を情報端末に出力する。 Patent Document 1 discloses a vending machine replenishment system that is designed to minimize the number of missing items, optimize the loading amount of carts at replenishment locations, and prevent unnecessary transportation and work costs. A work support system is described. The vending machine replenishment work support system receives the product inventory status of the vending machine through the network, and when the replenishment worker reaches one of the replenishment target areas in the patrol route composed of the replenishment target areas Based on the product inventory in the product delivery truck, the products to be distributed to the vending machines and their quantities are calculated and distributed based on the product inventory status of the vending machines on the patrol route and the replenishment criteria set in advance for each vending machine. The product and its quantity are output to the information terminal.

特許文献2には、巡回すべき複数の地点に順序および/または時間的な制約がある場合に、当該制約を満足し得る巡回経路を探索できるようにすることを目的として構成された巡回経路探索方法について記載されている。上記方法では、巡回対象の2地点間全ての最短経路を探索してその最適経路および経路コストを記憶し、遺伝アルゴリズムを用いて最適な巡回経路を求める際に、巡回順序に応じた経路コストの和に巡回対象の地点の制約条件に応じた制約コストを付加して評価値を算出し、評価値が既存集団における遺伝子より良い評価値であれば遺伝子集団に加える。 Patent Document 2 discloses a tour route search configured for the purpose of searching for a tour route that satisfies the restrictions when there are order and/or time restrictions on a plurality of points to be toured. A method is described. In the above method, all the shortest routes between two points to be toured are searched for, the optimum route and route cost are stored, and when the optimum tour route is obtained using a genetic algorithm, the route cost corresponding to the tour order is calculated. An evaluation value is calculated by adding a constraint cost according to the constraint conditions of the site to be visited to the sum, and if the evaluation value is better than the gene in the existing group, it is added to the gene group.

特開2008-293262号公報JP 2008-293262 A 特開2007-187584号公報JP 2007-187584 A

移動体により物資の補充を行いつつ複数の地点を巡回する際の経路探索は、いわゆる巡回セールスマン問題として、情報処理装置に、例えば、山登り法、シミュレーテッドアニーリング法等の経路探索アルゴリズムを実行させることにより行うことができる。 The route search when traveling around a plurality of locations while replenishing supplies with a mobile body is a so-called traveling salesman problem, and causes an information processing device to execute a route search algorithm such as a hill climbing method or a simulated annealing method. It can be done by

ここで各地に設置されている複数の自動販売機に商品の補充するための、トラック等の車両による自動販売機の巡回経路の探索は、例えば、各自動販売機に在庫可能(収容可能)な商品の最大量と各自動販売機の商品残量との差を夫々の商品の補充量として、各自動販売機の補充量の総和が車両の最大積載量を超えないという制約条件の下、経路探索アルゴリズムを実行することにより行うことができる。 Here, searching for a patrol route of vending machines by vehicles such as trucks for replenishing products to multiple vending machines installed in various places is, for example, possible inventory (accommodable) in each vending machine The difference between the maximum amount of products and the remaining amount of products in each vending machine is defined as the replenishment amount of each product. It can be done by running a search algorithm.

しかし各自動販売機への商品の補充量を固定値(上記の差)としているため、例えば、自動販売機への補充量を抑えるようにしたときの巡回経路については探索の候補となり得ず、現実の運用実態に即した形で巡回経路を柔軟に探索することができないという課題がある。 However, since the replenishment amount of products to each vending machine is set to a fixed value (the above difference), for example, when the replenishment amount to the vending machine is suppressed, the patrol route cannot be a search candidate. There is a problem that it is not possible to flexibly search for a patrol route in accordance with the actual operational status.

本発明は上記の課題に鑑みてなされたものであり、現実の運用実態に即した形で柔軟かつ適切に巡回経路の探索を行うことが可能な、巡回経路探索装置、巡回経路生成方法、及びプログラムを提供することを目的としている。 SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides a patrol route search apparatus, a patrol route generation method, and a patrol route search apparatus capable of flexibly and appropriately searching for a patrol route in accordance with actual operational conditions. The purpose is to provide a program.

上記目的を達成するための本発明の一つは、複数地点に設けられた設備の夫々に物資を補充しつつ巡回する移動体の巡回経路を探索する巡回経路探索装置であって、前記設備の夫々について、夫々に補充可能な物資の最大量である補充可能最大量と、夫々に最低限補充しなければならない物資の量である最低補充量と、前記移動体に現在積載されている前記物資の量である積載残量と、前記移動体の最大積載量と、前記設備の夫々における前記物資の残量と、を記憶する記憶部と、前記探索の候補となる巡回経路である候補経路を生成し、前記移動体に積載されている前記物資の前記設備への補充量を、前記補充可能最大量と前記最低補充量とで定まる範囲で調節可能としつつ、前記候補経路の経路長に関する第1指標値を求め、前記第1指標値に基づき前記巡回経路を探索し、前記巡回経路上の各設備での物資の補充量を、前記移動体の最大積載量を按分することにより算出する経路探索処理部と、を備える。 One aspect of the present invention for achieving the above object is a patrol route searching apparatus for searching for a patrol route of a mobile body that patrols while replenishing supplies to facilities provided at a plurality of locations, the apparatus comprising: For each of them, the maximum replenishable amount that is the maximum amount of materials that can be replenished, the minimum replenishment amount that is the minimum amount of materials that must be replenished, and the materials currently loaded on the moving body , the maximum loading capacity of the moving object, and the remaining amount of the goods in each of the facilities; A second method related to the route length of the candidate route is generated, and the replenishment amount of the goods loaded on the moving body to the facility can be adjusted within a range determined by the maximum possible replenishment amount and the minimum replenishment amount. 1 index value is obtained, the patrol route is searched based on the first index value, and the replenishment amount of supplies at each facility on the patrol route is calculated by proportionally dividing the maximum loading capacity of the mobile object. and a search processing unit.

その他、本願が開示する課題、及びその解決方法は、発明を実施するための形態の欄の記載、及び図面の記載等により明らかにされる。 In addition, the problems disclosed by the present application and their solutions will be clarified by the descriptions in the description of the mode for carrying out the invention, the descriptions in the drawings, and the like.

本発明によれば、現実の運用実態に即した形で柔軟かつ適切に巡回経路の探索を行うことができる。 According to the present invention, it is possible to search for a patrol route flexibly and appropriately in accordance with the actual operational status.

巡回経路探索システムの概略的な構成を示す図である。1 is a diagram showing a schematic configuration of a patrol route search system; FIG. 巡回経路探索装置による巡回経路の探索方法を説明する図である。FIG. 2 is a diagram for explaining a method of searching for a patrol route by the patrol route search device; 自動販売機の主な構成を示すブロック図である。1 is a block diagram showing the main configuration of a vending machine; FIG. 自動販売機が備える主な機能を示す図である。It is a figure which shows the main functions with which a vending machine is provided. 巡回経路探索装置の主な構成を示すブロック図である。1 is a block diagram showing the main configuration of a patrol route search device; FIG. 巡回経路探索装置が備える主な機能を示す図である。1 is a diagram showing main functions of a patrol route search device; FIG. 拠点情報の一例である。It is an example of base information. 自動販売機情報の一例である。It is an example of vending machine information. 車両情報の一例である。It is an example of vehicle information. 現在経路情報の一例である。It is an example of current route information. 次経路情報の一例である。It is an example of next route information. 山登り法による経路探索処理を説明するフローチャートである。10 is a flowchart for explaining route search processing by the hill-climbing method; シミュレーテッドアニーリング法による経路探索処理を説明するフローチャートである。4 is a flowchart for explaining route search processing by the simulated annealing method; 現在経路の一例を示す図である。It is a figure which shows an example of a present course. 次経路の一例を示す図である。It is a figure which shows an example of a next path|route. シミュレーションの様子を示す図である。It is a figure which shows the mode of simulation. 現在経路の一例を示す図である。It is a figure which shows an example of a present course. 次経路の一例を示す図である。It is a figure which shows an example of a next path|route. シミュレーションの様子を示す図である。It is a figure which shows the mode of simulation. シミュレーションの実行例を示す図である。It is a figure which shows the execution example of a simulation. シミュレーションの実行例を示す図である。It is a figure which shows the execution example of a simulation.

以下、実施形態について図面を参照しつつ詳細に説明する。 Hereinafter, embodiments will be described in detail with reference to the drawings.

図1に実施形態として示す巡回経路探索システム1の概略的な構成を示している。同図に示すように、巡回経路探索システム1は、各地に設けられている複数の自動販売機2(設備)と、これら複数の自動販売機2の夫々と通信ネットワーク5を介して通信可能に接続する情報処理装置である巡回経路探索装置10とを含む。 FIG. 1 shows a schematic configuration of a patrol route search system 1 shown as an embodiment. As shown in the figure, the patrol route search system 1 is capable of communicating with a plurality of vending machines 2 (equipment) installed in various locations via a communication network 5 with each of these vending machines 2. and a patrol route search device 10, which is an information processing device to be connected.

同図に示す拠点3では、自動販売機2に補充する商品(物資)を運搬する車両4(移動体)に対して商品の補給(積載)が行われる。同図では拠点3は一つのみであるが、拠点3は複数存在してもよい。車両4は各地を巡回することにより、積載されている商品を自動販売機2に補充する。巡回経路探索装置10は、経路探索アルゴリズムを実行することにより各自動販売機2の適切な巡回経路を探索し、その結果を出力する。 At a site 3 shown in the figure, a vehicle 4 (moving body) for transporting commodities (materials) to be replenished to the vending machine 2 is replenished (loaded) with commodities. Although only one base 3 is shown in the figure, a plurality of bases 3 may exist. The vehicle 4 replenishes the loaded commodities to the vending machine 2 by going around various places. The patrol route search device 10 searches for an appropriate patrol route for each vending machine 2 by executing a route search algorithm, and outputs the result.

図2に示すように、巡回経路探索装置10は、自動販売機2に補充可能な商品の量である補充可能最大量(以下、「MAX補充量」とも称する。)と、自動販売機2の夫々について設定される、夫々に最低限補充しなければならない商品の量である最低補充量(以下、「MIN補充量」とも称する。)との間の範囲内で、自動販売機2の夫々について商品の補充量を調節可能として経路探索アルゴリズムを実行することにより巡回経路の探索を行う。尚、上記のMIN補充量の設定方法は必ずしも限定されない。MIN補充量の設定方法として、例えば、次のようなものが考えられる。 As shown in FIG. 2, the patrol route search device 10 determines the maximum possible replenishment amount (hereinafter also referred to as "MAX replenishment amount"), which is the amount of products that can be replenished in the vending machine 2, For each vending machine 2, within the range between the minimum replenishment amount (hereinafter also referred to as "MIN replenishment amount"), which is the minimum amount of products that must be replenished for each vending machine 2. A patrol route is searched by executing a route search algorithm with an adjustable replenishment amount of products. Incidentally, the method for setting the MIN replenishment amount is not necessarily limited. As a method for setting the MIN replenishment amount, for example, the following can be considered.

(1)自動販売機2が扱う商品の特性や利用者の消費傾向等に応じた値をMIN補充量として設定する。
(2)自動販売機2の在庫可能最大量に対する割合で設定する。例えば、在庫可能最大量の50%をMIN補充量として設定する(但し、現在の在庫量が50%以上である場合はMIN補充量が「在庫可能最大量-在庫量」を超えない値をMIN補充量として設定する)。
(3)自動販売機2のMAX補充量に対する割合で設定する。例えば、MAX補充量の50%をMIN補充量として設定する。
(1) A value corresponding to the characteristics of the products handled by the vending machine 2 and the consumption tendency of the user is set as the MIN replenishment amount.
(2) It is set as a percentage of the maximum stockable amount of the vending machine 2 . For example, 50% of the maximum possible stock amount is set as the MIN replenishment amount (however, if the current inventory amount is 50% or more, the MIN (set as replenishment amount).
(3) Set as a ratio to the MAX replenishment amount of vending machine 2 . For example, 50% of the MAX replenishment amount is set as the MIN replenishment amount.

尚、巡回経路探索装置10に、例えば、MAX補充量及びMIN補充量の少なくともいずれかを決定するための情報を受け付け、受け付けた上記情報に基づきMAX補充量及びMIN補充量のうちの少なくともいずれかを求めて記憶するユーザインタフェースを設けてもよい。また例えば、上記(1)の設定方法による場合、上記ユーザインタフェースが物資の特性や物資の消費傾向に応じた値をMIN補充量として受け付けて記憶するようにしてもよい。また例えば、上記(2)の設定方法による場合、上記ユーザインタフェースが、自動販売機2の在庫可能最大量に対する割合を受け付け、在庫可能最大量に割合を乗算した値を当該自動販売機2のMIN補充量として記憶するようにしてもよい。また例えば、上記(3)の設定方法による場合、上記ユーザインタフェースが、自動販売機2のMAX補充量に対する割合を受け付け、MAX補充量に上記割合を乗算した値を当該自動販売機2のMIN補充量として記憶するようにしてもよい。 For example, information for determining at least one of the MAX replenishment amount and the MIN replenishment amount is received in the patrol route search device 10, and at least one of the MAX replenishment amount and the MIN replenishment amount is determined based on the received information. A user interface may be provided that asks for and stores the . Further, for example, in the case of the above setting method (1), the user interface may receive and store a value corresponding to the characteristics of the material and the consumption tendency of the material as the MIN replenishment amount. Further, for example, in the case of the above setting method (2), the user interface receives the ratio of the maximum possible stock amount of the vending machine 2, and multiplies the maximum possible stock amount by the ratio to set the MIN of the vending machine 2. You may make it memorize|store as a replenishment amount. Further, for example, in the case of setting method (3) above, the user interface receives the ratio to the MAX replenishment amount of the vending machine 2, and multiplies the MAX replenishment amount by the above ratio to obtain the MIN replenishment of the vending machine 2. It may be stored as a quantity.

図3は自動販売機2の主な構成を示すブロック図である。同図に示すように、自動販売機2は、プロセッサ21、記憶装置22、通信装置23、販売制御機構24、金銭受付機構25、及び商品残量検出機構26を備える。 FIG. 3 is a block diagram showing the main configuration of the vending machine 2. As shown in FIG. As shown in the figure, the vending machine 2 includes a processor 21 , a storage device 22 , a communication device 23 , a sales control mechanism 24 , a money acceptance mechanism 25 , and a product residual quantity detection mechanism 26 .

プロセッサ21は、例えば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)を用いて構成される。記憶装置22は、プログラムやデータを記憶する装置であり、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)、不揮発性半導体メモリ(NVRAM(Non Volatile RAM))等である。プロセッサ21及び記憶装置22は、自動販売機2の統括的な制御を行う主制御部を構成する。プロセッサ21及び記憶装置22は、例えば、通信装置23を介して提供される仮想的な情報処理資源(例えば、クラウドシステム(Cloud System)により提供されるクラウドサーバ(Cloud Server)等)を用いて実現されるものであってもよい。 The processor 21 is configured using, for example, a CPU (Central Processing Unit) or an MPU (Micro Processing Unit). The storage device 22 is a device that stores programs and data, and is, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile semiconductor memory (NVRAM (Non Volatile RAM)), or the like. The processor 21 and the storage device 22 constitute a main control section that performs overall control of the vending machine 2 . The processor 21 and the storage device 22 are realized using, for example, a virtual information processing resource provided via the communication device 23 (for example, a cloud server provided by a cloud system, etc.). It may be

通信装置23は、例えば、無線通信モジュール、NIC(Network Interface Card)等を用いて構成される。通信装置23は、通信ネットワーク5を介した巡回経路探索装置10等の他の装置との間の通信を実現する。通信装置23は、他の装置から情報を受け付ける入力装置として機能させることもできる。 The communication device 23 is configured using, for example, a wireless communication module, a NIC (Network Interface Card), or the like. The communication device 23 realizes communication with other devices such as the patrol route search device 10 via the communication network 5 . The communication device 23 can also function as an input device that receives information from other devices.

販売制御機構24は、機械式機構や電子回路等を用いて構成され、自動販売機2の利用者に商品を提供する際に制御される機構を含む。販売制御機構24は、例えば、自動販売機2の内部の商品棚や商品排出機構、自動販売機2の外部の商品選択ボタンや代金支払い用ICカードのリーダライタ、各種表示ランプ、ディスプレイ等を含む。 The vending control mechanism 24 is configured using a mechanical mechanism, an electronic circuit, or the like, and includes a mechanism that is controlled when products are provided to users of the vending machine 2 . The sales control mechanism 24 includes, for example, a product shelf and a product ejection mechanism inside the vending machine 2, product selection buttons outside the vending machine 2, an IC card reader/writer for payment, various display lamps, a display, and the like. .

金銭受付機構25は、硬化選別機(コインメック)や紙幣選別機(ビルバリ)としての機構を含み、例えば、利用者が投入する硬貨や紙幣の受け入れ、選別、貯留、自動販売機2内に釣銭用に保有する硬貨や紙幣の枚数の制御等を行う。 The money acceptance mechanism 25 includes a mechanism as a hardening sorter (coin mech) and a banknote sorter (bill validator). It controls the number of coins and banknotes held for use.

商品残量検出機構26は、自動販売機2の商品残量を検出する。商品残量検出機構26は、例えば、機械式または電子式の残量計数機構、光学式センサ、感圧センサ等を用いて構成される。商品残量検出機構26は、自動販売機2が販売する商品の性質に応じた種々の構成を取り得る。 The product remaining amount detection mechanism 26 detects the product remaining amount of the vending machine 2 . The product remaining amount detection mechanism 26 is configured using, for example, a mechanical or electronic remaining amount counting mechanism, an optical sensor, a pressure sensor, or the like. The product remaining amount detection mechanism 26 can have various configurations according to the properties of the products sold by the vending machine 2 .

図4に自動販売機2が備える主な機能を示している。同図に示すように、自動販売機2は、記憶部210、販売制御処理部211、金銭受付処理部212、商品残量取得部213、MAX補充量算出部214、MIN補充量算出部215、及び通信処理部216の各機能を備える。 FIG. 4 shows main functions of the vending machine 2. As shown in FIG. As shown in the figure, the vending machine 2 includes a storage unit 210, a sales control processing unit 211, a money reception processing unit 212, a product remaining amount acquisition unit 213, a MAX replenishment amount calculation unit 214, a MIN replenishment amount calculation unit 215, and each function of the communication processing unit 216 .

自動販売機2の機能は、例えば、自動販売機2が備える機構によって実現される。また自動販売機2の機能は、例えば、プロセッサ21が、記憶装置22に格納されているプログラムを読み出して実行することにより実現される。上記のプログラムは、例えば、可搬型記録媒体(CD(Compact Disc)、DVD(Digital Versatile Disc)、フラッシュメモリ等)から図示しない可搬型記録媒体の読取装置を介して記憶装置22にロードされる。また上記のプログラムは、例えば、上記プログラムを蓄積管理する図示しない配信装置から通信設備を介して自動販売機2にダウンロードされる。 The functions of the vending machine 2 are realized by, for example, mechanisms provided in the vending machine 2 . Also, the functions of the vending machine 2 are implemented by, for example, the processor 21 reading and executing a program stored in the storage device 22 . The above program is loaded from a portable recording medium (CD (Compact Disc), DVD (Digital Versatile Disc), flash memory, etc.) to the storage device 22 via a portable recording medium reader (not shown). Further, the above program is downloaded to the vending machine 2 via communication equipment from a distribution device (not shown) that stores and manages the above program, for example.

上記機能のうち、記憶部210は、当該自動販売機2の現在の商品残量である商品残量251、当該自動販売機2の前述した在庫可能最大量である在庫可能最大量252、当該自動販売機2の前述したMAX補充量であるMAX補充量253、当該自動販売機2の前述したMIN補充量であるMIN補充量254、及び当該自動販売機2の商品の補充の緊急性を示す情報である緊急度255の各情報(データ)を記憶する。本実施形態では、緊急度255は0~9の範囲の値をとるものとする。緊急性が高いほど緊急度255の値が大きくなる。 Among the above functions, the storage unit 210 stores the remaining product amount 251 that is the current remaining product amount of the vending machine 2, the maximum possible inventory amount 252 that is the above-described maximum possible inventory amount of the vending machine 2, the automatic MAX replenishment amount 253, which is the aforementioned MAX replenishment amount of the vending machine 2; MIN replenishment amount 254, which is the aforementioned MIN replenishment amount of the vending machine 2; Each information (data) of the degree of urgency 255 is stored. In this embodiment, the urgency level 255 takes a value in the range of 0-9. The value of the degree of urgency 255 increases as the urgency increases.

尚、記憶部210が記憶するこれらの情報は、通信ネットワーク5を介して巡回経路探索装置10とリアルタイムにもしくは随時(定期的等)共有される。記憶部210が記憶するこれらの情報は巡回経路探索装置10において管理してもよいが、例えば、個々の自動販売機2においてこれらの情報を個別に管理し、巡回経路探索装置10が随時これらの情報を自動販売機2から取得するようにすることで、自動販売機2の増減設時の管理が容易になる。 The information stored in the storage unit 210 is shared with the patrol route search device 10 via the communication network 5 in real time or at any time (periodically, etc.). These pieces of information stored in the storage unit 210 may be managed by the patrol route search device 10, but for example, these pieces of information may be individually managed by individual vending machines 2, and the patrol route search device 10 may manage these pieces of information as needed. Acquiring the information from the vending machine 2 facilitates management when adding or removing the vending machine 2.例文帳に追加

販売制御処理部211は、販売制御機構24を制御し、自動販売機2の利用者への商品の提供に関する処理を行う。金銭受付処理部212は、金銭受付機構25に投入された硬貨や紙幣の真偽の判別、硬貨や紙幣を種類別に選別するための制御、紙幣や硬貨の数の検出等の制御を行う。 The sales control processing unit 211 controls the sales control mechanism 24 and performs processing related to providing products to users of the vending machine 2 . The money reception processing unit 212 performs control such as determining the authenticity of coins and banknotes inserted into the money receiving mechanism 25, sorting coins and banknotes by type, and detecting the number of banknotes and coins.

商品残量取得部213は、商品残量検出機構26を介して商品残量を取得する。商品残量取得部213が取得した商品残量は記憶部210が商品残量251として記憶する。また商品残量取得部213は、取得した商品残量に応じて緊急度255の値を設定する。例えば、商品残量取得部213は、商品残量が少ない程、緊急度255の値を大きく設定する。また例えば、商品残量取得部213は、商品残量の減少速度が速い程、緊急度255の値を大きく設定する。 The product remaining amount acquisition unit 213 acquires the product remaining amount via the product remaining amount detection mechanism 26 . The storage unit 210 stores the product remaining amount acquired by the product remaining amount acquiring unit 213 as the product remaining amount 251 . Further, the product remaining amount acquisition unit 213 sets the value of the urgency level 255 according to the acquired product remaining amount. For example, the product remaining amount acquisition unit 213 sets the value of the urgency level 255 higher as the product remaining amount decreases. Further, for example, the product remaining amount acquisition unit 213 sets the value of the urgency level 255 to be larger as the decreasing speed of the product remaining amount is faster.

MAX補充量算出部214は、記憶部210が記憶している在庫可能最大量252と商品残量251とに基づきMAX補充量を求める。本実施形態では、MAX補充量算出部214は、在庫可能最大量252と商品残量251の差をMAX補充量として求める。上記の在庫可能最大量252は、例えば、自動販売機2の管理者等が通信装置23を介して設定する。巡回経路探索装置10から通信ネットワーク5を介して上記の在庫可能最大量252を設定するようにしてもよい。MAX補充量算出部214が求めたMAX補充量は記憶部210がMAX補充量253として記憶する。MAX補充量算出部214の機能は巡回経路探索装置10側で実現するようにしてもよい。 The MAX replenishment amount calculation unit 214 obtains the MAX replenishment amount based on the maximum possible stock amount 252 and the product remaining amount 251 stored in the storage unit 210 . In this embodiment, the MAX replenishment amount calculation unit 214 obtains the difference between the maximum possible inventory amount 252 and the product remaining amount 251 as the MAX replenishment amount. The maximum possible inventory amount 252 is set by the administrator of the vending machine 2 via the communication device 23, for example. The maximum possible inventory amount 252 may be set from the patrol route search device 10 via the communication network 5 . The storage unit 210 stores the MAX replenishment amount calculated by the MAX replenishment amount calculation unit 214 as the MAX replenishment amount 253 . The function of the MAX replenishment amount calculator 214 may be implemented on the patrol route search device 10 side.

MIN補充量算出部215は、通信装置23を介して前述したMIN補充量の設定を受け付ける。MIN補充量算出部215が受け付けたMIN補充量は、記憶部210がMIN補充量254として記憶する。MIN補充量の設定は、例えば、自動販売機2の管理者やルートマンが行う。またMIN補充量254の上記設定を、例えば、通信ネットワーク5を介して巡回経路探索装置10から行うようにしてもよい。 The MIN replenishment amount calculator 215 receives the above-described setting of the MIN replenishment amount via the communication device 23 . The MIN replenishment amount received by the MIN replenishment amount calculation unit 215 is stored in the storage unit 210 as the MIN replenishment amount 254 . The MIN replenishment amount is set by, for example, the administrator of the vending machine 2 or the route man. Further, the setting of the MIN replenishment amount 254 may be performed from the patrol route search device 10 via the communication network 5, for example.

通信処理部216は、通信ネットワーク5を介して巡回経路探索装置10と通信し、記憶部210が記憶する情報等の様々な情報を巡回経路探索装置10との間で送信または受信する。 The communication processing unit 216 communicates with the patrol route search device 10 via the communication network 5 and transmits or receives various information such as information stored in the storage unit 210 to or from the patrol route search device 10 .

図5は巡回経路探索装置10の主な構成を示すブロック図である。同図に示すように、巡回経路探索装置10は、プロセッサ11、主記憶装置12、補助記憶装置13、入力装置14、出力装置15、及び通信装置16を備える。これらは図示しないバス等の通信手段を介して互いに通信可能に接続されている。 FIG. 5 is a block diagram showing the main configuration of the patrol route search device 10. As shown in FIG. As shown in the figure, the patrol route search device 10 includes a processor 11 , a main storage device 12 , an auxiliary storage device 13 , an input device 14 , an output device 15 and a communication device 16 . These are communicably connected to each other via communication means such as a bus (not shown).

巡回経路探索装置10は、例えば、仮想サーバやクラウドシステムにおけるクラウドサーバのように仮想的なリソースを用いて実現されるものでもよい。また巡回経路探索装置10は、例えば、通信可能に接続された複数の情報処理装置やプロセッサによって実現してもよい。 The patrol route search device 10 may be implemented using virtual resources such as a virtual server or a cloud server in a cloud system, for example. Also, the patrol route search device 10 may be implemented by, for example, a plurality of information processing devices and processors that are communicably connected.

プロセッサ11は、例えば、CPU、MPU、GPU(Graphics Processing Unit)等を用いて構成されている。プロセッサ11が、主記憶装置12に格納されているプログラムを読み出して実行することにより、巡回経路探索装置10の様々な機能が実現される。主記憶装置12は、プログラムやデータを記憶する装置であり、例えば、ROM、RAM、不揮発性半導体メモリ等である。 The processor 11 is configured using, for example, a CPU, an MPU, a GPU (Graphics Processing Unit), and the like. Various functions of the patrol route search device 10 are realized by the processor 11 reading and executing the programs stored in the main storage device 12 . The main memory device 12 is a device that stores programs and data, and is, for example, a ROM, a RAM, a nonvolatile semiconductor memory, or the like.

補助記憶装置13は、例えば、ハードディスクドライブ、半導体メモリ(SSD、SDメモリカード、USBメモリ等)、光学式記憶装置(CD、DVD等)の読取/書込装置等)、クラウドサーバの記憶領域等である。補助記憶装置13に格納されているプログラムやデータは主記憶装置12に随時ロードされる。補助記憶装置13は、例えば、NAS(Network Attached Storage)のように通信手段を介してプロセッサ11と通信可能に接続するものであってもよい。 The auxiliary storage device 13 is, for example, a hard disk drive, a semiconductor memory (SSD, SD memory card, USB memory, etc.), an optical storage device (CD, DVD, etc.) read/write device, etc.), a storage area of a cloud server, etc. is. Programs and data stored in the auxiliary storage device 13 are loaded into the main storage device 12 at any time. The auxiliary storage device 13 may be communicably connected to the processor 11 via communication means such as NAS (Network Attached Storage).

入力装置14は、外部からの入力を受け付けるユーザインタフェースであり、例えば、キーボード、マウス、タッチパネル、可搬型記録媒体の読取装置等である。出力装置15は、処理経過や処理結果等の各種情報を外部に提供するユーザインタフェースであり、例えば、画面表示装置(LCD(Liquid Crystal Display)、GPU等)、印字装置、可搬型記録媒体の書込装置等である。 The input device 14 is a user interface that receives input from the outside, and includes, for example, a keyboard, a mouse, a touch panel, and a reading device for portable recording media. The output device 15 is a user interface that provides various types of information such as processing progress and processing results to the outside. loading device, etc.

通信装置16は、通信ネットワーク5を介して行われる他の装置との間の通信を実現する有線方式または無線方式の通信インタフェースであり、例えば、無線通信モジュールやNIC等である。尚、例えば、通信装置16を介して他の装置との間で情報の入力や出力を行う構成、即ち通信装置16が入力装置14や出力装置15として機能する構成としてもよい。 The communication device 16 is a wired or wireless communication interface that realizes communication with another device via the communication network 5, and is, for example, a wireless communication module or NIC. For example, a configuration in which information is input and output to and from another device via the communication device 16, that is, a configuration in which the communication device 16 functions as the input device 14 and the output device 15 may be employed.

図6に巡回経路探索装置10が備える主な機能を示している。同図に示すように、巡回経路探索装置10は、記憶部110、通信処理部111、及び経路探索処理部112の各機能を備える。 FIG. 6 shows main functions of the patrol route search device 10 . As shown in the figure, the patrol route search device 10 has functions of a storage unit 110 , a communication processing unit 111 , and a route search processing unit 112 .

巡回経路探索装置10の機能は、例えば、巡回経路探索装置10が備えるハードウェアによって実現される。また巡回経路探索装置10の機能は、例えば、プロセッサ11が、主記憶装置12に格納されているプログラムを読み出して実行することにより実現される。上記のプログラムは、例えば、可搬型記録媒体から入力装置14を介して主記憶装置12にロードされる。また上記のプログラムは、例えば、上記プログラムを蓄積管理する図示しない配信装置から通信設備を介して巡回経路探索装置10にダウンロードされる。 The functions of the patrol route search device 10 are implemented by hardware included in the patrol route search device 10, for example. The functions of the patrol route search device 10 are realized, for example, by the processor 11 reading and executing a program stored in the main storage device 12 . The above program is loaded from, for example, a portable recording medium into the main storage device 12 via the input device 14 . Further, the above program is downloaded to the patrol route search device 10 via communication equipment from a distribution device (not shown) that stores and manages the above program, for example.

上記の機能のうち、記憶部110は、拠点3に関する情報である拠点情報151、自動販売機2に関する情報である自動販売機情報152、車両4に関する情報である車両情報153、後述する現在経路に関する情報である現在経路情報154、後述する次経路に関する情報である次経路情報155、巡回経路の探索に際して用いるコストの算出式に関する情報であるコスト関数情報156、及び巡回経路の探索結果に関する情報である経路探索結果157の各情報(データ)を記憶する。 Among the above functions, the storage unit 110 stores location information 151 that is information about the location 3, vending machine information 152 that is information about the vending machine 2, vehicle information 153 that is information about the vehicle 4, and information about the current route described later. current route information 154, which is information; next route information 155, which is information about the next route to be described later; cost function information 156, which is information about the cost calculation formula used when searching for a patrol route; and information about the search result of the patrol route. Each information (data) of the route search result 157 is stored.

通信処理部111は、通信ネットワーク5を介して各地に存在する複数の自動販売機2の夫々と通信し、複数の自動販売機2の夫々との間で情報の送信または受信を行う。 The communication processing unit 111 communicates with each of the plurality of vending machines 2 located in various locations via the communication network 5 and transmits or receives information to or from each of the plurality of vending machines 2 .

経路探索処理部112は、記憶部110が記憶している情報を入力として所定の経路探索アルゴリズムを実行することにより巡回経路の探索を行う。上記の経路探索アルゴリズムは、例えば、山登り法、シミュレーテッドアニーリング法、遺伝的アルゴリズム、タブーサーチ等である。本実施形態では、経路探索アルゴリズムは、山登り法またはシミュレーテッドアニーリング法であるものとする。経路探索処理部112は、探索解の候補となる巡回経路(以下、「候補経路」とも称する。)の評価に際し、当該巡回経路における積載物の消費の状況をシミュレーションする。 The route search processing unit 112 receives information stored in the storage unit 110 and executes a predetermined route search algorithm to search for a patrol route. The above-mentioned route search algorithms are, for example, hill-climbing method, simulated annealing method, genetic algorithm, tabu search, and the like. In this embodiment, the route search algorithm is assumed to be a hill-climbing method or a simulated annealing method. The route search processing unit 112 simulates the state of load consumption on the route when evaluating a route that is a candidate for a search solution (hereinafter also referred to as a “candidate route”).

同図に示すように、経路探索処理部112は、候補経路生成部1121、シミュレーション処理部1122、コスト生成評価部1123、及び探索結果出力部1124を含む。 As shown in the figure, the route search processing unit 112 includes a candidate route generation unit 1121, a simulation processing unit 1122, a cost generation evaluation unit 1123, and a search result output unit 1124.

候補経路生成部1121は、上記シミュレーションに際し、拠点情報151及び自動販売機情報152に基づき候補経路を順次生成する。候補経路生成部1121は、現在注目している候補経路の一つ(以下、「現在経路」と称する。)についての情報を現在経路情報154として記憶し、現在経路に基づき生成される次の候補経路(以下、「次経路」と称する。)についての情報を次経路情報155として記憶する。 The candidate route generator 1121 sequentially generates candidate routes based on the base information 151 and the vending machine information 152 in the simulation. The candidate route generation unit 1121 stores information about one of the currently focused candidate routes (hereinafter referred to as "current route") as the current route information 154, and generates the next candidate generated based on the current route. Information about the route (hereinafter referred to as “next route”) is stored as next route information 155 .

候補経路生成部1121は、次経路の生成に際し、例えば、現在経路に含まれている自動販売機2の位置をランダムに2つ選択し、それらの順番を入れ替えた経路を次経路として生成する。例えば、現在経路が「拠点3→自動販売機2A→自動販売機2B→自動販売機2C→自動販売機2D→自動販売機2E→拠点3」であるとき、候補経路生成部1121は、次経路を「拠点3→自動販売機2A→自動販売機2B→自動販売機2E→自動販売機2D→自動販売機2C→拠点3」として生成する。 When generating the next route, the candidate route generator 1121, for example, randomly selects two positions of the vending machines 2 included in the current route, and generates a route in which the order of the selected positions is changed as the next route. For example, when the current route is "base 3→vending machine 2A→vending machine 2B→vending machine 2C→vending machine 2D→vending machine 2E→base 3", the candidate route generating unit 1121 generates the next route is generated as "site 3→vending machine 2A→vending machine 2B→vending machine 2E→vending machine 2D→vending machine 2C→site 3".

シミュレーション処理部1122は、車両4が候補経路に沿って複数の自動販売機2を巡回した場合における積載物の消費の状況をシミュレーションする。シミュレーション処理部1122は、複数の自動販売機2の夫々に寄った際の車両4の積載状況を、最大消費時(MAX補充量を消費した時)の積載残量(以下、「MAX時積載残量」とも称する。)と最小消費時(MIN補充量を消費した時)の積載残量(以下、「MIN時積載残量」とも称する。)により管理する。尚、車両4に積載する商品(積載物)の種類は複数とすることもできるが、本実施形態では説明の簡単のために積載物は一種類であるものとする。 The simulation processing unit 1122 simulates the state of load consumption when the vehicle 4 makes a round of a plurality of vending machines 2 along the candidate route. The simulation processing unit 1122 calculates the loading status of the vehicle 4 when it stops at each of the plurality of vending machines 2 as the remaining load at the time of maximum consumption (when the MAX replenishment amount is consumed) (hereinafter referred to as "load remaining at MAX time"). ) and the remaining load at the time of minimum consumption (when the MIN replenishment amount is consumed) (hereinafter also referred to as the "remaining load at MIN time"). It should be noted that a plurality of types of products (loads) can be loaded on the vehicle 4, but in this embodiment, for the sake of simplicity of explanation, only one type of load is assumed.

シミュレーション処理部1122は、拠点3からの出発時におけるMAX時積載残量及びMIN時積載残量の初期値をいずれも車両4の最大積載量に設定する。シミュレーション処理部1122は、車両4が複数の自動販売機2の夫々に寄る度に、MAX時積載残量及びMIN時積載残量を次のように更新する。
MAX時積載残量(新)=MAX時積載残量(旧)- MAX補充量 ・・・式2
MIN時積載残量(新)=MIN時積載残量(旧)- MIN補充量 ・・・式3
尚、式2,3において、左辺が負の値になるときは当該左辺の値を0に設定する。
The simulation processing unit 1122 sets the initial values of the remaining load capacity at MAX and the remaining load capacity at MIN at the time of departure from the site 3 to the maximum load capacity of the vehicle 4 . The simulation processing unit 1122 updates the remaining load capacity at MAX and the remaining load capacity at MIN as follows each time the vehicle 4 approaches each of the plurality of vending machines 2 .
Remaining load at MAX (new) = Remaining load at MAX (old) - MAX replenishment amount ・・・Formula 2
Remaining load at MIN (new) = Remaining load at MIN (old) - MIN replenishment amount ・・・Formula 3
In the equations 2 and 3, the value of the left side is set to 0 when the left side has a negative value.

ここである地点でMIN時積載残量が0(ゼロ)になる場合、シミュレーション処理部1122は、候補経路に当該地点の前の地点から拠点3に戻る経路を挿入し、これを評価中の次経路とする。尚、拠点3が複数存在する場合、シミュレーション処理部1122は、例えば、上記前の地点から最も近い拠点3を選択する。 Here, if the MIN load remaining amount is 0 (zero) at a certain point, the simulation processing unit 1122 inserts a route returning from the previous point to the base 3 into the candidate route, and inserts this route as the next route under evaluation. Let it be the route. If there are a plurality of points 3, the simulation processing unit 1122 selects the point 3 closest to the previous point, for example.

車両4が拠点3に戻った際(上記のように拠点3に戻る経路が挿入された場合も含む。)、シミュレーション処理部1122は、MAX時積載残量及びMIN時積載残量を車両4の最大積載量に設定し直す。また上記の時点において、シミュレーション処理部1122は、次式から求められる値をコスト関数のボーナス分として積算する。
ボーナス=最大積載量-MAX時積載残量 ・・・式4
尚、積載物が複数種類である場合、シミュレーション処理部1122は、例えば、各積載物について上式から求められる値の総和をボーナスとして求める。
When the vehicle 4 returns to the site 3 (including the case where the route returning to the site 3 is inserted as described above), the simulation processing unit 1122 calculates the remaining load capacity at MAX and the remaining load capacity at MIN. Reset to maximum loading capacity. Also, at the above time point, the simulation processing unit 1122 integrates the value obtained from the following equation as a bonus portion of the cost function.
Bonus = maximum load capacity - remaining load capacity at MAX ・・・Formula 4
When there are multiple types of loads, the simulation processing unit 1122 obtains, as a bonus, the sum of the values obtained from the above equation for each load, for example.

コスト生成評価部1123は、上記シミュレーションの結果と次式で表されるコスト関数とに基づき、候補経路のコストを求める。
コスト関数 =第1指標値―c×第2指標値+第3指標値 ・・・式5
上式において、第3指標値は、後述する緊急度1527(前述した緊急度255)に応じたコスト調整分である。第3指標値は、例えば、次のようにして求められる。
The cost generation evaluation unit 1123 obtains the cost of the candidate route based on the simulation result and the cost function expressed by the following equation.
Cost function = 1st index value - c x 2nd index value + 3rd index value Equation 5
In the above formula, the third index value is the cost adjustment amount according to the degree of urgency 1527 described later (the degree of urgency 255 described above). The third index value is obtained, for example, as follows.

第3指標値=-α×Σf(自動販売機の緊急度,順番) ・・・式6
上式において、αは正の係数である。また関数fは次式で表される。
f(自動販売機の緊急度,順番)=max(0,(全自動販売機数/2-順番)×緊急度) ・・・式7
Third index value = -α x Σf (vending machine urgency, order) Equation 6
where α is a positive coefficient. Also, the function f is expressed by the following equation.
f (vending machine urgency, order) = max (0, (total number of vending machines/2-order) x urgency) ・・・Formula 7

上式における「順番」は、車両4がその自動販売機2を何番目に寄るかを示す値である。本実施形態では、車両4が最初に訪れる自動販売機2を0番目とする。例えば、巡回すべき自動販売機2が全部で100台あり、ルートマンが緊急度=9の自動販売機2を最初に(0番目に)訪問する場合には、f(9,0)=max(0,(100/2-0)×9)=450となる。また、もしこの自動販売機2を51番目に訪問する場合には、f(9,51)=max(0,(100/2-51)×9)=0となる。 The “order” in the above formula is a value indicating what order the vehicle 4 approaches the vending machine 2 . In this embodiment, the vending machine 2 that the vehicle 4 first visits is the 0th. For example, if there are a total of 100 vending machines 2 to be patrolled, and the route man visits the vending machine 2 with urgency=9 first (0th), then f(9,0)=max (0, (100/2−0)×9)=450. Also, if this vending machine 2 is visited 51st, then f(9,51)=max(0, (100/2-51)×9)=0.

式5における第1指標値は、経路上の距離の総和であり、次式から求められる。
第1指標値=Σ経路上で隣り合う2つの自動販売機間の距離 ・・・式8
The first index value in Equation 5 is the sum of distances on the route, and is obtained from the following equation.
First index value=distance between two vending machines adjacent on the Σ route Equation 8

式5における第2指標値は、前述したボーナスの積算値である。ここで補充量が多い(より多くの商品を自動販売機2に補充できる)ほうがより好ましい経路(低コストな経路)であるといえるため、第2指標値の符号はマイナスとなる。係数cは、補充量と距離の単位を調整する値(重み値)であり、単位距離に対する積載物の価値を表す。係数cが大きい(消費(補充)の価値が大きい)場合は、拠点3までの移動に時間を要しても積載物をなるべく自動販売機2に補充することができる経路が選ばれやすくなる。逆に係数cが小さい(消費(補充)することの価値が小さい)場合は、できるだけ拠点3に寄らず、最低限補充すべき量だけを自動販売機2に補充し、拠点3に戻る回数が少ない経路(移動時間が短い経路)が選ばれやすくなる。尚、巡回経路探索装置10に、計数c(重み値)の入力を受け付けて記憶するユーザインタフェースを設けてもよい。 The second index value in Equation 5 is the integrated bonus value described above. Here, the sign of the second index value is negative because it can be said that a route with a large replenishment amount (more products can be replenished to the vending machine 2) is a more preferable route (lower cost route). The coefficient c is a value (weight value) that adjusts the replenishment amount and the unit of distance, and represents the value of the load per unit distance. When the coefficient c is large (the value of consumption (replenishment) is large), a route that allows the vending machine 2 to be replenished with the load as much as possible is likely to be selected even if it takes time to move to the base 3 . Conversely, when the coefficient c is small (the value of consumption (replenishment) is small), the vending machine 2 is replenished with the minimum amount that should be replenished without going to the base 3 as much as possible, and the number of times of returning to the base 3 is increased. Less routes (routes with shorter travel times) are more likely to be chosen. The patrol route search device 10 may be provided with a user interface that receives and stores the input of the count c (weight value).

尚、拠点3を挿入するか否かの判定をMIN時積載残量が0になるか否か(MIN補充量で補充した場合でも残量が不足するか否か)に基づき行っているのに対し、ボーナスについてはMAX時積載残量に基づき求めているのは、拠点3に戻るのであれば、それまでの間にできるだけ多くの商品を自動販売機2に補充すべきであるとの考え方に基づく。 It should be noted that the determination of whether or not to insert base 3 is made based on whether or not the MIN load remaining amount is 0 (whether or not the remaining amount is insufficient even if the MIN replenishment amount is used). On the other hand, the bonus is sought based on the remaining load at MAX, based on the idea that if the vending machine 2 returns to base 3, the vending machine 2 should be replenished with as many products as possible before that time. based on

コスト生成評価部1123は、巡回経路上の拠点3から拠点3の間について、各地点(地点1、地点2、・・・地点i)の補充量を車両4の最大積載量を按分する形で決定する。例えば、MAX補充量で補充した場合における現在の積載量に比例する形で補充する場合は次式から補充量を決定する。
地点iの補充量=
地点iのMIN補充量+最大積載量×(地点iのMAX補充量-地点iのMIN補充量)/(各地点のMAX補充量の総和-各地点のMIN補充量の総和) ・・・式9
The cost generation evaluation unit 1123 divides the replenishment amount of each point (point 1, point 2, . decide. For example, when replenishing with the MAX replenishment amount, the replenishment amount is determined from the following equation when replenishing in proportion to the current loading amount.
Replenishment amount at point i =
MIN replenishment amount at point i + maximum load x (MAX replenishment amount at point i - MIN replenishment amount at point i) / (sum of MAX replenishment amounts at each point - summation of MIN replenishment amounts at each point) Formula 9

探索結果出力部1124は、経路探索処理部112により探索された巡回経路を出力装置15に出力する。 The search result output unit 1124 outputs the patrol route searched by the route search processing unit 112 to the output device 15 .

図7に拠点情報151の一例を示す。同図に示すように、拠点情報151は、拠点ID1511と位置情報1512の各項目を有する、拠点3ごとの一つ以上のレコードを含む。拠点ID1511には、拠点3の識別子(以下、拠点IDと称する。)が設定される。位置情報1512には、当該拠点3の位置を示す情報(本例では緯度経度)が設定される。 FIG. 7 shows an example of the base information 151. As shown in FIG. As shown in the figure, the site information 151 includes one or more records for each site 3, each of which has a site ID 1511 and location information 1512 items. The base ID 1511 is set with the identifier of the base 3 (hereinafter referred to as base ID). In the position information 1512, information indicating the position of the base 3 (in this example, latitude and longitude) is set.

図8に自動販売機情報152の一例を示す。同図に示すように、自動販売機情報152は、自動販売機ID1521、位置情報1522、商品残量1523、在庫可能最大量1524、MAX補充量1525、及びMIN補充量1526の各項目を有する、自動販売機2ごとの複数のレコードを含む。自動販売機ID1521には、自動販売機2の識別子(以下、自動販売機IDと称する。)が設定される。位置情報1522には、当該自動販売機2の位置を示す情報(本例では緯度経度)が設定される。商品残量1523には、当該自動販売機2の現在の商品残量が設定される。在庫可能最大量1524には、当該自動販売機2の在庫可能最大量が設定される。MAX補充量1525には当該自動販売機2のMAX補充量が設定される。MIN補充量1526には当該自動販売機2のMIN補充量が設定される。緊急度1527には、各自動販売機2から収集した緊急度(緊急度255)が設定される。 An example of vending machine information 152 is shown in FIG. As shown in the figure, the vending machine information 152 includes vending machine ID 1521, position information 1522, product remaining amount 1523, maximum inventory amount 1524, MAX replenishment amount 1525, and MIN replenishment amount 1526. Contains multiple records for each vending machine 2 . The vending machine ID 1521 is set with an identifier of the vending machine 2 (hereinafter referred to as vending machine ID). Information indicating the position of the vending machine 2 (latitude and longitude in this example) is set in the position information 1522 . The current product remaining amount of the vending machine 2 is set in the product remaining amount 1523 . The maximum possible inventory amount of the vending machine 2 is set in the maximum possible inventory amount 1524 . The MAX replenishment amount of the vending machine 2 is set in the MAX replenishment amount 1525 . The MIN replenishment amount of the vending machine 2 is set in the MIN replenishment amount 1526 . The degree of urgency (degree of urgency 255) collected from each vending machine 2 is set in the degree of urgency 1527 .

図9に車両情報153の一例を示す。同図に示すように、車両情報153は、車両ID1531及び最大積載量1532の各項目を有する、車両4ごとの一つ以上のレコードを含む。車両ID1531には、車両4の識別子(以下、車両IDと称する。)が設定される。最大積載量1532には、当該車両4の最大積載量が設定される。 An example of the vehicle information 153 is shown in FIG. As shown in the figure, the vehicle information 153 includes one or more records for each vehicle 4 having items of a vehicle ID 1531 and a maximum load capacity 1532 . Vehicle ID 1531 is set with an identifier of vehicle 4 (hereinafter referred to as vehicle ID). The maximum load capacity of the vehicle 4 is set in the maximum load capacity 1532 .

図10に現在経路情報154の一例を示す。現在経路情報154には、前述した現在経路を示す情報が設定される。本例では、現在経路情報154として、「拠点3→自動販売機2A→自動販売機2B→自動販売機2C→自動販売機2D→拠点3」という経路を示す情報が設定されている。 An example of the current route information 154 is shown in FIG. Information indicating the current route described above is set in the current route information 154 . In this example, as the current route information 154, information indicating the route "base 3→vending machine 2A→vending machine 2B→vending machine 2C→vending machine 2D→base 3" is set.

図11に次経路情報155の一例を示す。次経路情報155には、前述した次経路を示す情報が設定される。本例では、次経路情報155として、「拠点3→自動販売機2A→自動販売機2B→自動販売機2C→拠点3→自動販売機2D→拠点3」という経路を示す情報が設定されている。 FIG. 11 shows an example of the next route information 155. As shown in FIG. Information indicating the above-described next route is set in the next route information 155 . In this example, as the next route information 155, information indicating the route of "site 3→vending machine 2A→vending machine 2B→vending machine 2C→site 3→vending machine 2D→site 3" is set. .

続いて、経路探索処理部112により行われる経路探索に関する処理について具体的に説明する。 Next, a specific description will be given of processing related to the route search performed by the route search processing unit 112. FIG.

図12は、山登り法により経路探索処理部112が巡回経路を探索する際に行う処理(以下、経路探索処理S1200と称する。)を説明するフローチャートである。以下、同図とともに経路探索処理S1200について説明する。 FIG. 12 is a flowchart for explaining the processing (hereinafter referred to as route search processing S1200) performed by the route search processing unit 112 when searching for a patrol route using the hill-climbing method. The route search processing S1200 will be described below with reference to FIG.

まず候補経路生成部1121が、現在経路の初期値(例えば、ランダムに設定した経路)を生成する(S1211)。 First, the candidate route generator 1121 generates an initial value of the current route (for example, a randomly set route) (S1211).

続いて、シミュレーション処理部1122が、現在経路についてシミュレーションを行う(S1212)。 Subsequently, the simulation processing unit 1122 performs a simulation of the current route (S1212).

続いて、コスト生成評価部1123が、シミュレーションの結果に基づき、現在経路についてコストを求める(S1213)。 Subsequently, the cost generation evaluation unit 1123 obtains the cost for the current route based on the simulation results (S1213).

続いて、候補経路生成部1121が、現在経路に基づき次経路を生成する(S1214)。 Subsequently, the candidate route generator 1121 generates the next route based on the current route (S1214).

続いて、シミュレーション処理部1122が、次経路についてシミュレーションを行う(S1215)。 Subsequently, the simulation processing unit 1122 performs a simulation for the next route (S1215).

続いて、コスト生成評価部1123が、シミュレーションの結果に基づき、次経路の夫々についてコストを求める(S1216)。 Subsequently, the cost generation evaluation unit 1123 obtains the cost for each next route based on the simulation results (S1216).

続いて、コスト生成評価部1123が、次経路のコストが現在経路のコストよりも小さいか否かを判定する(S1217)。次経路のコストが現在経路のコストよりも小さい場合(S1217:YES)、コスト生成評価部1123は、次経路を現在経路として設定(次経路情報155を現在経路情報154として記憶)し直す(S1218)。その後、処理はS1219に進む。一方、次経路のコストが現在経路のコストよりも小さくない場合(S1217:NO)、処理はS1219に進む。 Subsequently, the cost generation evaluation unit 1123 determines whether or not the cost of the next route is smaller than the cost of the current route (S1217). If the cost of the next route is smaller than the cost of the current route (S1217: YES), the cost generation evaluation unit 1123 resets the next route as the current route (storing the next route information 155 as the current route information 154) (S1218). ). After that, the process proceeds to S1219. On the other hand, if the cost of the next route is not less than the cost of the current route (S1217: NO), the process proceeds to S1219.

S1219では、シミュレーション処理部1122が、次経路のコストが予め設定された閾値以下であるか否かを判定する。次経路のコストが予め設定された閾値以下である場合(S1219:YES)、処理はS1220に進む。次経路のコストが予め設定された閾値以下でない場合(S1219:NO)、処理はS1214に戻る。 In S1219, the simulation processing unit 1122 determines whether or not the cost of the next route is equal to or less than a preset threshold. If the cost of the next route is equal to or less than the preset threshold (S1219: YES), the process proceeds to S1220. If the cost of the next route is not equal to or less than the preset threshold (S1219: NO), the process returns to S1214.

S1220では、探索結果出力部1124が、次経路情報155を経路探索結果157として記憶する。尚、探索結果出力部1124は、経路探索結果157を出力装置15に適宜出力する。 In S<b>1220 , the search result output unit 1124 stores the next route information 155 as the route search result 157 . The search result output unit 1124 outputs the route search result 157 to the output device 15 as appropriate.

図13は、シミュレーテッドアニーリング法により経路探索処理部112が巡回経路を探索する際に行う処理(以下、経路探索処理S1300と称する。)を説明するフローチャートである。以下、同図とともに経路探索処理S1300について説明する。 FIG. 13 is a flowchart for explaining the processing (hereinafter referred to as route search processing S1300) performed by the route search processing unit 112 when searching for a patrol route using the simulated annealing method. The route search processing S1300 will be described below with reference to FIG.

まずシミュレーション処理部1122が、温度Tの初期値を設定する(S1311)。 First, the simulation processing unit 1122 sets the initial value of the temperature T (S1311).

続いて、候補経路生成部1121が、現在経路の初期値(例えば、ランダムに設定した経路)を生成する(S1312)。 Next, the candidate route generator 1121 generates an initial value of the current route (for example, a randomly set route) (S1312).

続いて、シミュレーション処理部1122が、現在経路についてシミュレーションを行う(S1313)。 Subsequently, the simulation processing unit 1122 performs a simulation of the current route (S1313).

続いて、コスト生成評価部1123が、シミュレーションの結果に基づき、現在経路についてコストを求める(S1314)。 Subsequently, the cost generation evaluation unit 1123 obtains the cost for the current route based on the simulation results (S1314).

続いて、候補経路生成部1121が、現在経路に基づき次経路を生成する(S1315)。 Subsequently, the candidate route generator 1121 generates the next route based on the current route (S1315).

続いて、シミュレーション処理部1122が、次経路について前述したシミュレーションを行う(S1316)。 Subsequently, the simulation processing unit 1122 performs the simulation described above for the next route (S1316).

続いて、コスト生成評価部1123が、シミュレーションの結果に基づき、次経路の夫々についてコストを求める(S1317)。 Subsequently, the cost generation evaluation unit 1123 obtains the cost for each next route based on the simulation result (S1317).

続いて、コスト生成評価部1123は、次経路を受理するか否かを判定する(S1318)。上記判定に際し、コスト生成評価部1123は、原則としてコストが現在経路のコストよりも小さいか否かを判定するが、コストが現在経路のコストより小さくない場合でも(即ち改悪となる場合でも)、温度Tに依存する確率で次経路を受理する。尚、上記の確率としては、例えば、メトロポリス基準が用いられる。このようにすることで、局所最適解に陥りにくくすることができる。コスト生成評価部1123が次経路を受理すると判定した場合(S1318:受理)、コスト生成評価部1123は、次経路を現在経路として設定(次経路情報155を現在経路情報154として記憶)し直す(S1319)。その後、処理はS1320に進む。一方、コスト生成評価部1123が次経路を受理しないと判定した場合(S1318:不受理)、処理はS1320に進む。 Subsequently, the cost generation evaluation unit 1123 determines whether or not to accept the next route (S1318). In making the above determination, the cost generation evaluation unit 1123 determines in principle whether or not the cost is less than the cost of the current route. It accepts the next path with a probability that depends on the temperature T. For the above probabilities, for example, the Metropolis standard is used. By doing so, it is possible to make it difficult to fall into a local optimal solution. When the cost generation evaluation unit 1123 determines to accept the next route (S1318: Accepted), the cost generation evaluation unit 1123 sets the next route as the current route (stores the next route information 155 as the current route information 154) again ( S1319). The process then proceeds to S1320. On the other hand, if the cost generation evaluation unit 1123 determines not to accept the next route (S1318: not accepted), the process proceeds to S1320.

S1320では、シミュレーション処理部1122が、温度Tを下げるか否かを判定する。シミュレーション処理部1122は、例えば、S1315~S1320のループ処理を予め設定された回数以上繰り返された場合に温度Tを下げると判定する。 In S1320, the simulation processing unit 1122 determines whether or not the temperature T should be lowered. The simulation processing unit 1122 determines to lower the temperature T, for example, when the loop processing of S1315 to S1320 is repeated a preset number of times or more.

シミュレーション処理部1122が温度Tを下げると判定した場合(S1320:YES)、シミュレーション処理部1122は温度Tを下げる(S1321)。その後、処理はS1322に進む。例えば、指数型アニーリングの場合、シミュレーション処理部1122は、Tk+1=γ・Tとする(但しγは冷却速度を決定する係数)。一方、シミュレーション処理部1122が温度Tを下げないと判定した場合(S1320:NO)、処理はS1315に戻る。 When the simulation processing unit 1122 determines to lower the temperature T (S1320: YES), the simulation processing unit 1122 lowers the temperature T (S1321). After that, the process proceeds to S1322. For example, in the case of exponential annealing, the simulation processing unit 1122 sets T k+1 =γ·T k (where γ is a coefficient that determines the cooling rate). On the other hand, when the simulation processing unit 1122 determines not to lower the temperature T (S1320: NO), the process returns to S1315.

S1322では、シミュレーション処理部1122が、次経路のコストが予め設定された閾値以下であるか否かを判定する。次経路のコストが予め設定された閾値以下である場合(S1322:YES)、処理はS1323に進む。次経路のコストが予め設定された閾値以下でない場合(S1322:NO)、処理はS1315に戻る。 In S1322, the simulation processing unit 1122 determines whether or not the cost of the next route is equal to or less than a preset threshold. If the cost of the next route is equal to or less than the preset threshold (S1322: YES), the process proceeds to S1323. If the cost of the next route is not equal to or less than the preset threshold (S1322: NO), the process returns to S1315.

S1323では、探索結果出力部1124が、次経路情報155を経路探索結果157として記憶する。尚、探索結果出力部1124は、経路探索結果157を出力装置15に適宜出力する。 In S<b>1323 , the search result output unit 1124 stores the next route information 155 as the route search result 157 . The search result output unit 1124 outputs the route search result 157 to the output device 15 as appropriate.

続いて、以上に説明した経路探索処理S1200または経路探索処理S1300に従って行われる処理を具体例とともに説明する。尚、説明の簡単のため、第3指標値は0であるものとする。 Next, the processing performed according to the route search processing S1200 or the route search processing S1300 described above will be described with specific examples. For simplicity of explanation, it is assumed that the third index value is 0.

図14Aは、図12のS1211または図13のS1312において初期値としてランダムに生成される現在経路の一例である。同図に示す現在経路は、「拠点3→自動販売機2A→自動販売機2C→自動販売機2B→自動販売機2D→拠点3」という経路である。 FIG. 14A is an example of a current route randomly generated as an initial value in S1211 of FIG. 12 or S1312 of FIG. The current route shown in the figure is a route of "site 3→vending machine 2A→vending machine 2C→vending machine 2B→vending machine 2D→site 3".

図14Bは、図12のS1214または図13のS1315において、図14Aの現在経路についてランダムに選択した2つの自動販売機2Bと自動販売機2Cの順序を入れ替えることにより生成される次経路の一例である。同図に示す次経路は、「拠点3→自動販売機2A→自動販売機2B→自動販売機2C→自動販売機2D→拠点3」という経路である。 FIG. 14B is an example of the next route generated by switching the order of the two vending machines 2B and 2C randomly selected for the current route of FIG. 14A in S1214 of FIG. 12 or S1315 of FIG. be. The next route shown in the figure is a route of "site 3→vending machine 2A→vending machine 2B→vending machine 2C→vending machine 2D→site 3".

図14Cは、図14Bに示した次経路に基づき行われる、図12のS1215または図13のS1316におけるシミュレーションの様子を示す図である。本例では、自動販売機2Cから自動販売機2Dに向かおうとした際、MIN時積載残量が5kgしかなく、自動販売機2DのMIN補充量の20kgに満たないため、自動販売機2Cから拠点3に戻る経路が挿入されている。同図に示す次経路は、「拠点3→自動販売機2A→自動販売機2B→自動販売機2C→拠点3→自動販売機2D→拠点3」という経路である。本例の場合、シミュレーション処理部1122は、自動販売機2Cから拠点3に戻る際のボーナス(=最大積載量-MAX時積載残量=100-0=100)と自動販売機2Dから拠点3に戻る際のボーナス(=最大積載量-MAX時積載残量=100-60=40)との積算値(=140)を求める。本例では、車両4の移動距離の合計は230(=30+50+10+70+30+40)であり、係数cを例えば2とした場合、コスト関数の値は、第1指標値-c×第2指標値=230-2×140=-50と求まる。 FIG. 14C is a diagram showing how the simulation in S1215 of FIG. 12 or S1316 of FIG. 13 is performed based on the next route shown in FIG. 14B. In this example, when the vending machine 2C is about to head to the vending machine 2D, the remaining load at MIN is only 5 kg, which is less than the MIN replenishment amount of the vending machine 2D, 20 kg. A route returning to base 3 is inserted. The next route shown in the figure is a route of "site 3→vending machine 2A→vending machine 2B→vending machine 2C→site 3→vending machine 2D→site 3". In the case of this example, the simulation processing unit 1122 calculates a bonus (=maximum load capacity−max remaining load capacity=100−0=100) when returning from the vending machine 2C to the base 3, and returns from the vending machine 2D to the base 3 Calculate the integrated value (=140) with the bonus for returning (=maximum loading capacity−maximum loading capacity=100−60=40). In this example, the total distance traveled by the vehicle 4 is 230 (=30+50+10+70+30+40), and if the coefficient c is 2, the value of the cost function is: first index value−c×second index value=230−2 x140=-50.

ここで図14Cのシミュレーションの結果に基づき、図12のS1217において現在経路よりもコストが改善されていると判定された場合(S1217:YES)、もしくは図13の受理判定S1318において受理と判定された場合(S1318:受理)、図14Cの経路が現在経路として設定される(図12のS1218または図13のS1319)。即ち現在経路は、「拠点3→自動販売機2A→自動販売機2B→自動販売機2C→拠点3→自動販売機2D→拠点3」という経路となり、この現在経路に基づき新たに次経路が生成される(図12のS1214または図12のS1315)。 Here, based on the simulation result of FIG. 14C, if it is determined in S1217 of FIG. 12 that the cost is improved from the current route (S1217: YES), or if it is determined to be accepted in the acceptance determination S1318 of FIG. If so (S1318: accept), the route in FIG. 14C is set as the current route (S1218 in FIG. 12 or S1319 in FIG. 13). That is, the current route becomes a route of "base 3→vending machine 2A→vending machine 2B→vending machine 2C→base 3→vending machine 2D→base 3", and the next route is newly generated based on this current route. (S1214 in FIG. 12 or S1315 in FIG. 12).

図14Dは、図14Cの経路(現在経路)を簡略化して描いた図である。また図14Eは、図12のS1214または図13のS135において図14Dの現在経路についてランダムに選択した2つの自動販売機2Cと拠点3の順序を入れ替えて生成される次経路の一例である。同図に示す次経路は、「拠点3→自動販売機2A→自動販売機2B→拠点3→自動販売機2C→自動販売機2D→拠点3」という経路である。 FIG. 14D is a simplified drawing of the route (current route) of FIG. 14C. FIG. 14E is an example of the next route generated by switching the order of the two vending machines 2C and the base 3 randomly selected for the current route of FIG. 14D in S1214 of FIG. 12 or S135 of FIG. The next route shown in the figure is a route of "site 3→vending machine 2A→vending machine 2B→site 3→vending machine 2C→vending machine 2D→site 3".

図14Fは、図14Eの次経路に基づき行われる図12のS1215または図13のS1316におけるシミュレーションの様子を示す図である。同図に示す経路には、自動販売機2Bから拠点3に戻る経路と自動販売機2Dから拠点3に戻る経路が含まれているので、シミュレーション処理部1122は、自動販売機2Bから拠点3に戻る際のボーナス(=最大積載量-MAX時積載残量=100-0=100)と自動販売機2Dから拠点3に戻る際のボーナス(=最大積載量-MAX時積載残量=100-0=100)との積算値(=200)を求める。本例では、車両4の移動距離の合計は330(=30+50+90+70+50+40)であり、係数cを例えば2とした場合、コスト関数の値は、第1指標値-c×第2指標値=330-2×200=-70と求まる。 FIG. 14F is a diagram showing how the simulation in S1215 of FIG. 12 or S1316 of FIG. 13 is performed based on the next route of FIG. 14E. The route shown in the figure includes a route returning from the vending machine 2B to the base 3 and a route returning from the vending machine 2D to the base 3. Bonus for returning (= maximum load - remaining load at MAX = 100 - 0 = 100) and bonus for returning from vending machine 2D to base 3 (= maximum load - remaining load at MAX = 100 - 0 = 100) to obtain an integrated value (= 200). In this example, the total distance traveled by the vehicle 4 is 330 (=30+50+90+70+50+40), and if the coefficient c is 2, the value of the cost function is: first index value−c×second index value=330−2 x200=-70.

ここで図14Fのシミュレーションの結果に基づき、図12のS1217において現在経路よりもコストが改善されていると判定された場合(S1217:YES)、もしくは図13の受理判定S1318において受理と判定された場合(S1318:受理)、図14Fに示す経路が現在経路として設定される(図12のS1218または図13のS1319)。即ち現在経路は、「拠点3→自動販売機2A→自動販売機2B→拠点3→自動販売機2C→自動販売機2D→拠点3」という経路となり、この現在経路に基づき新たに次経路が生成される(図12のS1214または図13のS1315)。 Here, based on the simulation result of FIG. 14F, if it is determined in S1217 of FIG. 12 that the cost is improved from the current route (S1217: YES), or if it is determined to be accepted in the acceptance determination S1318 of FIG. If so (S1318: accept), the route shown in FIG. 14F is set as the current route (S1218 in FIG. 12 or S1319 in FIG. 13). That is, the current route becomes a route of "base 3→vending machine 2A→vending machine 2B→base 3→vending machine 2C→vending machine 2D→base 3", and the next route is newly generated based on this current route. (S1214 in FIG. 12 or S1315 in FIG. 13).

尚、例えば、係数cを1に減少させた場合、即ち、車両4の積載物を消費(補充)することの価値を小さくした場合(積載物を消費(補充)することよりも移動時間が短いことを重視した場合)、図14Cの場合はコスト関数の値が90となり、図14Fの場合はコスト関数の値が130となり、現在経路の置き換えは行われず、図12のS1217ではNOと判定され、図13のS1318では不受理と判定される。 For example, when the coefficient c is reduced to 1, that is, when the value of consuming (replenishing) the cargo of the vehicle 4 is decreased (the traveling time is shorter than consuming (replenishing) the cargo) 14C, the cost function value is 90, and the cost function value is 130 in the case of FIG. 14F, the current route is not replaced, and S1217 in FIG. 12 is determined as NO. , is determined as non-acceptance in S1318 of FIG.

図15A及び図15Bは、以上の構成からなる巡回経路探索装置10により巡回経路探索を実際に行った場合の探索結果の例である。図15Aは、積載物を消費(補充)することよりも移動時間が短いことを重視した場合(係数cを小さくした場合)の探索結果であり、図15Bは、移動時間が短いことよりも積載物を消費(補充)することを重視した場合(係数cを図15Aの場合よりも大きくした場合)の探索結果である。 FIGS. 15A and 15B are examples of search results when a tour route search is actually performed by the tour route search device 10 configured as described above. FIG. 15A shows the search results when the short travel time is emphasized rather than the consumption (replenishment) of the load (when the coefficient c is made small), and FIG. This is the search result when the consumption (replenishment) of things is emphasized (when the coefficient c is set larger than in the case of FIG. 15A).

図15Aに示すように、積載物を消費(補充)することよりも移動時間が短いことを重視した場合、探索結果は拠点3に1回戻る巡回経路(MIN補充量に期待して、限界まで拠点3に寄らない巡回経路)に収束している。また図15Bに示すように、移動時間が短いことよりも積載物を消費(補充)することを重視した場合、探索結果は拠点3に2回寄る巡回経路(MAX補充量で補充を行うことにより積載物を使い切る直前に拠点3に寄る巡回経路)に収束している。このように係数cを調節することで、様々なニーズにあわせて巡回経路を探索することができる。 As shown in FIG. 15A , when shorter travel time is emphasized rather than consumption (replenishment) of cargo, the search result is a patrol route that returns to base 3 once patrol route that does not stop at base 3). Also, as shown in FIG. 15B, when the consumption (replenishment) of the load is emphasized rather than the short travel time, the search result is a patrol route that makes two stops at base 3 (replenishment with the MAX replenishment amount It converges on the patrol route that stops at the base 3 just before the cargo is used up. By adjusting the coefficient c in this way, it is possible to search for a tour route according to various needs.

以上に説明したように、本実施形態の巡回経路探索システム1にあっては、車両4に積載されている商品の各自動販売機2への補充量を、補充可能最大量(MAX補充量)と最低補充量(MIN補充量)とで定まる範囲で調節可能としつつ、コスト関数が最小になるように巡回経路を探索するので、現実の運用実態に即した形で柔軟かつ適切に巡回経路の探索を行うことができる。 As described above, in the patrol route search system 1 of the present embodiment, the replenishment amount of the products loaded on the vehicle 4 to each vending machine 2 is set to the maximum possible replenishment amount (MAX replenishment amount). and the minimum replenishment amount (MIN replenishment amount), while searching for the patrol route so as to minimize the cost function. Exploration can be done.

尚、以上に説明した実施形態は本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明はその趣旨を逸脱することなく変更、改良され得るとともに、本発明にはその等価物も含まれる。 The embodiments described above are intended to facilitate understanding of the present invention, and are not intended to limit and interpret the present invention. The present invention may be modified and improved without departing from its spirit, and the present invention also includes equivalents thereof.

例えば、以上では、自動販売機2の商品を補充する業務を例として説明したが、以上の仕組みは、例えば、タンクローリーにより複数のガソリンスタンドを巡回して貯蔵タンクにガソリンを補給する業務、農地の複数個所に設けられている農業用給水タンクの監視業務等、陸上や海上、上空を問わず、移動体が複数の設備を巡回して物資を補充する様々な場面に適用することができる。 For example, in the above description, the business of replenishing products in the vending machine 2 has been described as an example. It can be applied to a variety of situations, such as the monitoring of agricultural water tanks installed in multiple locations, where mobile units patrol multiple facilities and replenish supplies, regardless of whether they are on land, at sea, or in the air.

また巡回経路探索装置10は、車両4が巡回走行を開始した後に行ってもよい。その場合、例えば、現時点での車両4の積載量に基づき当該地点から先の経路を対象として巡回経路の探索を行うようにする。 Alternatively, the patrol route search device 10 may perform the patrol after the vehicle 4 starts to travel. In that case, for example, based on the load capacity of the vehicle 4 at the present time, a patrol route is searched for the route from the point in question.

また以上の実施形態では、巡回経路探索装置10が、各地に設けられている自動販売機2から収集した商品の消費の状況に関する情報を利用して巡回経路の探索を行っているが、例えば、巡回経路探索装置10が自動販売機2における商品の消費の状況をシミュレーションすることにより巡回経路の探索を行うようにしてもよい。 In the above-described embodiment, the patrol route search device 10 searches for patrol routes using information related to product consumption status collected from vending machines 2 installed in various places. The patrol route search device 10 may search for a patrol route by simulating the situation of product consumption in the vending machine 2 .

1 巡回経路探索システム
2 自動販売機
210 記憶部
211 販売制御処理部
212 金銭受付処理部
213 商品残量取得部
214 MAX補充量算出部
215 MIN補充量算出部
216 通信処理部
251 商品残量
252 在庫可能最大量
253 MAX補充量
254 MIN補充量
255 緊急度
3 拠点
4 車両
5 通信ネットワーク
10 巡回経路探索装置
110 記憶部
111 通信処理部
112 経路探索処理部
1121 候補経路生成部
1122 シミュレーション処理部
1123 コスト生成評価部
1124 探索結果出力部
151 拠点情報
152 自動販売機情報
153 車両情報
154 現在経路情報
155 次経路情報
156 コスト関数情報
157 経路探索結果
S1200 経路探索処理
S1300 経路探索処理
1 patrol route search system 2 vending machine 210 storage unit 211 sales control processing unit 212 money reception processing unit 213 product remaining amount acquisition unit 214 MAX replenishment amount calculation unit 215 MIN replenishment amount calculation unit 216 communication processing unit 251 product remaining amount 252 inventory Maximum possible amount 253 MAX replenishment amount 254 MIN replenishment amount 255 Urgency 3 Base 4 Vehicle 5 Communication network 10 Patrol route search device 110 Storage unit 111 Communication processing unit 112 Route search processing unit 1121 Candidate route generation unit 1122 Simulation processing unit 1123 Cost generation Evaluation unit 1124 Search result output unit 151 Site information 152 Vending machine information 153 Vehicle information 154 Current route information 155 Next route information 156 Cost function information 157 Route search result S1200 Route search processing S1300 Route search processing

Claims (15)

複数地点に設けられた設備の夫々に物資を補充しつつ巡回する移動体の巡回経路を探索する巡回経路探索装置であって、
前記設備の夫々について、夫々に補充可能な物資の最大量である補充可能最大量と、夫々に最低限補充しなければならない物資の量である最低補充量と、前記移動体に現在積載されている前記物資の量である積載残量と、前記移動体の最大積載量と、前記設備の夫々における前記物資の残量と、を記憶する記憶部と、
前記探索の候補となる巡回経路である候補経路を生成し、前記移動体に積載されている前記物資の前記設備への補充量を、前記補充可能最大量と前記最低補充量とで定まる範囲で調節可能としつつ、前記候補経路の経路長に関する第1指標値を求め、前記第1指標値に基づき前記巡回経路を探索し、前記巡回経路上の各設備での物資の補充量を、前記移動体の最大積載量を按分することにより算出する経路探索処理部と、
を備える、巡回経路探索装置。
A patrol route search device for searching for a patrol route of a moving body that patrols while replenishing supplies to facilities provided at a plurality of points,
For each of the facilities, a maximum replenishable amount that is the maximum amount of materials that can be replenished, a minimum replenishment amount that is the minimum amount of materials that must be replenished, and a current load on the moving body. a storage unit for storing a remaining load amount, which is the amount of the material in the vehicle, a maximum load amount of the moving body, and a remaining amount of the material in each of the facilities;
A candidate route, which is a patrol route that is a candidate for the search, is generated, and the replenishment amount of the materials loaded on the moving body to the facility is set within a range determined by the maximum possible replenishment amount and the minimum replenishment amount. While being adjustable, a first index value relating to the route length of the candidate route is obtained, the patrol route is searched based on the first index value, and the replenishment amount of supplies at each facility on the patrol route is determined by the movement a route search processing unit that calculates by proportionally dividing the maximum load capacity of the body ;
A patrol route search device.
請求項1に記載の巡回経路探索装置であって、
前記経路探索処理部は、前記移動体が前記候補経路に沿って移動した場合における、前記移動体が前記設備に寄る度に前記補充可能最大量の補充を行った場合における前記積載残量と、前記移動体が前記設備に寄る度に前記最低補充量の補充を行った場合における前記積載残量とをシミュレーションすることにより前記巡回経路を探索する、
巡回経路探索装置。
The patrol route search device according to claim 1,
The route search processing unit, when the moving body moves along the candidate route, the remaining load amount when the maximum replenishable amount is replenished every time the moving body comes to the facility; Searching for the patrol route by simulating the remaining load amount when the minimum replenishment amount is replenished each time the moving body stops by the facility;
Patrol route search device.
請求項1に記載の巡回経路探索装置であって、
前記経路探索処理部は、前記移動体が前記物資の補給が可能な拠点に戻る経路を含む巡回経路を前記候補経路として生成する、
巡回経路探索装置。
The patrol route search device according to claim 1,
The route search processing unit generates, as the candidate route, a patrol route including a route for the mobile body to return to a base where the goods can be replenished.
Patrol route search device.
請求項3に記載の巡回経路探索装置であって、
前記記憶部は、前記移動体の最大積載量を記憶し、
前記経路探索処理部は、前記最大積載量から前記補充可能最大量で巡回して前記拠点に戻る際の前記積載残量を引いた値に基づく第2指標値を求め、前記第2指標値に基づき前記巡回経路を探索する、
巡回経路探索装置。
The patrol route search device according to claim 3,
The storage unit stores a maximum load capacity of the mobile body,
The route search processing unit obtains a second index value based on a value obtained by subtracting the remaining load amount when traveling with the maximum replenishable amount and returning to the base from the maximum load amount. searching for the patrol route based on
Patrol route search device.
請求項4に記載の巡回経路探索装置であって、
前記記憶部は、前記巡回経路を探索する際の前記値の影響度を示す重み値を記憶し、
前記経路探索処理部は、前記重み値を前記第2指標値に作用させて前記巡回経路を探索する、
巡回経路探索装置。
The patrol route search device according to claim 4,
The storage unit stores a weight value indicating the degree of influence of the value when searching for the patrol route,
The route search processing unit searches for the tour route by applying the weight value to the second index value.
Patrol route search device.
請求項1乃至5のいずれか一項に記載の巡回経路探索装置であって、
前記記憶部は、前記設備の夫々の補充の緊急性を示す値である緊急度を記憶し、
前記経路探索処理部は、前記緊急度に関する第3指標値に基づき前記巡回経路を探索する、
巡回経路探索装置。
The patrol route search device according to any one of claims 1 to 5,
The storage unit stores an urgency level, which is a value indicating the urgency of replenishment of each of the equipment;
The route search processing unit searches for the patrol route based on a third index value related to the degree of urgency.
Patrol route search device.
請求項1乃至5のいずれか一項に記載の巡回経路探索装置であって、
前記記憶部は、前記設備の夫々の在庫可能最大量を記憶し、
前記経路探索処理部は、前記設備における前記在庫可能最大量から前記物資の残量を引いた値を前記補充可能最大量として用いる、
巡回経路探索装置。
The patrol route search device according to any one of claims 1 to 5,
The storage unit stores the maximum stockable amount of each of the equipment,
The route search processing unit uses a value obtained by subtracting the remaining amount of the material from the maximum possible stock amount in the equipment as the maximum replenishable amount.
Patrol route search device.
請求項1乃至5のいずれか一項に記載の巡回経路探索装置であって、
前記経路探索処理部は、山登り法、シミュレーテッドアニーリング法、遺伝的アルゴリズム、及びタブーサーチのうちのいずれかにより前記探索を行う、
巡回経路探索装置。
The patrol route search device according to any one of claims 1 to 5,
The route search processing unit performs the search by any one of a hill climbing method, a simulated annealing method, a genetic algorithm, and a tabu search,
Patrol route search device.
請求項1乃至5のいずれか一項に記載の巡回経路探索装置であって、
前記設備の夫々について、前記補充可能最大量及び前記最低補充量の少なくともいずれかを決定するための情報を受け付け、前記補充可能最大量及び前記最低補充量のうちの少なくともいずれかを前記情報に基づき求めて記憶するユーザインタフェースを備える、
巡回経路探索装置。
The patrol route search device according to any one of claims 1 to 5,
receiving information for determining at least one of the maximum replenishment amount and the minimum replenishment amount for each of the equipment, and determining at least one of the maximum replenishment amount and the minimum replenishment amount based on the information; with a seek-and-remember user interface;
Patrol route search device.
請求項9に記載の巡回経路探索装置であって、
前記物資の特性や前記物資の消費傾向に応じた値を前記最低補充量として受け付けて記憶するユーザインタフェースを備える、
巡回経路探索装置。
The patrol route search device according to claim 9,
A user interface that receives and stores a value according to the characteristics of the material and the consumption tendency of the material as the minimum replenishment amount,
Patrol route search device.
請求項9に記載の巡回経路探索装置であって、
前記記憶部は、前記設備の夫々の在庫可能最大量を記憶し、
前記設備の前記在庫可能最大量に対する割合を受け付け、前記在庫可能最大量に前記割合を乗算した値を当該設備の前記最低補充量として記憶するユーザインタフェースを備える、
巡回経路探索装置。
The patrol route search device according to claim 9,
The storage unit stores the maximum stockable amount of each of the equipment,
a user interface that receives a ratio of the equipment to the maximum stockable quantity and stores a value obtained by multiplying the maximum stockable quantity by the ratio as the minimum replenishment quantity of the equipment;
Patrol route search device.
請求項9に記載の巡回経路探索装置であって、
前記設備の前記補充可能最大量に対する割合を受け付け、前記補充可能最大量に前記割合を乗算した値を当該設備の前記最低補充量として記憶するユーザインタフェースを備える、
巡回経路探索装置。
The patrol route search device according to claim 9,
a user interface that receives a ratio of the maximum replenishable amount of the equipment and stores a value obtained by multiplying the maximum replenishable amount by the ratio as the minimum replenishment amount of the equipment;
Patrol route search device.
請求項5に記載の巡回経路探索装置であって、
前記重み値の入力を受け付けて記憶するユーザインタフェースを備える、
巡回経路探索装置。
The patrol route search device according to claim 5,
A user interface that receives and stores the input of the weight value,
Patrol route search device.
複数地点に設けられた設備の夫々に物資を補充しつつ巡回する移動体の巡回経路を探索する巡回経路探索方法であって、
情報処理装置が、
前記設備の夫々について、夫々に補充可能な物資の最大量である補充可能最大量と、夫々に最低限補充しなければならない物資の量である最低補充量と、前記移動体に現在積載されている前記物資の量である積載残量と、前記移動体の最大積載量と、前記設備の夫々における前記物資の残量と、を記憶するステップと、
前記探索の候補となる巡回経路である候補経路を生成し、前記移動体に積載されている前記物資の前記設備への補充量を、前記補充可能最大量と前記最低補充量とで定まる範囲で調節可能としつつ、前記候補経路の経路長に関する第1指標値を求め、前記第1指標値に基づき前記巡回経路を探索し、前記巡回経路上の各設備での物資の補充量を、前記移動体の最大積載量を按分することにより算出するステップと、
を実行する、巡回経路探索方法。
A patrol route search method for searching for a patrol route of a mobile body that patrols while replenishing materials to each of facilities provided at a plurality of points,
The information processing device
For each of the facilities, a maximum replenishable amount that is the maximum amount of materials that can be replenished, a minimum replenishment amount that is the minimum amount of materials that must be replenished, and a current load on the moving body. a step of storing a remaining load amount, which is the amount of the goods in the vehicle, a maximum load capacity of the moving body, and a remaining amount of the goods in each of the facilities;
A candidate route, which is a patrol route that is a candidate for the search, is generated, and the replenishment amount of the materials loaded on the moving body to the facility is set within a range determined by the maximum possible replenishment amount and the minimum replenishment amount. While being adjustable, a first index value relating to the route length of the candidate route is obtained, the patrol route is searched based on the first index value, and the replenishment amount of materials at each facility on the patrol route is determined by the movement a step of calculating by proportionally dividing the maximum load capacity of the body ;
A patrol pathfinding method that performs
複数地点に設けられた設備の夫々に物資を補充しつつ巡回する移動体の巡回経路を探索する巡回経路探索方法を実行する情報処理装置に、
前記設備の夫々について、夫々に補充可能な物資の最大量である補充可能最大量と、夫々に最低限補充しなければならない物資の量である最低補充量と、前記移動体に現在積載されている前記物資の量である積載残量と、前記移動体の最大積載量と、前記設備の夫々における前記物資の残量と、を記憶するステップと、
前記探索の候補となる巡回経路である候補経路を生成し、前記移動体に積載されている前記物資の前記設備への補充量を、前記補充可能最大量と前記最低補充量とで定まる範囲で調節可能としつつ、前記候補経路の経路長に関する第1指標値を求め、前記第1指標値に基づき前記巡回経路を探索し、前記巡回経路上の各設備での物資の補充量を、前記移動体の最大積載量を按分することにより算出するステップと、
を実行させるためのプログラム。
An information processing device that executes a patrol route search method for searching for a patrol route of a mobile body that patrols while replenishing supplies to facilities provided at a plurality of points,
For each of the facilities, a maximum replenishable amount that is the maximum amount of materials that can be replenished, a minimum replenishment amount that is the minimum amount of materials that must be replenished, and a current load on the moving body. a step of storing a remaining load amount, which is the amount of the goods in the vehicle, a maximum load capacity of the moving body, and a remaining amount of the goods in each of the facilities;
A candidate route, which is a patrol route that is a candidate for the search, is generated, and the replenishment amount of the materials loaded on the moving body to the facility is set within a range determined by the maximum possible replenishment amount and the minimum replenishment amount. While being adjustable, a first index value relating to the route length of the candidate route is obtained, the patrol route is searched based on the first index value, and the replenishment amount of supplies at each facility on the patrol route is determined by the movement a step of calculating by proportionally dividing the maximum load capacity of the body ;
program to run the
JP2018136366A 2018-07-20 2018-07-20 Patrol route search device, patrol route generation method, and program Active JP7114031B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018136366A JP7114031B2 (en) 2018-07-20 2018-07-20 Patrol route search device, patrol route generation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018136366A JP7114031B2 (en) 2018-07-20 2018-07-20 Patrol route search device, patrol route generation method, and program

Publications (2)

Publication Number Publication Date
JP2020013431A JP2020013431A (en) 2020-01-23
JP7114031B2 true JP7114031B2 (en) 2022-08-08

Family

ID=69169985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018136366A Active JP7114031B2 (en) 2018-07-20 2018-07-20 Patrol route search device, patrol route generation method, and program

Country Status (1)

Country Link
JP (1) JP7114031B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009119040A1 (en) 2008-03-28 2009-10-01 日本たばこ産業株式会社 Course creation system and course creation method
JP2010079808A (en) 2008-09-29 2010-04-08 Japan Tobacco Inc Circulation point sorting system and circulation point sorting method
JP2014115988A (en) 2012-11-13 2014-06-26 Suntory Beverage & Food Ltd Vending machine routing period determination device and vending machine routing period determination system
JP2014199537A (en) 2013-03-29 2014-10-23 富士通株式会社 Route information providing method, route information providing program, and route information providing device
JP2014199486A (en) 2013-03-29 2014-10-23 富士通株式会社 Information providing method, information providing program, and information providing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11110622A (en) * 1997-09-29 1999-04-23 Takeshi Oba Inventory control method and inventory control system of vending machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009119040A1 (en) 2008-03-28 2009-10-01 日本たばこ産業株式会社 Course creation system and course creation method
JP2010079808A (en) 2008-09-29 2010-04-08 Japan Tobacco Inc Circulation point sorting system and circulation point sorting method
JP2014115988A (en) 2012-11-13 2014-06-26 Suntory Beverage & Food Ltd Vending machine routing period determination device and vending machine routing period determination system
JP2014199537A (en) 2013-03-29 2014-10-23 富士通株式会社 Route information providing method, route information providing program, and route information providing device
JP2014199486A (en) 2013-03-29 2014-10-23 富士通株式会社 Information providing method, information providing program, and information providing device

Also Published As

Publication number Publication date
JP2020013431A (en) 2020-01-23

Similar Documents

Publication Publication Date Title
Brinkmann et al. Dynamic lookahead policies for stochastic-dynamic inventory routing in bike sharing systems
CN111626577B (en) Vehicle scheduling method and device
CN105447995B (en) Load the automatic plan making device of cash and method
US10424154B2 (en) Converting monetary value to player points
JP7122719B2 (en) Tour route generation device, tour route generation method, and program
Chakrabarty et al. A two-warehouse inventory model for deteriorating items with capacity constraints and back-ordering under financial considerations
Goedhart et al. Inventory rationing and replenishment for an omni-channel retailer
JP7114031B2 (en) Patrol route search device, patrol route generation method, and program
CN108416619A (en) A kind of consumption interval time prediction technique, device and readable storage medium storing program for executing
Arora et al. Approximating methodology: Managing cash in automated teller machines using fuzzy ARTMAP network
WO2017122388A1 (en) Information processing device, information processing method, automated teller machine, and program
JP2008293262A (en) Refilling operation support system for automatic vending machine
US20180308048A1 (en) System and Method for Managing Returned Merchandise Using Trucks Tasked With Delivering Merchandise
Ghodrati et al. ATM cash management using genetic algorithm
JP7188694B2 (en) Patrol route generation device, patrol route generation method and program
CN104809098A (en) Method and device for determining statistical model parameter based on expectation-maximization algorithm
US9972155B2 (en) Coin processing device
CN113971590A (en) Electronic coupon processing method, device, computer program product and storage medium
US10169947B1 (en) Transaction device and a method of currency item replenishment in a transaction device
US20190312940A1 (en) Apparatus and method for analyzing using pattern of crypto currency and providing service based on artificial intelligence
Bouma et al. The routed inventory pooling problem with three non-identical retailers
CN110738495A (en) Member resource allocation method and device
GB2553539A (en) A transaction device and a method of currency item replenishment in a transaction device
CN109697520B (en) Transaction device and method for supplementing money items in transaction device
ES2919791T3 (en) Transaction device and method of replenishing currency elements in a transaction device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220602

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220621

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220719

R150 Certificate of patent or registration of utility model

Ref document number: 7114031

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150