JP7663030B2 - Delivery plan creation device and delivery plan creation system - Google Patents
Delivery plan creation device and delivery plan creation system Download PDFInfo
- Publication number
- JP7663030B2 JP7663030B2 JP2021098962A JP2021098962A JP7663030B2 JP 7663030 B2 JP7663030 B2 JP 7663030B2 JP 2021098962 A JP2021098962 A JP 2021098962A JP 2021098962 A JP2021098962 A JP 2021098962A JP 7663030 B2 JP7663030 B2 JP 7663030B2
- Authority
- JP
- Japan
- Prior art keywords
- delivery
- delivery plan
- plan creation
- products
- creation unit
- 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
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
この発明は、配送計画作成装置および配送計画作成システムに関し、特に、複数の自動販売機への商品の配送ルートを示す配送計画を作成する配送計画作成装置および配送計画作成システムに関する。 This invention relates to a delivery plan creation device and a delivery plan creation system, and in particular to a delivery plan creation device and a delivery plan creation system that create a delivery plan that shows product delivery routes to multiple vending machines.
従来、自動販売機管理システムが知られている(たとえば、特許文献1参照)。 Conventionally, vending machine management systems are known (see, for example, Patent Document 1).
上記特許文献1には、電子マネーに対応して商品の販売を行う自動販売機における自動販売機管理システムが開示されている。この自動販売機管理システムでは、複数の自動販売機を巡回するルートマンが携帯する端末によって、電子マネーのデータを自動販売機から収集している。また、上記特許文献1に記載のような従来の自動販売機では、作業者(ルートマン)によって、商品の補充作業および金銭の回収などの作業が行われている。
The above-mentioned
ここで、自動販売機では、商品の売り切れが発生し、販売の機会を失うことによって、売上が低下する場合がある。そのため、担当する複数の自動販売機を随時巡回したり、予め定められた配送ルートを回りながら、商品の配送(補充)作業を行う作業者(ルートマン)によって、自動販売機に対する商品の補充などの作業が行われている。しかしながら、巡回ルートおよび予め定められた配送ルートは、必ずしも、実際の配送時において、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な配送ルートとはならないという問題点がある。 In vending machines, products may sell out, resulting in lost sales opportunities and a decline in sales. For this reason, workers (routemen) who deliver (refill) products to vending machines by visiting multiple vending machines as needed or traveling along a pre-defined delivery route are tasked with replenishing products. However, there is a problem in that the patrol route and the pre-defined delivery route are not necessarily efficient delivery routes that can prevent an increase in delivery time during actual delivery while also preventing a decline in sales of vending machine products caused by products being sold out.
この発明は、上記のような課題を解決するためになされたものであり、この発明の1つの目的は、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な配送ルートを作成可能な配送計画作成装置および配送計画作成システムを提供することである。 This invention has been made to solve the above problems, and one objective of the invention is to provide a delivery plan creation device and delivery plan creation system that can create efficient delivery routes that suppress increases in delivery time while suppressing declines in sales of products in vending machines due to sold-out items.
上記目的を達成するために、この発明の第1の局面による配送計画作成装置は、機械学習により複数の自動販売機への商品の配送ルートを示す配送計画を作成する配送計画作成部と、配送計画作成部により作成した配送計画を、ネットワークを介して、自動販売機に商品の補充作業を行う作業者が携帯する携帯端末に出力するための出力部とを備え、複数の自動販売機の商品の売上の予測値である予測需要と、複数の自動販売機の各々の商品の在庫情報とに基づいて、配送計画作成部の状態としての予測需要および在庫情報に対する、行動としての配送計画によって得られる価値を表す学習済モデルにより配送計画を作成するように構成されており、配送計画を実際に実施した際における、複数の自動販売機の商品の売上と、商品の配送にかかる総移動時間と複数の自動販売機の各々の商品の在庫情報とを含む配送実績情報を用いて、配送計画作成部の学習済モデルが表す配送計画の価値に関する、学習済モデルの強化学習を行うことによって、配送計画作成部の学習済モデルを更新するように構成されており、出力部は、更新後の配送計画作成部の学習済モデルによって作成された配送計画を、ネットワークを介して携帯端末に出力するように構成されている。 In order to achieve the above object, a delivery plan creation device according to a first aspect of the present invention includes a delivery plan creation unit that creates a delivery plan indicating a delivery route for products to multiple vending machines by machine learning, and an output unit that outputs the delivery plan created by the delivery plan creation unit to a mobile device carried by an operator who performs work to replenish products in the vending machines via a network. The delivery plan is configured to create a delivery plan using a trained model that represents a value obtained by the delivery plan as an action for the forecasted demand and inventory information as a state of the delivery plan creation unit, based on a forecasted demand that is a forecast value of sales of products from the multiple vending machines and inventory information of products for each of the multiple vending machines. The delivery plan creation device is configured to update the trained model of the delivery plan creation unit by performing reinforcement learning of the trained model regarding the value of the delivery plan represented by the trained model of the delivery plan creation unit using delivery performance information including sales of products from the multiple vending machines , the total travel time required to deliver the products, and inventory information of products for each of the multiple vending machines when the delivery plan is actually implemented, and the output unit is configured to output the delivery plan created by the trained model of the delivery plan creation unit after the update to the mobile device via the network.
上記第1の局面による配送計画作成装置では、上記のように、複数の自動販売機の商品の売上の予測値である予測需要と、複数の自動販売機の各々の商品の在庫情報とに基づいて、配送計画作成部の学習済モデルにより配送計画を作成する。これにより、売り切れに起因する商品の売上の低下を抑制することが可能な配送計画を作成することができる。また、配送計画を実際に実施した際における配送実績情報に基づいて、配送計画作成部の学習済モデルを用いた機械学習を行うことによって、配送計画作成部の学習済モデルが更新される。これにより、配送計画作成部の学習済モデルを、配送計画を実際に実施した際における複数の自動販売機の商品の売上と商品の配送にかかる総移動時間とを含む配送実績情報が反映された学習済モデルに更新することができる。その結果、配送計画作成部は、学習済モデルの更新後の配送時において、配送計画を実際に実施した際における複数の自動販売機の商品の売上と商品の配送にかかる総移動時間とを含む配送実績情報が反映された効率的な配送計画を作成することができるようになる。これら結果、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な配送ルートを作成することができる。また、出力部が、更新後の配送計画作成部の学習済モデルによって作成された配送計画を、ネットワークを介して携帯端末に出力するので、作業者は、携帯端末によって、上記配送実績情報が反映された、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な配送計画を確認することができる。その結果、作業者は、上記配送実績情報が反映された、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な商品の配送を行うことができる。 In the delivery plan creation device according to the first aspect, as described above, a delivery plan is created by the trained model of the delivery plan creation unit based on the predicted demand, which is a predicted value of the sales of products from multiple vending machines, and the inventory information of each product from the multiple vending machines. This makes it possible to create a delivery plan that can suppress a decrease in sales of products due to sellouts. In addition, the trained model of the delivery plan creation unit is updated by performing machine learning using the trained model of the delivery plan creation unit based on delivery performance information when the delivery plan is actually implemented. This makes it possible to update the trained model of the delivery plan creation unit to a trained model that reflects delivery performance information including the sales of products from multiple vending machines and the total travel time required to deliver the products when the delivery plan is actually implemented. As a result, the delivery plan creation unit can create an efficient delivery plan that reflects delivery performance information including the sales of products from multiple vending machines and the total travel time required to deliver the products when the delivery plan is actually implemented at the time of delivery after the trained model is updated. As a result, it is possible to create an efficient delivery route that suppresses an increase in delivery time while suppressing a decrease in sales of products from vending machines due to sellouts. In addition, the output unit outputs the delivery plan created by the updated trained model of the delivery plan creation unit to the mobile device via the network, so the worker can check, on the mobile device, an efficient delivery plan that reflects the delivery performance information and suppresses an increase in delivery time while suppressing a decrease in sales of vending machine products due to sold-outs. As a result, the worker can deliver products efficiently, reflecting the delivery performance information and suppressing an increase in delivery time while suppressing a decrease in sales of vending machine products due to sold-outs.
上記第1の局面による配送計画作成装置において、好ましくは、配送計画作成部の学習済モデルは、状態としての予測需要および在庫情報に対する、行動としての配送計画によって得れられる価値を表す状態行動価値関数を含み、配送計画作成部は、状態行動価値関数に基づいて、配送計画を作成するように構成されており、配送実績情報に基づく配送計画作成部の学習済モデルを用いた強化学習によって、学習済モデルの状態行動価値関数を更新するように構成されている。このように構成すれば、配送実績情報に基づいて更新された状態行動価値関数によって、上記配送実績情報が反映された、配送時間が短く、自動販売機の商品の売上の多い配送計画を作成することができる。その結果、配送計画作成部によって、複数の自動販売機への商品の配送時において、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制可能な効率的な配送ルートを作成することができる。 In the delivery plan creation device according to the first aspect, preferably, the trained model of the delivery plan creation unit includes a state-action value function that represents the value obtained by the delivery plan as an action for the predicted demand and inventory information as a state, and the delivery plan creation unit is configured to create a delivery plan based on the state-action value function, and is configured to update the state-action value function of the trained model by reinforcement learning using the trained model of the delivery plan creation unit based on delivery performance information. With this configuration, a delivery plan that has a short delivery time and high sales of products from vending machines, in which the delivery performance information is reflected, can be created by the state-action value function updated based on the delivery performance information. As a result, the delivery plan creation unit can create an efficient delivery route that can suppress an increase in delivery time when delivering products to multiple vending machines, while suppressing a decrease in sales of products from vending machines due to products being sold out.
上記第1の局面による配送計画作成装置において、好ましくは、複数の自動販売機への商品の配送完了後において、配送計画作成部の学習済モデルを、配送実績情報に基づく配送計画作成部の学習済モデルを用いた機械学習によって更新するように構成されている。このように構成すれば、複数の自動販売機への商品の配送開始から配送完了までの上記配送実績情報を反映させるように、配送計画作成部の学習済モデルを更新することができる。その結果、学習済モデル更新後の配送計画作成部によって、複数の自動販売機への商品の配送時において、配送時間の増加をより抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下をより抑制可能な、より効率的な配送計画(配送ルート)を作成することができる。 In the delivery plan creation device according to the first aspect, the trained model of the delivery plan creation unit is preferably configured to update the trained model of the delivery plan creation unit by machine learning using the trained model of the delivery plan creation unit based on delivery performance information after delivery of products to the multiple vending machines is completed. With this configuration, the trained model of the delivery plan creation unit can be updated to reflect the delivery performance information from the start of delivery of products to the multiple vending machines to the completion of delivery. As a result, the delivery plan creation unit after updating the trained model can create a more efficient delivery plan (delivery route) that can further suppress an increase in delivery time when delivering products to the multiple vending machines and further suppress a decrease in sales of products in the vending machines due to products being sold out.
上記第1の局面による配送計画作成装置において、好ましくは、作業者の商品の配送時における作業者の位置情報を含む配送実績情報を取得し、配送計画作成部の学習済モデルは、取得された位置情報を含む配送実績情報に基づく、学習済モデルを用いた機械学習によって更新されるように構成されている。このように構成すれば、作業者の位置情報を含む配送実績情報から、作業者の商品の配送時において、複数の自動販売機間の移動時間を取得することができる。その結果、実際の商品の配送において、複数の自動販売機間の移動時間が、配送計画を作成した際に想定した移動時間よりも長い場合には、作業者の位置情報を含む配送実績情報から取得した複数の自動販売機間の移動時間に基づいて、配送計画作成部の学習済モデルを更新することができる。これにより、複数の自動販売機間の経路や配送する自動販売機の順番を変えるなどして、より最適な配送ルートを作成することができるので、より効率的な配送計画を作成することができる。 In the delivery plan creation device according to the first aspect, delivery record information including the location information of the worker when the worker delivers the product is preferably acquired, and the trained model of the delivery plan creation unit is configured to be updated by machine learning using the trained model based on the delivery record information including the acquired location information. With this configuration, the travel time between multiple vending machines when the worker delivers the product can be acquired from the delivery record information including the location information of the worker. As a result, if the travel time between multiple vending machines in the actual delivery of the product is longer than the travel time assumed when the delivery plan was created, the trained model of the delivery plan creation unit can be updated based on the travel time between multiple vending machines acquired from the delivery record information including the location information of the worker. This makes it possible to create a more optimal delivery route by changing the route between multiple vending machines or the order of the vending machines to be delivered, and therefore to create a more efficient delivery plan.
上記第1の局面による配送計画作成装置において、好ましくは、配送計画作成部は、配送計画の作成において、複数日間における複数の自動販売機の商品の売上の予測値である予測需要を用いるように構成されている。このように構成すれば、複数日間における商品の配送にかかる総移動時間の合計または総移動距離の合計が少ない配送ルートを作成することができる。その結果、複数日間にわたって配送する場合において効率的な複数の自動販売機への商品の配送ルートを、配送計画作成部によって作成することができる。 In the delivery plan creation device according to the first aspect, the delivery plan creation unit is preferably configured to use predicted demand, which is a predicted value of product sales of multiple vending machines over multiple days, when creating the delivery plan. With this configuration, it is possible to create a delivery route that has a short total travel time or total travel distance required to deliver products over multiple days. As a result, the delivery plan creation unit can create an efficient delivery route for products to multiple vending machines when delivering over multiple days.
上記第1の局面による配送計画作成装置において、好ましくは、作業者による商品の配送時において、配送計画を実際に実施した際における配送実績情報を取得し、配送計画作成部は、作業者による商品の配送時において取得された在庫情報を含む配送実績情報、および、複数の自動販売機の商品の売上の予測値である予測需要を入力として、配送計画を出力するように構成されており、配送計画作成部の学習済モデルを更新せずに、取得した配送実績情報に基づいて、配送計画を修正するように構成されている。このように構成すれば、配送計画作成部は、実際の在庫情報に基づいて、学習済モデルの更新前に配送計画を修正することができる。その結果、学習済モデルの更新前に実際の在庫情報を反映させ、より効率的な配送計画に、配送計画を修正することができる。また、配送計画作成部の学習済モデルを更新せずに、配送計画を修正することによって、配送計画作成部の学習済モデルを随時更新する場合に比べて、配送計画の修正を容易に行うことができる。 In the delivery plan creation device according to the first aspect, preferably, when the worker delivers the goods, delivery performance information when the delivery plan is actually implemented is acquired, and the delivery plan creation unit is configured to output a delivery plan using delivery performance information including inventory information acquired when the worker delivers the goods and forecast demand, which is a forecast value of sales of the goods of the multiple vending machines, as input, and is configured to correct the delivery plan based on the acquired delivery performance information without updating the trained model of the delivery plan creation unit. With this configuration, the delivery plan creation unit can correct the delivery plan based on actual inventory information before updating the trained model. As a result, the delivery plan can be revised to a more efficient delivery plan by reflecting actual inventory information before updating the trained model. In addition, by correcting the delivery plan without updating the trained model of the delivery plan creation unit, it is easier to revise the delivery plan compared to the case where the trained model of the delivery plan creation unit is updated from time to time.
上記第1の局面による配送計画作成装置において、好ましくは、作業者による商品の配送時において、配送計画を実際に実施した際における配送実績情報を、ネットワークを介して取得し、配送計画作成部の学習済モデルを更新せずに、取得した配送実績情報に基づいて、配送計画を作業者による商品の配送中に修正し、修正後の配送計画を、ネットワークを介して、複数の作業者の各々の携帯端末に送信するように構成されている。このように構成すれば、作業者による商品の配送中において、取得した配送実績情報に基づいて修正された配送計画が複数の作業者の各々の携帯端末に送信されるので、作業者は、商品の配送中において、リアルタイムで配送中の状況を反映した効率的な商品の配送を行うことができる。また、配送計画作成部の学習済モデルを更新せずに、配送計画を修正することによって、配送計画作成部の学習済モデルを随時更新する場合に比べて、商品の配送中におけるリアルタイムでの配送計画の修正を迅速に行うことができる。 In the delivery plan creation device according to the first aspect, preferably, when a worker delivers goods, delivery performance information when the delivery plan is actually implemented is acquired via a network, and the delivery plan is modified while the worker is delivering the goods based on the acquired delivery performance information without updating the trained model of the delivery plan creation unit, and the modified delivery plan is transmitted via a network to each mobile device of the multiple workers. With this configuration, while the worker is delivering the goods, a delivery plan modified based on the acquired delivery performance information is transmitted to each mobile device of the multiple workers, so that the worker can deliver the goods efficiently while the goods are being delivered, reflecting the situation during delivery in real time. In addition, by modifying the delivery plan without updating the trained model of the delivery plan creation unit, the delivery plan can be modified in real time while the goods are being delivered more quickly than when the trained model of the delivery plan creation unit is updated from time to time.
上記第1の局面による配送計画作成装置において、好ましくは、複数の作業者による商品の配送時において、複数の作業者の各々が配送可能な商品の数である商品輸送量を、ネットワークを介して取得し、配送計画作成部の学習済モデルを更新せずに、取得した複数の作業者の各々の商品輸送量に基づいて、配送計画を作業者による商品の配送中に修正し、修正後の配送計画を、ネットワークを介して、複数の作業者の各々の携帯端末に送信するように構成されている。このように構成すれば、作業者による商品の配送中において、取得した複数の作業者の各々の商品輸送量に基づいて配送計画を修正することができるので、ある作業者の商品輸送量が不足した場合でも、商品輸送量に余裕のある他の作業者が代わりに商品の補充を行うように配送ルートを修正することができる。そして、修正後の配送計画が複数の作業者の各々の携帯端末に送信されるので、作業者は、作業者毎の商品輸送量を反映した効率的な商品の配送を行うことができる。また、配送計画作成部の学習済モデルを更新せずに、配送計画を修正することによって、配送計画作成部の学習済モデルを随時更新する場合に比べて、取得した複数の作業者の各々の商品輸送量に基づく配送計画の修正を、商品の配送中において迅速に行うことができる。 In the delivery plan creation device according to the first aspect, preferably, when a plurality of workers deliver goods, the product transport volume, which is the number of goods that each of the plurality of workers can deliver, is acquired via a network, and the delivery plan is modified during the delivery of goods by the workers based on the acquired product transport volume of each of the plurality of workers without updating the trained model of the delivery plan creation unit, and the modified delivery plan is transmitted via a network to each mobile terminal of the plurality of workers. With this configuration, the delivery plan can be modified based on the acquired product transport volume of each of the plurality of workers while the workers are delivering goods, so that even if a certain worker's product transport volume is insufficient, the delivery route can be modified so that another worker who has a surplus in product transport volume replenishes the goods instead. Then, since the modified delivery plan is transmitted to each mobile terminal of the plurality of workers, the workers can deliver goods efficiently reflecting the product transport volume of each worker. In addition, by modifying the delivery plan without updating the trained model of the delivery plan creation unit, the delivery plan based on the acquired product transport volume of each of the plurality of workers can be modified during the delivery of goods, compared to the case where the trained model of the delivery plan creation unit is updated from time to time.
上記第1の局面による配送計画作成装置において、好ましくは、配送計画作成部の学習済モデルの作成を行う際に、複数の自動販売機の商品の売上の予測値または過去の実績値の少なくとも一方と、複数の自動販売機の各々の商品の在庫数の予測値または過去の実績値の少なくとも一方とに基づく仮配送計画を、配送計画作成部により作成し、仮配送計画による複数の自動販売機への商品の配送のシミュレーション結果における商品の売上と、複数の自動販売機への商品の配送のシミュレーション結果における商品の配送にかかる総移動時間とを含む、予測配送実績情報を取得し、配送計画作成部における機械学習として、予測配送実績情報に基づく強化学習を行うことにより、学習済モデルを作成するように構成されている。このように構成すれば、仮配送計画に基づくシミュレーション結果によって得られる予測配送実績情報によって、実際に商品の配送を実施する前に、強化学習による学習を行わせることができる。その結果、仮配送計画に基づくシミュレーション結果によって得られる予測配送実績情報による強化学習を行わない場合に比べて、実際の商品の配送を行う前に、より効率的な配送計画を作成可能な配送計画作成部の学習済モデルを作成することができる。 In the delivery plan creation device according to the first aspect, preferably, when creating the trained model of the delivery plan creation unit, the delivery plan creation unit creates a tentative delivery plan based on at least one of the predicted values or past actual values of sales of products of the multiple vending machines and at least one of the predicted values or past actual values of the inventory quantity of each product of the multiple vending machines, obtains predicted delivery performance information including product sales in the simulation result of product delivery to the multiple vending machines based on the tentative delivery plan and the total travel time required for product delivery in the simulation result of product delivery to the multiple vending machines, and performs reinforcement learning based on the predicted delivery performance information as machine learning in the delivery plan creation unit to create the trained model. With this configuration, learning by reinforcement learning can be performed using the predicted delivery performance information obtained by the simulation result based on the tentative delivery plan before actually delivering the products. As a result, a trained model of the delivery plan creation unit that can create a more efficient delivery plan before actually delivering the products can be created compared to the case where reinforcement learning is not performed using the predicted delivery performance information obtained by the simulation result based on the tentative delivery plan.
上記目的を達成するために、この発明の第2の局面による配送計画作成システムは、自動販売機に商品の補充作業を行う作業者が携帯する携帯端末と、複数の自動販売機への商品の配送ルートを示す配送計画を作成する配送計画作成装置と、を備え、配送計画作成装置は、機械学習により配送計画を作成する配送計画作成部と、配送計画作成部により作成した配送計画を、ネットワークを介して、携帯端末に出力するための出力部とを含み、複数の自動販売機の商品の売上の予測値である予測需要と、複数の自動販売機の各々の商品の在庫情報とに基づいて、配送計画作成部の状態としての予測需要および在庫情報に対する、行動としての配送計画によって得られる価値を表す学習済モデルにより配送計画を作成するように構成されており、配送計画を実際に実施した際における、複数の自動販売機の商品の売上と、商品の配送にかかる総移動時間と複数の自動販売機の各々の商品の在庫情報とを含む配送実績情報を用いて、配送計画作成部の学習済モデルが表す配送計画の価値に関する、学習済モデルの強化学習を行うことによって、配送計画作成部の学習済モデルを更新するように構成されており、出力部は、更新後の配送計画作成部の学習済モデルによって作成された配送計画を、ネットワークを介して携帯端末に出力するように構成されている。 In order to achieve the above object, a delivery plan creation system according to a second aspect of the present invention includes a mobile terminal carried by an operator who replenishes products in vending machines, and a delivery plan creation device that creates a delivery plan indicating a delivery route for products to a plurality of vending machines, the delivery plan creation device including a delivery plan creation unit that creates a delivery plan by machine learning, and an output unit that outputs the delivery plan created by the delivery plan creation unit to the mobile terminal via a network, and based on a predicted demand that is a predicted value of sales of products in the plurality of vending machines and inventory information of each of the plurality of vending machines, a running forecast of the delivery plan creation unit's status with respect to the predicted demand and inventory information. The delivery plan is configured to create a delivery plan using a trained model that represents the value obtained by the delivery plan as an action , and is configured to update the trained model of the delivery plan creation unit by performing reinforcement learning of the trained model regarding the value of the delivery plan represented by the trained model of the delivery plan creation unit using delivery performance information including sales of products from multiple vending machines , total travel time required to deliver the products, and inventory information of each product in the multiple vending machines when the delivery plan is actually implemented, and the output unit is configured to output the delivery plan created by the updated trained model of the delivery plan creation unit to a mobile terminal via a network.
上記第2の局面による配送計画作成システムでは、上記のように、配送計画作成装置が、複数の自動販売機の商品の売上の予測値である予測需要と、複数の自動販売機の各々の商品の在庫情報とに基づいて、配送計画作成部の学習済モデルにより配送計画を作成する。これにより、売り切れに起因する商品の売上の低下を抑制することが可能な配送計画を作成することができる。また、配送計画を実際に実施した際における配送実績情報に基づいて、配送計画作成部の学習済モデルを用いた機械学習を行うことによって、配送計画作成部の学習済モデルが更新される。これにより、配送計画作成部の学習済モデルを、配送計画を実際に実施した際における複数の自動販売機の商品の売上と商品の配送にかかる総移動時間とを含む配送実績情報が反映された学習済モデルに更新することができる。その結果、配送計画作成部は、学習済モデルの更新後の配送時において、配送計画を実際に実施した際における複数の自動販売機の商品の売上と商品の配送にかかる総移動時間とを含む配送実績情報が反映された効率的な配送計画を作成することができるようになる。これら結果、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な配送ルートを作成することができる。また、出力部が、更新後の配送計画作成部の学習済モデルによって作成された配送計画を、ネットワークを介して携帯端末に出力するので、作業者は、携帯端末によって、上記配送実績情報が反映された、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な配送計画を確認することができる。その結果、作業者は、上記配送実績情報が反映された、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な商品の配送を行うことができる。 In the delivery plan creation system according to the second aspect, as described above, the delivery plan creation device creates a delivery plan using the trained model of the delivery plan creation unit based on the predicted demand, which is a predicted value of the sales of products from multiple vending machines, and the inventory information of each product from the multiple vending machines. This makes it possible to create a delivery plan that can suppress a decrease in sales of products due to sellouts. In addition, the trained model of the delivery plan creation unit is updated by performing machine learning using the trained model of the delivery plan creation unit based on delivery performance information when the delivery plan is actually implemented. This makes it possible to update the trained model of the delivery plan creation unit to a trained model that reflects delivery performance information including the sales of products from multiple vending machines and the total travel time required to deliver the products when the delivery plan is actually implemented. As a result, the delivery plan creation unit can create an efficient delivery plan that reflects delivery performance information including the sales of products from multiple vending machines and the total travel time required to deliver the products when the delivery plan is actually implemented, at the time of delivery after the trained model is updated. As a result, it is possible to create an efficient delivery route that suppresses an increase in delivery time while suppressing a decrease in sales of products from vending machines due to sellouts. In addition, the output unit outputs the delivery plan created by the updated trained model of the delivery plan creation unit to the mobile device via the network, so the worker can check, on the mobile device, an efficient delivery plan that reflects the delivery performance information and suppresses an increase in delivery time while suppressing a decrease in sales of vending machine products due to sold-outs. As a result, the worker can deliver products efficiently, reflecting the delivery performance information and suppressing an increase in delivery time while suppressing a decrease in sales of vending machine products due to sold-outs.
本発明によれば、上記のように、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機の商品の売上の低下を抑制する効率的な配送ルートを作成することができる。 As described above, the present invention makes it possible to create an efficient delivery route that prevents increases in delivery time while also preventing declines in sales of products from vending machines due to sold-out items.
以下、本発明を具体化した実施形態を図面に基づいて説明する。 The following describes an embodiment of the present invention with reference to the drawings.
(配送計画作成システムの全体構成)
図1を参照して、本実施形態による配送計画作成システム100の全体構成について説明する。
(Overall configuration of the delivery plan creation system)
The overall configuration of a delivery
図1に示すように、配送計画作成システム100は、複数の自動販売機Vへの商品の配送ルートを示す配送計画を作成する配送計画作成装置101と、自動販売機Vに商品の補充作業を行う作業者M(ルートマン)が携帯する携帯端末102とを備える。
As shown in FIG. 1, the delivery
配送計画作成装置101は、ネットワーク200を介して、作業者M(ルートマン)が携帯する(保持する)携帯端末102に、配送ルートを通知(表示)する。また、後述する配送実績情報が、定期的に配送計画作成装置101に送信される。配送実績情報の送信は、作業者Mの操作(入力)によって行われてもよいし、携帯端末102によって自動的に行われてもよい。そして、配送計画作成装置101は、受信した配送実績情報を反映して、配送計画を修正し、作業者Mの携帯端末102に通知する。
The delivery
配送計画作成装置101は、ネットワーク200を介して、携帯端末102および自動販売機Vと通信可能に接続されたサーバである。配送計画作成装置101は、ネットワーク200を介して、携帯端末102とのデータの送受信を行っている。配送計画作成装置101は、ネットワーク200を介して、後述する配送実績情報を取得する。そして、配送計画作成装置101は、ネットワーク200を介して、作成した配送計画を携帯端末102に送信する。
The delivery
また、配送計画作成装置101は、ネットワーク200を介して、自動販売機Vとのデータの送受信を行っている。たとえば、配送計画作成装置101は、自動販売機Vの商品の売上(売上本数および売上金額)および在庫数などデータを、ネットワーク200を介して、取得している。また、配送計画作成システム100では、配送計画作成装置101に、ネットワーク200を介して、自動販売機Vの補充またはメンテナンス作業が行われていることを通知し、自動販売機Vの状態から、作業者Mの位置情報を、配送計画作成装置101に提供するように構成してもよい。また、図1では、自動販売機Vからのデータが、ネットワーク200を介して、配送計画作成装置101に送信される例を示したが、自動販売機Vからのデータが、自動販売機Vの管理サーバ(自動販売機管理サーバ)を介して、配送計画作成装置101にデータを送信されてもよい。また、自動販売機Vからのデータが、携帯端末102を介して、配送計画作成装置101にデータを送信されてもよい。
The delivery
携帯端末102は、ネットワーク200に接続可能な端末である。たとえば、携帯端末102は、スマートフォンやタブレットPCなどの端末である。携帯端末102には、配送計画作成装置101とデータ通信を行い、配送計画を通知(表示)するためのアプリケーションがインストールされる。また、携帯端末102は、自動販売機Vと通信可能に構成されており、自動販売機Vとの間でデータの送受信が行うことが可能である。
The
そして、作業者Mは、配送計画作成装置101によって作成され、携帯端末102に通知される配送計画(配送ルート)に従って、自動販売機Vへの商品の配送および補充作業を行う。配送計画作成装置101(配送計画作成システム100)によって作成される配送計画には、配送計画作成装置101を利用するユーザが管理する複数の自動販売機Vの配送(補充)作業を担当する複数の作業者Mの各々の配送ルートが含まれている。また、配送計画作成装置101(配送計画作成システム100)によって作成される配送計画は、複数の作業者Mの各々が、自動販売機Vに配送(補充)する商品の種類および商品の数量(配送拠点から運び出す商品の種類および商品の数量)の情報を含んでもよい。
Then, the worker M delivers and replenishes products to the vending machine V according to the delivery plan (delivery route) created by the delivery
(配送計画作成装置の構成)
配送計画作成装置101は、図2に示すように、データベース部1と、処理部2と、入力部3と、出力部4とを備える。
(Configuration of the delivery plan creation device)
As shown in FIG. 2, the delivery
データベース部1は、後述する配送計画作成部23による配送計画の作成に用いられるデータ(拠点間移動情報、初期在庫情報、配送計画、予測需要、位置情報、需要情報、在庫情報、総移動時間、売上、商品輸送量などのデータ)を記憶(格納)している。データベース部1は、HDD(Hard Disk Drive)やSSD(Solid State Drive)などの記憶装置(内部ストレージ)を含む。
The
処理部2は、演算部21と、シミュレータ22と、配送計画作成部23と、予測部24とを備える。本実施形態では、演算部21、シミュレータ22、配送計画作成部23および予測部24は、配送計画作成装置101内において機能ブロックとして構成されているが、各々独立した装置であってもよい。処理部2(演算部21)は、CPU(Central Processing Unit)などのプロセッサおよびメモリなどを含んでいる。
The
演算部21は、データベース部1、シミュレータ22、配送計画作成部23および予測部24の機能およびデータを処理するように構成されている。シミュレータ22は、後述する仮配送計画による複数の自動販売機Vへの商品の配送のシミュレーションを行うように構成されている。
The
また、配送計画作成部23は、機械学習により複数の自動販売機Vへの商品の配送ルートを示す配送計画を作成するように構成されている。
The delivery
また、本実施形態では、配送計画作成部23において、シミュレーション結果を用いた強化学習(オフライン学習)と、実際に配送を行った際に得られる配送実績情報(総移動時間、売上、商品輸送量、位置情報および在庫情報)を用いた強化学習(オンライン学習)とが行われる。
In addition, in this embodiment, the delivery
また、配送計画作成部23の学習済モデルは、後述するように、状態としての予測需要および在庫情報に対する、行動としての配送計画によって得れられる価値を表す状態行動価値関数(Q関数)を含む。配送計画作成部23は、状態行動価値関数(Q関数)に基づいて、配送計画を作成するように構成されている。
The trained model of the delivery
予測部24は、自動販売機Vにより販売される商品の需要の予測(売上本数の予測)を行うように構成されている。また、予測部24は、将来の自動販売機Vの商品の在庫数(自動販売機Vの商品の在庫数の変化)の予測を行うように構成されている。予測部24による売上本数および在庫数の予測は、ニューラルネットワークなどの既存の予測技術によって計算される。
The
また、配送計画作成装置101は、複数の自動販売機Vの商品の売上の予測値である予測需要と、複数の自動販売機Vの各々の商品の在庫情報とに基づいて、配送計画作成部23の学習済モデルにより配送計画を作成するように構成されている。
The delivery
また、配送計画作成装置101は、後述するように、配送計画を実際に実施した際における配送実績情報に基づいて、配送計画作成部23の学習済モデルを用いた機械学習を行うことによって、配送計画作成部23の学習済モデルを更新するように構成されている。なお、配送実績情報は、複数の自動販売機Vの商品の売上と、商品の配送にかかる総移動時間とを含む。本実施形態では、配送実績情報は、商品の配送にかかる総移動時間、複数の自動販売機Vの商品の売上(売上本数)、商品輸送量、作業者Mの位置情報および複数の自動販売機Vの商品の在庫情報を含む(図16参照)。なお、配送実績情報は、複数の自動販売機Vの商品の売上として、売上本数に加えて、売上金額を含んでもよい。配送実績情報は、携帯端末102および自動販売機Vから得られる情報(データ)である。
The delivery
入力部3は、ネットワーク200を介して、配送実績情報が入力される(配送実績情報を受け取る)ように構成されている。
The
出力部4は、配送計画作成装置101は、配送計画作成部23により作成した配送計画を、ネットワーク200を介して、携帯端末102に出力するように構成されている。
The
また、出力部4は、更新後(配送実績情報を用いた機械学習が行われた)の配送計画作成部23の学習済モデルによって作成された配送計画を、ネットワーク200を介して携帯端末102に出力するように構成されている。
The
(シミュレーション結果を用いた機械学習)
次に、図3~図10を参照して、配送計画の作成(配送計画計算)に用いられる学習済モデルを作成するためのシミュレーション結果を用いた機械学習について説明する。シミュレーション結果を用いた機械学習は、作業者Mによる実際の配送を行う前(配送計画作成システム100の実運用前)に行われる。
(Machine learning using simulation results)
Next, machine learning using simulation results for creating a trained model used in creating a delivery plan (delivery plan calculation) will be described with reference to Figures 3 to 10. Machine learning using simulation results is performed before actual delivery is performed by the worker M (before the delivery
配送計画作成装置101は、配送計画作成部23の学習済モデルの作成を行う際に、複数の自動販売機Vの商品の売上の予測値と、複数の自動販売機Vの各々の商品の在庫数の予測値とに基づく仮配送計画を、配送計画作成部23により作成(図3参照)している。
When creating a trained model for the delivery
本実施形態では、配送計画作成部23は、仮配送計画の作成において、予測部24によって予測された複数日間における複数の自動販売機Vの商品の売上の予測値と、予測部24によって複数日間における複数の自動販売機Vの各々の商品の在庫数の予測値とを用いて、仮配送計画を作成する。なお、仮配送計画の作成時に用いる期間(複数日間の範囲)は、複数の自動販売機Vの商品の売上の予測値および複数の自動販売機Vの各々の商品の在庫数の予測値で同一である。
In this embodiment, the delivery
また、図3に示すように、配送計画作成装置101では、仮配送計画に基づいたシミュレーションが行われる。また、シミュレーション結果を用いた機械学習では、需要情報および在庫情報から、シミュレーションに用いる配送計画(仮配送計画)を作成(計算)する。
As shown in FIG. 3, the delivery
配送計画作成装置101は、仮配送計画による複数の自動販売機Vへの商品の配送のシミュレーション結果における商品の売上と、複数の自動販売機Vへの商品の配送のシミュレーション結果における商品の配送にかかる総移動時間とを含む、予測配送実績情報を取得する。本実施形態では、予測配送実績情報は、商品の配送にかかる総移動時間、複数の自動販売機Vの商品の売上(売上本数)、商品輸送量、作業者Mの位置情報および複数の自動販売機Vの商品の在庫情報を含む(図3参照)。また、予測配送実績情報は、複数の自動販売機Vの商品の売上として、売上本数に加えて、売上金額を含んでもよい。
The delivery
そして、シミュレータ22によるシミュレーションによって、在庫情報および総移動時間、商品の売上数、作業者M(ルートマン)が輸送している商品の輸送量(商品輸送量)、および、作業者Mの位置情報を時刻毎に計算する。
Then, through a simulation by the
シミュレーション結果を用いた機械学習では、需要情報、在庫情報(初期在庫情報)、仮配送計画、予測配送実績情報(商品の配送にかかる総移動時間、複数の自動販売機Vの商品の売上、商品輸送量、作業者Mの位置情報および複数の自動販売機Vの商品の在庫情報)に基づいて学習を行う。シミュレーション結果を用いた機械学習では、シミュレータ22を活用して、連続した一定期間の機械学習が複数回繰り返される。なお、需要情報は過去の需要実績、および、ニューラルネットワークなどの既存の予測技術によって計算された予測需要を用いることができる。
In machine learning using the simulation results, learning is performed based on demand information, inventory information (initial inventory information), a tentative delivery plan, and predicted delivery performance information (total travel time required for product delivery, sales of products from multiple vending machines V, product transport volume, location information of worker M, and product inventory information from multiple vending machines V). In machine learning using the simulation results, machine learning is repeated multiple times for a certain continuous period of
なお、配送計画作成装置101では、強化学習による学習済モデルの作成が行われる。配送計画作成装置101は、配送計画作成部23における機械学習として、予測配送実績情報に基づく強化学習を行うことにより、学習済モデルを作成する。
The delivery
図4に示すように、配送計画(仮配送計画)の計算には需要情報、在庫情報、商品輸送量、および、作業者Mの位置情報を用いる。在庫情報は、連続する一定期間のシミュレーションの初期には、予め設定された在庫数(初期在庫情報)を用い、それ以降のシミュレーションでは、シミュレータ22が出力する在庫情報を用いる。
As shown in FIG. 4, demand information, inventory information, product transportation volume, and location information of worker M are used to calculate the delivery plan (provisional delivery plan). At the beginning of a continuous simulation period, a preset inventory quantity (initial inventory information) is used as inventory information, and in subsequent simulations, inventory information output by
また、需要情報は、予測値または過去の実績値を利用し、将来の期間の需要情報を利用する。配送先は学習した結果を用いる。計算結果によっては、配送しない配送先(自動販売機V)があり、配送自体行わない場合もある。配送計画作成部23によって計算される配送計画をAとすると、配送計画(A)は、下記の式(1)によって計画される。
A=π(S)・・・(1)
πは、状態(S)から配送計画を計算する関数(方策関数)でニューラルネットワークや最適化計算による計算を表し、状態(S)は需要情報、在庫情報、各作業者Mの位置情報および商品輸送量を表す。
In addition, the demand information uses predicted values or past actual values, and demand information for future periods is used. The delivery destination uses the learned results. Depending on the calculation results, there are some delivery destinations (vending machines V) to which delivery is not made, and there are also cases where delivery is not made at all. If the delivery plan calculated by the delivery
A=π(S)...(1)
π is a function (policy function) that calculates a delivery plan from the state (S) and represents calculations using a neural network or optimization calculations. The state (S) represents demand information, inventory information, location information of each worker M, and the amount of goods transported.
シミュレータ22におけるシミュレーションでは、たとえば、配送計画に示された配送先の商品数を最大値まで補充する。そして、需要情報をもとに、次の時刻の在庫情報と売り上げを計算する。商品の需要が、自動販売機Vの在庫数(商品数)より大きい場合は、存在している在庫数(商品数)が売上となり、在庫は0となる。また、在庫数(商品数)が需要より大きい場合は、在庫数(商品数)から需要量を引いた分が、次の時刻の在庫となり、売上は需要量と等しくなる。
In a simulation in
なお、総移動時間は、各作業者M(複数の作業者M)の移動時間の合計である。各作業者Mの移動時間は、拠点間移動情報に含まれる拠点間移動時間によって計算する。拠点間移動時間は、各配送先間(各自動販売機V間)の移動時間と、配送拠点と配送先(自動販売機V)との間の移動時間が設定(入力)されている。 The total travel time is the sum of the travel times of each worker M (multiple workers M). The travel time of each worker M is calculated based on the inter-base travel time included in the inter-base travel information. The inter-base travel time is set (input) as the travel time between each delivery destination (between each vending machine V) and the travel time between the delivery base and the delivery destination (vending machine V).
図5に示すように、配送計画作成装置101の配送計画作成部23は、シミュレーション結果を用いた学習が行われる。シミュレーション結果を用いた学習は既存の強化学習方法によって学習する。強化学習に必要な報酬rは、たとえば、下記の式(2)に示すように、総移動時間(R1)および売上(R2)の重みづけ(α)による合計によって計算する。
r=α×R1+R2・・・(2)
なお、報酬rには、全体の配達終了時間(各ルートマンの総移動時間の最大値)、商品の売上金額、および、売上による利益(利益率)などを考慮して学習させてもよい。
As shown in Fig. 5, the delivery
r=α×R1+R2...(2)
The remuneration r may be learned by taking into account the total delivery completion time (the maximum total travel time of each routeman), the sales amount of the products, and the profit from the sales (profit margin), etc.
本実施形態では、強化学習方法として、Deep Q Networkを用いる。そして、在庫情報および需要情報の状態(S)に応じた行動である配送計画(A)に対する状態行動価値関数(Q関数:Q(S,A))をニューラルネットワークによって学習する。 In this embodiment, the Deep Q Network is used as the reinforcement learning method. The state-action value function (Q function: Q(S, A)) for the delivery plan (A), which is an action according to the state (S) of the inventory information and demand information, is learned by the neural network.
なお、機械学習には、他の既存の強化学習方法を用いてもよい。たとえば、DoubleDQN、A3C、Actor-Critic、方策勾配法、Rainbow、Q学習、SARSA、Ape-X、R2D2、NGU、Agent57、SAC、TD3、DDPG、TRPO、PPOなどを用いてもよい。 Note that other existing reinforcement learning methods may be used for machine learning. For example, DoubleDQN, A3C, Actor-Critic, policy gradient method, Rainbow, Q-learning, SARSA, Ape-X, R2D2, NGU, Agent57, SAC, TD3, DDPG, TRPO, PPO, etc. may be used.
図5に示すように、Q関数を学習した場合、配送計画(A)の計算では、たとえば、Q関数を最適にする(Q関数が極小値になる)配送計画(A*)を下記の式(3)によって計算する。
A*=π(S)=argminAQ(S,A)・・・(3)
シミュレーション結果を用いて学習した学習済モデルによって作成される配送計画は、最適な配送計画(A*)のほかに確率λで、最適でない配送計画(たとえば、ランダムな配送計画)を行い、より良い配送計画(より小さい極小値)の探索が行われる。
As shown in FIG. 5, when the Q function is learned, in calculating the delivery plan (A), for example, a delivery plan (A * ) that optimizes the Q function (Q function becomes a minimum value) is calculated by the following formula (3).
A * = π (S) = argmin A Q (S, A)... (3)
The delivery plan created by the trained model learned using the simulation results includes, in addition to the optimal delivery plan (A * ), a non-optimal delivery plan (e.g., a random delivery plan) with probability λ, and a better delivery plan (smaller minimum value) is searched for.
また、最適な配送計画(A*)の計算は、他にもニューラルネットワークを用いて、下記の式(4)のように計算することもできる。
A*=π(S)=NSθ(S)・・・(4)
なお、θはニューラルネットワークのパラメータである。この場合は、シミュレーション結果を用いた機械学習および配送実績情報を用いた機械学習において、配送計画を計算するNSθ(S)の学習も行う。
Alternatively, the optimum delivery plan (A * ) can be calculated using a neural network as shown in the following formula (4).
A * =π(S)=NSθ(S)...(4)
In addition, θ is a parameter of the neural network. In this case, learning of NSθ(S) that calculates the delivery plan is also performed in machine learning using the simulation results and machine learning using delivery record information.
図6~図8を参照して、シミュレーション結果を用いた学習の一例を説明する。図6~図8に示す例では、作業者Mは、配送拠点から商品を積み込み、配送先となる自動販売機Vに補充する。配送を行うと配送先の商品はすべて最大まで補充される。そして、補充する商品は3種類(商品A1~A3)あるとし、各自動販売機Vの商品の補充可能な最大値は10本としている。さらに、配送を行う作業者Mは、作業者M1の1人とし、配送先は、3つの拠点(自動販売機V1~V3)があるものとする。 An example of learning using the results of a simulation will be described with reference to Figures 6 to 8. In the example shown in Figures 6 to 8, worker M loads products from a delivery base and replenishes them in vending machine V, which is the delivery destination. When delivery is made, all products at the delivery destination are replenished to their maximum. There are three types of products to be replenished (products A1 to A3), and the maximum number of products that can be replenished in each vending machine V is 10. Furthermore, the worker M who makes the delivery is one worker M1, and the delivery destinations are three bases (vending machines V1 to V3).
図6は、移動時間を重視して、自動販売機V1およびV2にのみ商品を配送する場合のシミュレーション結果を示している。図6の左に示すように、需要情報では、自動販売機V3の商品A~Cの各々の需要が8本であるのに対して、在庫情報では、自動販売機V3の商品A~Cの各々の在庫が1本である。この場合、自動販売機V3は需要に対して、在庫数(商品数)が不足しており、自動販売機V1およびV2にのみ商品を配送する場合、自動販売機V3の商品A~Cの各々の売り上げが、需要に対して7本少なくなる。また、図7は、売上(売上本数)を考慮してすべての自動販売機(自動販売機V1~V3)を配送する場合のシミュレーション結果を示している。この場合、自動販売機V3も配送することによって、需要を満たすだけの商品が補充され、売上(売上本数)は、自動販売機V3への商品の配送を行わない場合(図6参照)よりも増加する。具体的には、自動販売機V3への商品の配送を行わない場合(図6参照)の自動販売機V3の売上(売上本数)が、3本(商品A:1本、商品B:1本、商品C:1本)から、21本(商品A:7本、商品B:7本、商品C:7本)に増加(図7参照)する。一方で、総移動時間も、3.5時間(図6の右下参照)から4時間(図7の右下参照)に増加する。このような、仮配送計画の作成と、仮配送計画に基づいたシミュレーション結果による強化学習とを繰り返していく。 Figure 6 shows the results of a simulation in which travel time is prioritized and products are delivered only to vending machines V1 and V2. As shown on the left side of Figure 6, the demand information indicates that the demand for each of products A to C in vending machine V3 is eight, while the inventory information indicates that the inventory for each of products A to C in vending machine V3 is one. In this case, the inventory (number of products) of vending machine V3 is insufficient compared to the demand, and if products are delivered only to vending machines V1 and V2, the sales of each of products A to C in vending machine V3 will be seven less than the demand. Also, Figure 7 shows the results of a simulation in which sales (number of sales) are taken into consideration and all vending machines (vending machines V1 to V3) are delivered. In this case, by delivering to vending machine V3 as well, products are replenished to meet the demand, and sales (number of sales) are higher than when products are not delivered to vending machine V3 (see Figure 6). Specifically, when no products are delivered to vending machine V3 (see FIG. 6), the sales (number of bottles sold) of vending machine V3 increase from 3 bottles (product A: 1 bottle, product B: 1 bottle, product C: 1 bottle) to 21 bottles (product A: 7 bottles, product B: 7 bottles, product C: 7 bottles) (see FIG. 7). Meanwhile, the total travel time also increases from 3.5 hours (see the bottom right of FIG. 6) to 4 hours (see the bottom right of FIG. 7). In this way, the creation of a tentative delivery plan and reinforcement learning using the simulation results based on the tentative delivery plan are repeated.
図8は、自動販売機V2は、需要が少ないので配送しなくてよいことを学習した状態の配送計画作成部23の学習済みモデルを用いたシミュレーション結果を示している。配送先を自動販売機V1およびV3にすることによって、需要を満たすだけの商品数が確保されてかつ総移動時間も短い配送計画を作成できる。具体的には、自動販売機V1およびV2の売上(売上本数)を低下させることなく、自動販売機V3の売上(売上本数)を21本(商品A:7本、商品B:7本および商品C:7本)に増加(図8右参照)させるとともに、総移動時間も3.5時間(図8下参照)に抑えている。
Figure 8 shows the results of a simulation using the trained model of the delivery
また、図9および図10は、複数日間の需要情報を基づいたシミュレーション結果の一例を示している。図9および図10に示したシミュレーションでは、需要情報を2日分使用している。このシミュレーションにより、将来(2日間)の需要情報を用いることにより、1日の移動時間が長くなったとしても、2日間の移動時間(トータルの移動時間)が、短くなるように配送計画を立てることができる。 Figures 9 and 10 also show an example of a simulation result based on demand information for multiple days. In the simulation shown in Figures 9 and 10, demand information for two days is used. This simulation shows that by using future (two-day) demand information, a delivery plan can be made so that travel time over two days (total travel time) is shorter, even if travel time for one day is longer.
図9に示した例は、2日目の商品の需要を考慮しない場合であり、1日目に自動販売機V1およびV3に配送し、2日目に自動販売機V2にのみに配送を行うことになり、効率が悪い。この場合の2日間の総移動時間は、6.5時間(図9の下参照)である。一方、図10に示した例では、2日目の商品の需要を考慮し、2日目に補充が必要なことを見越して、1日目において予め自動販売機V2にも配送している。この場合の2日間の総移動時間は、4時間(図10の下参照)である。このように配送することによって、2日目に、自動販売機V2のみに配送を行う必要がなくなり、2日間の総移動時間が6.5時間(図9下参照)から4時間(図10下参照)となるので、2日間の総移動時間が短くなる。 The example shown in FIG. 9 does not take into account the demand for the product on the second day, and delivers to vending machines V1 and V3 on the first day, and delivers only to vending machine V2 on the second day, which is inefficient. In this case, the total travel time over the two days is 6.5 hours (see bottom of FIG. 9). On the other hand, in the example shown in FIG. 10, the demand for the product on the second day is taken into account, and deliveries are made to vending machine V2 in advance on the first day in anticipation of the need for replenishment on the second day. In this case, the total travel time over the two days is 4 hours (see bottom of FIG. 10). By delivering in this way, it is no longer necessary to deliver only to vending machine V2 on the second day, and the total travel time over the two days is reduced from 6.5 hours (see bottom of FIG. 9) to 4 hours (see bottom of FIG. 10), shortening the total travel time over the two days.
なお、図9および図10では、2日間の需要情報を用いる例を示したが、2日間以上の需要情報を用いてもよい。たとえば、1週間単位、1ヶ月単位および1年単位など長期間の需要情報を用いてもよい。 Note that although Figs. 9 and 10 show an example in which demand information for two days is used, demand information for more than two days may be used. For example, demand information for a long period such as one week, one month, or one year may be used.
なお、シミュレーション結果を用いた機械学習は、自動販売機Vの数、自動販売機Vの設置場所、作業者Mの人数、道路状況の変更などがあった場合に、再度実施される。また、自動販売機Vによって販売される商品の変更、または、季節に変わり目などに、シミュレーション結果を用いた機械学習を再度行ってもよい。 Machine learning using the simulation results is performed again if there are changes in the number of vending machines V, the locations of the vending machines V, the number of workers M, road conditions, etc. Machine learning using the simulation results may also be performed again when there is a change in the products sold by the vending machines V, or when the seasons change.
また、作業者Mによる実際の商品に配送時(配送計画作成システム100の実運用時)では、始めにシミュレーション結果を用いた機械学習した結果(学習済モデル)を用いて、配送計画を作成する。そして、作成した配送計画(配送ルート)に従って、作業者Mが、実際に配送を実施する。そして、配送計画作成システム100(配送計画作成装置101)は、実際の配送実績である配送実績情報(商品の配送にかかる総移動時間、複数の自動販売機Vの商品の売上、商品輸送量、作業者Mの位置情報および複数の自動販売機Vの商品の在庫情報)を用いた強化学習を実施する。
When worker M actually delivers products (when the delivery
(配送計画作成および配送時における配送計画の修正)
配送計画作成部23は、配送計画の作成において、複数日間における複数の自動販売機Vの商品の売上の予測値である予測需要(図11参照)を用いるように構成されている。
(Creating delivery plans and amending delivery plans during delivery)
The delivery
また、配送計画作成装置101は、作業者Mによる商品の配送時において、配送計画を実際に実施した際における配送実績情報を取得する。具体的には、配送計画作成装置101は、作業者Mによる商品の配送時において、配送計画を実際に実施した際における配送実績情報を、ネットワーク200を介して取得している。
In addition, the delivery
そして、配送計画作成部23は、作業者Mによる商品の配送時において取得された在庫情報を含む配送実績情報、および、複数の自動販売機Vの商品の売上の予測値である予測需要を入力として、配送計画を出力する(図11参照)ように構成されている。
The delivery
また、配送計画作成装置101は、配送計画作成部23の学習済モデルを更新せずに、取得した配送実績情報に基づいて、配送計画を修正するように構成されている。具体的には、配送計画作成装置101は、配送計画作成部23の学習済モデルを更新せずに、取得した配送実績情報に基づいて、配送計画を作業者Mによる商品の配送中に修正する。そして、配送計画作成装置101は、修正後の配送計画を、ネットワーク200を介して、複数の作業者Mの各々の携帯端末102に送信するように構成されている。
The delivery
より具体的には、配送計画作成装置101は、複数の作業者Mによる商品の配送時において、複数の作業者Mの各々が配送可能な商品の数である商品輸送量を、ネットワーク200を介して取得する。そして、配送計画作成装置101は、配送計画作成部23の学習済モデルを更新せずに、取得した複数の作業者Mの各々の商品輸送量に基づいて、配送計画を作業者Mによる商品の配送中に修正する。さらに、配送計画作成装置101は、取得した複数の作業者Mの各々の商品輸送量に基づいて修正した修正後の配送計画を、ネットワーク200を介して、複数の作業者Mの各々の携帯端末102に送信するように構成されている。
More specifically, the delivery
本実施形態では、前述したように、配送計画作成装置101は、配送開始時点の配送計画(図12参照)に対して、作業者Mの輸送している商品輸送量に基づいて配送計画を修正している。たとえば、作業者M2が担当する自動販売機V4の売上(売上本数)が予測より多く、配送計画作成において想定(予測)した自動販売機V4に補充する商品の量(予測補充量)が3本(図12参照)であったのに対して、実際には6本補充する必要があった場合(図13参照)には、配送する商品の数(商品輸送量)が足りなくなり、作業者M2は自動販売機V7に商品を補充できなくなってしまう。そこで、自動販売機V1の売上(売上本数)が予測より少なく、自動販売機V1の予測補充量が5本(図12参照)であったのに対して、実際には1本しか補充する必要がなかったため、商品輸送量に余裕ができた作業者M1が、作業者M2の代わりに、自動販売機V7の商品の補充を行うように配送計画を修正(図13参照)する。また、配送計画において、予め商品輸送量が多めに設定されていた別の作業者Mが、自動販売機V7の商品の補充を行ってもよい。その結果、特定の自動販売機(自動販売機V4)に補充する商品の量が、予測されていた売上本数に対する補充量(予想補充量)より多くなり、作業者M(作業者M2)の商品輸送量が足りなくなったとしても、他の作業者M(作業者M1)と協力して配送計画を修正(図13参照)することで、自動販売機Vへの補充量が足りなくなるケースを防ぐことが可能である。
In this embodiment, as described above, the delivery
また、配送計画作成装置101は、作業者Mの商品の配送時における作業者Mの位置情報を含む配送実績情報を取得するように構成されている。そして、配送計画作成装置101は、配送計画作成部23の学習済モデルを更新せずに、取得した作業者Mの位置情報に基づいて、配送計画を作業者Mによる商品の配送中に修正する。さらに、配送計画作成装置101は、取得した作業者Mの位置情報に基づいて修正した修正後の配送計画を、ネットワーク200を介して、複数の作業者Mの各々の携帯端末102に送信するように構成されている。
The delivery
なお、作業者Mの位置情報は、作業者Mによる入力操作やGPS(Global Positioning System)などによって、携帯端末102から配送計画作成装置101に送信(通知)されてもよいし、自動販売機Vの商品の補充時(メンテナンス時)において、携帯端末102と自動販売機Vとが通信したこと、および、自動販売機Vが開閉されたことをトリガにして、自動販売機Vから配送計画作成装置101に送信(通知)されてもよい。
The location information of the worker M may be transmitted (notified) from the
また、配送計画作成装置101は、図14に示したような配送計画(配送ルート)において、特定の作業者M(作業者M2)が、渋滞などの影響によって、配送が遅れている場合には、別の作業者M(作業者M1)が、配送が遅れている作業者M2の代わりに、配送が遅れている作業者M2の担当する自動販売機(自動販売機V7)への商品の配送を行うように配送計画を修正(図15参照)する。たとえば、図14に示したような配送計画(配送ルート)によって商品の配送を実施している際に、作業者M2の配送が渋滞などの影響によって遅れ、作業者M1による配送が自動販売機V3まで進んでいるのに、作業者M2による配送が自動販売機V4にまでしか進んでいない場合(図15参照)には、配送計画を修正する。このような場合には、配送計画を、作業者M1が自動販売機V1、V2、V3の順に配送し、作業者M2が自動販売機V4、V5、V6、V7の順に配送する配送計画(図14参照)から、たとえば、作業者M1が自動販売機V1、V2、V3、V7の順に配送し、作業者M2が自動販売機V4、V5、V6の順に配送する配送計画(図15参照)に修正する。これにより、配送が遅れている場合でも、複数の作業者Mの間で協力することによって、全ての作業者Mが配送を完了する時刻を早めることができる。
In addition, in the delivery plan (delivery route) shown in FIG. 14, when a specific worker M (worker M2) is delayed in delivery due to traffic jams or the like, the delivery
(配送実績情報を用いた機械学習)
配送計画作成装置101は、図16に示すように、複数の自動販売機Vへの商品の配送完了後において、配送計画作成部23の学習済モデルを、配送実績情報(総移動時間、売上、商品輸送量、位置情報および在庫情報)に基づく配送計画作成部23の学習済モデルを用いた機械学習によって更新するように構成されている。なお、配送計画作成部23の学習済モデルの更新は、毎日行われてもよいし、数日おきに行われてもよい。また、配送計画作成部23の学習済モデルの更新は、ユーザの任意の期間または任意のタイミングで行われてもよい。
(Machine learning using delivery record information)
As shown in Fig. 16, the delivery
配送計画作成装置101は、配送実績情報に基づく配送計画作成部23の学習済モデルを用いた強化学習によって、学習済モデルの状態行動価値関数(Q関数)が更新される。具体的には、配送計画作成装置101は、複数の自動販売機Vへの商品の配送完了後において、配送実績情報に基づく配送計画作成部23の学習済モデルを用いた強化学習によって、学習済モデルの状態行動価値関数(Q関数)を更新するように構成されている。
The delivery
図17は、配送実績情報を用いた学習の一例を示しており、状態行動価値関数(Q関数)を用いる強化学習方法を使用した例を示している。配送実績情報を用いた学習では、シミュレーション結果を用いた学習の場合と同様に、作業者M(ルートマン)が実際に配送を行った際の実際の総移動時間および実際の売上実績から報酬rを計算する。 Figure 17 shows an example of learning using delivery performance information, and shows an example of using a reinforcement learning method that uses a state-action value function (Q function). In learning using delivery performance information, as in the case of learning using simulation results, reward r is calculated from the actual total travel time and actual sales performance of worker M (routeman) when he actually makes a delivery.
そして、実際に配送を行った配送計画、配送実績情報(総移動時間、売上、商品輸送量、位置情報および在庫情報)、および、予測需要を用いて、実際の配送の前に、シミュレーション結果を用いて学習した状態行動価値関数(Q関数)を更新(修正)する。本実施形態では、実際の配送に伴う実績(配送実績情報)を用いて学習しなおすことで、より最適な配送ルート(配送計画)を計算することが可能となる。なお、配送実績情報を用いた学習も、シミュレーション結果を用いた学習と同様に既存の強化学習技術を用いることができる。本実施形態では、シミュレーション結果を用いた学習と同様の強化学習によって、学習済モデル(Q関数)の更新を行う。 Then, using the delivery plan for the actual delivery, delivery performance information (total travel time, sales, product transport volume, location information, and inventory information), and predicted demand, the state-action value function (Q function) learned using the simulation results is updated (modified) before the actual delivery. In this embodiment, by re-learning using the performance associated with the actual delivery (delivery performance information), it becomes possible to calculate a more optimal delivery route (delivery plan). Note that, like learning using the delivery performance information, existing reinforcement learning techniques can be used for learning using the simulation results. In this embodiment, the learned model (Q function) is updated by reinforcement learning similar to learning using the simulation results.
また、配送計画作成装置101は、前述したように、作業者Mの商品の配送時における作業者Mの位置情報を含む配送実績情報を取得する。そして、配送計画作成部23の学習済モデルは、取得された位置情報を含む配送実績情報に基づく、学習済モデルを用いた機械学習によって更新されるように構成されている。
As described above, the delivery
図18および図19は、作業者Mの位置情報を含む配送実績情報を用いて強化学習した結果を示している。作業者Mの位置情報を含む配送実績情報を用いた強化学習では、たとえば、渋滞を回避する配送計画を学習することが可能である。配送実績情報を用いた学習では自動販売機V1、自動販売機V3の順で配送していた配送ルート(図18参照)を、渋滞を考慮した学習で(過去の移動時間の実績の学習で)自動販売機V3、自動販売機V1の順に変更(図19参照)する。その結果、総移動時間が4.5時間(図18の右下参照)から、3.5時間(図19の右下参照)になり、総移動時間がより短くなる(1時間短縮される)配送計画を作成可能となる。 Figures 18 and 19 show the results of reinforcement learning using delivery record information including the location information of worker M. In reinforcement learning using delivery record information including the location information of worker M, it is possible to learn a delivery plan that avoids traffic jams, for example. In learning using delivery record information, the delivery route (see Figure 18), which delivered to vending machine V1 first, then vending machine V3, is changed to vending machine V3 first, then vending machine V1 (see Figure 19) in learning that takes traffic jams into account (by learning past travel time results). As a result, the total travel time is reduced from 4.5 hours (see bottom right of Figure 18) to 3.5 hours (see bottom right of Figure 19), making it possible to create a delivery plan in which the total travel time is shorter (shortened by one hour).
(本実施形態の効果)
本実施形態では、以下のような効果を得ることができる。
(Effects of this embodiment)
In this embodiment, the following effects can be obtained.
本実施形態による配送計画作成装置101(配送計画作成システム100)では、複数の自動販売機Vの商品の売上の予測値である予測需要と、複数の自動販売機Vの各々の商品の在庫情報とに基づいて、配送計画作成部23の学習済モデルにより配送計画を作成する。これにより、売り切れに起因する商品の売上の低下を抑制することが可能な配送計画を作成することができる。また、配送計画を実際に実施した際における配送実績情報に基づいて、配送計画作成部23の学習済モデルを用いた機械学習を行うことによって、配送計画作成部23の学習済モデルが更新される。これにより、配送計画作成部23の学習済モデルを、配送計画を実際に実施した際における複数の自動販売機Vの商品の売上と商品の配送にかかる総移動時間とを含む配送実績情報が反映された学習済モデルに更新することができる。その結果、配送計画作成部23は、学習済モデルの更新後の配送時において、配送計画を実際に実施した際における複数の自動販売機Vの商品の売上と商品の配送にかかる総移動時間とを含む配送実績情報が反映された効率的な配送計画を作成することができるようになる。これら結果、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機Vの商品の売上の低下を抑制する配送ルートを作成することができる。また、出力部4が、更新後の配送計画作成部23の学習済モデルによって作成された配送計画を、ネットワーク200を介して携帯端末102に出力するので、作業者Mは、携帯端末102によって、上記配送実績情報が反映された、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機Vの商品の売上の低下を抑制する効率的な配送計画を確認することができる。その結果、作業者Mは、上記配送実績情報が反映された、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機Vの商品の売上の低下を抑制する効率的な商品の配送を行うことができる。
In the delivery plan creation device 101 (delivery plan creation system 100) according to this embodiment, a delivery plan is created by the trained model of the delivery
また、本実施形態では、上記のように、配送計画作成部23の学習済モデルは、価値を表す状態行動価値関数(Q関数)を含み、配送計画作成部23は、状態行動価値関数に基づいて、配送計画を作成するように構成されている。そして、配送計画作成装置101は、配送実績情報に基づく配送計画作成部23の学習済モデルを用いた強化学習によって、学習済モデルの状態行動価値関数を更新する。これにより、配送実績情報に基づいて更新された状態行動価値関数によって、上記配送実績情報が反映された、配送時間が短く、自動販売機Vの商品の売上の多い配送計画を作成することができる。その結果、配送計画作成部23によって、複数の自動販売機Vへの商品の配送時において、配送時間の増加を抑制しつつ、売り切れに起因する自動販売機Vの商品の売上の低下を抑制可能な効率的な配送ルートを作成することができる。
In addition, in this embodiment, as described above, the trained model of the delivery
また、本実施形態では、上記のように、複数の自動販売機Vへの商品の配送完了後において、配送計画作成部23の学習済モデルを、配送実績情報に基づく配送計画作成部23の学習済モデルを用いた機械学習によって更新する。これにより、複数の自動販売機Vへの商品の配送開始から配送完了までの上記配送実績情報を反映させるように、配送計画作成部23の学習済モデルを更新することができる。その結果、学習済モデル更新後の配送計画作成部23によって、複数の自動販売機Vへの商品の配送時において、配送時間の増加をより抑制しつつ、売り切れに起因する自動販売機Vの商品の売上の低下をより抑制可能な、より効率的な配送計画(配送ルート)を作成することができる。
In addition, in this embodiment, as described above, after the delivery of products to multiple vending machines V is completed, the trained model of the delivery
また、本実施形態では、上記のように、配送計画作成装置101は、作業者Mの商品の配送時における作業者Mの位置情報を含む配送実績情報を取得する。そして、配送計画作成部23の学習済モデルは、取得された位置情報を含む配送実績情報に基づく、学習済モデルを用いた機械学習によって更新される。これにより、作業者Mの位置情報を含む配送実績情報から、作業者Mの商品の配送時において、複数の自動販売機V間の移動時間を取得することができる。その結果、実際の商品の配送において、複数の自動販売機V間の移動時間が、配送計画を作成した際に想定した移動時間よりも長い場合には、作業者Mの位置情報を含む配送実績情報から取得した複数の自動販売機V間の移動時間に基づいて、配送計画作成部23の学習済モデルを更新することができる。これにより、複数の自動販売機V間の経路や配送する自動販売機Vの順番を変えるなどして、より最適な配送ルートを作成することができるので、より効率的な配送計画を作成することができる。
In addition, in this embodiment, as described above, the delivery
また、本実施形態では、上記のように、配送計画作成部23は、配送計画の作成において、複数日間における複数の自動販売機Vの商品の売上の予測値である予測需要を用いる。これにより、複数日間における商品の配送にかかる総移動時間の合計または総移動距離の合計が少ない配送ルートを作成することができる。その結果、複数日間にわたって配送する場合において効率的な複数の自動販売機Vへの商品の配送ルートを、配送計画作成部23によって作成することができる。
In addition, in this embodiment, as described above, the delivery
また、本実施形態では、上記のように、配送計画作成装置101は、作業者Mによる商品の配送時において、配送計画を実際に実施した際における配送実績情報を取得する。そして、配送計画作成部23は、作業者Mによる商品の配送時において取得された在庫情報を含む配送実績情報、および、複数の自動販売機Vの商品の売上の予測値である予測需要を入力として、配送計画を出力するように構成されている。さらに、配送計画作成装置101は、配送計画作成部23の学習済モデルを更新せずに、取得した配送実績情報に基づいて、配送計画を修正する。これにより、配送計画作成部23は、実際の在庫情報に基づいて、学習済モデルの更新前に配送計画を修正することができる。その結果、学習済モデルの更新前に実際の在庫情報を反映させ、より効率的な配送計画に、配送計画を修正することができる。また、配送計画作成部23の学習済モデルを更新せずに、配送計画を修正することによって、配送計画作成部23の学習済モデルを随時更新する場合に比べて、配送計画の修正を容易に行うことができる。
In addition, in this embodiment, as described above, the delivery
また、本実施形態では、上記のように、配送計画作成装置101は、作業者Mによる商品の配送時において、配送計画を実際に実施した際における配送実績情報を、ネットワーク200を介して取得している。そして、配送計画作成装置101は、配送計画作成部23の学習済モデルを更新せずに、取得した配送実績情報に基づいて、配送計画を作業者Mによる商品の配送中に修正し、修正後の配送計画を、ネットワーク200を介して、複数の作業者Mの各々の携帯端末102に送信する。これにより、作業者Mによる商品の配送中において、取得した配送実績情報に基づいて修正された配送計画が複数の作業者Mの各々の携帯端末102に送信されるので、作業者Mは、商品の配送中において、リアルタイムで配送中の状況を反映した効率的な商品の配送を行うことができる。また、配送計画作成部23の学習済モデルを更新せずに、配送計画を修正することによって、配送計画作成部23の学習済モデルを随時更新する場合に比べて、商品の配送中におけるリアルタイムでの配送計画の修正を迅速に行うことができる。
In addition, in this embodiment, as described above, the delivery
また、本実施形態では、上記のように、配送計画作成装置101は、複数の作業者Mによる商品の配送時において、複数の作業者Mの各々が配送可能な商品の数である商品輸送量を、ネットワーク200を介して取得している。そして、配送計画作成装置101は、配送計画作成部23の学習済モデルを更新せずに、取得した複数の作業者Mの各々の商品輸送量に基づいて、配送計画を作業者Mによる商品の配送中に修正し、修正後の配送計画を、ネットワーク200を介して、複数の作業者Mの各々の携帯端末102に送信する。これにより、作業者Mによる商品の配送中において、取得した複数の作業者Mの各々の商品輸送量に基づいて配送計画を修正することができるので、ある作業者Mの商品輸送量が不足した場合でも、商品輸送量に余裕のある他の作業者Mが代わりに商品の補充を行うように配送ルートを修正することができる。そして、修正後の配送計画が複数の作業者Mの各々の携帯端末102に送信されるので、作業者Mは、作業者M毎の商品輸送量を反映した効率的な商品の配送を行うことができる。また、配送計画作成部23の学習済モデルを更新せずに、配送計画を修正することによって、配送計画作成部23の学習済モデルを随時更新する場合に比べて、取得した複数の作業者Mの各々の商品輸送量に基づく配送計画の修正を、商品の配送中において迅速に行うことができる。
In the present embodiment, as described above, the delivery
また、本実施形態では、上記のように、配送計画作成装置101は、配送計画作成部23の学習済モデルの作成を行う際に、複数の自動販売機Vの商品の売上の予測値と、複数の自動販売機Vの各々の商品の在庫数の予測値とに基づく仮配送計画を、配送計画作成部23により作成している。そして、配送計画作成装置101は、仮配送計画による複数の自動販売機Vへの商品の配送のシミュレーション結果における商品の売上と、複数の自動販売機Vへの商品の配送のシミュレーション結果における商品の配送にかかる総移動時間を含む予測配送実績情報を取得する。そして、配送計画作成装置101は、配送計画作成部23における機械学習として、予測配送実績情報に基づく強化学習を行うことにより、学習済モデルを作成する。これにより、仮配送計画に基づくシミュレーション結果によって得られる予測配送実績情報によって、実際に商品の配送を実施する前に、強化学習による学習を行わせることができる。その結果、仮配送計画に基づくシミュレーション結果によって得られる予測配送実績情報による強化学習を行わない場合に比べて、実際の商品の配送を行う前に、より効率的な配送計画を作成可能な配送計画作成部23の学習済モデルを作成することができる。
In addition, in this embodiment, as described above, when creating the trained model of the delivery
[変形例]
今回開示された実施形態は、全ての点で例示であり制限的なものではないと考えられるべきである。本発明の範囲は上記実施形態の説明ではなく特許請求の範囲によって示され、さらに特許請求の範囲と均等の意味および範囲内での全ての変更(変形例)が含まれる。
[Modification]
The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is indicated by the claims rather than the description of the above embodiments, and further includes all modifications (variations) within the meaning and scope of the claims.
たとえば、上記実施形態では、配送実績情報は、商品の配送にかかる総移動時間、複数の自動販売機Vの商品の売上(売上本数)、商品輸送量、作業者Mの位置情報および複数の自動販売機Vの商品の在庫情報を含む例を示したが、本発明はこれに限られない。本発明では、配送実績情報は、商品の配送にかかる総移動距離を含んでもよいし、自動販売機Vが販売した商品の売上金額および利益(利益率)を含んでもよい。 For example, in the above embodiment, the delivery performance information includes the total travel time required to deliver the products, the sales (number of units sold) of the products of multiple vending machines V, the amount of products transported, the location information of the worker M, and inventory information of the products of multiple vending machines V, but the present invention is not limited to this. In the present invention, the delivery performance information may include the total travel distance required to deliver the products, and may include the sales amount and profit (profit margin) of the products sold by the vending machine V.
また、上記実施形態では、予測配送実績情報は、商品の配送にかかる総移動時間、複数の自動販売機Vの商品の売上(売上本数)、商品輸送量、作業者Mの位置情報および複数の自動販売機Vの商品の在庫情報を含む例を示したが、本発明はこれに限られない。本発明では、予測配送実績情報は、商品の配送にかかる総移動距離を含んでもよいし、自動販売機Vが販売した商品の売上金額および利益(利益率)を含んでもよい。 In the above embodiment, the predicted delivery performance information includes the total travel time required to deliver the products, the sales (number of units sold) of the products of the multiple vending machines V, the amount of products transported, the location information of the worker M, and the inventory information of the products of the multiple vending machines V, but the present invention is not limited to this. In the present invention, the predicted delivery performance information may include the total travel distance required to deliver the products, and may include the sales amount and profit (profit margin) of the products sold by the vending machine V.
また、上記実施形態では、配送計画作成装置101は、配送実績情報に基づく配送計画作成部23の学習済モデルを用いた強化学習によって、学習済モデルの状態行動価値関数を更新する例を示したが、本発明はこれに限られない。本発明では、配送計画作成装置101は、ニューラルネットワークを用いた学習、教師なし学習、および、教師あり学習のように、強化学習以外の機械学習によって、学習済モデルを更新するように構成してもよい。
In the above embodiment, the delivery
また、上記実施形態では、複数の自動販売機Vへの商品の配送完了後において、配送計画作成部23の学習済モデルを、配送実績情報に基づく配送計画作成部23の学習済モデルを用いた機械学習によって更新する例を示したが、本発明はこれに限られない。本発明では、配送計画作成装置101は、作業者Mによる商品の配送中に配送計画作成部23の学習済モデルを更新してもよい。
In addition, in the above embodiment, an example was shown in which after the delivery of products to multiple vending machines V is completed, the trained model of the delivery
また、上記実施形態では、配送計画作成部23の学習済モデルが、取得された位置情報を含む配送実績情報に基づく、学習済モデルを用いた機械学習によって更新される例を示したが、本発明はこれに限られない。本発明では、配送計画作成部の学習済モデルが、取得した複数の作業者の各々の商品輸送量に基づいて、学習済モデルを用いた機械学習によって更新されてもよい。
In addition, in the above embodiment, an example was shown in which the trained model of the delivery
また、上記実施形態では、配送計画作成部23の学習済モデルを更新せずに、取得した複数の作業者Mの各々の商品輸送量に基づいて、配送計画を作業者Mによる商品の配送中に修正するとともに、配送計画作成部23の学習済モデルを更新せずに、取得した位置情報に基づいて、配送計画を作業者Mによる商品の配送中に修正する例を示したが、本発明はこれに限られない。本発明では、配送計画作成部の学習済モデルを更新せずに、取得した複数の作業者の各々の商品輸送量または位置情報のいずれか一方に基づいて、配送計画を作業者による商品の配送中に修正する構成であってもよい。
In addition, in the above embodiment, an example is shown in which the delivery plan is revised while the worker M is delivering the goods based on the acquired product transport volume of each of the multiple workers M without updating the trained model of the delivery
また、上記実施形態では、配送計画作成部23は、配送計画の作成において、複数日間における複数の自動販売機Vの商品の売上の予測値である予測需要を用いる例を示したが、本発明はこれに限られない。本発明では、配送計画作成部23は、配送計画および仮配送計画の作成において、1日分の複数の自動販売機Vの商品の売上の予測値である予測需要を用いてもよい。
In the above embodiment, the delivery
また、上記実施形態では、配送計画作成装置101は、配送計画作成部23の学習済モデルを更新せずに、取得した配送実績情報に基づいて、配送計画を作業者Mによる商品の配送中に修正する例を示したが、本発明はこれに限られない。本発明では、配送完了後の学習済みモデルの更新のみを行い、作業者Mによる商品の配送中に、配送計画を修正しなくてもよい。
In addition, in the above embodiment, an example was shown in which the delivery
また、上記実施形態では、配送計画作成部23は、仮配送計画の作成において、複数の自動販売機Vの商品の売上の予測値と、複数の自動販売機Vの各々の商品の在庫数の予測値とを用いて、仮配送計画を作成する例を示したが、本発明はこれに限られない。本発明では、仮配送計画の作成において、複数の自動販売機の商品の売上および在庫数の各々の過去の実績値を用いてもよいし、複数の自動販売機の商品の売上および在庫数の各々の予測値および過去の実績値の両方を用いてもよい。また、本発明では、仮配送計画の作成において、複数の自動販売機の商品の売上および在庫数の各々のうち、一方は予測値および過去の実績値の両方を用い、他方は予測値または過去の実績値のいずれかを用いてもよい。
In the above embodiment, the delivery
4 出力部
23 配送計画作成部
100 配送計画作成システム
101 配送計画作成装置
102 携帯端末
200 ネットワーク
M、M1、M2 作業者
V、V1、V2、V3、V4、V5、V6、V7 自動販売機
4
Claims (10)
前記配送計画作成部により作成した前記配送計画を、ネットワークを介して、自動販売機に商品の補充作業を行う作業者が携帯する携帯端末に出力するための出力部とを備え、
前記複数の自動販売機の商品の売上の予測値である予測需要と、前記複数の自動販売機の各々の商品の在庫情報とに基づいて、前記配送計画作成部の状態としての前記予測需要および前記在庫情報に対する、行動としての前記配送計画によって得られる価値を表す学習済モデルにより前記配送計画を作成するように構成されており、
前記配送計画を実際に実施した際における、前記複数の自動販売機の商品の売上と商品の配送にかかる総移動時間と前記複数の自動販売機の各々の商品の在庫情報とを含む配送実績情報を用いて、前記配送計画作成部の前記学習済モデルが表す前記配送計画の価値に関する、前記学習済モデルの強化学習を行うことによって、前記配送計画作成部の前記学習済モデルを更新するように構成されており、
前記出力部は、更新後の前記配送計画作成部の前記学習済モデルによって作成された前記配送計画を、ネットワークを介して前記携帯端末に出力するように構成されている、配送計画作成装置。 a delivery plan creation unit that creates a delivery plan showing product delivery routes to multiple vending machines using machine learning;
an output unit for outputting the delivery plan created by the delivery plan creation unit via a network to a mobile terminal carried by an operator who replenishes products in the vending machines;
The delivery plan is created based on a predicted demand, which is a predicted value of sales of products of the plurality of vending machines, and inventory information of each of the products of the plurality of vending machines, using a trained model that represents a value obtained by the delivery plan as an action with respect to the predicted demand and the inventory information as a state of the delivery plan creation unit,
The trained model of the delivery plan creation unit is updated by performing reinforcement learning of the trained model regarding the value of the delivery plan represented by the trained model of the delivery plan creation unit using delivery record information including sales of products of the multiple vending machines , a total travel time required to deliver the products, and inventory information of the products of each of the multiple vending machines when the delivery plan is actually implemented,
The output unit is configured to output the delivery plan created by the trained model of the delivery plan creation unit after updating to the mobile terminal via a network.
前記配送計画作成部は、前記状態行動価値関数に基づいて、前記配送計画を作成するように構成されており、
前記配送実績情報に基づく前記配送計画作成部の前記学習済モデルを用いた強化学習によって、前記学習済モデルの前記状態行動価値関数を更新するように構成されている、請求項1に記載の配送計画作成装置。 The trained model of the delivery plan creation unit includes a state-action value function that represents a value obtained by the delivery plan as an action with respect to the forecasted demand and the inventory information as a state,
The delivery plan creation unit is configured to create the delivery plan based on the state-action value function,
The delivery plan creation device according to claim 1, configured to update the state-action value function of the trained model by reinforcement learning using the trained model of the delivery plan creation unit based on the delivery performance information.
前記配送計画作成部の前記学習済モデルは、取得された前記位置情報を含む前記配送実績情報に基づく、前記学習済モデルを用いた機械学習によって更新されるように構成されている、請求項3に記載の配送計画作成装置。 Acquire the delivery record information including location information of the worker at the time of delivery of the goods by the worker;
The delivery plan creation device according to claim 3, wherein the trained model of the delivery plan creation unit is configured to be updated by machine learning using the trained model based on the delivery performance information including the acquired location information.
前記配送計画作成部は、前記作業者による商品の配送時において取得された前記在庫情報を含む前記配送実績情報、および、前記複数の自動販売機の商品の売上の予測値である前記予測需要を入力として、前記配送計画を出力するように構成されており、
前記配送計画作成部の前記学習済モデルを更新せずに、取得した前記配送実績情報に基づいて、前記配送計画を修正するように構成されている、請求項1~5のいずれか1項に記載の配送計画作成装置。 When the worker delivers the goods, the delivery performance information is acquired when the delivery plan is actually carried out,
the delivery plan creation unit is configured to output the delivery plan using as input the delivery record information including the inventory information acquired when the worker delivers the products and the predicted demand, which is a predicted value of sales of the products of the plurality of vending machines;
The delivery plan creation device according to any one of claims 1 to 5, configured to correct the delivery plan based on the acquired delivery record information without updating the trained model of the delivery plan creation unit.
前記配送計画作成部の前記学習済モデルを更新せずに、取得した前記配送実績情報に基づいて、前記配送計画を前記作業者による商品の配送中に修正し、
修正後の前記配送計画を、ネットワークを介して、複数の前記作業者の各々の前記携帯端末に送信するように構成されている、請求項1~6のいずれか1項に記載の配送計画作成装置。 When the worker delivers the goods, the delivery performance information when the delivery plan is actually executed is acquired via a network;
The delivery plan is modified during delivery of the goods by the worker based on the acquired delivery performance information without updating the trained model of the delivery plan creation unit;
The delivery plan creation device according to any one of claims 1 to 6, configured to transmit the modified delivery plan to the mobile terminals of each of the plurality of workers via a network.
前記配送計画作成部の前記学習済モデルを更新せずに、取得した複数の前記作業者の各々の前記商品輸送量に基づいて、前記配送計画を前記作業者による商品の配送中に修正し、
修正後の前記配送計画を、ネットワークを介して、複数の前記作業者の各々の前記携帯端末に送信するように構成されている、請求項1~7のいずれか1項に記載の配送計画作成装置。 When the plurality of workers delivers the goods, a product transportation volume, which is the number of goods that each of the plurality of workers can deliver, is acquired via a network;
The delivery plan is modified during delivery of the goods by the workers based on the acquired product transportation volume of each of the multiple workers without updating the trained model of the delivery plan creation unit;
The delivery plan creation device according to any one of claims 1 to 7, configured to transmit the revised delivery plan to the mobile terminals of each of the multiple workers via a network.
前記複数の自動販売機の商品の売上の予測値または過去の実績値の少なくとも一方と、前記複数の自動販売機の各々の商品の在庫数の予測値または過去の実績値の少なくとも一方とに基づく仮配送計画を、前記配送計画作成部により作成し、
前記仮配送計画による前記複数の自動販売機への商品の配送のシミュレーション結果における商品の売上と、前記複数の自動販売機への商品の配送のシミュレーション結果における商品の配送にかかる総移動時間とを含む、予測配送実績情報を取得し、
前記配送計画作成部における機械学習として、前記予測配送実績情報に基づく強化学習を行うことにより、前記学習済モデルを作成するように構成されている、請求項1~8のいずれか1項に記載の配送計画作成装置。 When creating the trained model of the delivery plan creation unit,
creating a provisional distribution plan based on at least one of a predicted value or a past actual value of sales of the products of the plurality of vending machines and at least one of a predicted value or a past actual value of inventory quantity of the products of each of the plurality of vending machines by the distribution plan creation unit;
Acquire predicted delivery performance information including sales of products in a simulation result of product delivery to the multiple vending machines according to the tentative delivery plan and a total travel time required for product delivery in a simulation result of product delivery to the multiple vending machines;
The delivery plan creation device according to any one of claims 1 to 8, wherein the learned model is created by performing reinforcement learning based on the predicted delivery performance information as machine learning in the delivery plan creation unit.
複数の自動販売機への商品の配送ルートを示す配送計画を作成する配送計画作成装置と、を備え、
前記配送計画作成装置は、機械学習により前記配送計画を作成する配送計画作成部と、前記配送計画作成部により作成した前記配送計画を、ネットワークを介して、前記携帯端末に出力するための出力部とを含み、
前記複数の自動販売機の商品の売上の予測値である予測需要と、前記複数の自動販売機の各々の商品の在庫情報とに基づいて、前記配送計画作成部の状態としての前記予測需要および前記在庫情報に対する、行動としての前記配送計画によって得られる価値を表す学習済モデルにより前記配送計画を作成するように構成されており、
前記配送計画を実際に実施した際における、前記複数の自動販売機の商品の売上と、商品の配送にかかる総移動時間と前記複数の自動販売機の各々の商品の在庫情報とを含む配送実績情報を用いて、前記配送計画作成部の前記学習済モデルが表す前記配送計画の価値に関する、前記学習済モデルの強化学習を行うことによって、前記配送計画作成部の前記学習済モデルを更新するように構成されており、
前記出力部は、更新後の前記配送計画作成部の前記学習済モデルによって作成された前記配送計画を、ネットワークを介して前記携帯端末に出力するように構成されている、配送計画作成システム。 A mobile terminal carried by an operator who replenishes products in a vending machine;
a delivery plan creation device that creates a delivery plan indicating product delivery routes to a plurality of vending machines;
The delivery plan creation device includes a delivery plan creation unit that creates the delivery plan by machine learning, and an output unit that outputs the delivery plan created by the delivery plan creation unit to the mobile terminal via a network,
The delivery plan is created based on a predicted demand, which is a predicted value of sales of products of the plurality of vending machines, and inventory information of each of the products of the plurality of vending machines, using a trained model that represents a value obtained by the delivery plan as an action with respect to the predicted demand and the inventory information as a state of the delivery plan creation unit,
The trained model of the delivery plan creation unit is updated by performing reinforcement learning of the trained model regarding the value of the delivery plan represented by the trained model of the delivery plan creation unit using delivery record information including sales of products of the multiple vending machines , a total travel time required for delivering the products, and inventory information of the products of each of the multiple vending machines when the delivery plan is actually implemented,
The output unit is configured to output the delivery plan created by the trained model of the delivery plan creation unit after updating to the mobile terminal via a network.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021098962A JP7663030B2 (en) | 2021-06-14 | 2021-06-14 | Delivery plan creation device and delivery plan creation system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021098962A JP7663030B2 (en) | 2021-06-14 | 2021-06-14 | Delivery plan creation device and delivery plan creation system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022190579A JP2022190579A (en) | 2022-12-26 |
| JP7663030B2 true JP7663030B2 (en) | 2025-04-16 |
Family
ID=84601715
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021098962A Active JP7663030B2 (en) | 2021-06-14 | 2021-06-14 | Delivery plan creation device and delivery plan creation system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7663030B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002042217A (en) | 2000-07-21 | 2002-02-08 | Taro Mori | Patrol and replenishing method and system for vending machine |
| JP2002279034A (en) | 2001-03-15 | 2002-09-27 | Shikoku Coca Cola Bottling Kk | Method and system for preparing circulation plan |
| CN111401636A (en) | 2020-03-16 | 2020-07-10 | 第四范式(北京)技术有限公司 | Method and system for realizing intelligent replenishment of chain merchants |
-
2021
- 2021-06-14 JP JP2021098962A patent/JP7663030B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002042217A (en) | 2000-07-21 | 2002-02-08 | Taro Mori | Patrol and replenishing method and system for vending machine |
| JP2002279034A (en) | 2001-03-15 | 2002-09-27 | Shikoku Coca Cola Bottling Kk | Method and system for preparing circulation plan |
| CN111401636A (en) | 2020-03-16 | 2020-07-10 | 第四范式(北京)技术有限公司 | Method and system for realizing intelligent replenishment of chain merchants |
Non-Patent Citations (1)
| Title |
|---|
| 宮本 裕一郎,自動販売機に対する在庫配送計画の事例,日本オペレーションズ・リサーチ学会論文誌,2001年12月,Vol.44 No.4,pp.378-389 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022190579A (en) | 2022-12-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102874170B1 (en) | Deep Reinforcement Learning for Production Scheduling | |
| US11321650B2 (en) | System and method for concurrent dynamic optimization of replenishment decision in networked node environment | |
| AU2024227034A1 (en) | Systems and methods for inventory management and optimization | |
| JP7486507B2 (en) | Reinforcement learning system and method for inventory management and optimization | |
| Cho et al. | An adaptive genetic algorithm for the time dependent inventory routing problem | |
| US20150254589A1 (en) | System and Method to Provide Inventory Optimization in a Multi-Echelon Supply Chain Network | |
| AU2019236636A1 (en) | Continuous delivery | |
| Arora et al. | An integrated approach for logistic and vendor managed inventory in supply chain | |
| US20230306347A1 (en) | Systems and methods for supply chain optimization with channel saliency | |
| US20090083123A1 (en) | Systems and methods for inventory level improvement by data simulation | |
| US20220292434A1 (en) | Resource planning for delivery of goods | |
| JP7356685B2 (en) | Planning systems, planning methods and programs | |
| US20240220894A1 (en) | Work management platform | |
| CN115423193A (en) | Production and scheduling processing system and processing method under uncertain demand condition | |
| US20230045901A1 (en) | Method and a system for customer demand driven supply chain planning | |
| Russell | A constraint programming approach to designing a newspaper distribution system | |
| US11481858B2 (en) | Peak period network capacity planning | |
| JP7663030B2 (en) | Delivery plan creation device and delivery plan creation system | |
| JP2020187416A (en) | Logistics management system | |
| CN102542432B (en) | Inventory management system and method | |
| JP7813996B2 (en) | Information output method, information output device, and program | |
| JP7533758B2 (en) | CONTAINER MANAGEMENT DEVICE, CONTAINER LOADING MANAGEMENT SYSTEM, METHOD, AND PROGRAM | |
| JP2002183264A (en) | Delivery / vehicle planning device, delivery / vehicle planning method, and recording medium | |
| Bosman et al. | Online transportation and logistics using computationally intelligent anticipation | |
| WO2022211720A1 (en) | Transport system controller and method for controlling a transport system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240514 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250110 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250121 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250228 |
|
| 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: 20250305 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250318 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7663030 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |