[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP4180957B2 - Delivery area simulation system and program and method thereof - Google Patents

Delivery area simulation system and program and method thereof Download PDF

Info

Publication number
JP4180957B2
JP4180957B2 JP2003105007A JP2003105007A JP4180957B2 JP 4180957 B2 JP4180957 B2 JP 4180957B2 JP 2003105007 A JP2003105007 A JP 2003105007A JP 2003105007 A JP2003105007 A JP 2003105007A JP 4180957 B2 JP4180957 B2 JP 4180957B2
Authority
JP
Japan
Prior art keywords
delivery
base
information
time
store
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.)
Expired - Fee Related
Application number
JP2003105007A
Other languages
Japanese (ja)
Other versions
JP2004307175A (en
Inventor
貴 梶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Tobacco Inc
Original Assignee
Japan Tobacco Inc
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 Japan Tobacco Inc filed Critical Japan Tobacco Inc
Priority to JP2003105007A priority Critical patent/JP4180957B2/en
Publication of JP2004307175A publication Critical patent/JP2004307175A/en
Application granted granted Critical
Publication of JP4180957B2 publication Critical patent/JP4180957B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、複数の配達拠点それぞれについての配達エリアをシミュレートするシステム及びそのプログラムと方法に関する。
【0002】
【従来の技術】
物流業界において、物流コスト削減を目的とした配達スケジュールを作成するコンピュータシステムはすでに多く開示されている。例えば、特許文献1、特許文献2等である。これらは、1の配達拠点から複数の配達先への配達スケジュールを最適化するシステムであり、また、物流コストの削減をリードタイムの短縮として位置付けている。
【0003】
【特許文献1】
特開平8−166939号公報
【特許文献2】
特開平9−311702号公報
【0004】
【発明が解決しようとする課題】
一方、複数の配達拠点に対して複数の配達先を所属させることにより、複数の配達エリアを作成する場合、物流コストの削減面から最適な配達エリアを作成するには、リードタイムの他に各配達拠点で維持する配達車の効率的な運用という観点が重要になる。
【0005】
しかし、上記の発明を初め、従来のコンピュータによる配達スケジュールシステムには、配達車の台数という観点から配達エリアを作成するものが存在しなかった。従って、各配達エリアの配達車の最適台数や配達エリア間の調整後の台数等は煩雑な手作業によって行なわざるを得ず、膨大な時間と手間を要した。
【0006】
そこで、本発明は、配達車の台数に基づいた配達エリアの最適化を図るべく、配達エリアにおける配達車のコース数をシミュレートする配達エリアシミュレーションシステムを提供することを目的とする。
【0007】
【課題を解決するための手段】
以下、本発明について説明する。なお、本発明の理解を容易にするために添付図面の参照符号を括弧書きにて付記するが、それにより本発明が図示の形態に限定されるものではない。
【0008】
本発明の配達エリアシミュレーションシステムは、1の配達拠点(2)から複数の配達先(3…3)へ、配達車によって配達物を配達する配達エリア(201a)において、前記配達車の配達コースのコース数に関するシミュレーションを行なう配達エリアシミュレーションシステムであって、前記複数の配達先を相互に識別可能な配達先識別情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達物量に関する情報と、前記複数の配達先のそれぞれの場所に関する情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達回数に関する情報と、前記複数の配達先のそれぞれにおける配達にかかる店頭時間に関する情報と、前記複数の配達先のそれぞれにおける行政区速度に関する情報と、を相互に関連付けて記憶する配達先情報記憶手段(11b)と、前記配達拠点の場所に関する情報と前記配達拠点の行政区速度に関する情報と、を記憶する配達拠点情報記憶手段(11a)と、前記配達物の配達に係る作業時間に関する情報と、前記配達車の前記配達物についての積載量に関する情報と、を記憶する共通情報記憶手段(14a、14b)と、前記作業時間に関する情報に基づいて1日の配達時間Wsを算出する配達時間算出手段(4a)と、前記配達拠点の場所に関する情報と前記複数の配達先のそれぞれの場所に関する情報から、前記配達拠点と前記複数の配達先との間の距離を求め、その距離と前記配達拠点の前記行政区速度に関する情報とに基づいて、前記配達車が前記配達拠点と前記複数の配達先それぞれとの移動に要する時間の平均である拠点から時間Dtを算出する拠点から時間算出手段(4b)と、前記複数の配達先のそれぞれの前記場所に関する情報に基づいて、前記複数の配達先のそれぞれ相互間の距離を求め、その距離とその距離に対応する配達先の前記行政区速度に関する情報とに基づいて、前記配達車が一の配達先から他の配達先への移動に要する時間の平均である平均店間時間Stを算出する店間時間算出手段(4c)と、前記複数の配達先のそれぞれの前記店頭時間に関する情報に基づいて、平均店頭時間Otを算出する店頭時間算出手段(4d)と、前記配達車が1コースで配達可能な前記配達先数Dnを、下記の式に基づいて求める配達先数算出手段(4e)と、
【0009】
【数12】

Figure 0004180957
【0010】
前記複数の配達先のそれぞれの前記配達回数に関する情報に基づいて、前記配達車が所定期間に配達する配達先数延べ数Sn算出する配達先延べ数算出手段(4f)と、下記の式に基づいて前記所定期間における時間コース数Cnshを算出する時間コース数算出手段(4g)と
【0011】
【数13】
Figure 0004180957
【0012】
前記複数の配達先のそれぞれの前記配達回数に関する情報及び前記配達物量に関する情報に基づいて、前記所定期間に、前記複数の配達先のそれぞれへ配達される前記配達物量の期間内配達物量合計Vnを算出する期間内物量算出手段(4h)と、前記積載量をBnとし、下記の式に基づいて前記所定期間における物量コース数Cnsgを算出する物量コース数算出手段(4i)と、
【0013】
【数14】
Figure 0004180957
【0014】
前記時間コース数Cnshと前記物量コース数Cnsgのうち、いずれか一方を選択し、前記配達エリアのコース数Cnとして決定するコース数決定手段(4j)と、を有することにより、上記の課題を解決する。
【0015】
本発明は、配達車の台数を所定期間におけるコース数として算出する。本実施形態では、1コースは1日に1台の配達車が配達可能な配達先の集合体であり、このコース数を次の2つの局面に基づいてシミュレートする。1つは、所定期間に配達される配達先延べ数Snと1コースに配達車1台で配達可能な配達先数Dnとに基づいて算出される、所定期間に必要な時間コース数Cnshである。これは1日の配達時間Wsに基づいた時間的な制限に基づくコース数である。もう1つは、所定期間に配達される配達物量の合計である期間内配達物量合計Vnと配達車1台の積載量Bnとに基づいて算出される、所定期間に必要な物量コース数Cnsgである。これは積載量Bnという物量的な制限に基づくコース数である。コース数決定手段にて、どちらか1つが選択され、当該配達エリアのコース数Cnが決定されるので、配達エリアにおける配達車のコース数のシミュレートを行なうことができる。また、複数の配達エリアがある場合であっても、各配達エリアに対して、それぞれコース数をシミュレートすることにより、全配達エリアに対してコース数や所属する配達先数の検討を行なうことができる。例えば、算出されたコース数から必要な配達車の台数が得られ、その配達拠点にて現在所有されている配達車の数と必要な配達車の数とを比較することができる。シミュレートにより求められた台数よりも所有されている台数の方が多い場合は、余分な配達車の存在があることになる。従って、所有車数を減らすか又は配達先数を増加させる等の検討材料となり得る。
【0016】
前記コース数決定手段は、前記時間コース数Cnshと前記物量コース数Cnsgのうち、大きい数の方を選択してもよい。これによって、常に、時間的な制限も物量的な制限も満たしたコース数Cnを得ることができる。
【0017】
前記配達時間算出手段は、前記作業時間に関する情報に基づく作業時間から、前記配達拠点での作業(46、48)及び休憩時間(47)を除いた時間としてもよい。これによって、1日の配達時間Wsは、配達車による配達が実際に行なわれている時間とすることができる。
【0018】
前記複数の配達先のうち、前記配達拠点にて前記配達物の積込み作業を1コース中に複数回行なうピストン輸送の対象であるための条件を満たす前記複数の配達先を選択し、その選択された前記複数の配達先を前記ピストン輸送の対象として、選択されなかった通常輸送の前記複数の配達先と識別可能にするピストン対象選択手段(4k)を有し、前記配達時間算出手段においては、前記配達拠点における前記積込み作業の回数に応じた時間を考慮して前記ピストン輸送に対応する1日の配達時間Wpを算出し、前記拠点から時間算出手段、前記店間時間算出手段、前記店頭時間算出手段、前記配達先延べ数算出手段、及び前記期間内物量算出手段それぞれにおいて、前記ピストン輸送の対象とされる前記複数の配達先と前記通常輸送の対象とされる前記複数の配達先とはそれぞれ別個に処理され、前記配達先数算出手段は、前記通常輸送に対応する前記配達先数Dnの他に、前記ピストン輸送に対応する前記配達先数Dnを、前記ピストン輸送に対応する前記拠点から時間Dt、前記平均店間時間St、前記平均店頭時間Otに基づいて、下記の式により求め、
【0019】
【数15】
Figure 0004180957
【0020】
前記時間コース数算出手段は、前記通常輸送に対応する前記時間コース数Cnshの他に、前記ピストンに対応する時間コース数Cnphを、前記ピストン輸送に対応する前記配達先延べ数Sn及び前記配達先数Dnに基づいて算出し、前記物量コース数算出手段は、前記通常輸送に対応する前記物量コース数Cnsgの他に、前記ピストン輸送に対応する物量コース数Cnpgを、前記ピストン輸送に対応する前記期間内配達物量合計Vnに基づいて、下記の式により算出し、
【0021】
【数16】
Figure 0004180957
前記コース数決定手段は、前記通常輸送に対応する前記コース数Cns及び前記ピストン輸送に対応する前記コース数Cnpをそれぞれ選択し、選択された前記通常輸送に対応する前記コース数Cnsと前記ピストン輸送に対応する前記コース数Cnpを合計し、その合計コース数を前記配達エリアの前記コース数Cnとして決定してもよい。
【0022】
これにより、1回の積み込み作業の後、帰所するまでを1コースとする輸送形態の他に、1コース中に複数回積み込み作業を行い、そのために配達拠点に複数回帰所する場合の配達形態も考慮して配達車のコース数をシミュレートすることができる。
【0023】
前記条件の下で、前記ピストン輸送の対象となる前記複数の配達先と前記通常輸送の対象となる前記複数の配達先との組み合わせが複数成立する場合に、前記コース数決定手段は、前記複数の組み合わせのそれぞれについて、前記合計コース数をそれぞれ算出し、その算出された前記合計コース数のうち、最小の数の前記合計コース数を前記配達エリアにおける前記コース数Cnとして決定してもよい。
【0024】
これによって、通常輸送の対象となる複数の配達先とピストン輸送の対象となる複数の配達先のうち、配達車のコース数の観点から最も効率的な組み合わせを決定することができる。
【0025】
前記移動に要する時間は、前記配達車が配達する場所の環境及び移動する距離を考慮した速度に基づいて求められてもよい。これにより、都会と田舎といった環境の差や移動距離に応じた配達車の移動時間や移動距離を得ることができ、シミュレートされたコース数の結果がより実際に近いものとなる。
【0026】
本発明の配達エリアシミュレーションプログラムは、1の配達拠点(2)から複数の配達先(3…3)へ配達車によって配達物を配達する配達エリア(201a、201b)において、前記配達車の配達コースのコース数に関してシミュレーションを行なう手段として、コンピュータを機能させる配達エリアシミュレーションプログラムであって、前記コンピュータを、前記複数の配達先を相互に識別可能な配達先識別情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達物量に関する情報と、前記複数の配達先のそれぞれの場所に関する情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達回数に関する情報と、前記複数の配達先のそれぞれにおける配達にかかる店頭時間に関する情報と、前記複数の配達先のそれぞれにおける行政区速度と、を相互に関連付けて記憶する配達先情報記憶手段(11b)と、前記配達拠点の場所に関する情報と前記配達拠点の行政区速度に関する情報と、を記憶する配達拠点情報記憶手段(11a)と、前記配達物の配達に係る作業時間に関する情報と、前記配達車の前記配達物についての積載量に関する情報と、を記憶する共通情報記憶手段(14a、14b)と、前記作業時間に関する情報に基づいて1日の配達時間Wsを算出する配達時間算出手段(4a)と、前記配達拠点の場所に関する情報と前記複数の配達先のそれぞれの場所に関する情報から、前記配達拠点と前記複数の配達先との間の距離を求め、その距離と前記配達拠点の前記行政区速度度に関する情報とに基づいて、前記配達車が前記配達拠点と前記複数の配達先それぞれとの移動に要する時間の平均である拠点から時間Dtを算出する拠点から時間算出手段(4b)と、前記複数の配達先のそれぞれの前記場所に関する情報に基づいて、前記複数の配達先のそれぞれ相互間の距離を求め、その距離とその距離に対応する配達先の前記行政区速度に関する情報とに基づいて、前記配達車が一の配達先から他の配達先への移動に要する時間の平均である平均店間時間Stを算出する店間時間算出手段(4c)と、前記複数の配達先のそれぞれの前記店頭時間に関する情報に基づいて、平均店頭時間Otを算出する店頭時間算出手段(4d)と、前記配達車が1コースで配達可能な配達先数Dnを、下記の式に基づいて求める配達先数算出手段(4e)と、
【0027】
【数17】
Figure 0004180957
【0028】
前記複数の配達先のそれぞれの前記配達回数に関する情報に基づいて、前記配達車が所定期間に配達する配達先数延べ数Snを算出する配達先延べ数算出手段(4f)と、下記の式に基づいて前記所定期間における時間コース数Cnshを算出する時間コース数算出手段(4g)と
【0029】
【数18】
Figure 0004180957
【0030】
前記複数の配達先のそれぞれの前記配達回数に関する情報及び前記配達物量に関する情報に基づいて、前記所定期間に、前記複数の配達先のそれぞれへ配達される前記配達物量の期間内配達物量合計Vnを算出する期間内物量算出手段(4h)と、前記積載量をBnとし、下記の式に基づいて前記所定期間における物量コース数Cnsgを算出する物量コース数算出手段(4i)と、
【0031】
【数19】
Figure 0004180957
【0032】
前記時間コース数Cnshと前記物量コース数Cnsgのうち、いずれか一方を選択し、前記配達エリアのコース数Cnとして決定するコース数決定手段(4j)、として、機能させることにより、上記の課題を解決する。このプログラムをコンピュータに実行させることにより、請求項1の配達エリアシミュレーションシステムを実現することができる。
【0033】
本発明の配達エリアシミュレーション方法は、1の配達拠点(2)から複数の配達先(3…3)へ、配達車によって配達物を配達する配達エリア(201a、201b)において、前記配達車の配達コースのコース数に関してシミュレーションを行なう配達エリアシミュレーション方法であって、前記複数の配達先を相互に識別可能な配達先識別情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達物量に関する情報と、前記複数の配達先のそれぞれの場所に関する情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達回数に関する情報と、前記複数の配達先のそれぞれにおける配達にかかる店頭時間に関する情報と、前記複数の配達先のそれぞれにおける行政区速度に関する情報と、を相互に関連付けて記憶する手順と、前記配達拠点の場所に関する情報と前記配達拠点の行政区速度に関する情報とを記憶する手順と、前記配達物の配達に係る作業時間に関する情報と、前記配達車の前記配達物についての積載量に関する情報と、を記憶する手順と、前記作業時間に関する情報に基づいて1日の配達時間Wsを算出する手順と、前記配達拠点の場所に関する情報と前記複数の配達先のそれぞれの場所に関する情報から、前記配達拠点と前記複数の配達先との間の距離を求め、その距離と前記配達拠点の前記行政区速度に関する情報とに基づいて、前記配達車が前記配達拠点と前記複数の配達先それぞれとの移動に要する時間の平均である拠点から時間Dtを算出する手順と、前記複数の配達先のそれぞれの前記場所に関する情報に基づいて、前記複数の配達先のそれぞれ相互間の距離を求め、その距離とその距離に対応する配達先の前記行政区速度に関する情報とに基づいて、前記配達車が一の配達先から他の配達先への移動に要する時間の平均である平均店間時間Stを算出する手順と、前記複数の配達先のそれぞれの前記店頭時間に関する情報に基づいて、平均店頭時間Otを算出する手順と、前記配達車が1コースで配達可能な配達先数Dnを、下記の式に基づいて求める手順と、
【0034】
【数20】
Figure 0004180957
【0035】
前記複数の配達先のそれぞれの前記配達回数に関する情報に基づいて、前記配達車が所定期間に配達する配達先数延べ数Snを算出する手順と、下記の式に基づいて前記所定期間における時間コース数Cnshを算出する手順と、
【0036】
【数21】
Figure 0004180957
【0037】
前記複数の配達先のそれぞれの前記配達回数に関する情報及び前記配達物量に関する情報に基づいて、前記所定期間に、前記複数の配達先のそれぞれへ配達される前記配達物量の期間内配達物量合計Vnを算出する手順と、前記積載量をBnとし、下記の式に基づいて前記所定期間における物量コース数Cnsgを算出する手順と、
【0038】
【数22】
Figure 0004180957
【0039】
前記時間コース数Cnshと前記物量コース数Cnsgのうち、いずれか一方を選択し、前記配達エリアのコース数Cnとして決定する手順と、をコンピュータに実行させることにより、上記の課題を解決する。この配達エリアシミュレーション方法をコンピュータに実行させることにより、請求項1の配達エリアシミュレーションシステムを実現することができる。
【0040】
【発明の実施の形態】
図1は、複数の配達基地としての基地1…1、複数の配達拠点としてのデポ2…2、及び複数の配達先としての販売店3…3が地図上に点在するようす示す。なお、配達拠点は、配達中継地であるデポ2である必要はなく、配達中継地がない場合は、配達元である配達基地が配達拠点となる。凸状の形状で表されているのが基地1、数字付き四角の形状で表されているのがデポ2、その他の円や家型の形状で表されているのが販売店である。本実施形態においては、図1に示すように複数の基地1…1、複数のデポ2…2及び複数の販売店3…3が存在する場合に、各基地1から所定の配達物としてのタバコをデポ2を経由して各販売店3に配達する場合を例に説明する。但し、デポ2…2はいずれか1の基地1のみに所属し、その基地1から配達されたタバコを各販売店3…3は配達する。また、基地1から直接販売店3…3へ配達する場合もある。
【0041】
「配達エリア」とは、拠点1、2からタバコが配達される販売店3…3のエリアをいい、特に、基地1からタバコが直接配達される販売店3…3のエリアを「基地直配エリア」といい、この基地直配エリアと基地1から発送されたタバコがデポ2…2を経由して配達される販売店3…3のエリアとを合わせて「基地配達エリア」という。また、デポ2から直接タバコが配達される販売店3…3のエリアを「デポ配達エリア」という。デポ2からタバコが直接に配達される販売店3を「デポ2の配達エリアに所属する」または「デポ2に所属する」といい、基地1から発送されるタバコを販売店3へ配達するデポ2を「基地1に所属する。」という。また、本実施形態において「配達拠点1、2」または「拠点1、2」というときは、基地1及びデポ2を含んだ概念を意味する。また、本実施形態に基づくコンピュータシステムを本システム、本システムによって基地1やデポ2の配達エリアを作成することを、本システムによる処理という。また、配達エリアを作成する処理を分割処理または分割というときがある。なお、配達とは特にことわらない限り、輸送トラックによるルート配達を意味する。
【0042】
図2は、本発明におけるシステム構成の一例を示す。コンピュータの中央処理装置4は入力手段としての入力装置6、配達エリア作成に係るデータ処理が行われるWORK領域7、出力手段としての出力装置8それぞれとデータの送受信が可能なように接続されている。各装置4、5、6、7、8間の接続は、無線、有線を問わない。
【0043】
入力装置6はキーボードやマウス等が該当し、本システムによる処理に必要なデータをユーザが適宜入力でき、そのデータを中央処理装置4へ送る機能を有する装置をいう。入力データとしては、分割対象である地域や配達拠点1、2の選択データや変更可能な各種パラメータ値等がある。出力装置8は入力装置6によって入力された内容やWORK領域7にて行われた処理結果が出力される装置をいい、モニタやプリンタ等の人間が視覚的に認識できる形式で出力される装置の他、電磁的方法によって認識される形式で光ディスクやハードディスク等に出力される場合も含む。
【0044】
記憶装置5は、本システムによる処理の実現に必要な各種プログラム5aやホームフォルダ5bを記憶する。ホームフォルダ5bとは、本システムによる処理で使用する各種データを各納する場所として確保されているフォルダをいう。ホームフォルダ5bに格納されている各種データの詳細については後述する。
【0045】
WORK領域7は、配達エリア作成のために必要なデータ及び必要なプログラムがホームフォルダ5bから処理用データとして読み込まれ、分割処理が行われるメモリ領域である。このWORK領域7には、記憶装置5がデータの送受信が可能なように接続される。なお、このWORK領域7は1のメモリ領域である必要はなく、複数のメモリ領域がWORK領域7として機能する場合も含み、一時的にデータを記憶させる領域の総称とする。WORK領域7及び中央処理装置4は、WORK領域7に読み込まれたプログラムに従って、記憶装置5から適宜データを読み込み、分割処理を実行する。
【0046】
中央処理装置4は、CPU及びその動作に必要なRAM、ROM等の各種周辺回路を備えたコンピュータとして構成される。特に算定処理を行なう手段として、配達時間算出手段4a、拠点から時間算出手段4b、店間時間算出手段4c、店頭時間算出手段4d、配達先数算出手段4e、配達先延べ数算出手段4f、時間台数算出手段4g、期間内物量算出手段4h、物量台数算出手段4i、台数決定手段4j、及びピストン対象選択手段4kを含み、入力装置6から入力されたデータや記憶装置5に記憶されているデータに基づいて、各手段による処理を実行し、その結果を出力装置8に出力する。
【0047】
次に、図3に従って、ホームフォルダ5bに格納されているフォルダ構造やファイル各種について説明する。ファイル形式は本システムによる処理を実現可能である限り問わない。
【0048】
本実施形態におけるファイル構成の概要は、本システムのマスタファイルとして行政区テーブル10a、配達拠点情報記憶手段としての拠点情報ファイル11a及び配達先情報記憶手段としての販売店情報ファイル11bがあり、各ケースにて分割処理を行なうためのマスタファイルとして処理用ファイル群16a…16dがあり、処理結果は結果ファイル群17a…17dにて保存される構成になっている。よって、マスタファイル10a、11a、11bの内容を、現在の基地1…1、デポ2…2及び販売店3…3の状況と一致させれば、常に現在の状況に基づいて、様々なパターンの配達エリアをシミュレートすることができる。以下、ファイル構成について具体的に説明する。
【0049】
本実施形態においては、複数のフォルダがホームフォルダ5bを頂点とする階層構造によって管理されている。ホームフォルダ5bのすぐ下にはマスタに関するフォルダ10…12及びケースに関するフォルダ13…15があり、ケースに関するフォルダ14の下にシナリオに関するフォルダ16…18が存在する。ケースとは、分割対象の地域を同一とする単位であり、シナリオとは、その同一地域において分割処理のための諸条件を変更して行った各処理の結果の単位をいう。
【0050】
マスタファイルに関するフォルダ10…12について説明する。マスタファイルに関するフォルダ10…12には、MASTERフォルダ10と地域フォルダ11とがある。MASTERフォルダ10は、行政区テーブル10a及び複数の地域フォルダ11…11を格納して管理する。
【0051】
各地域フォルダ11には、拠点情報ファイル11aと販売店情報ファイル11bが地域ごとにまとめられて管理されている。拠点情報ファイル11a…11aには基地1…1及びデポ2…2に関する情報が格納され、販売店情報ファイル11b…11bには各販売店3…3についての情報が格納されている。例えば、九州地域の地域フォルダ11には九州地域に存在する基地1…1及びデポ2…2に関する情報を有する拠点情報ファイル11aと九州地域に存在する販売店3…3に関する情報を有する販売店情報ファイル11bが格納される。各情報ファイル11a、11bに格納されている情報については後述する。複数の地域フォルダ11…11はマスタフォルダ群フォルダ12に格納され管理されてもよい。
【0052】
行政区テーブル10aとは、配達物の輸送トラックの走行速度に関する情報を地域情報に対応させて管理するテーブルである。この行政区テーブル10aで管理されている情報については後述する。
【0053】
ケースに関するフォルダ13…15には、CASEフォルダ13及びケースフォルダ14がある。CASEフォルダ13は、シナリオ情報ファイル13a及び複数のケースフォルダ14…14を格納し、管理する。シナリオ情報ファイル13aとは、シナリオ名やシナリオの作成日等、各シナリオに関する情報を統括的に管理するファイルである。ケースフォルダ14はケースごとに作成されるフォルダであり、各ケースフォルダ14には複数のシナリオフォルダ17…17と1のシナリオマスタフォルダ16が格納され、管理される。複数のケースフォルダ14…14はケースフォルダ群フォルダ15に格納され、管理されてもよい。
【0054】
シナリオマスタフォルダ16は、同一ケース内でマスタファイルとして機能する処理用ファイル群16a…16dを格納する。処理用拠点ファイル16aは、各ケースにおけるいわば処理用マスタファイルである。本実施形態では、処理用拠点ファイル16aのデータ項目は拠点情報ファイル11aのデータ項目と同一として扱うが、拠点情報ファイル11aのデータ項目に必要なデータを加えて処理用拠点ファイル16aとしてもよい。複数の拠点情報ファイル11a…11aが1の処理用拠点ファイル16aを構成する場合もある。処理用拠点ファイル16aは、上書き保存が不可能なファイルとして存在し、ケース内で何度もマスタファイルとして使用される。処理用販売店ファイル16bと販売店情報ファイル11bの関係も処理用拠点ファイル16a及び拠点情報ファイル11aの関係と同様である。
【0055】
処理用統計情報ファイル16cは、処理用拠点ファイル16a及び処理用販売店ファイル16bに基づいて、各基地1や各デポ2ごとにその基地1やデポ2に所属する販売店3…3の数や配達回数等の統計値を、その基地1やデポ2の稼動状況を確認するための情報として有するファイルである。その他、シナリオマスタフォルダ16に格納されるファイルには。カーソルの位置等、本システムにおける作業上必要な情報をリアルタイムで管理する処理用作業用ファイル16dがある。
【0056】
シナリオフォルダ17…17には、各配達エリア作成処理の実行結果が格納される。シナリオ17には、シナリオマスタフォルダ16内の処理用ファイル群16a…16dに対して行われた処理結果である。結果ファイル群17a…17dが格納される。複数のシナリオフォルダ17…17は、シナリオフォルダ群フォルダ18にまとめて格納されて、管理されてもよい。
【0057】
なお、各ケースに共通する共通パラメータを記憶するファイルとして、各ケースフォルダ14ごとに、JIS11情報ファイル14a及び共通情報記憶手段としての共通パラメータファイル14bが設けられている。
【0058】
次に、本実施形態におけるマスタファイルである行政区テーブル10a、拠点情報ファイル11a、販売店情報ファイル11bに格納されるデータ項目について説明する。なお、各マスタファイル10a、11a、11bは、本システム用として作成してもよいし、他のシステムと共通するデータ項目については、他のシステムと共有するマスタから抽出して作成してもよい。
【0059】
行政区テーブル10aとは、JIS5単位でトラックの走行速度に関する情報を持つテーブルをいい、MASTER10に直接格納されて管理される。行政区テーブル10aのデータ項目は図31に示す。JIS5コード400は自治省による5桁の土地コードをいい、行政区速度401はJIS5コード400に対応する地域でのトラックの走行平均速度である。都会フラグ402とは、当該JIS5コード400に対応する地域が都会か田舎かを識別するためのフラグである。本実施形態では、田舎の場合に0、都会の場合に1を設定する。
【0060】
拠点情報ファイル11aは、基地1…1及びデポ2…2に関する情報をデータとして持つファイルであり、そのデータ項目の詳細は図29に示す。以下、図29に示すデータ項目を拠点情報ファイル11aの1レコードとし、この1レコードに含まれるデータ項目を拠点情報という。特に、基地1に関する拠点情報を基地情報、デポ2に関する拠点情報をデポ情報という。以下各データ項目について説明する。
【0061】
拠点コード300がある。拠点コード300とは、各配達拠点1、2を相互に識別するために各配達拠点1、2に付されるコードである。全国の各配達拠点1、2に対して一意に付されることが望ましい。拠点名301は当該拠点コード300に対応する配達拠点1、2(以下拠点情報のデータ項目の説明において「当該拠点1、2」という。特に基地1に関するデータ項目の場合は、「当該基地1」、デポ2に関するデータ項目の場合は「当該デポ2」という。)の名称である。拠点属性302は、当該拠点1、2が基地1であるかデポ2であるかを識別できる識別子である。例えば、基地1のとき1とし、デポ2のときは2とする。基地コード303は、当該拠点1、2がデポ2である場合に所属する基地1の拠点コード300を示す。当該拠点1、2が基地1である場合の拠点コード300は、設定する必要がないので例えばNULLとする。配達拠点の場所に関する情報として、X座標304及びY座標305がある。X座標304及びY座標305は、当該拠点1、2が存在する場所を計算用座標系で表現したX座標及びY座標である。当該拠点1、2の距離に関する計算を行なう時に使用する。2点間の直線距離という時は各点のX座標304及びY座標305で特定される各位置を直線で結んだその直線の長さをいう。経度306及び緯度307はそれぞれ、当該拠点1、2の存在する場所の地図上の経度、緯度の値である。出力装置8において地図上に当該拠点1、2を表示する際に使用する。JIS11コード308は、当該拠点1、2が存在する場所の自治省による11桁表示の土地コードである。優先度309とは、同一拠点情報ファイル11aにおける配達エリアを作成する処理の優先順位をいう。基地1…1に対してのみ、例えば数値の連番で設定する。デポ2の優先度309は設定する必要がないので例えばNULLや0にする。配達可能物量310とは、当該拠点1、2の配達能力を示す値であり、当該拠点1、2が1日に配達できるタバコの最大本数である。以下、本実施形態において物量に関する単位は、タバコの本数である。仕分可能物量311は、当該基地1の二次輸送能力を示す値である。デポ2…2へタバコを輸送するための仕分けであって1日に仕分け可能なタバコの本数である。拠点直配パラメータ312は、当該拠点1、2から直接配達することが可能な範囲を時間で指定するパラメータである。指定された時間から距離を算出し、配達エリア作成の際の距離条件とする。以下、拠点直配パラメータ312から求められる距離を直配距離という。この直配距離の算出方法は後述する。各拠点1、2を中心にして直配距離を半径にした円内のエリアを各拠点1、2から直配可能なエリアとし、その拠点1、2の直配エリアといい、直配エリアの中心となる拠点1、2と販売店3との直線距離が直配距離よりも短い場合に、その販売店3はその拠点1、2の直配エリアに存在することになる。台数閾値313は当該拠点1、2が実際に保有する輸送車の台数のうち、1日に最低限稼動する必要がある台数である。拠点1、2が保有する配達車と同じ台数でなくてもよい。1日に稼動する輸送車がこの値よりも少ない場合は、当該拠点1、2の輸送効率が悪いことを示す。積載量314は各拠点1、2が保有する輸送用トラックについて、1台で輸送可能なタバコの本数である。拠点取得上限315は、当該基地1から当該基地1に所属させるデポ2までの距離の最大値である。拠点取得下限316は、当該基地1から当該基地1に所属させるデポ2として必要な距離の最小値である。拠点直配パラメータ312と等しくてもよい。拠点取得上限315及び拠点取得下限316も、拠点直配パラメータ312と同様に時間値として設定する。時間値から距離を算出する方法は後述する。なお、拠点取得上限315及び拠点取得下限316は基地1…1に対してのみ設定される。よって、当該拠点1、2がデポ2の場合は例えばNULLにする。行政区速度317及び都会フラグ320は、JIS11コード308に基づいて行政区テーブル10aの行政区速度401及び都会フラグ402からそれぞれ設定される値である。ピストン条件:時間318は、ピストン輸送の時間条件であり、ピストン条件:物量319は、ピストン輸送の物量条件をいう。シングル輸送とは配達車が拠点1、2を出発後、1コース中一度も拠点1、2に戻らない配達形態をいい、ピストン輸送は配達車が1コース中に拠点1、2に1回戻る配達形態をいう。これらの配達形態の詳細は後述する。
【0062】
拠点情報のうち、拠点直配パラメータ312、拠点取得上限315、拠点取得下限316は分割処理を行なう際に設定可能である。またピストン条件:時間318、ピストン条件:物量319は拠点情報ファイル11a、積載量314は、ケース内で共通の値の場合はNULLでもよいが、当該拠点1、2に特有の値を設定する場合は設定する。
【0063】
販売店情報ファイル11bは、販売店3に関する情報をデータ項目として持つファイルであり、そのデータ項目の詳細は図30に示す。以下、図30に示すデータ項目を販売店情報ファイル11bの1レコードとし、この1レコードに含まれるデータ項目を販売店情報という。
【0064】
以下各データ項目について説明する。配達先識別情報として販売店コード330がある。販売店コード330は、各販売店3を相互に識別するために各販売店3に付されるコードをいい、全国で一意に付されることが望ましい。販売店名称331は、その販売店コード330に対応する販売店3(以下、「当該販売店3」という。)の名称である。基地コード300aは当該販売店3が所属する基地1の拠点コード300を示す。デポコード300bは当該販売店3が所属するデポ2の拠点コード300を示す。なお、基地1に直接所属する販売店3の場合はデポコード300bは設定する必要がないので例えばNULLとする。また、デポ2に所属する販売店3の場合は、デポコード300bに自己が所属するデポ2の拠点コード300が設定され、基地コード300aにはそのデポ2が所属する基地1の拠点コード300が設定される。当該販売店3がどの基地1…1にもデポ2…2にも所属しない場合は基地コード300a及びデポコード300b共にNULLである。
【0065】
配達先の場所に関する情報として、X座標332及びY座標333がある。X座標332及、Y座標333、経度334、緯度335及びJIS11コード336、都会フラグ337、行政区速度344は拠点情報についての説明と同様である。配達物量に関する情報として、1回当たり物量338がある。1回当たり物量338とは、1回の配達につき当該販売店3に配達される物量をいう。店頭時間339は当該販売店3にて配達作業に要する時間をいう。配達回数に関する情報としての月配達回数340は、当該販売店3へ月何回配達するかを示す値である。本実施形態では1月を4週とし、4週に1回の配達の場合は1とし、2週に1回の場合は2、週に1回は4、週に2回は8、週に3日は12、週に4日は16、毎日は20、として設定する。店属性341は、当該販売店3の店属性を識別するための識別子である。本実施形態では、店属性としてコンビニエンスストア、一般、一括がある。一括とは複数の販売店3…3に対する配達を一括して一箇所に配達する属性をいう。以下、店属性341がコンビニエンスストアである販売店3をコンビニエンスストア、一般である販売店3を一般店3、一括である販売店3を一括店3という。また、基地コード300a、デポコード300b及び後述するデフォルト所属コード343がすべてNULLの販売店3をフリー店という。一括コード342は、当該販売店3の店属性341が一括である場合に付される一括店の識別コードである。デフォルト所属コード343は、当該販売店3が一括店3である場合であって、所属する基地1またはデポ2がデフォルトで決定している場合に、その基地1またはデポ2の拠点コード300を示す。なお、一括店3であってもデフォルト所属コード343が設定されていない場合がある。設定されていない場合は例えばNULLとする。回数加重345とは、月配達回数340を4で割った値である。いわば、月単位の配達回数を週単位に換算した値である。回数加重配達量346とは、1回当たり物量338に回数加重345をかけた値であり、例えば、2週に1回各500本配達する場合は、回数加重345は2/4=0.5となり、回数加重配達量346は500×0.5=250本/週となる。これは、当該販売店3についての配達物量を週単位に平準化した値に該当する。販売店3と月単位で配達回数を契約している場合に、週単位の配達物量の値として使用される。配達形態347は、配達拠点1、2からの配達が固定ルート型の配達か又は宅配かを識別するための識別子である。固定ルート型の配達とは配達について予めルートを定め、そのルートに従って配達する配達形態をいい、宅配とは宅配便を利用した配達形態をいう。ピストン区分348は、当該販売店3への配達がピストン輸送による配達かシングル輸送による配達かを識別するための識別子である。
【0066】
また、本実施形態においては処理用統計情報ファイル16cとして、拠点統計ファイル及び算定統計ファイルを有する。拠点統計ファイルのデータ項目としては拠点1、2ごとに単店数、加重店数、加重物量、算定台数及び宅配個口を店属性別の合計や総合計を設け、算定統計ファイルのデータ項目としては、単店数、加重店数、加重物量の配達形態別の合計及び総合計を設ける。本実施形態において単店数とは宅配を含む1週間に配達する店の平均数をいう。加重店数は各販売店3の回数加重345を合計した値に等しい数で、例えば週2回同じ販売店3に配達する場合は店数が2となる。加重物量は各販売店3の回数加重配達量346を合計した値に等しい。
【0067】
次に、本システムの実際の操作の流れについて説明する。本実施形態においては、コンピュータのOSとしてマイクロソフト社のWindows(登録商標)を使用するが、コンピュータのOSはこれに限らない。以下に説明する画面の表示は、マウス4やキーボード4によって画面上部に表示されるメニューバーやツールバーから通常の方法で表示可能であるので、表示方法の説明は省略する。
【0068】
以下、ホームフォルダ5b内にMASTERフォルダ10及びCASEフォルダ13が存在し、MASTERフォルダ10には九州地区についての拠点情報ファイル11aと販売店情報ファイル11bが保存されている地域フォルダ11が保存されている場合において、九州地域の配達エリアをシミュレートする方法について説明する。
【0069】
まず最初に、ケースフォルダ14の作成を行なう。ケースフォルダ14の作成は、図4に示す新規ケース作成画面によって行われる。登録地域リスト欄40にて既に登録済みの地域マスタ20の地域名称が一覧表示されるので、処理対象とする地域にチェックを入力して選択する。ケース名称41には、このケースに付すべき名称を入力する。このケース名称41は、そのままケースフォルダ14のフォルダ名となる。図4は、「九州」の地域マスタ20のみが既に登録されている場合において、「九州」を処理対象として選択し、そのケース名称41を「Test」として入力した場合を示す。以下ケース名称41が「Test」の場合をケースTestといい、フォルダ名が「Test」のケースフォルダ14をTestフォルダ14という。複数の地域マスタ20…20が登録されている場合は、登録地域リスト欄40に一覧表示される地域名称の中から、処理対象となる地域名称すべてにチェックすれば、複数の地域を配達エリアをシミュレートする対象として指定することができる。
【0070】
「次へ」ボタン42を選択すると図5に示すケース内共通パラメータ設定画面が表示される。ここで設定できるのは、算定処理のための、ケースTest内で共通なパラメータである。算定処理とは、各拠点1、2について所属する販売店3…3の決定後に、各拠点1、2において必要となるコース数を各拠点1、2に対して算出する処理である。算定処理に必要なパラメータは、時間パラメータと算定パラメータの2種がある。
【0071】
時間パラメータは次の通りである。算定処理に必要な1日の作業時間45は作業員の1日の標準的な勤務時間をいう。積込時間46はタバコの輸送トラックへの積み込みに要する時間である。休憩時間47は作業員に作業時間45中に与えられる休憩時間をいい、帰所後作業時間48は作業員が配達を終えて帰所後に作業する時間をいう。なお、ピストン輸送の場合を考慮して積込時間46×2+休憩時間47+帰所後作業時間48≦1日の作業時間45となるように設定しなければいけない。
【0072】
算定パラメータは次の通りである。積載量49は輸送トラックが積載できるタバコの本数である。物量係数50は配達物量を変化させるための値であり、0〜1の間の数値をとる。この物量係数50によって、積載量49を、一時的な事情によって増減したい場合に調節することができる。通常は1であるが、例えば年末年始の事情によって積載量が70%程度になる場合は、0.7を設定することにより、積載量が通常の70%の場合として算定が行われる。
【0073】
ピストン時間条件51はピストン輸送の距離条件を指定する。具体的には、ピストン輸送の対象となる販売店3…3と拠点1、2との間の移動時間の範囲を上限値及び下限値で指定する。ピストン物量条件52はピストン輸送の物量条件を指定する。具体的には、ピストン輸送の対象となる各販売店3…3の回数加重配達量346の範囲を上限値及び下限値で指定する。算定処理の詳細は後述する。
【0074】
「作成」ボタン53を選択すると、Testフォルダ14が作成される。このTestフォルダ14の新規作成時に、作成されたTestフォルダ14内にフォルダ名「MASTER」としてシナリオマスタフォルダ16が作成される。更に、このシナリオマスタフォルダ16内にはケースTestで使用する処理用拠点ファイル16a及び処理用販売店ファイル16bが、フォルダ名「九州」の地域フォルダ11に格納されている拠点情報ファイル11a及び販売店情報ファイル11bからそれぞれ作成される。この時、その他の処理用ファイル16c、16dも作成され、格納される。また、JIS11情報ファイル14a及び共通パラメータファイル14bも作成され、Testフォルダ14に格納される。JIS11情報ファイル14aは、JIS11情報を管理するファイルである。共通パラメータファイル14bには、ケース内共通パラメータ設定画面(図5)で設定された各値45…55がケースTestに共通するパラメータとして記憶される。但し、算定パラメータは、共通パラメータ変更画面(不図示)にて各拠点1、2ごとに変更可能である。変更された各値は、拠点情報の該当する項目のデータとして記憶される。
【0075】
Testフォルダ14が作成されると、シナリオマスタフォルダ16内の処理用ファイル16a…16dに基づいた内容、すなわち基地1…1、デポ2…2及び販売店3…3については現在の状況が表示される。この表示画面の詳細な説明については後述する。
【0076】
次に、この現在の状況に基づいて、分割条件を設定して配達エリアをシミュレートする手順にについて説明する。
【0077】
まず、図6に示す分割ロジック選択画面にて、分割ロジックを選択する。本実施形態においては分割ロジックは「基地圏検討型」と「拠点積み上げ型」が用意されている。「基地圏検討型」は各基地1の配達能力を最大限に利用する配達エリアを作成する分割方式であり、「拠点積み上げ型」は基地1…1及びデポ2…2の配達能力を共に生かした分割方式である。各ロジックの詳細な説明は後述する。
【0078】
「基地圏検討型」ロジックを選択する場合は基地圏検討型ボタン60を選択し、「拠点積み上げ型」ロジックを選択する場合は拠点積み上げ型Step1ボタン61を選択する。なお、「拠点積み上げ型」ロジックによって分割処理を行なう場合は、拠点積み上げ型Step1を実行後でなければ拠点積み上げ型Step2を選択することができない。「次へ」ボタン62を選択すると分割条件設定画面が表示される。後述する分割条件を特に指定しない場合は「登録」ボタン63を選択すれば分割処理が開始される。
【0079】
分割設定画面は図7に示す。処理用拠点ファイル16aに登録されている基地1…1及びデポ2…2が、拠点リスト70に一覧表示される。すなわち、本実施形態では、ケースTestは地域として「九州」のみが選択されたケースなので、九州に存在する基地1…1及びデポ2…2が表示される。拠点リスト70において、チェックが付されている各拠点1…1、2…2は分割処理対象とされ、チェックが外された拠点1…1、2…2は存在しないものとして分割処理が実行される。例えば、不要と思われる基地1やデポ2を存在しないものとして配達エリアをシミュレートする場合に有効である。図7では、表示されている拠点1…1、2…2はすべてチェックが入力されており、「熊本」にカーソルが合っている状態を示す。画面上の「全選択」ボタン71を選択すると拠点リスト70に表示されている全拠点1…1、2…2にチェックが入力され、「全解除」ボタン72を選択すると拠点リスト70に表示されている全拠点1…1、2…2のチェックが外される。拠点別パラメータとは、分割条件としての拠点情報のうち変更可能な項目である。本実施形態では拠点情報のうち拠点直配条件312、拠点取得上限315及びと拠点取得下限316が変更可能なパラメータとして設定されている。拠点1、2ごとに変更可能であり、カーソルが合っている拠点1、2に対しての拠点別パラメータ312、315、316の値が対応する入力欄73…75から入力可能となる。各項目312、315、316が既に設定されている場合はその値が対応する入力欄73…75に表示される。なお、拠点取得上限及び下限315、316はカーソルが合っている拠点1、2が基地1の場合に有効である。また、分割条件設定画面上の拠点直配条件312は、拠点情報の拠点直配パラメータ312の値に対応する。図7が示すように「90」分と入力した場合は、当該拠点1、2から輸送トラックが片道90分以内で行ける範囲を当該拠点1、2から直接配達するエリアの距離条件として指定したことになる。本実施形態においては、時間で距離範囲を指定し、本システム内において指定された時間を距離に換算する。この換算方法については後述する。
【0080】
フリー店舗の処理76とは、分割処理の結果、どこの拠点1、2にも所属しない結果となった販売店3についての処理である。「直近の基地に所属」を選択すれば、距離が最短の基地1に強制的に所属させることができ、この場合の配達形態347は「宅配」に設定される。「手動で設定」を選択すれば、所属フリーの販売店3として処理され、その後ユーザは自由に所属先を設定することができる。図7は「手動で設定」が選択された状態を示す。なお、「直近の基地に所属」を選択した場合でも、分割処理後に手動で所属先の設定変更は可能である。「他の拠点にもセット」ボタン77を選択すると、画面上に表示されている分割条件73…76が拠点リスト70で選択されたすべての拠点1…1、2…2に対して設定される。
【0081】
分割設定画面(図7)にて「登録」ボタン78を選択すると、設定した分割条件に基づいて分割処理が行われる。まず、シナリオマスタフォルダ16内の処理用ファイル群16a…16dがWORK領域7にコピーされ、処理用ファイル群16a´…16d´が作成される。以下、WORK領域7にコピーされた処理用拠点ファイル16a、処理用販売店ファイル16b、処理用統計情報ファイル16c、処理用操作情報ファイル16dを、それぞれ処理用拠点ファイル16a´、処理用販売店ファイル16b´、処理用統計情報ファイル16c´、処理用操作情報ファイル16d´という。そのコピーされた処理用拠点ファイル16a´及び処理用販売店ファイル16b´に対して選択した分割ロジックと設定した分割条件に従って分割処理が実行される。
【0082】
このWORK領域7に各ファイル16a…16dをコピーする際に、処理対象として一部の基地1…1及びデポ2…2が選択された場合には、選択された基地1…1及びデポ2…2の識別のために処理用拠点ファイル16a´に処理対象フラグを設けても良いし、処理対象として選択された基地1…1及びデポ2…2についての拠点情報のみを拠点情報ファイル16aから抽出して処理用拠点ファイル16a´としてもよい。
【0083】
分割処理が完了すると、図8に示す地図ウィンドウ80、統計情報ウィンドウ81、管理ツリーウィンドウ82、及び情報ウィンドウ83が画面8に表示される。各ウィンドウの内容は分割処理の結果が反映されている。
【0084】
統計情報ウィンドウ81は、処理用統計情報ファイル16cに基づいて拠点1、2ごとに統計情報が表形式にて一覧される。
【0085】
管理ツリーウィンドウ82は、現在処理中のケース名やシナリオ名及び基地1…1とデポ2…2との相互関係がツリー状に表示される。図8では、ケース名が「Test」で、シナリオ名が「MASTER」の場合を示す。他のケースも既に保存されている場合は、コンボボックス82aから他のケースを選択可能である。また、すでに複数のシナリオが保存されている場合は、表示させたいシナリオ名のチェックボックス82bにチェックを入れると、そのシナリオ名で管理されている処理結果が各ウィンドウ80、81にて表示される。各シナリオにおいて、基地1…1は優先度309順に表示される。
【0086】
情報ウィンドウ83は、管理ツリーウィンドウ82にて選択された各ノード(シナリオ、拠点1、2、販売店3)についての情報が表示される。シナリオについては、シナリオ情報13aが有するその作成日時やコメントが表示され、拠点1、2や販売店3については、各処理用ファイル16a、16b、16cが保有する拠点情報、販売店情報、統計情報が表示される。
【0087】
地図ウィンドウ80は、処理用拠点ファイル16aと処理用販売店ファイル16bに基づいて、基地1…1、デポ2…2及び販売店3…3の現在の所属関係を地図上に展開した様子が表示される。
【0088】
地図ウィンドウ80については、図9に示す拡大された地図ウィンドウ80を参照して説明する。地図ウィンドウ80では、分割処理の結果である処理用拠点ファイル16a´及び処理用販売店ファイル16b´に基づいて、作成された各配達エリアが色分けして表示される。すなわち、同じ基地1に所属するデポ2…2及び販売店3…3は同じ色で表示される。また、基地1…1、デポ2…2及び販売店3…3の形状も見分けがつくように異なる形状で表示される。更に、販売店3…3の形状も、通常、宅配、フリーの種別に応じて異なる形状にて表示される。通常とは、配達形態が輸送トラックによるルート輸送である場合をいい、宅配とは配達形態が宅配便による場合をいい、フリーとはどの拠点1、2にも所属していない状態をいう。本実施形態では、トツ型アイコン90…90が基地1…1を、数字が表示されている四角91…91はデポ2…2の場所を示し、家型アイコン92…92が宅配の販売店3…3を、十字アイコン93…93がフリー販売店3…3を、その他のアイコン94…94は通常の販売店3…3を示する。通常の販売店3…3は数種の形状で表示されるが、同一デポ2に所属する販売店3…3は同一形状で表示される。また、基地1…1上に表示される数字は優先度309を、デポ2…2上に表示される数字は後述する処理の順序を示す。なお、表示されている色や形状は本システム内において適宜変更可能である。
【0089】
1以上の販売店3…3を選択後、選択販売店明細タブ95を選択すると、選択した販売店3…3の販売店情報を、処理用販売店ファイル16b´に基づいて一覧させることができる。複数の販売店3…3の選択方法としてはマウスで選択対象の販売店を矩形等で囲って指定すればよい。
【0090】
分割処理の結果をシナリオとして保存する場合は、図10に示すシナリオ保存画面を表示させ、シナリオ名入力欄96にシナリオ名を入力して「保存」ボタン92を選択する。図10は、シナリオ名として「シナリオ1」と指定した状態を示す。このシナリオ名はそのままシナリオフォルダ17のフォルダ名となる。これによって、処理用ファイル群16a´…16d´の各ファイルは、結果ファイル群17a…17dとして「シナリオ1」フォルダに格納される。既に保存されているシナリオがあればシナリオ一覧98に表示される。保存処理の結果は直ぐに管理ツリーウィンドウ82に反映される。
【0091】
更に異なる分割条件で配達エリアを作成する場合は、前述の分割条件設定画面(図7)を表示させ、分割条件を変更することにより、容易に作成することができる。この異なる分割条件で作成された結果を、例えばシナリオ名を「シナリオ2」として保存することができる。
【0092】
また、上記分割条件以外に、処理用拠点ファイル16a´に対して新しい配達拠点1、2を追加したり削除することや、特定の配達拠点1、2についての拠点情報を変更することも可能である。当該機能は新規の拠点1、2の能力や場所を検討するために配達エリアをシミュレートする場合に有効である。配達拠点1、2の追加では、拠点追加画面(不図示)にて、拠点コード300、拠点名301、拠点属性302、JIS11コード308、優先度309、配達可能物量310、台数閾値313、を設定し、基地1の場合は仕分可能物量311も設定し、地図上の位置を地図ウィンドウ80にてマウスで指定すれば、処理用拠点ファイル16a´の内容に新しい拠点1、2についてのレコードが追加される。
【0093】
削除や設定変更は、拠点削除画面(不図示)にて、削除対象の拠点コード300を指定することによって、処理用拠点ファイル16a´における当該拠点1、2の削除や設定変更が可能である。
【0094】
なお、本実施形態においては、配達エリアが作成された後、拠点1、2ごとに単店数、加重店数、加重物量についての統計値を一般店、コンビニエンスストア別、及びその合計を算出し、処理用統計情報ファイル16c´に設定し、その結果は統計情報ウィンドウ81に表示される。なお、統計値はテーブル状のファイル形式であれば処理結果後に算出してもよいし、加算用の変数を用意して処理中に加算いく方法でもよい。
【0095】
次に、本実施形態における2つの分割ロジックについて詳細に説明する。上述したように本実施形態においては、「基地圏検討型」と「拠点積み上げ型」の分割ロジックが選択可能である。
【0096】
まず、「基地圏検討型」について、図11〜図13を参照しながらそのロジックの内容を説明する。説明の簡便のために、基地1aの基地直配エリア100a及び基地1aに所属するデポ2aのデポ配達エリア201aは既に決定され、基地1aの基地配達エリア210aは既に形成された後、基地1bについての配達エリアを作成する場合について説明する。本実施形態において、分割処理は基地1…1の優先度309が高い順に行なう。よって、基地1aは基地1bよりも優先度309が高いことになる。
【0097】
まず初めに、基地1bの基地直配エリア100bを作成する。図11(a)は、基地1bの直配エリアに含まれる販売店3a…3eを、基地1bの基地直配エリア100bに所属させたようすを示した概念図である。正六角形は拠点のある位置を示し、正三角形はデポ2のある位置を示し、小さな円は販売店3のある位置を示している。一括店3xについては、デフォルト所属が基地1bの場合は基地1bの直配エリア100b内に存在しなくても基地1bの基地直配エリア100bに所属させる。本実施形態における「基地圏検討型」ロジックでは、基地直配エリア作成時の物量条件は特に設定しないが、必要な場合は適宜物量的な制限を設定してもよい。
【0098】
次に、基地1bに所属可能なデポ2…2を特定する。基地1bを中心として拠点取得上限315から後述する方法によって求められる距離を半径とする円と、拠点取得下限316から後述する方法によって求められる距離を半径とする円と、から得られるドーナツ状のエリア102に存在するデポ2b…2fが、基地1bに所属可能なデポ2である。各デポ2と基地1bとの直線距離が拠点取得下限316から得られる半径より長く拠点取得上限315から得られる半径よりも短い場合に、そのデポ2は基地1bの拠点取得範囲にある。以下かかるドーナツ状のエリア102を拠点取得範囲102といい、この拠点取得範囲102に存在するデポ2b…2fを所属可能デポ2b…2fという。図11(b)はデポ2b〜デポ2fが基地1bの所属可能デポとなっているようすを示す概念図である。
【0099】
所属可能デポ2b…2fを特定後、各デポ2b…2fについてのデポ配達エリアを作成する。所属可能デポ2b…2fの各分割処理は、本実施形態では基地1bとの直線距離が近い順に行なうが、この分割処理の順番はこれに限らず、デポ2b…2fに対して分割処理のための優先順位を別途設定してもよい。
【0100】
デポ2c…2fのうちデポ2cが基地1bから最も近いので、最初に配達エリアが作成される。図12(a)は、デポ2cの直配エリア200c及びデポ配達エリア201cを示す概念図である。デポ2cのデポ配達エリア201cには、距離条件として直配エリア200c内に存在し、かつ物量条件としてデポ2cの配達能力を超えない販売店3f…3gを所属させる。図12(a)では、直配エリア200c内にある販売店3e…3hが物量条件を満たすので、すべてデポ2cのデポ配達エリア201cに所属する例である。
【0101】
デポ2cの配達能力を超えるか否かは、デポ2cの直配エリアに含まれる販売店3f…3hの各回数加重配達量346から算出される合計配達物量がデポ2cの配達可能物量310を超えるか否かによって判断される。合計配達物量は、デポ2cに所属する販売店3…3がデポ2cから配達可能か否かをデポ2cの配達能力と比較して判断するための物量であって、回数加重配達量346を日単位に換算して合計した値である。日単位にするのは、デポ2cの配達能力を示す配達可能物量310が日単位の値だからである。以下、回数加重配達量346を日単位に換算した値を日単位物量という。なお、デポ2cにデフォルト所属する一括店3…3がある場合は、合計配達物量はこれら一括店3…3の日単位物量の合計も加算した値となる。
【0102】
なお、販売店3eのように既に基地1bに所属している場合は、デポ2cは販売店3eを自己のデポ配達エリア201cに所属させることはできない。また、直配エリア200c内に存在する複数の販売店3…3から優先的にデポ配達エリア201cに所属させる販売店3の属性を設けてもよい。本実施形態においては、かかる属性を店属性341によって与え、一括店3(デフォルト所属がデポ2cに設定されている)、コンビニエンスストア3、一般店3の順で優先的にデポ配達エリアに所属させる。優先順位が一番高い一括店3とは、デフォルト所属がデポ2cに設定している場合の一括店3であり、デフォルト所属が設定されていない一括店3は一般店3と同様に扱われる。また、例えば一括店3yのデフォルト所属がデポ2cである場合は、一括店3yがデポ2cの直配エリア200c内になくてもデポ2cに優先的に所属させる。同一店属性341、例えば一般店3…3間においてはデポ2cから直線距離が近い方の販売店3を優先的にデポ2cに所属させる。
【0103】
以上のように、各拠点1、2において複数の販売店3…3に距離条件で所属対象となる販売店3…3を絞り込み、その絞り込まれた販売店3…3から更に優先順序を考慮して物量条件で絞り込んだ販売店3…3を拠点1、2に所属させる処理を「割り付け処理」という。図12(a)は、割り付け処理によって、デポ2cのデポ配達エリア201cに販売店3f…3h、3yが所属したようすを示す。
【0104】
デポ2cに所属する販売店3f…3h、3yの決定後、基地1bの二次輸送能力について検討される。二次輸送能力の検討とは、デポ2cが基地1bに所属できるか否かを判断ことであり、デポ2cが基地1bに所属することによって、基地1bの二次輸送能力を超えるか否かについて判断を行なうこという。この判断は、「基地直配物量+一括店物量+既所属拠点配達物量+所属候補拠点合計配達物量」の値が(以下「基地1bの拠点物量合計」という。)と基地1bの仕分可能物量311との比較によって行なう。基地直配物量とは基地直配エリア100bについての合計配達物量をいい、一括店物量とはデフォルト所属が基地1bの一括店3…3の日単位物量の合計をいい、既所属拠点配達物量とは既に基地1bに所属するデポ2…2の各合計配達物量の合計をいい、所属候補拠点合計配達物量とは基地1bに所属させるか否かを判断するデポ2cの合計配達物量をいう。基地1bの拠点物量合計が基地1bの仕分可能物量311を超えない場合は、基地1bの二次輸送能力を超えないと判断され、デポ2cは基地1bに所属でき、超える場合は基地1bの二次輸送能力を超えると判断され、デポ2cは基地1bに所属できない。本実施形態では、基地1bからデポ配達エリア201cが作成されたデポ2cから、上記式にて基地1bへの所属が可能か否かが判断される。なお、デポ2cは、所属可能デポ2b…2fのうち最初に判断対象となるので、既所属拠点配達物量は0として基地1bの拠点物量合計が算出される。ここでは、上記判断の結果、デポ2cは基地1bに所属できたとする。
【0105】
次に、デポ2dについて割り付け処理が行われる。図12(b)はデポ2dの直配エリア200dには販売店3i…3lが含まれるが、物量条件によって販売店3lははずされてデポ配達エリア201dが作成されたようすを示す。デポ2dの合計配達物量を所属候補拠点合計配達物量とし、デポ2cの合計配達物量を既所属拠点配達物量として算出された基地1bの拠点物量合計が、基地1bの仕分可能物量311を超えない場合、デポ2dは基地1bへ所属できる。ここでは、デポ2dは基地1bに所属できたとする。
【0106】
以下、続いてデポ2fについて割り付け処理が行われ、デポ配達エリア201fが作成される。図12(b)は、デポ2fまでの配達エリアの作成処理が完了した状態を示す概念図である。
【0107】
ここで、特定のデポ2の割り付け処理について、販売店3が他の拠点1、2に既に所属している場合の処理について説明する。上述した販売店3eのように基地1とデポ2の直配エリアに含まれる販売店3は、基地1の基地直配エリアに所属させる。また、販売店3zのように複数のデポ2…2の配達エリアに含まれる販売店3は、所属する基地1の優先度が高いデポ2のデポ配達リアに所属させる。図13(a)の販売店3j及び販売店3kのように同一の基地1bのデポ2d、2eの直配エリア200d、200eに含まれる場合は、直線距離が近い方の直配エリアに優先的に所属させる。この場合については図13(a)及び(b)を用いて詳細に説明する。
【0108】
図13(a)は、販売店3j及び販売店3kはデポ2dのすでにデポ配達エリア201dに所属しているが、デポ2eの直配エリア200eにも含まれる場合について説明する。デポ2d及びデポ2eはどちらも基地1bに所属するため優先度309は同じである。かかる場合は、上述したようにそれぞれ直線距離が近いデポ2に所属する。よって、図13(a)の場合は、販売店3jはデポ2dよりデポ2eに近いので、デポ2eの物量条件を満たす場合はデポ2dの所属からデポ2eの所属に変更される。但し、デポ2eの物量条件を満たさない場合は販売店3jの所属の変更はない。また、販売店3kはデポ2dに近いので、所属の変更はない。販売店3jがデポ配達エリア201dから削られたデポ2dについては、デポ2dの直配エリア200dに存在するフリー店3lを所属させることについて検討する。販売店3jが削られ、フリー店3lがデポ2dに所属した場合のデポ2dの合計配達物量を所属候補拠点合計配達物量として、他のデポ2b、2c,2e、2fの各合計配達物量の合計を既所属拠点配達物量として基地1bの拠点物量合計を算出し、その値が基地1bの仕分可能物量311を超えない場合は、このフリー店3lをデポ2dに所属させる。
【0109】
一方、販売店3lをデポ2dに所属させた場合の基地1bの拠点物量合計が基地1bの仕分可能物量11を超える場合は、販売店3jの所属をデポ2dに戻し、フリー店3lは未所属のままとなり、デポ2eは基地1bに所属できない。図13(b)はデポ2eが基地1bの所属から外され、デポ2b…2d、2dが基地1bに所属することになり、各デポ配達エリア201b…201d、201f及び一括店3x、基地直配エリア100bが基地1bの基地配達エリア210bとして作成されたようすを示す概念図である。
【0110】
処理の結果としてどの基地1a、1b及びデポ2a…2d、2fにも所属しなかった販売店3l、3m、3n、3oは、フリー店3となり、分割条件設定画面(図7)の「フリー店舗の処理」86にて指定した内容に従う。例えば、フリー店3を宅配扱いとする場合は、直線距離が一番近い基地1bに所属させ、配達形態347は「宅配」として設定する。
【0111】
次に、基地圏検討型ロジックに基づく配達エリア作成処理について、中央処理装置4にて実際に行われる処理の流れを図14〜図19に示すフローチャートに従って説明する。
【0112】
図14は、分割条件設定画面(図7)にて分割条件を設定し、登録ボタン78を選択後、分割処理が終了するまでの処理の流れの概略を示すフローチャートである。まず初めに、ステップS500にて初期化処理が行われる。本実施形態における初期化処理は、シナリオマスタフォルダ16に格納されている各処理用ファイル群16a…16dに基づいて対応する各処理用ファイル16a´…16d´がWORK領域7に作成される。処理用拠点ファイル16a´の各デポ情報の基地コード303及び処理用販売店ファイル16b´の基地コード300aとデポコード300bをNULLに設定する。以下に説明する各処理はWORK領域7にて行われる。
【0113】
また、処理用拠点ファイル16a´における各拠点1、2の直配距離を、各拠点1、2に対応する拠点直配パラメータ312及び行政区速度317に基づいて算出し、対応する各拠点情報と相互に関連づけて記憶する。拠点情報のデータ項目に追加して記憶してもよいし、他の記憶域に記憶させてもよい。
【0114】
更に、処理用販売店ファイル16b´から一括コード342及びデフォルト所属コード343が設定されている一括店3…3の販売店情報を抜き出し、一括店ファイルとしてこれら一括店3…3のみを処理用販売店ファイル16b´とは別の領域に記憶する。処理用販売店ファイル16b´にはデフォルト所属が設定されている一括店3についての販売店情報は一時的に存在しないことになる。なお、デフォルト所属コード343が設定されていない一括店3の販売店情報は一括店ファイルに抜き出されないので処理用販売店ファイル16b´に存在する。以下この処理用販売店ファイル16b´に販売店情報がある一括店3…3は、特にことわらない限り一般店3…3と同様に扱われる。
【0115】
次にステップS502では、処理用拠点ファイル16a´から優先度309の高い順に基地情報を1レコードずつ読み、基地情報の各データ300…320を取得する。基地情報であるか否かは拠点情報の拠点属性302によって識別される。以下、レコードを読む処理とは、当該レコードが有する各データが中央処理装置4によって処理可能な状態となることをいう。
【0116】
次にステップS504にて、基地情報の新規読み込みが終了しているか否かが判断される。終了していない場合は、ステップS506へ進む。以下、ステップS502にて新規に読まれた基地情報の拠点コード300に対応する基地1を当該基地1という。「新規に読まれた」とは、まだ分割処理を行っていない基地1に係る基地情報を読んだことをいう。以下「新規に読む」とは、されるべき処理がまだされていないデータを読むという意味で用いる。
【0117】
ステップS506では、当該基地1についての基地直配エリアを作成する。ステップS506で行われる基地直配エリア作成処理については、図15に示すフローチャートに従って説明する。まず、ステップS550にて一括店処理を行なう。ステップS550における一括店処理とは、一括店ファイルからデフォルト所属コード343が当該基地1の拠点コード300である一括店3…3を検索し、その一括店3…3の各販売店情報の基地コード300aに当該基地1の拠点コード300を設定し、配達形態347にルート配達を設定する処理である。次に、ステップS552にて、基地1から直配距離内にある販売店3…3を処理用販売店ファイル16b´から検索する。ここで検索された販売店を基地直配エリア作成処理内で当該販売店3という。
【0118】
次にステップS556へ進み、当該販売店3の基地コード300aが設定されているか否かが判断される。基地コード300aが設定されており、NULLでない場合は、当該販売店3はすでに当該基地1よりも優先度309が高い他の基地1に所属していることを意味するので、何もしないでステップS559へ進む。NULLの場合は、ステップS558へ進み、処理用販売店ファイル16b´における当該販売店3の販売店情報の基地コード300aに当該基地1の拠点コード300が設定され、配達形態347にはルート配達が設定され、ステップS559へ進む。
【0119】
ステップS559では、当該基地1から直配距離内にある販売店3が検索できるか否か判断され、できる場合は、検索処理のためにステップS556へ戻り、検索できない場合は、基地直配エリア作成処理が終了したとみなされ、基地直配エリア作成処理を終了する。
【0120】
基地直配エリア作成処理が終了すると、ステップS510へ進む。ステップS510では、当該基地1の拠点取得範囲にあるデポ2…2を処理用拠点ファイル16a´から抽出し、中間ファイルIを作成する。但し、すでに基地コード303が設定されているデポ情報に対応するデポ2は中間ファイルIに含めない。次にステップS512へ進み、中間ファイルI内にあるデポ2…2についてデポ配達エリア作成処理が行われる。
【0121】
このデポ配達エリア作成処理については、図16〜図17に示すフローチャートに従って説明する。デポ配達エリア作成処理は、まずステップS560にて中間ファイルIからデポ情報を当該基地1に直線距離が近い順に1レコードずつ読む。次にステップS562にてデポ情報が新規に読めたか否かが判断され、新規に読めた場合には、ステップS564へ進む。以下、ステップS560で新規に読まれたデポ情報の拠点コード300に対応するデポ2を当該デポ2という。
【0122】
ステップS564では、当該デポ2について直配エリア内にある販売店3…3を処理用販売店ファイル16b´から抽出して中間ファイルIIを作成する。
【0123】
次にステップS566にて一括店処理を行なう。ステップS566における一括店処理とは一括店ファイルからデフォルト所属コード343が当該デポ2の拠点コード300である一括店3…3を検索し、この検索された一括店3…3の各販売店情報のデポコード300bに当該デポ2の拠点コード300を設定し、配達形態347にルート配達を設定する処理である。
【0124】
次にステップS568にて、店属性341に基づいて、この中間ファイルIIにある販売店情報を処理順に読む。この処理順が早い販売店3ほど、当該デポ2に優先的に所属させることになる。本実施形態においては、店属性341がコンビニエンスストアの場合、一般店より優先的に当該デポ2に所属させる。また、同一の店属性341の場合は、当該デポ2からの直線距離が近い販売店3を優先的に所属させる。すなわち、ステップ568では、各販売店3と当該デポ2との各直線距離が算出されて、WORK領域7に一時的に記憶され、まず店属性341がコンビニエンスストアである販売店情報が、当該デポ2から直線距離が近い販売店3の順に選択されて読まれ、次に店属性341が一般店である販売店情報が、当該デポ2からの直線距離に近い販売店3の順に選択されて読まれる。読まれた順に以下の処理が行われる。
【0125】
ステップS568にて中間ファイルIIから販売店情報を1レコード読み、新規な販売店情報を読み込めた場合はステップS572へ進む。以下、ステップS568で新規に読んだ販売店情報の販売店コード330に対応する販売店3を当該販売店3という。
【0126】
ステップS572では、当該販売店3について重複確認処理が行われる。重複確認処理については、図18に示すフローチャートに従って説明する。
【0127】
重複確認処理では、ステップS600にて当該販売店情報の基地コード300aがNULLか否か判断され、基地コード300aがNULLの場合はまだどこの拠点1、2にも所属していないと判断され、何も処理せずに重複確認処理を終わる。NULLでない場合はステップS602にてその基地コード300aが当該基地1の拠点コード300か否かが判断される。その基地コード300aが当該基地1の拠点コード300でないときは、当該販売店3は他の基地1に所属すると判断され、ステップS606へ進み削除フラグを立てて重複確認処理を終了する。この削除フラグは中間ファイルIIから当該販売店情報を削除することを示すフラグである。ステップS602にてその基地コード300aが当該基地1の拠点コード300であると判断された場合は、ステップS604へ進み、デポコード300bがNULLであるか否かが判断される。NULLであると判断された場合は、当該販売店3は当該基地Iの基地直配エリアに所属すると判断され、ステップS606へ進み、削除フラグを立てて重複確認処理が終了する。NULLでないと判断された場合は、ステップS607へ進み、当該デポ2と当該販売店3との間の直線距離とその設定されているデポコード300bに対応するデポ2と当該販売店3との間の直線距離とが比較され、当該デポ2の方が遠い場合はステップS606へ進み、削除フラグが立てられて重複確認処理が終了する。
【0128】
当該販売店3から当該デポ2の方が近い場合は、ステップS608へ進む。ステップS608では、当該販売店情報の販売店情報が重複デポ記憶域に一時的に記録され、重複確認処理が終了する。重複デポ記憶域は、WORK領域7の一部である。重複デポ記憶域に記録された販売店情報は中間ファイルIIからデポ情報が新規に読まれる時にクリアされる。
【0129】
重複確認処理が終了するとステップS574にて削除フラグが立っているか否かが判断され、立っている場合はステップS575にて当該販売店情報を中間ファイルIIから削除し、削除フラグを立っていない状態に戻し、次の販売店情報を読むためにステップS568へ戻る。ステップS574にて削除フラグが立っていないと判断された場合は、ステップS576へ進み、当該販売店3の中間ファイルIIにおける販売店情報のデポコード300bに、当該デポ2の拠点コード300を設定する。
【0130】
次にステップS578へ進む。ステップS578では、この時点で中間ファイルII及び一括店ファイルの販売店情報にて、デポコード300bが当該デポ2の拠点コード300に設定されている販売店3…3の日単位物量の合計を算出する。すなわち、この時点におけるデポ2の合計配達物量を算出する。ここで、本実施形態においては、店属性341に対応する配達日数によって日単位物量の算出方法を異にする。一括店3及び一般店3の場合は回数加重配達量346を5で割り、コンビニエンスストア3の場合は回数加重配達量346を6で割った値とする。コンビニエンスストア3は週に6日配達し、一般店3は週に5日配達するからである。
【0131】
上記合計配達物量が算出されると、ステップS580へ進み、この合計配達物量の合計と当該デポ2の配達可能物量310とが比較される。合計配達物量が配達可能物量310を超えない場合は、物量条件を満たすとして次の販売店情報を中間ファイルIIから読むためにステップS568へ戻る。合計配達物量が配達可能物量310を超えた場合は、当該販売店3は当該デポ2の配達能力を超えるとして、ステップS582にて当該販売店3の販売店情報は中間ファイルIIから削除され、次の販売店情報を中間ファイルIIから読むためにステップS568へ戻る。このステップS582にて、当該販売店3の販売店情報が重複デポ記憶域にある場合はその販売店情報も重複デポ記憶域から削除する。
【0132】
上述した当該販売店情報についての処理が次の販売店情報についてもステップS568から繰り返され、ステップS570にて新規に中間ファイルIIから読まれる販売店情報がないと判断された場合は、中間ファイルIIにある販売店情報の処理は終了したものと判断され、ステップS590へ進む。
【0133】
ステップS590では、当該基地1の拠点物量合計が算出され、当該基地1の二次輸送能力について検討するために、当該基地1の仕分可能物量311と当該基地1の拠点物量合計とが比較される。既所属拠点配達物量は処理用販売店ファイル16b´及び一括店ファイルの販売店情報において基地コード300aに当該基地1の拠点コード300が設定されている販売店情報の日単位物量の合計であり、所属候補拠点合計配達物量は中間ファイルII及び一括店ファイルの販売店情報においてデポコード300bに当該デポ2の拠点コード300が設定されている販売店情報の日単位物量の合計である。但し、重複デポ記憶領域に重複した販売店3…3の販売店情報がある場合は、ステップS590において加算される当該デポ2の合計配達物量は、所属候補拠点合計配達物量から重複デポ記憶域に記録されている販売店3…3の日単位物量の合計を除いた値として加算される。拠点物量合計の算出の際に、重複デポ記憶域に記録されている販売店情報に対応する販売店3について重複した日単位物量を加算することになるからである。この当該基地1の拠点物量合計が当該基地1の仕分可能物量311を超える場合は、当該デポ2は当該基地1の物量条件を満たさないとされ、ステップS592へ進み、中間ファイルIから当該デポ2のデポ情報を削除し、更に一括店ファイルからデポコード300bに当該デポ2が設定されている販売店情報を削除する。その後次のデポ情報を読み込むためにステップS560へ進む。当該基地1の拠点物量合計が当該基地1の仕分可能物量311を超えない場合は、ステップS594へ進み、重複所属調整処理が行われる。
【0134】
重複所属調整処理については図19のフローチャートに従って説明する。重複所属調整処理とは、処理用販売店ファイル16b´では他のデポ2に既に所属する設定がされている販売店3…3を中間ファイルIIにて当該デポ2に所属させる設定を行った場合についての調整処理をいう。
【0135】
重複所属調整処理はまず、ステップS610にて、重複デポ記憶域に販売店情報があるか否かが判断され、ある場合はステップS611へ進み、ない場合はステップS622へ進む。ステップS611では重複デポ記憶域に重複調整処理がされていない販売店情報があるか否かが判断される。例えばすべての販売店情報のデポコード300bが当該デポ2の拠点コード300である場合は終了したと判断され、ステップS621へ進む。ステップS621及びステップS622の処理については後述する。
【0136】
重複デポ記憶域に重複調整処理がされていない販売店情報がある場合は、ステップS612へ進み、その販売店情報を読み、デポコード300bを取得する。このデポコード300bに対応するデポ2を、以下重複所属調整処理内で「当該削られたデポ2」といい、読まれた販売店情報に対応する販売店3を当該販売店3という。
【0137】
次にステップS613へ進み、処理用販売店ファイル16b´において、当該削られたデポ2の直配エリア内に存在し、かつフリー店3があるか否かが判断される。フリー店3がない場合は、当該販売店3の所属を当該デポ2へ変更しないのでステップS614の削除処理へ進む。ステップS614の削除処理では、当該削られたデポ2の拠点コード300がデポコード300bに設定されている販売店情報を重複デポ記憶域から削除し、かつ当該削られたデポ2に係るすべての販売店情報を中間ファイルIIから削除する。その後、次の削られたデポ2の処理のためにステップS611へ戻る。ステップS613にて、フリー店3があると判断された場合はステップS615へ進む。
【0138】
ステップS615では、当該削られたデポ2における削られた物量を算出する。削られた物量とは、重複デポ記憶域に存在する販売店情報であって、当該削られたデポ2の拠点コード300がデポコード300bに設定されている販売店情報に対応する販売店3…3の日単位物量の合計である。次にステップS616へ進み、当該削られたデポ2の直配エリア内にあるフリー店3…3を、当該削られたデポ2の削られた物量を上限として、処理用販売店ファイル16b´から選択し、この選択されたフリー店3…3の販売店情報を所属可能フリー店記憶域に記録する。このとき記録される各販売店情報のデポコード300bに当該削られたデポ2の拠点コード300を設定する。なお、この所属可能フリー店記憶域は、WORK領域7の一部である。この所属可能フリー店記憶域は重複所属調整処理終了時に内容がクリアされる。
【0139】
次に、ステップS617へ進み、ステップS590にて算出した当該基地1の拠点物量合計に、ステップS616で選択されたフリー店3…3の日単位物量の合計を加算して、当該基地1の拠点物量合計とし、この当該基地1の拠点物量合計と当該基地1の仕分可能物量311とが比較される。当該基地1の拠点物量合計が仕分可能物量311を超える場合は、当該フリー店3…3は当該削られたデポ2に所属できず、また当該デポ2も当該基地1に所属できないので、ステップS618へ進み、中間ファイルIから当該デポ2のデポ情報を削除し、一括店ファイルからデポコード300bに当該デポ2が設定されている販売店情報を削除して重複調整処理を終了する。
【0140】
ステップS617にて、当該基地1の拠点物量合計が当該基地1の仕分可能物量311を超えないと判断された場合はステップS620へ進み、所属候補フリー店記憶域にて当該削られたデポ2の拠点コード300がデポコード300bに設定されているフリー店3…3の基地コード300aに当該基地1の拠点コード300を設定し、配達形態347をルート配達に設定する。その後、次の削られたデポ2の処理のためにステップS611へ戻る。
【0141】
ステップS611にて重複デポ記憶域に存在するすべての販売店情報について重複調整処理が終了していないと判断された場合はステップS612へ進み、以下上述した処理を繰り返す。すべての販売店情報について重複調整処理が終了したと判断された場合は、ステップS621へ進む。
【0142】
ステップS621では、所属候補フリー店記憶域に記録されている各販売店情報の内容が処理用販売店ファイル16b´の対応する販売店情報に設定され、次のステップS622へ進む。ステップS622では、中間ファイルIIに含まれる各販売店情報に対応する処理用販売店ファイル16b´の各販売店情報のデポコード300bに当該デポ2の拠点コード300が設定され、基地コード300aに当該基地1の拠点コード300が設定され、配達形態347にはルート配達が設定され、一括店ファイルにおいて、デフォルト所属コード343に当該デポ2の拠点コード300が設定されている販売店情報の基地コード300aに、当該基地1の拠点コード300をそれぞれ設定し、重複調整処理を終了する。
【0143】
重複所属調整処理が終了すると次のデポ2についての処理を行なうためにステップS560へ戻る。中間ファイルIにあるデポ2についての配達エリア作成処理がすべて終了した場合は、ステップS562にて終了と判断され、デポ配達エリア作成処理を終了し、ステップS514へ進む。
【0144】
ステップS514では中間ファイルIにあるデポ情報に対応する処理用拠点ファイル16a´におけるデポ情報の所属基地コード303を当該基地1の拠点コード300に設定する。
【0145】
その後、次の基地1についての配達エリア作成処理のため、ステップS504へ戻る。以上の処理を処理用拠点ファイル16a´にあるすべての基地1…1について行なう。
【0146】
すべての基地1…1についての配達エリアが作成された場合は、ステップS504にて終了と判断され、ステップS516のフリー店処理及び一括店処理へ進む。ステップS516におけるフリー店処理では、処理用販売店ファイル16b´に販売店情報が存在するが、どの拠点1、2にも所属しないフリー店3…3が、分割条件画面の「フリー店舗の処理」の設定に従って処理される。フリーのままとする場合はそのまま何も処理せず、宅配とする場合は、当該フリー店3の販売店情報は、基地コード300aには例えば直線距離が一番近い基地1の拠点コード300が設定され、配達形態347は宅配が設定される。但し、当該フリー店3はその基地1の物量条件を満たす必要がある。すなわち、その基地1の拠点物量合計に当該フリー店3の日単位物量を加算した値が、その基地1の仕分可能物量311を超えない場合に当該フリー店3はその基地1に「宅配」として所属することができるが、超える場合は所属できない。また、ステップS516における一括店処理は、一括店ファイルにて基地コード300aが設定されている販売店情報を処理用販売店ファイル16b´に追加する。
【0147】
フリー店の処理後にステップS518の算定処理へ進み、算定処理が終了すると基地検討型処理は終了する。中央処理装置4が行なう算定処理の説明については後述する。
【0148】
次に「拠点積み上げ型」ロジックについて説明する。「拠点積み上げ型」ロジックでは、分割処理が上述したようにステップ1とステップ2の段階的に行われる。
【0149】
まず初めにステップ1の処理について説明する。図20(a)は基地1a…1b、デポ2a…2g及び販売店3…3が地図上に点在するようすを示す。正六角形が拠点1のある位置を示し、正三角形がデポ2のある位置を示し、小さな円が販売店3のある位置を示している。ステップ1では、各基地1a、1bの基地直配エリア及び、各デポ2a…2gのデポ配達エリアを作成する。
【0150】
販売店3…3の各拠点1a、1b、2a…2gへの割り付け方法は「基地圏検討型」ロジックにおけるデポ2への割り付け処理のロジックと同様である。すなわち、各拠点1a、1b、2a…2gについて、各直配エリア内に存在する販売店3…3を、各配達可能物量310を超えない範囲で各拠点1a、1b、2a…2gに所属させる。一括店3bのように基地1bにデフォルト所属する一括店3の場合は、一括店3bが基地1bの直配エリア100b内になくても基地1bの基地直配エリア101bに所属させる。なお、各拠点1a、1b、2a…2gに基地直配エリア101a、101b、及びデポ配達エリア201a…201gが作成された様子の概念図を図20(b)に示す。
【0151】
複数の拠点1、2の直配エリアに含まれる販売店3…3の処理については、販売店3cのように、基地1bの直配エリア100bにもデポ2cの直配エリア200cにも含まれる場合は、基地1bの方が優先度が高く、基地1bの所属となる。販売店3dのようにデポ2aとデポ2bの直配エリア200a、200bに含まれる場合、すなわち重複する所属先がデポ同士である場合は、販売店3dは自己から直線距離が近い方に物量条件を満たすことを前提に所属する。この時、販売店3dの所属が変更するとしても、「基地圏検討型」ロジックにおける重複調整処理は行わない。どのデポ2もこの時点で基地1に所属していないので、優先度309が不明だからである。販売店3e、3fについても同様である。また、販売店3aのように、どの各拠点1a、1b、2a…2gにも所属しない販売店3…3はフリー店3となる。なお、本ロジックにおいては基地1a、1bにも物量条件を設け、各基地1a、1bの配達可能物量310を各デポ2a…2gにおける配達可能物量310と同様に、物量条件として扱って基地直配エリア101a、101bを作成する。
【0152】
基地1a、1bの基地直配エリア101a、101b、及びデポ2a…2gのデポ配達エリア201a…201gを作成後算定処理を行なう。算定処理の詳細は後述するが、算定処理によって上述した各配達エリア101a、101b、201a…201gにおいて配達に必要な輸送車の最小台数を求めることができる。ここで求められた数値が、拠点1、2が現在保有する輸送車数内の一定値よりも少ない場合は輸送効率の悪い拠点1、2として、図20(b)のデポ2gのような識別マークが表示される。これによって、輸送車の台数が生かされていないデポ2を判別することが可能である。図20(b)においては識別マークとして円形マークが使用されているが、このマークはこれに限らない。
【0153】
以上が拠点積み上げ型ステップ1で行われる処理である。ステップ1終了後に拠点積み上げ型ステップ2が行われる。本システムにおいては、このステップ2の実行は分割ロジック選択画面(図6)にて指定しなければならないが、自動的に実行されてもよい。
【0154】
拠点積み上げ型ステップ2ではデポ配達エリア201a…201gが作成された各デポ2a…2gを基地1a、基地1bに所属させる処理を行なう。この処理をデポ取り込み処理といい、図21は基地1aについてのデポ取り込み処理が終了し、基地1bについてのデポ取り込み処理が行われている様子を示す概念図である。このデポ取り込み処理は、優先度309の高い基地1から行われる。よって、図21においては基地1aが基地1bよりも優先度309が高いことになる。
【0155】
基地1bについてのデポ取り込み処理について説明する。まず、取得可能なデポ2…2を距離条件によって特定する。基地1bを中心として、基地1bの拠点取得下限316から後述する方法によって求められる距離を半径とする円316と拠点取得上限315から後述する方法によって求められる距離を半径とする円315で構成される拠点取得範囲700に存在するデポ2b…2gが所属可能デポ2…2となる。本システムでは、各デポ2と基地1bとの直線距離が、拠点取得下限316からも止められる半径よりも長く、拠点取得上限315から求められる半径よりも短い場合に、そのデポ2は拠点取得範囲700に存在するものと認識する。
【0156】
次に物量条件によって基地1bに所属するデポ2…2を決定する。物量条件は、基地1bの仕分可能物量311と「基地配達量+一括店物量+既所属拠点配達物量+所属候補拠点合計配達物量」の式から算出される物量とを比較して行われる。この算出される値を、以下「拠点物量合計」という。基地配達物量とは、基地1bの基地直配エリア101bの合計配達物量である。一括店物量とはデフォルト所属コード343に基地1bが設定されている一括店3…3の日単位物量の合計である。既所属拠点配達物量とは、既に基地1bに所属が決定しているデポ2…2の各合計配達物量を合計した値である。所属候補拠点合計配達物量とは基地1bに所属できるか否かを判断する対象のデポ2の合計配達物量である。日単位物量及び合計配達物量の算出方法は基地圏検討型における日単位物量及び合計配達物量と同様である。
【0157】
例えば、基地1bにデポ2a…2cの所属が決定し、次にデポ2dについて上記の比較を行なう場合は、基地1bの拠点物量合計は「基地配達量+一括店物量+デポ2a…2cの合計配達物量の合計+デポ2dの合計配達物量」となる。となる。この式によって算出された値が基地1bの仕分可能物量311より小さい場合はデポ2dは基地1bに所属する。よって、次のデポ2eについて物量条件を比較する場合は、基地1bの拠点物量合計は「基地配達量+一括店物量+デポ2a…2dの合計配達物量の合計+デポ2eの合計配達物量」となる。一方、デポ2dの合計配達物量を加算した値が仕分可能物量311より大きい場合は、デポ2dは基地1bに所属できないので、次のデポ2eについて物量条件を比較するための基地1bの拠点物量合計は、「基地配達量+一括店物量+デポ2a…2cの合計配達物量の合計+デポ2eの合計配達物量」となる。
【0158】
基地1bの拠点取得範囲に含まれるデポ2b…2gについて基地1bに優先的に所属させる優先順位を設けても良い。本実施形態では、基地1bとの直線距離が近いデポ2を優先的に基地1bに所属させることとし、近い順に上記物量条件の比較を行なうが、デポ2を基地1に優先的に所属させる方法はこれに限らず、例えば一定の距離内にある合計配達物量が大きいデポ2から優先的に所属させてもよい。
【0159】
また、拠点取得範囲700に存在するフリー店3…3を基地1bに宅配扱いとして所属させてもよい。図21においてはフリー店3aが基地1bの拠点取得範囲700に存在するので、物量条件を満たせば基地1bに宅配扱いとして所属する。この場合の基地1bの拠点物量合計は、「基地配達量+一括店物量+既所属拠点配達物量+既所属宅配店物量+所属候補拠点合計配達物量又は所属候補フリー店物量」となる。既所属宅配店物量とは既に基地1bに宅配店として所属が決定したフリー店3…3の日単位物量の合計である。所属候補フリー店物量とは基地1bに宅配店として所属させるか否かを判断する対象のフリー店3の日単位物量である。例えば、フリー店3aについて検討を行なう場合は、フリー店3aの日単位物量である。また、本システムにおいては、拠点取得範囲700に存在するデポ2b…2b及びフリー店3…3は、デポ2とフリー店3の区別をせずに基地1bへの直線距離が近いものから優先的に基地1bに所属させる。すなわち、基地1bからの直線距離が近いデポ2またはフリー店3から遠いデポ2またはフリー店3の順に上記物量条件の比較が行われる。
【0160】
図21は、デポ2b〜デポ2f及びフリー店3aについて、基地1bからの直線距離が近い順に基地1bの拠点物量合計と基地1bの仕分可能物量と比較した結果、デポ2eが基地1bに所属できなかった状態を示す。デポ2eはどの基地1a、1bにも所属せず、デポ2eに所属した販売店3c…3eは、フリー店3c…3eとなる。図21は、基地1bにおける分割処理の結果としてデポ2b〜デポ2d、デポ2fが基地1bに所属し、各デポ配達エリア201b…201d、201f、基地直配エリア101b、販売店3a及び一括店3bによって基地1bの基地配達エリア210bが形成されるようすを示す。
【0161】
次に、中央処理装置4が行なう処理について図22〜図25のフローチャートに従って説明する。図22は、分割条件設定画面(図7)にて分割条件を設定し、「登録」78ボタンを押した後に「拠点積み上げ型」ロジックに基づいて開始される処理から、その分割処理が終了するまでの処理の流れの概略を示すフローチャートである。ステップ750にて、分割条件設定画面(図7)にて選択された拠点1、2についての拠点情報を処理用拠点ファイル16aから抽出して処理用拠点ファイル16a´としてWORK領域7に作成する。処理用販売店ファイル16bはコピーされて処理用販売店ファイル16b´とされ、処理用統計情報ファイル16cはコピーされて処理用統計情報ファイル16c´とされ、処理用作業用情報ファイル16dはコピーされて処理用作業用情報ファイル16d´とされ、それぞれWORK領域7に作成される。
【0162】
次にステップS752に進み、初期化処理が行われる。初期化処理では、処理用拠点ファイル16a´にあるデポ情報の基地コード303をNULLに設定し、処理用販売店ファイル16b´にある販売店情報の基地コード300a及びデポコード300bをNULLに設定する。
【0163】
処理用拠点ファイル16a´における各拠点1、2の直配距離を拠点直配パラメータ312及び行政区速度317に基づいて算出し、対応する各拠点情報と相互に関連づけて記録しておく。拠点情報のレコードに追加項目として記録してもよいし、他の記憶域に記録してもよい。
【0164】
また、処理用販売店ファイル16b´にある一括店3の販売店情報であってデフォルト所属コード343にいずれかの拠点コード300が設定されているものを抜き出して一括店ファイルとし、処理用販売店ファイル16b´とは別の領域に記憶する。処理用販売店ファイル16b´には、デフォルト所属が設定されている一括店3についての販売店情報は一時的に存在しないことになる。なお、デフォルト所属コード343が設定されていない一括店3の販売店情報は一括店ファイルに抜き出されないので処理用販売店ファイル16b´に存在する。以下この処理用販売店ファイル16b´に販売店情報がある一括店3…3は、特にことわらない限り一般店3…3と同様に扱われる。
【0165】
次にステップS754へ進み、拠点直配エリア作成処理が行われる。拠点直配エリア作成処理では処理用拠点ファイル16a´に拠点情報がある各拠点1、2の各拠点直配エリアを作成する。拠点直配エリアとは、基地直配エリア及びデポ配達エリアの総称である。この拠点直配エリア作成処理は図23に示すフローチャートに従って説明する。ステップS770にて拠点情報を処理用拠点ファイル16a´から処理順に読む。本実施形態では、基地1とデポ2では基地1の方が処理順が早く、基地1…1の中では優先度309の高い基地1ほど早く処理される。デポ2…2は拠点コード300の順に処理されるが、例えば合計配達量が大きいほど優先的に処理を行ってもよい。次にステップS772にて、ステップS770にて拠点情報が新規に読めないときは、処理用拠点ファイル16a´にある拠点情報の拠点1、2についてすべて拠点直配エリアが作成されたものと判断され、拠点直配エリア作成処理を終了する。ステップS770にて拠点情報が新規に読めたときはステップS774へ進む。以下、ステップS770にて新規に読んだ拠点情報に対応する拠点1、2を当該拠点1、2という。
【0166】
ステップS774では、当該拠点1、2の直配エリア内にある販売店3…3を処理用販売店ファイル16b´から抽出して中間ファイルIを作成する。次に、ステップS776へ進み、以下、ステップS786まで中間ファイルIから当該拠点1、2の物量条件に合った販売店情報を絞り込む処理を行なう。ステップS776では、店属性341に基づいて、中間ファイルIにおける販売店情報を物量条件によって絞込む処理の順に読む。本実施形態においては、「基地圏検討型」ロジックと同様に、販売店3…3はこの順序が早いほど優先的にいずれかの拠点1、2に所属できる。
【0167】
本実施形態においては、店属性341がコンビニエンスストアの場合、一般店より優先的に当該デポ2に所属させる。また、同一の店属性341の場合は、当該デポ2からの直線距離が近い販売店3を優先的に所属させる。すなわち、ステップS776では、各販売店3と当該デポ2との各直線距離が算出されて、WOK領域7に一時的に記憶され、まず店属性341がコンビニエンスストアである販売店情報が当該デポ2からの直線距離の近い販売店3の順に選択されて読まれ、次に店属性341が一般店である販売店情報が当該デポ2からの直線距離の近い販売店3の順に選択されて読まれる。読まれた順にステップS780以降の処理が行われる。
【0168】
中間ファイルIから販売店情報が新規に読み込めなかった場合は、ステップS778にて中間ファイルIにあるすべての販売店情報について処理が終了したと判断してステップS779へ進む。ステップS776で販売店情報が新規に読めた場合は、ステップS780へ進む。ここで新規に読み込んだ販売店情報を当該販売店情報といい、当該販売店情報に対応する販売店3を当該販売店3という。
【0169】
ステップS780では当該販売店3についての重複確認処理が行われる。重複確認処理とは、複数の拠点1、2の直配エリアに含まれる販売店3をどの拠点1、2の直配エリアに所属させるかを確認する処理である。
【0170】
重複確認処理については、図24に示すフローチャートに従って説明する。ステップS790で当該販売店情報の基地コード300aがNULLであるか否かが判断され、NULLの場合はステップS792へ進む。ステップS792では当該販売店情報のデポコード300bがNULLであるか否かが判断される。デポコード300bがNULLの場合は、フリー店3であるからステップS796へ進み、当該拠点1、2の拠点コード300を中間ファイルIにおける当該販売店情報の基地コード300aまたはデポコード300bに設定し、重複確認処理を終了する。当該拠点1、2が基地1かデポ2かは、拠点属性302によって判断し、拠点属性302が基地の時、拠点コード300を基地コード300aに設定し、拠点属性302がデポの時、拠点コード300をデポコード300bに設定する。ステップS792にてデポコード300bがNULLでない場合は、現在いずれかのデポ2に所属する販売店3であることを示す。この場合は、ステップS794へ進み、当該拠点1、2と当該販売店3との間の直線距離と、既に設定されている所属先の拠点1、2と当該販売店3との間の直線距離とが比較される。当該拠点1、2の方が近い場合はステップS796へ進み、上述した処理を行った後重複確認処理を終了する。ステップS794にて、既に設定されている所属先の拠点1、2の方が近いと判断された場合は、当該販売店3を中間ファイルIから削除するために、ステップS798にて削除フラグを立てて重複確認処理を終了する。なお、本実施形態において、この重複確認処理において、当該販売店情報のデポコード300bが既に設定されていると判断された場合は、基地1…1についての基地直配エリアの作成処理は終了し、デポ2…2についての配達エリア作成処理が開始されていることを意味し、当該拠点1、2はデポ2である。
【0171】
ステップS790にて当該販売店情報の基地コード300aがNULLでないと判断された場合は、当該販売店3はいずれかの基地1にすでに所属が決定している販売店3であるから中間ファイルIから削除するためにステップ798にて削除フラグを立てて重複確認処理を終了する。
【0172】
重複確認処理が終了すると、ステップS782に進み、削除フラグが立っているか否かが判断される。削除フラグが立っている場合は、ステップS783へ進み、当該販売店情報を中間ファイルIから削除し、削除フラグを元に戻して次の販売店情報を読むためにステップS776へ戻る。ステップS782にて削除フラグが立っていないと判断された場合は、ステップS784へ進み、当該販売店3を当該拠点1、2に所属する販売店3として、当該拠点1、2の合計配達物量が算出される。すなわち、この時点で中間ファイルIにある販売店情報であって、当該拠点1、2の拠点コード300が基地コード300aまたはデポコード300bに設定されている販売店情報に対応する販売店3…3、及び一括店ファイルにある販売店情報であって、デフォルト所属コード343に当該拠点1、2の拠点コード300が設定されている販売店情報に対応する一括店3…3の日単位物量の合計が算出される。次にステップS786へ進み、ステップS786では、当該拠点1、2の配達可能物量310と当該拠点1、2の合計配達物量とが比較される。ステップS786にて、当該拠点1、2の合計配達物量が、当該拠点1、2の配達可能物量310を超えない場合は、当該販売店3は当該拠点1、2の物量条件を満たすとして中間ファイルIに残り、次の販売店情報を中間ファイルIから読むためにステップS776へ戻る。ステップS786にて、当該拠点1、2の合計配達物量が、当該拠点1、2の配達可能物量310を超える場合は、当該販売店3は当該拠点1、2の物量条件を満たさないとして、ステップS788へ進む。ステップS788では、中間ファイルIから当該販売店情報が削除され、次の販売店情報を読むためにステップS776へ戻る。
【0173】
ステップS778にて中間ファイルIにあるすべての販売店情報について物量条件を検討する処理が行われたと判断された場合、すなわち新規に読む販売店情報がなくなった場合は、ステップS779へ進む。ステップS779では、中間ファイルIにある販売店情報に対応する処理用販売店ファイル16b´の販売店情報について、当該拠点1、2が基地1の場合は中間ファイルIにおける基地コード300aを処理用販売店ファイル16b´における基地コード300aに設定し、当該拠点1、2がデポ2の場合は中間ファイルIにおけるデポコード300bを処理用販売店ファイル16b´におけるデポコード300bに設定し、どちらの場合も処理用販売店ファイル16b´における配達形態347はルート配達に設定する。
【0174】
また、一括店ファイルに、当該拠点1、2にデフォルト所属する一括店3の販売店情報がある場合は、当該一括店3の販売店情報について、当該拠点1、2が基地1の場合は基地コード300aにその拠点コード300を設定し、当該拠点1、2がデポ2の場合はデポコード300bにその拠点コード300を設定し、どちらの場合でも配達形態347はルート配達を設定する。
【0175】
拠点直配エリア作成処理が終了するとステップS756へ進み、算定処理が行われる。算定処理における中央処理装置4が行なう処理については後述する。
【0176】
以上で「拠点積み上げ型」ロジックにおけるステップ1の処理が終了する。ステップ1が終了すると終了フラグをONの状態にする。この終了フラグの状態はシナリオ情報ファイル13aに各シナリオごとに記憶される。中央処理装置4は、この終了フラグの状態を判断して、ONと判断した場合にのみ、以下に示すステップS758〜ステップS764におけるステップ2の処理を行なう。
【0177】
ステップS758では、処理用拠点ファイル16a´から基地情報を優先度309が高い順に読む。次にステップS760にて、配達エリアを作成する処理が終了していない基地情報が読めたか否かが判断され、すなわち新規に読む基地情報があるか否かが判断され、基地情報が新規に読めた場合はその基地1についてのデポ取り込み処理を行なうためにステップS762へ進む。以下、ステップS760にて新規に読んだ基地情報を当該基地情報、当該基地情報に対応する基地1を当該基地1という。
【0178】
デポ取り込み処理については図25に示すフローチャートに従って説明する。まず、ステップS800にて当該基地1の拠点取得範囲にあるデポ2…2のデポ情報を処理用拠点ファイル16a´から抽出して中間ファイルIIとする。このとき、既に基地コード303に拠点コード300が設定されているデポ情報は抽出しない。次にステップS802へ進み、当該基地1の拠点取得範囲にあるフリー店3を処理用販売店ファイル16b´から抽出して中間ファイルIIに追加する。但し、既に基地コード300aに拠点コード300が設定されている場合は除く。
【0179】
次にステップS804へ進み、中間ファイルIIからデポ情報またはフリー店3の販売店情報を処理順に読む。本実施形態では拠点取得範囲にあるデポ2…2及びフリー店3…3のうち、当該基地1に直線距離が近いものから処理を行なうが、これに限らず、例えばデポ2…2をフリー店3…3よりも先に処理を行ってもよい。
【0180】
次にステップS806にて、ステップS804にてデポ情報または販売店情報が中間ファイルIIから新規に読めた否かが判断され、新規に読めた場合はステップS808へ進む。以下ステップS804にて新規に読んだデポ情報を当該デポ情報、当該デポ情報に対応するデポ2を当該デポ2という。また、ステップS804にて新規に読んだのが販売店情報である場合は、その販売店情報を当該販売店情報、当該販売店情報に対応するフリー店3を当該フリー店3という。ステップS808では、現時点における当該基地1の拠点物量合計を算出する。
【0181】
次にステップS810にて、当該基地1の仕分可能物量311と当該基地1の拠点物量合計とが比較され、当該基地1の拠点物量合計が当該基地1の仕分可能物量311を超える場合は、当該デポ2または当該フリー店3は当該基地1の物量条件を満たさないとして、何も処理されず、そのまま次のデポ2またはフリー店3を読むためにステップS804へ戻る。
【0182】
ステップS810にて、当該基地1の拠点物量合計が当該基地1の仕分可能物量311を超えない場合は、当該デポ2または当該フリー店3は当該基地1の物量条件を満たすとして、ステップS812へ進む。
【0183】
ステップS812では、当該デポ2について、処理用拠点ファイル16a´における当該デポ2のデポ情報の基地コード303に当該基地1の拠点コード300を設定し、また、処理用販売店ファイル16b´における販売店情報であってデポコード300bが当該デポ2の拠点コード300である販売店情報の基地コード300aに当該基地1の拠点コード300を設定し、配達形態347には「ルート配達」を設定する。更に、一括店ファイルにおいてデポコード300bに当該デポ2の拠点コード300が設定されている販売店情報の基地コード300aに、当該基地1の拠点コード300を設定する。当該フリー店3については、当該フリー店3の販売店情報の基地コード300aに当該基地1の拠点コード300を設定し、配達形態347に「宅配」を設定する。
【0184】
ステップS806にて、ステップS894で中間ファイルIIからデポ情報またはフリー店3の販売店情報が新規に読めないと判断された場合は、中間ファイルIIにあるすべてのデポ情報及び販売店情報について処理がされたと判断され、デポ取り込み処理を終了する。
【0185】
デポ取り込み処理が終了すると、ステップS764へ進み、最終処理が行われる。最終処理では、一括店ファイルに存在する販売店情報が基地コード300aがNULLのものを除いて処理用販売店ファイル16b´に追加される。また、最終的に所属の決まらなかったフリー店3及び最終的に所属の決まらなかったデポ2にステップ1にて所属させられた販売店3…3は、すべてフリー店3…3とする。最終的に基地1の所属が決まらなかったデポ2にデフォルト所属する一括店3の場合は、基地コード300aがNULLの販売店情報を処理用販売店ファイル16b´に追加する。すなわち、処理用販売店ファイル16b´において、もともと基地コード300a及びデポコード300bがNULLであるフリー店3については何も処理する必要はない。処理用拠点ファイル16a´において、基地コード303がNULLのデポ2の拠点コード300が、処理用販売店ファイル16b´における販売店情報のデポコード300bに設定されている販売店3…3の場合は、その販売店情報のデポコード300b及び配達形態347をNULLに設定する。また、処理用拠点ファイル16a´において、基地コード303がNULLのデポ2の拠点コードが、一括店ファイルの販売店情報のデポコード300bに設定されている場合は、その販売店情報の基地コード300a及びデポコード300bをNULLにして処理用販売店ファイル16b´に追加する。
【0186】
算定処理について説明する。算定処理は上述した通り、各拠点1、2について1週間に配達車が配達する最小のコース数を、時間面からの制限及び物量面からの制限に基づいて算出する処理である。本コース数を算出するに当たり、シングル輸送とピストン輸送の2形態を含む輸送形態が考慮される。特定の拠点1、2にルート配達として所属する販売店3…3のうち、ピストン輸送の対象となるための距離条件及び物量条件を満たす販売店3…3をピストン輸送とし、残りの販売店3…3をシングル輸送とし、各輸送形態におけるコース数を算出してそれらを加算して、合計コース数を算出する。算出処理の説明においては、距離条件又は物量条件というときは、ピストン輸送の対象となる販売店3…3の各条件をいう。その合計コース数はその距離条件及び物量条件に対応するその拠点1、2のコース数となる。ピストン輸送の対象となるための距離条件及び物量条件をそれぞれ所定の範囲で変更し、それら変更された条件によっても同様に上記の合計コース数を算出する。変更された条件に対応して算出されたすべての合計コース数のうち最小のコース数を当該拠点1、2のコース数として決定する。
【0187】
なお、シングル輸送とは、図26(a)が示すように、1コース中に拠点1、2を出発後に途中で拠点1、2に戻らない輸送形態である。シングル輸送による輸送車の配達経路の概念図を図26(b)に示す。ピストン輸送とは、主に近距離の販売店3…3を対象に行なう輸送形態であって、図27(a)に示すように、拠点1、2を出発後、1コースの途中で一回拠点1、2に戻り、再び積込み作業を行なう輸送形態である。ピストン輸送による輸送車の配達経路の概念図を図27(b)に示す。すなわち、シングル輸送では積込時間46が1日に1回でよいが、ピストン輸送では1日に2回必要となる。なお、本実施形態のピストン輸送では拠点1、2に戻る回数は1回であるが、2回以上戻ってもよい。
【0188】
算定処理の手順の概略は以下の通りである。各拠点1、2の配達エリアごとに算定処理がそれぞれ行われる。この算定処理は、基地直配エリアにおいてデポ配達エリアにおいても同様の処理なので、説明の簡便のために特定の拠点1と当該拠点1からタバコが配達車によって配達される複数の販売店3…3が存在する配達エリアの場合について説明する。まず、新規ケース設定画面(図5)にて拠点1についてピストン輸送の対象となる販売店3…3の条件を設定する。具体的には、時間条件としてピストン時間条件51、物量条件としてピストン物量条件52を設定する。
【0189】
ピストン時間条件51は、ピストン輸送の対象となる販売店3…3を拠点1からの距離を条件として指定するパラメータであり、ピストン輸送の対象となる販売店3…3の時間条件の範囲54aと刻み54bを指定する。図5は、拠点1から配達車で20分〜40分で移動できる販売店3…3を10分刻みで距離条件を変更し(すなわち20分以内、30分以内、40分内)、各距離条件についてのコース数を算出することを指定した場合を示す。時間から距離を算出する方法は、拠点1の直配距離を求める場合と同様の方法を用いる。
【0190】
ピストン物量条件52は、ピストン輸送対象となる販売店3…3を、配達物の物量を条件として指定するパラメータであり、ピストン輸送の対象となる販売店3…3の物量条件の範囲55aと刻み55bを指定する。物量条件は販売店情報の1回当たり物量338の値を指定する。図5は、販売店3…3の1回当たり物量338が10千本〜50千本の間で10千本刻みで物量条件を変更し(すなわち10千本以上、20千本以上、30千本以上、40千本以上、50千本以上)、各物量条件についてのコース数を算出することを指定した場合を示す。
【0191】
以上のピストン時間条件51及びピストン物量条件52の設定後、作成53を選択すると本システムによるコース数の算出処理が開始される。図5の場合においては、まず初めに、拠点1からの距離が20分以内のエリアに存在する販売店3…3であって、かつ1回当たり物量338が10千本以上となるような販売店3…3を選択してピストン輸送の対象店とし、他の販売店3…3をシングル輸送の対象店として、ピストン輸送コース数Cnp及びシングル輸送コース数Cnsの算出を行い、それらを加算することによってコース数Cnを求める。その後、指定した刻みに従って各条件を変更し、変更されたすべての条件についても同様にコース数Cnを求め、求められたコース数Cn…Cnのうち最小のコース数Cnを当該拠点1のコース数Cnとする。
【0192】
なお、シングル輸送コース数Cnsの算出は、シングル輸送の対象店とされた販売店3…3に対して時間コース数Cnsh及び物量コース数Cnsgをそれぞれ求め、コース数が多い方とする。ピストン輸送コース数Cnpも、ピストン輸送の対象店とされた販売店3…3に対して時間コース数Cnph及び物量コース数Cnpgをそれぞれ求め、コース数が多い方とする。
【0193】
算定処理において中央処理装置4が行なう全体的な処理の流れを図28に示すフローチャートに従って説明する。
【0194】
ステップS1000にて、処理用拠点ファイル16a´にある拠点情報を読む。次にステップS1010にて新規に読める拠点情報の有無が判断され、新規に読める場合はステップS1020へ進む。ここで、新規に読めた拠点情報に対応する拠点1を当該拠点1という。ステップS1020にて時間変数に当該拠点1に対してピストン時間条件51として指定した範囲54aの下限値を設定し、物量変数にピストン物量条件52として指定した範囲55aの下限値を設定する。図5の例では、時間変数に「20分」が設定され、物量変数に「10千本」が設定される。
【0195】
次にステップS1025へ進み、ピストン対象選択手段4kとして、当該拠点1に所属する販売店3…3のうち、設定された時間条件51及び物量条件52を満たす販売店3…3の販売店情報を、処理用販売店ファイル16b´から選択し、当該拠点1に所属する販売店3…3のうち、選択されなかった販売店3…3の販売店情報と識別可能な状態にする。例えば、選択された販売店3…3の販売店情報はピストンファイルとして、選択されなかった販売店3…3の販売店情報はシングルファイルとして、それぞれWORK領域7に記憶する。なお、条件を満たすとは、当該拠点1、2と販売店3…3の直線距離が時間変数から求められる距離以上であり、かつ販売店3…3の1回当たり物量338が物量変数の値以内であることをいう。
【0196】
次にステップS1030にて、ピストンファイルに存在する販売店3…3を対象にして、後述する数式に基づいて、時間コース数Cnph及び物量コース数Cnpgを算出する。算出された時間コース数Cnphと物量コース数Cnpgのうち多い方をピストン輸送におけるコース数Cnpとする。
【0197】
次にステップS1040にて、シングルファイルに存在する販売店3…3を対象にして、後述する数式に従って、時間コース数Cnsh及び物量コース数Cnsgを算出する。算出された時間コース数Cnshと物量コース数Cnsgのうち多い方をシングル輸送におけるコース数Cnsとする。
【0198】
次にステップS1050にて、シングル輸送のコース数Cnsとピストン輸送のコース数Cnpを合計し、当該条件におけるコース数Cnとして、例えばWOR領域7のコース数保存記憶域に一時保存する。
【0199】
次にステップS1060にて、物量変数にピストン物量条件52にて指定した刻み55bを加える。例えば、現在の物量変数が10千本で刻み55bが10千本の場合は10千本+10千本=20千本となる。ステップS1070にて、この刻み分を加えた物量変数がピストン物量条件52にて指定した範囲の上限値を超えているか否かが判断され、超えていない場合は、当該物量変数についてのコース数Cnを算出するため、ステップS1030へ戻る。超えた場合は、ステップS1080へ進む。
【0200】
ステップS1080にて、時間変数にピストン時間条件51にて指定した刻み54bを加える。例えば、現在の時間変数が20分で、刻み54bが10分の場合は20分+10分=30分となる。
【0201】
次にステップS1090にて、時間変数がピストン時間条件51で指定した範囲の上限値を超えているか否かが判断される。超えていない場合は、ステップS1100へ進み、物量変数にピストン物量条件52にて指定した範囲の下限値を設定してコース数Cnを算出するためにステップS1030へ戻る。超えた場合は、ステップS1110へ進み、コース数保存領域から最小のコース数Cnを選択し、そのコース数Cnを当該拠点1、2のコース数Cnとして、そのコース数Cnに対応する時間変数の値及び物量変数の値をピストン条件:時間318及びピストン条件:物量319として当該拠点1の拠点情報に設定する。また、両条件318、319を満たす販売店3…3のピストン区分348にピストンを設定し、当該拠点1にルート配達として所属するその他の販売店3…3のピストン区分348にはシングルを設定する。
【0202】
上述した時間コース数Cnsh、Cnph及び物量コース数Cnsg、Cnpgが中央処理装置4において算出される手順を以下に説明する。
【0203】
まず、シングル輸送の時間コース数Cnshの算出手順について説明する。最初に、次の式によって、配達先数算出手段4eとしての中央処理装置4により時間的な制限に基づいた1コースで配達店可能な配達店数Dnが求められる。
【0204】
【数23】
Figure 0004180957
【0205】
Wsは1日の配達時間、Dtは拠点から時間、Stは平均店間時間、Otは平均店頭時間である。分母部分は1の販売店3につき配達に要する時間であり、分子部分は1日のうち配達車が配達先間の配達に消費できる時間である。以下、各項目について説明する。
【0206】
1日の配達時間Wsは、1日の作業時間45のうち配達に係る作業時間をいい、1日の作業時間45−(積込時間46+休憩時間47+帰所後作業時間48)によって、配達時間算出手段4aとしての中央処理装置4により求められる。作業時間45、積込時間46、休憩時間47及び帰所後作業時間48は、共通パラメータファイル14bから得る。
【0207】
拠点から時間Dtは、拠点1とシングル輸送の対象の販売店3との間の移動時間の平均である。拠点から時間算出手段4bとしての中央処理装置4によって求められる。例えば、図26(b)に示すように、拠点1と販売店3の移動に要する往路A又は復路Bの移動にかかる平均時間である。本実施形態では、拠点1に所属するシングル輸送の対象である販売店3…3のうち、拠点1から直線距離が近い例えば5つの販売店3…3のそれぞれと拠点1との間を配達車によって移動する移動時間の平均によって得る。拠点1と販売店3との間の移動時間は、直配距離の算出の場合と同様の速度式αを使用して算出される。速度式αについては後述する。中央処理装置4における拠点から時間Dtを求めるための処理の流れについても後述する。
【0208】
平均店間時間Stは、拠点1に所属し、シングル輸送の対象である販売店3間の移動にかかる平均時間である。店間時間算出手段4cとしての中央処理装置4により求められる。シングル輸送の対象で拠点1に所属する販売店3…3において、ある販売店3と直線距離が近い例えば5つの販売店3…3との間の平均移動時間を算出し、同様にしてすべての販売店3…3についてこの平均移動時間を算出し、算出された各平均移動時間を更に平均することによって得る。平均店間時間Stの算出においても、販売店3間の移動時間の算出には後述する速度式αを使用する。販売店間の移動時間の算出方法、及び平均店間時間Stを算出するために中央処理装置4にて行われる処理の流れについても後述する。
【0209】
なお、本実施形態において、拠点から時間Dt及び平均店間時間Stの算出にあたり、5つの販売店3…3についての平均を算出するが平均の対象となる販売店3の数はこれに限らない。
【0210】
平均店頭時間Otは、シングル輸送の対象で拠点1に所属する販売店3…3の店頭時間339の平均値である。店頭時間算出手段4dとしての中央処理装置4によって算出される。
【0211】
上記の式によって1コースあたりの配達店数Dnが算出された後、時間コース数算出手段4gとしての中央処理装置4が、次の式から時間コース数Cnshを算出する。
【0212】
【数24】
Figure 0004180957
【0213】
Snは1週間で配達する配達先数延べ数としての加重店数である。延べ数とは、1週間に同じ配達先に2回配達する場合は2店として加算される合計値をいう。拠点1に所属し、シングル輸送の対象とされた販売店3…3の回数加重345の合計値である。配達先延べ数算出手段4fとしての中央処理装置4にて算出される。
【0214】
また、シングル輸送の物量コース数Cnsgは、物量コース数算出手段4iとしての中央処理装置4により、以下の式によって得られる。
【0215】
【数25】
Figure 0004180957
【0216】
分子のVnは期間内配達物量合計であり、拠点1に所属し、シングル輸送の対象である販売店3…3の回数加重配達量346を合計することにより得る。期間内物量算出手段4hとしての中央処理装置4によって算出される。分母のBnは配達車1台の積載量であり、積載量49×物量係数50で求められる。積載量49及び物量係数50は、原則として共通パラメータファイル14bに記憶されている積載量49の値であるが、拠点情報の積載量314が設定されている拠点1については、その積載量314が優先して使用される。
【0217】
以上の手順で、時間コース数Cnsh及び物量コース数Cnsgが算出された後、コース数決定手段4jとしての中央処理装置4は、数が大きい方を、当該条件による拠点1のシングル輸送のコース数Cnsと決定する。なお、本実施形態では、時間コース数Cnsh、物量コース数Cnsg、及びシングル輸送のコース数Cnsは週単位のコース数である。
【0218】
次に、ピストン輸送の時間コース数Cnph及び物量コース数Cnpgの算出手順について説明する。まず、配達先数算出手段4eとしての中央処理装置4は、拠点1に所属し、ピストン輸送の対象である販売店3…3を対象にして1コースあたりの配達店数Dnを以下の式によって算出する。
【0219】
【数26】
Figure 0004180957
【0220】
各パラメータの意味や算出手順はシングル輸送の場合と同様である。但し、ピストン輸送ではコースの途中で拠点1に1回戻るので、図27(a)に示すように積込時間46が1コースに2回必要となる。従って、1日の配達時間Wpは、配達時間算出手段4aとしての中央処理装置4により、1日の作業時間45−(積込時間46×2+休憩時間47+帰所後作業時間48)の式によって求められる。また、分子部分は、1日の配達時間Wpから拠点から時間Dtを2往復分、すなわち拠点から時間Dtを4倍した値を除き、調整のため平均店間時間Stを2倍した値を加えた値になる。
【0221】
1コースあたりの配達店数Dnから時間コース数Cnphを求める方法はシングル輸送の場合と同様に、時間コース数算出手段4gとしての中央処理装置4によって以下の式によって算出される。
【0222】
【数27】
Figure 0004180957
【0223】
なお、拠点から時間Dt、平均店間時間St及び平均店頭時間Otは、拠点1に所属するピストン輸送の対象である販売店3…3を対象にシングル輸送の対象である販売店3…3を対象にして算出した場合と同様に中央処理装置4の各算出手段によって算出される。
【0224】
ピストン輸送の物量コース数Cnpgは、物量コース数算出手段4iとしての中央処理装置4により、以下の式によって求められる。
【0225】
【数28】
Figure 0004180957
【0226】
分子部分の期間内配達物量Vnは、期間内物量算出手段4hとしての中央処理装置4によって、拠点1に所属しピストン輸送の対象である販売店3…3の回数加重配達量346を合計することにより求める。分母部分は、1コース中に積み込み作業が2回あるので、1コースにおける積載量は積載量Bnの2倍である。
【0227】
ピストン輸送によるコース数Cnpについても、コース数決定手段4jとしての中央処理装置4によって、時間コース数Cnphと物量コース数Cnpgのうちコース数が多い方が選択してコース数Cnpとされる。なお、シングル輸送の場合と同様に、時間コース数Cnph、物量コース数Cnpg、及びシングル輸送のコース数Cnpは週単位のコース数である。
【0228】
以上が本実施形態における算定処理である。最小のコース数Cnを選択する方法として、最初の時間変数及び物量変数に対応するコース数Cnをその時間変数及び物量変数と共にコース数保存記憶域に記憶させ、次に算出されたコース数Cnと比べて次に算出されたコース数Cnの方が小さい場合にのみ、その小さい方のコース数Cnとそのコース数Cnに対応する時間変数及び物量変数を記憶させていく方法でもよい。当該コース数Cn、時間変数の値及び物量変数の値は、コース数Cnを算出するために使用したパラメータと共に、処理用統計情報ファイル16cに記録してもよい。
【0229】
また、コース数Cnの算出を店属性341別に行ってもよい。例えば一般店3…3ついてのコース数Cnやコンビニエンスストア3…3ついてのコース数Cnを上記の要領で別々に算出し、これらを加えることによって、当該拠点1のコース数Cnとしてもよい。かかる場合は、コンビニエンスストア3…3についてのコース数Cnを求めるときは、店属性341がコンビニエンスストアである販売店3…3のみを対象に上記のコース数Cnの算出を行い、一般店3…3についてのコース数Cnを求めるときは、店属性341が一般店である販売店3…3のみを対象に上記のコース数Cnの算出を行なう。
【0230】
また、算出されたコース数Cnが当該拠点1の台数閾値313に達しなかった場合は上述したように輸送効率が悪いことを示すためのマークを画面8に表示してもよい。ここで、コース数Cnは週単位の値であるため、コース数Cnと台数閾値313の比較時に、コース数Cnを日単位に換算する必要がある。そこで、1週のうち配達が行われる日数でコース数Cnを割ることによって、その値と台数閾値313とを比較する。すなわち、週に5日配達が行われれる拠点1の場合は、コース数Cnを5で割った値と台数閾値313とを比較する。上記のように店属性341がコンビニエンスストアの場合と一般店の場合とで別々にコース数Cnを求める場合は、コンビニエンスストアについてのコース数Cnは6で割り、一般店についてのコース数Cnは5で割り、各値を加算した値と台数閾値313とを比較する。
【0231】
次に、本システムにおいて、移動距離及び移動する場所の環境に応じた配達車の速度をシミュレートする方法について説明する。以下の説明においても、拠点1、2を拠点1と簡略して説明する。距離は一般的に速度×時間によって算出される。例えば時間が1.5時間の場合の距離は、時速×1.5である。時速の値として、例えば行政区テーブル10aの行政区速度401を適用することも可能である。しかし、移動する2点間距離によって、移動速度は変化する。例えば、2点間が近い場合は速度が行政区速度401まで伸びない。よって、本システムにおける移動速度は、より実情に近い条件によるシミュレートを実現するため、行政区速度401を均一的に使用するのではなく、移動する距離に応じて変化させることとした。また、都会と田舎とでの著しい交通事情の差を考慮し、移動する場所を田舎型と都会型に区別して取り扱う。図32(a)及び(b)は、2点間の移動距離に応じて移動速度の変化を示すグラフである。図32(a)は都会型のグラフであり、図32(b)は田舎型のグラフである。これらのグラフは以下の速度式αにて表現することができ、中央処理装置4において以下に述べる各パラメータが設定され計算されることにより、移動する環境及び移動距離に応じた速度Vが得られる。
【0232】
【数29】
Figure 0004180957
【0233】
Smは行政区速度317、344、Riは初速係数、Tは立ち上がり係数である。本実施形態では、初速係数Riを0.37、立ち上がり係数Tは都会型の場合は1とし、田舎型の場合は0.3とする。立ち上がり係数Tを都会型と田舎型のどちらに設定するかは、拠点情報の都会フラグ320または販売店情報の都会フラグ331に設定されている値によって適宜判断されて設定される。Iは暫定距離である。以下に上述した各距離の具体的な算出方法について説明する。
【0234】
直配距離を求める場合は、暫定距離Iを行政区速度317×拠点直配パラメータ312とし、その拠点直配パラメータ312に対応する拠点1の行政区速度317を行政区速度Smに設定し、都会フラグ320に応じた立ち上がり係数Tを設定することにより、速度式αに基づいて速度Vが求められる。当該拠点1の直配距離は、求められた速度V×拠点直配パラメータ312によって得られる。
【0235】
拠点取得範囲102、700を求める場合は、暫定距離Iを行政区速度317×拠点取得上限315とし、拠点取得範囲102、700に対応する拠点1の行政区速度317を行政区速度Smに設定し、都会フラグ320に応じた立ち上がり係数Tを設定することにより、速度式αに基づいて速度Vが求められる。算出された速度V×拠点取得上限315によって取得可能なデポ2が存在する範囲の最大範囲を示す円315の半径が求められる。暫定距離Iを行政区速度317×拠点取得下限316として同様に速度式αに基づいて速度Vが算出され、算出された速度V×拠点取得下限316によって取得可能なデポ2が存在する範囲の最小範囲を示す円316の半径が求められる。
【0236】
上記の速度式αを用いて、拠点1についての拠点から時間Dtを求める処理の手順については、図33のフローチャートに従って説明する。この処理は拠点から時間算出手段4bとしての中央処理装置4にて行われる。まず、拠点1にルート配達として所属する販売店3…3のうち、拠点1から直線距離が近い5店を選び、この5店3…3について、速度式αの各パラメータT、Sm、Iを設定する。
【0237】
暫定距離Iには拠点1と各販売店3の各直線距離を設定、行政区速度Smには、当該拠点1の行政区速度317を設定し、立ち上がり係数Tには、当該拠点1の都会フラグ320に応じた値を設定し(ステップS1200)、各販売店3についての各速度Vを求める(ステップS1210)。各販売店3に対応する拠点1からの移動時間を、各販売店3に対応する暫定距離I÷各販売店3に対応する速度Vによって算出する(ステップS1220)。この各販売店3における移動時間を平均し、その平均値を拠点1についての拠点から時間Dtとする(ステップS1230)。
【0238】
なお、シングル輸送のコース数Cnsを求める場合は、シングル輸送の販売店3…3のみを対象にし、ピストン輸送のコース数Cnpを求める場合は、ピストン輸送の販売店3…3のみを対象にして拠点から時間Dtを求める。
【0239】
次に、平均店間時間Stを求めるための処理の手順について図34のフローチャートに従って説明する。この処理は店間時間算出手段4cとしての中央処理装置4によって行われる。まず、算定を行なう拠点1に所属する販売店3…3のうち、1の販売店3を特定の販売店3とし、この特定の販売店3から直線距離が近い販売店3…3を選択する(ステップS1240)。速度式αに各パラメータT、Sm、Iを設定する(ステップS1250)。暫定距離Iには特定された販売店3と選択された販売店3…3との各直線距離、立ち上がり係数Tには特定された販売店3の都会フラグ337に基づいた値、行政区速度Smには特定された販売店3の行政区速度344がそれぞれ設定される。次に、値が設定されたパラメータに基づいて速度式αから速度Vを算出する(ステップS1260)。選択された販売店3…3のそれぞれについて、各暫定距離Iを対応する速度Vで割ることによって各移動時間を算出する(ステップS1270)。これら各移動時間に基づいて特定の販売店3についての移動時間の平均値を算出し、この特定の販売店3の平均移動時間とする(ステップS1280)。この拠点1にルート配達として所属する他の販売店3…3すべてについても同様にして平均移動時間を算出する(ステップS1290)。最後に、各販売店3…3について算出された平均移動時間の平均値を算出し、平均店間時間Stとする(ステップS1300)。
【0240】
なお、シングル輸送のコース数Cnsを求める場合は、シングル輸送の販売店3…3のみを対象にし、ピストン輸送のコース数Cnpを求める場合は、ピストン輸送の販売店3…3のみを対象にして平均店間時間Stを求める。
【0241】
本発明は上述した実施形態に限定されず、種々の形態にて実施してよい。例えば、地域の単位や数はユーザの必要に応じて設定可能である。また、販売店3…3についての追加、削除、変更の処理を加えてもよい。
【0242】
また、本実施形態は、本システムがスタンドアロンのコンピュータ上で稼動するが、各装置4、5、6、7、8はネットワーク上にノードとして存在させ、ネットワーク上のシステムとして実現してもよい。
【0243】
本実施形態では、条件に該当する販売店情報や拠点情報を他の販売店情報や拠点情報と識別するために中間ファイルや記憶域を使用したが、各条件を満たすことを示すフラグを用意し、条件を満たしている販売店情報や拠点情報のデータ項目として加え、条件を満たしたフラグを立てる方法にて実施してもよい。また、中央処理装置4によってファイルから処理順にデータが読まれるときは、予め、ファイルを処理順にソートしておいて順に読んでいってもよい。
【0244】
本実施形態では、拠点1、2に関する情報及び販売店3に関する情報についてマスタファイル11a、11bがそれぞれ用意され、行政区テーブル14a及び共通パラメータファイル14bも予め用意されている構成にて説明したが、各項目を入力装置6から適宜入力する構成でもよい。この場合は、配達拠点情報記憶手段、配達先情報記憶手段及び共通情報記憶手段はWORK領域7に設けられてもよい。また、初期立ち上げ時に、拠点情報ファイル11aにおける拠点直配パラメータ312〜都会フラグ320は設定されている必要はなく、本システムによる処理の実行中に設定されてもよい。各デフォルト値も変更可能である。
【0245】
コンピュータによる分割処理結果の後、ユーザが自由に特定の販売店3を特定の配達拠点1に所属させる機能を付加してもよい。特定の拠点1、2や販売店3を画面8への表示させるか否かを、ユーザによる選択を可能にしてもよい。
【0246】
更に、本実施形態においては、配達物としてタバコを用いたが、配達物はこれに限らず、また、複数の種類の配達物を配達する場合であっても、拠点情報ファイル11a及び販売店情報ファイル11bそれぞれに、各配達物の種類を識別できる識別子と、各配達物に対応するデータを加えることによって本システムによる配達エリアの作成が可能である。
【0247】
本実施形態において、デポ2がどの基地1にも所属しない場合はそのデポ2の拠点情報の基地コード303をNULLとし、販売店3がどのデポ2は基地1に所属しない場合はその販売店3の販売店情報のデポコード300bや基地コード300aをNULLとすることによって判断するが、「所属しない」判断は、特定のコードによって判断するなど、他の方法によってもよい。
【0248】
また、本実施形態における計算の算出結果は、適当な位で四捨五入することによって整数でもよいし、小数点以下まで算出されてもよい。
【0249】
【発明の効果】
以上説明したように、本発明によれば、配達車の台数に基づいた配達エリアの最適化を図るべく、配達エリアにおける配達車のコース数をシミュレートする配達エリアシミュレーションシステムを提供することができる。
【図面の簡単な説明】
【図1】複数の基地、複数のデポ及び複数の配達先を示す図。
【図2】本発明におけるシステム構成の一例を示す図。
【図3】本実施形態におけるファイル構成を示す図。
【図4】本実施形態における新規ケース作成画面を示す図。
【図5】本実施形態におけるケース内共通パラメータを設定するための新規ケース作成画面を示す図。
【図6】本実施形態における分割ロジックの選択画面を示す図。
【図7】本実施形態における分割条件設定画面を示す図。
【図8】本実施形態における分割処理の結果表示画面を示す図。
【図9】地図ウィンドウの拡大図。
【図10】シナリオ保存画面を示す図。
【図11】(a)は基地圏検討型ロジックにおいて基地直配エリアが作成されたようすを示す図であり、(b)は基地に所属可能なデポを選択するようすを示す図。
【図12】(a)及び(b)は基地圏検討型ロジックにおいて基地に所属する各デポの配達エリアが作成されたようすを示す図。
【図13】(a)は2以上のデポに重複して所属する販売店が有る場合の調整処理のようすを示す図であり、(b)は2以上のデポに重複して所属する販売店がある場合の調整処理が終了し、配達エリアが作成されたようすを示す図。
【図14】基地圏検討型ロジックにおいて中央処理装置が行なう処理の流れを示すフローチャート。
【図15】基地圏検討型ロジックによる処理のサブルーチンである基地直配エリア作成処理において中央処理装置が行なう処理の流れを示すフローチャート。
【図16】基地圏検討型ロジックによる処理のサブルーチンであるデポ配達エリア作成処理において中央処理装置が行なう処理の流れを示すフローチャート。
【図17】図16に示すフローチャートの続きを示す図。
【図18】デポ配達エリア作成処理のサブルーチンである重複確認処理において中央処理装置が行なう処理の流れを示すフローチャート。
【図19】デポ配達エリア作成処理のサブルーチンである重複所属調整処理において中央処理装置が行なう処理の流れを示すフローチャート。
【図20】(a)は拠点積み上げ型ロジックを説明するための基地、デポ、販売店が点在するようすを示す概念図であり、(b)は拠点積み上げ型ロジックにおいて各拠点の直配エリアが作成されたようすを示す概念図。
【図21】拠点積み上げ型ロジックにおいて基地が拠点所得範囲のデポを選択し、配達エリアが作成されるようすを示す概念図。
【図22】拠点積み上げ型ロジックにおいて中央処理装置が行なう処理の流れを示すフローチャート。
【図23】拠点積み上げ型ロジックによる処理のサブルーチンである拠点直配エリア作成処理において中央処理装置が行なう処理の流れを示すフローチャート。
【図24】拠点直配エリア作成処理のサブルーチンである重複確認処理において中央処理装置が行なう処理の流れを示すフローチャート。
【図25】拠点積み上げ型ロジックによる処理のサブルーチンであるデポ取り込み処理において中央処理装置が行なう処理の流れを示すフローチャート。
【図26】(a)はシングル輸送における作業時間の内訳を示す図であり、(b)はシングル輸送におけるルート配送のようすを示す図。
【図27】(a)はピストン輸送における作業時間の内訳を示す図であり、(b)はピストン輸送におけるルート配送のようすを示す図。
【図28】算定処理において中央処理装置が行なう処理の流れを示すフローチャート。
【図29】拠点情報のデータ項目を示す図。
【図30】販売店情報のデータ項目を示す図。
【図31】行政区テーブルが有するデータ項目を示す図。
【図32】(a)は都会における距離に対応した速度グラフを示す図であり、(b)は田舎における距離に対応した速度グラフを示す図。
【図33】拠点から時間を算出する処理の流れを示すフローチャート。
【図34】店間時間を算出する処理の流れを示すフローチャート。
【符号の説明】
1 基地
1、2 拠点
2 デポ
3 販売店
4 中央処理装置
5 記憶装置
6 入力装置
7 WORK領域
8 出力装置
11a 拠点情報ファイル
11b 販売店情報ファイル
14 ケースフォルダ
16a 処理用拠点ファイル
16b 処理用販売店ファイル
17 シナリオ
201a…201f 配達エリア[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a system for simulating a delivery area for each of a plurality of delivery bases, and a program and method thereof.
[0002]
[Prior art]
In the logistics industry, many computer systems that create delivery schedules aimed at reducing logistics costs have already been disclosed. For example, Patent Literature 1, Patent Literature 2, and the like. These are systems that optimize a delivery schedule from one delivery base to a plurality of delivery destinations, and position the reduction of logistics costs as the reduction of lead time.
[0003]
[Patent Document 1]
JP-A-8-166939
[Patent Document 2]
Japanese Patent Laid-Open No. 9-311702
[0004]
[Problems to be solved by the invention]
On the other hand, when creating multiple delivery areas by assigning multiple delivery destinations to multiple delivery bases, in order to create the optimal delivery area from the viewpoint of reducing logistics costs, The viewpoint of efficient operation of delivery vehicles maintained at the delivery base is important.
[0005]
However, there has been no conventional computer-based delivery schedule system including the above-described invention that creates a delivery area from the viewpoint of the number of delivery vehicles. Accordingly, the optimal number of delivery vehicles in each delivery area, the number of cars adjusted between delivery areas, and the like must be carried out by complicated manual work, and enormous time and labor are required.
[0006]
Therefore, an object of the present invention is to provide a delivery area simulation system that simulates the number of courses of delivery vehicles in a delivery area in order to optimize delivery areas based on the number of delivery vehicles.
[0007]
[Means for Solving the Problems]
The present invention will be described below. In order to facilitate understanding of the present invention, reference numerals in the accompanying drawings are appended in parentheses, but the present invention is not limited to the illustrated embodiment.
[0008]
In the delivery area simulation system of the present invention, the delivery course of the delivery vehicle is delivered in a delivery area (201a) that delivers delivery items from one delivery base (2) to a plurality of delivery destinations (3... 3) by delivery vehicles. A delivery area simulation system for performing simulation related to the number of courses, the delivery destination identification information capable of mutually identifying the plurality of delivery destinations, and information relating to the delivery quantity of the delivery items at each of the plurality of delivery destinations; Information on each location of the plurality of delivery destinations, information on the number of deliveries for the delivery items at each of the plurality of delivery destinations, information on storefront time required for delivery at each of the plurality of delivery destinations, Correlate information about administrative district speeds at each of multiple delivery destinations A delivery destination information storage means (11b) for storing; a delivery base information storage means (11a) for storing information on the location of the delivery base and information on the administrative district speed of the delivery base; and Common information storage means (14a, 14b) for storing information relating to the working time and information relating to the loaded amount of the delivery vehicle, and the daily delivery time Ws based on the information relating to the working time. A delivery time calculating means (4a) for calculating, a distance between the delivery base and the plurality of delivery destinations from information relating to the location of the delivery base and information relating to each location of the plurality of delivery destinations; Based on the distance and the information about the administrative district speed of the delivery base, the time required for the delivery vehicle to travel between the delivery base and each of the plurality of delivery destinations is calculated. Based on the time calculation means (4b) from the base that calculates the time Dt from the base and the information on the location of each of the plurality of delivery destinations, the distance between each of the plurality of delivery destinations is obtained, Based on the distance and the information regarding the administrative district speed of the delivery destination corresponding to the distance, an average inter-store time St that is an average of the time required for the delivery vehicle to move from one delivery destination to another delivery destination is calculated. An inter-store time calculating means (4c), a store front time calculating means (4d) for calculating an average store front time Ot based on the information on the store front time of each of the plurality of delivery destinations, and the delivery vehicle having one course The delivery destination number calculating means (4e) for obtaining the delivery destination number Dn that can be delivered by the following formula:
[0009]
[Expression 12]
Figure 0004180957
[0010]
Based on information on the number of deliveries of each of the plurality of delivery destinations, the delivery destination total number calculating means (4f) for calculating the total number of delivery destinations Sn delivered by the delivery vehicle in a predetermined period, and the above formula based on the following formula A time course number calculating means (4g) for calculating the number of time courses Cnsh in a predetermined period;
[0011]
[Formula 13]
Figure 0004180957
[0012]
Based on the information on the number of deliveries of each of the plurality of delivery destinations and the information on the delivery quantity, the delivery quantity total Vn within the period of the delivery quantity delivered to each of the plurality of delivery destinations in the predetermined period. A physical quantity calculation means (4h) within a period to be calculated; a physical quantity course calculation means (4i) for calculating the physical quantity course number Cnsg in the predetermined period based on the following equation, where Bn is the load amount;
[0013]
[Expression 14]
Figure 0004180957
[0014]
The number of courses Cnsh and the quantity course number Cnsg are selected, and the course number determining means (4j) for determining the course number Cn of the delivery area is selected, thereby solving the above-mentioned problem To do.
[0015]
In the present invention, the number of delivery vehicles is calculated as the number of courses in a predetermined period. In this embodiment, one course is a collection of delivery destinations that can deliver one delivery vehicle per day, and the number of courses is simulated based on the following two aspects. One is the number of time courses Cnsh required for a predetermined period, calculated based on the total number of delivery destinations Sn delivered in a predetermined period and the number of delivery destinations Dn that can be delivered by one delivery vehicle per course. This is the number of courses based on the time limit based on the daily delivery time Ws. The other is the number of courses Cnsg required for a given period, calculated based on the total delivered quantity Vn within the period, which is the total delivered quantity delivered in a given period, and the load quantity Bn of one delivery vehicle. is there. This is the number of courses based on the physical limit of the load capacity Bn. Since one of the course number determining means is selected and the number of courses Cn of the delivery area is determined, it is possible to simulate the number of courses of the delivery vehicle in the delivery area. Even if there are multiple delivery areas, consider the number of courses and the number of delivery destinations belonging to all delivery areas by simulating the number of courses for each delivery area. Can do. For example, the number of necessary delivery vehicles can be obtained from the calculated number of courses, and the number of delivery vehicles currently owned at the delivery base can be compared with the number of necessary delivery vehicles. If there are more vehicles owned than simulated, there will be extra delivery vehicles. Therefore, it can be a consideration for reducing the number of owned vehicles or increasing the number of delivery destinations.
[0016]
The course number determining means may select a larger one of the time course number Cnsh and the physical quantity course number Cnsg. As a result, it is possible to always obtain the number of courses Cn satisfying both time restrictions and physical quantity restrictions.
[0017]
The delivery time calculation means may be a time obtained by excluding work (46, 48) and rest time (47) at the delivery base from work time based on information on the work time. As a result, the daily delivery time Ws can be set to a time during which delivery by a delivery vehicle is actually performed.
[0018]
Among the plurality of delivery destinations, select the plurality of delivery destinations satisfying a condition for being a target of piston transportation in which the delivery work of the delivery items is performed a plurality of times in one course at the delivery base. The plurality of delivery destinations as piston transportation targets, and having a piston target selection means (4k) that makes it possible to distinguish from the plurality of delivery destinations not selected for normal transportation, in the delivery time calculation means, The daily delivery time Wp corresponding to the piston transportation is calculated in consideration of the time according to the number of loading operations at the delivery base, and the time calculation means, the inter-store time calculation means, and the storefront time are calculated from the base. In each of the calculating means, the total delivery number calculating means, and the in-period-quantity calculating means, the plurality of delivery destinations and the normal transport targets that are targets of the piston transport The plurality of delivery destinations are processed separately from each other, and the delivery destination number calculating means calculates the delivery destination number Dn corresponding to the piston transportation in addition to the delivery destination number Dn corresponding to the normal transportation. From the base corresponding to the piston transportation, based on the time Dt, the average inter-store time St, and the average store front time Ot, the following formula is obtained.
[0019]
[Expression 15]
Figure 0004180957
[0020]
In addition to the time course number Cnsh corresponding to the normal transportation, the time course number calculation means calculates the time course number Cnph corresponding to the piston, the delivery destination total number Sn and the delivery destination number corresponding to the piston transportation. The quantity course number calculating means calculates the quantity course number Cnpg corresponding to the piston transportation, in addition to the quantity course number Cnsg corresponding to the normal transportation, in the period corresponding to the piston transportation. Based on the total amount of delivered goods Vn, calculate by the following formula,
[0021]
[Expression 16]
Figure 0004180957
The course number determining means selects the course number Cns corresponding to the normal transportation and the course number Cnp corresponding to the piston transportation, and the course number Cns and the piston transportation corresponding to the selected normal transportation. And the total number of courses may be determined as the number of courses Cn in the delivery area.
[0022]
As a result, in addition to the transportation form in which one return is carried out after one loading operation, the delivery form in which the loading operation is performed several times during one course and multiple return places are made at the delivery base. You can also simulate the number of delivery car courses.
[0023]
Under the above condition, when a plurality of combinations of the plurality of delivery destinations to be subjected to the piston transportation and the plurality of delivery destinations to be subjected to the normal transportation are established, The total number of courses may be calculated for each of the combinations, and among the calculated total number of courses, the minimum number of total courses may be determined as the number of courses Cn in the delivery area.
[0024]
As a result, the most efficient combination can be determined from the viewpoint of the number of courses of the delivery vehicle among the plurality of delivery destinations to be subjected to normal transportation and the plurality of delivery destinations to be subject to piston transportation.
[0025]
The time required for the movement may be obtained based on the speed in consideration of the environment of the place where the delivery vehicle delivers and the moving distance. As a result, it is possible to obtain the travel time and travel distance of the delivery vehicle according to the environmental difference between the city and the countryside and the travel distance, and the result of the simulated number of courses is closer to the actual.
[0026]
The delivery area simulation program of the present invention provides a delivery course for the delivery vehicle in a delivery area (201a, 201b) that delivers a delivery item from one delivery base (2) to a plurality of delivery destinations (3... 3) by a delivery vehicle. A delivery area simulation program for causing a computer to function as a means for performing a simulation on the number of courses of the computer, wherein the computer includes delivery destination identification information capable of mutually identifying the plurality of delivery destinations and each of the plurality of delivery destinations. Information regarding the amount of deliveries for the delivery items, information regarding the locations of the plurality of delivery destinations, information regarding the number of deliveries for the deliveries at each of the plurality of delivery destinations, Information on the storefront time for each delivery, and the plurality Delivery base information storing means (11b) for storing the administrative district speed in each of the delivery destinations in association with each other, and delivery base information for storing information on the location of the delivery base and information on the administrative district speed of the delivery base. Common information storage means (14a, 14b) for storing storage means (11a), information relating to work time relating to delivery of the delivery goods, and information relating to a load amount of the delivery vehicle for the delivery goods, From the delivery time calculation means (4a) for calculating the delivery time Ws per day based on the information on the work time, the information on the location of the delivery base and the information on the location of each of the plurality of delivery destinations, The distance between the plurality of delivery destinations is obtained, and the delivery vehicle is based on the distance and the information about the administrative district speed of the delivery base. Based on the time calculation means (4b) from the base that calculates the time Dt from the base that is the average of the time required for movement between the destination base and each of the plurality of delivery destinations, and information on the location of each of the plurality of delivery destinations Determining the distance between each of the plurality of delivery destinations, and based on the distance and the information about the administrative district speed of the delivery destination corresponding to the distance, the delivery vehicle moves from one delivery destination to another delivery destination. The average storefront time Ot is calculated based on the storefront time calculation means (4c) for calculating the average storefront time St that is the average of the time required to move to and the information on the storefront time of each of the plurality of delivery destinations. A storefront time calculating means (4d) for calculating, a delivery destination number calculating means (4e) for obtaining a delivery destination number Dn that the delivery vehicle can deliver in one course, based on the following equation;
[0027]
[Expression 17]
Figure 0004180957
[0028]
Based on the information on the number of deliveries of each of the plurality of delivery destinations, based on the following equation, delivery destination total number calculating means (4f) for calculating the total number of delivery destinations Sn delivered by the delivery vehicle in a predetermined period, and A time course number calculating means (4g) for calculating the number of time courses Cnsh in the predetermined period;
[0029]
[Expression 18]
Figure 0004180957
[0030]
Based on the information on the number of deliveries of each of the plurality of delivery destinations and the information on the delivery quantity, the delivery quantity total Vn within the period of the delivery quantity delivered to each of the plurality of delivery destinations in the predetermined period. A physical quantity calculation means (4h) within a period to be calculated; a physical quantity course calculation means (4i) for calculating the physical quantity course number Cnsg in the predetermined period based on the following equation, where Bn is the load amount;
[0031]
[Equation 19]
Figure 0004180957
[0032]
By selecting one of the number of time courses Cnsh and the quantity course number Cnsg and functioning as a course number determination means (4j) for determining the number of courses Cn of the delivery area, the above problem can be achieved. Resolve. The delivery area simulation system according to claim 1 can be realized by causing the computer to execute this program.
[0033]
In the delivery area simulation method of the present invention, the delivery vehicle is delivered in the delivery areas (201a, 201b) that deliver the delivery items from one delivery base (2) to a plurality of delivery destinations (3... 3) by delivery vehicles. A delivery area simulation method for simulating the number of courses in a course, the delivery destination identification information capable of mutually identifying the plurality of delivery destinations, and information relating to the delivery quantity of the delivery items at each of the plurality of delivery destinations Information regarding each location of the plurality of delivery destinations, information regarding the number of deliveries for the delivery items at each of the plurality of delivery destinations, and information regarding storefront time required for delivery at each of the plurality of delivery destinations, , And information on administrative district speeds at each of the plurality of delivery destinations. Storing information, information on the location of the delivery base and information on the administrative district speed of the delivery base, information on work time related to delivery of the delivery, and the delivery of the delivery vehicle A procedure for storing information on the load amount of the vehicle, a procedure for calculating a delivery time Ws per day based on the information on the work time, information on the location of the delivery base, and each location of the plurality of delivery destinations And determining the distance between the delivery base and the plurality of delivery destinations from the information, and based on the distance and the information regarding the administrative district speed of the delivery base, the delivery vehicle determines the delivery base and the plurality of deliveries. Based on the procedure for calculating the time Dt from the base that is the average of the time required for traveling with each of the destinations, and information on the location of each of the plurality of delivery destinations A distance between each of the plurality of delivery destinations is obtained, and based on the distance and information on the administrative district speed of the delivery destination corresponding to the distance, the delivery vehicle is transferred from one delivery destination to another delivery destination. A procedure for calculating an average inter-store time St that is an average of time required for movement, a procedure for calculating an average storefront time Ot based on information on the storefront time of each of the plurality of delivery destinations, and the delivery vehicle The procedure for obtaining the number of delivery destinations Dn that can be delivered in one course based on the following formula:
[0034]
[Expression 20]
Figure 0004180957
[0035]
A procedure for calculating the total number of delivery destinations Sn delivered by the delivery vehicle in a predetermined period based on information on the number of deliveries of each of the plurality of delivery destinations, and the number of time courses in the predetermined period based on the following formula: A procedure for calculating Cnsh;
[0036]
[Expression 21]
Figure 0004180957
[0037]
Based on the information on the number of deliveries of each of the plurality of delivery destinations and the information on the delivery quantity, the delivery quantity total Vn within the period of the delivery quantity delivered to each of the plurality of delivery destinations in the predetermined period. A procedure for calculating, and a procedure for calculating the quantity course number Cnsg in the predetermined period based on the following formula with the load amount as Bn:
[0038]
[Expression 22]
Figure 0004180957
[0039]
The above-mentioned problem is solved by causing a computer to execute one of the time course number Cnsh and the quantity course number Cnsg and selecting the course number Cng as the course number in the delivery area. The delivery area simulation system of claim 1 can be realized by causing the computer to execute the delivery area simulation method.
[0040]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a base 1... 1 as a plurality of delivery bases, a depot 2... 2 as a plurality of delivery bases, and sales stores 3. Note that the delivery base does not have to be the depot 2 that is the delivery relay point. If there is no delivery relay point, the delivery base that is the delivery source is the delivery base. A base 1 is represented by a convex shape, a depot 2 is represented by a square shape with numbers, and a store is represented by other circular or house-shaped shapes. In this embodiment, as shown in FIG. 1, when there are a plurality of bases 1... 1, a plurality of depots 2... 2 and a plurality of stores 3. Will be described by way of example in the case of delivering to the dealer 3 via the depot 2. However, the depots 2... 2 belong to only one of the bases 1, and each store 3... 3 delivers the cigarette delivered from the base 1. In some cases, delivery from the base 1 directly to the stores 3.
[0041]
“Delivery area” means the area of the sales outlets 3... 3 where the cigarettes are delivered from the bases 1 and 2. In particular, the area of the sales outlets 3. The area directly called this area and the area of the dealers 3... 3 where the cigarettes sent from the base 1 are delivered via the depots 2. Further, the area of the stores 3... 3 where the cigarettes are directly delivered from the depot 2 is referred to as “depot delivery area”. A store 3 to which tobacco is directly delivered from the depot 2 is called “belongs to the delivery area of the depot 2” or “belongs to the depot 2”, and the depot that delivers the tobacco sent from the base 1 to the store 3 2 is referred to as “belonging to base 1”. In this embodiment, “delivery bases 1 and 2” or “bases 1 and 2” means a concept including the base 1 and the depot 2. The computer system based on the present embodiment is referred to as the present system, and the creation of a delivery area for the base 1 or the depot 2 by the present system is referred to as processing by the present system. In addition, the process for creating a delivery area is sometimes referred to as division processing or division. Unless otherwise stated, delivery means route delivery by transport truck.
[0042]
FIG. 2 shows an example of a system configuration in the present invention. The central processing unit 4 of the computer is connected so as to be able to transmit and receive data to and from an input device 6 as input means, a WORK area 7 in which data processing relating to delivery area creation is performed, and an output device 8 as output means. . The connection between the devices 4, 5, 6, 7, and 8 may be wireless or wired.
[0043]
The input device 6 corresponds to a keyboard, a mouse or the like, and refers to a device having a function of allowing a user to appropriately input data necessary for processing by the system and sending the data to the central processing unit 4. As input data, there are selection data of areas to be divided and delivery bases 1 and 2 and various parameter values that can be changed. The output device 8 is a device that outputs the contents input by the input device 6 and the processing results performed in the WORK area 7, and is a device that outputs in a form that can be visually recognized by a human, such as a monitor or a printer. In addition, it includes a case where the data is output to an optical disk or hard disk in a format recognized by an electromagnetic method.
[0044]
The storage device 5 stores various programs 5a and a home folder 5b necessary for realizing processing by the present system. The home folder 5b is a folder secured as a place for storing various data used in processing by the system. Details of various data stored in the home folder 5b will be described later.
[0045]
The WORK area 7 is a memory area in which data necessary for creating a delivery area and a necessary program are read as processing data from the home folder 5b and division processing is performed. The storage device 5 is connected to the WORK area 7 so that data can be transmitted and received. The WORK area 7 does not need to be a single memory area, and includes a case where a plurality of memory areas function as the WORK area 7, and is a general term for an area for temporarily storing data. The WORK area 7 and the central processing unit 4 appropriately read data from the storage device 5 according to a program read into the WORK area 7 and execute division processing.
[0046]
The central processing unit 4 is configured as a computer including a CPU and various peripheral circuits such as RAM and ROM necessary for its operation. In particular, as means for performing calculation processing, delivery time calculation means 4a, base-to-time calculation means 4b, inter-store time calculation means 4c, storefront time calculation means 4d, delivery destination number calculation means 4e, delivery destination total number calculation means 4f, number of hours The calculation means 4g, the in-period quantity calculation means 4h, the quantity quantity calculation means 4i, the quantity determination means 4j, and the piston target selection means 4k include the data inputted from the input device 6 and the data stored in the storage device 5. Based on this, processing by each means is executed, and the result is output to the output device 8.
[0047]
Next, the folder structure and various files stored in the home folder 5b will be described with reference to FIG. The file format is not limited as long as the processing by this system can be realized.
[0048]
The outline of the file structure in the present embodiment includes an administrative district table 10a as a master file of the system, a base information file 11a as a delivery base information storage means, and a store information file 11b as a delivery destination information storage means. There are processing file groups 16a... 16d as master files for performing division processing, and the processing results are stored in result file groups 17a. Therefore, if the contents of the master files 10a, 11a, and 11b are made to match the current conditions of the bases 1 ... 1, depots 2 ... 2, and the dealers 3 ... 3, various patterns are always obtained based on the current situation. A delivery area can be simulated. Hereinafter, the file configuration will be specifically described.
[0049]
In the present embodiment, a plurality of folders are managed by a hierarchical structure with the home folder 5b as a vertex. Immediately below the home folder 5b are master-related folders 10 ... 12 and case-related folders 13 ... 15, and under the case-related folder 14 are scenario-related folders 16 ... 18. A case is a unit in which the areas to be divided are the same, and a scenario is a unit of results of each process performed by changing various conditions for the division process in the same area.
[0050]
The folders 10... 12 related to the master file will be described. The folders 10... 12 related to the master file include a MASTER folder 10 and a regional folder 11. The MASTER folder 10 stores and manages the administrative district table 10a and a plurality of regional folders 11.
[0051]
In each region folder 11, a base information file 11a and a store information file 11b are managed in a group for each region. The base information files 11a ... 11a store information about the bases 1 ... 1 and the depots 2 ... 2, and the store information files 11b ... 11b store information about each store 3 ... 3. For example, in the regional folder 11 in the Kyushu area, the base information file 11a having information on the bases 1 ... 1 and the depots 2 ... 2 existing in the Kyushu area and the dealer information having information on the dealers 3 ... 3 existing in the Kyushu area. A file 11b is stored. Information stored in the information files 11a and 11b will be described later. The plurality of regional folders 11... 11 may be stored and managed in the master folder group folder 12.
[0052]
The administrative district table 10a is a table that manages information related to the traveling speed of the transport truck of the delivery items in association with the regional information. Information managed in this administrative district table 10a will be described later.
[0053]
The case folders 13... 15 include a CASE folder 13 and a case folder 14. The CASE folder 13 stores and manages a scenario information file 13a and a plurality of case folders 14. The scenario information file 13a is a file that comprehensively manages information related to each scenario such as a scenario name and a scenario creation date. The case folder 14 is a folder created for each case, and each case folder 14 stores and manages a plurality of scenario folders 17... 17 and one scenario master folder 16. The plurality of case folders 14... 14 may be stored in the case folder group folder 15 and managed.
[0054]
The scenario master folder 16 stores processing file groups 16a to 16d that function as master files in the same case. The processing base file 16a is a processing master file in each case. In this embodiment, the data item of the processing base file 16a is treated as the same as the data item of the base information file 11a. However, the processing base file 16a may be formed by adding necessary data to the data item of the base information file 11a. A plurality of base information files 11a ... 11a may constitute one processing base file 16a. The processing base file 16a exists as a file that cannot be overwritten and is used as a master file many times in the case. The relationship between the processing store file 16b and the store information file 11b is the same as the relationship between the processing base file 16a and the base information file 11a.
[0055]
The processing statistical information file 16c is based on the processing base file 16a and the processing store file 16b, and for each base 1 and each depot 2, the number of sales stores 3 ... 3 belonging to that base 1 and depot 2, It is a file having statistical values such as the number of deliveries as information for confirming the operating status of the base 1 and the depot 2. For other files stored in the scenario master folder 16. There is a processing work file 16d for managing information necessary for work in the system, such as the position of the cursor, in real time.
[0056]
The scenario folder 17 ... 17 stores the execution result of each delivery area creation process. The scenario 17 is a result of processing performed on the processing file groups 16a to 16d in the scenario master folder 16. Result file groups 17a ... 17d are stored. The plurality of scenario folders 17... 17 may be stored together in the scenario folder group folder 18 and managed.
[0057]
As a file for storing common parameters common to each case, a JIS 11 information file 14a and a common parameter file 14b as common information storage means are provided for each case folder 14.
[0058]
Next, data items stored in the administrative district table 10a, the base information file 11a, and the store information file 11b, which are master files in the present embodiment, will be described. Each master file 10a, 11a, 11b may be created for this system, or data items common to other systems may be extracted from a master shared with other systems. .
[0059]
The administrative district table 10a is a table having information on the traveling speed of a truck in JIS5 units, and is stored directly in the MASTER 10 and managed. The data items of the administrative district table 10a are shown in FIG. The JIS5 code 400 is a five-digit land code by the Ministry of Home Affairs, and the administrative district speed 401 is the average running speed of the truck in the area corresponding to the JIS5 code 400. The city flag 402 is a flag for identifying whether the area corresponding to the JIS5 code 400 is a city or a country. In the present embodiment, 0 is set for the countryside and 1 is set for the city.
[0060]
The base information file 11a is a file having information on the bases 1 ... 1 and depots 2 ... 2 as data, and details of the data items are shown in FIG. Hereinafter, the data item shown in FIG. 29 is referred to as one record of the base information file 11a, and the data item included in the one record is referred to as base information. In particular, the base information regarding the base 1 is referred to as base information, and the base information regarding the depot 2 is referred to as depot information. Each data item will be described below.
[0061]
There is a base code 300. The base code 300 is a code attached to each delivery base 1 and 2 in order to identify the delivery bases 1 and 2 from each other. It is desirable to uniquely assign each delivery base 1 and 2 throughout the country. The base name 301 is the delivery base 1 or 2 corresponding to the base code 300 (hereinafter referred to as “the base 1 or 2” in the description of the data item of the base information. In particular, in the case of the data item related to the base 1, “the base 1”). In the case of a data item related to Depot 2, this is the name of “Depot 2”. The base attribute 302 is an identifier that can identify whether the bases 1 and 2 are the base 1 or the depot 2. For example, 1 for base 1 and 2 for depot 2. The base code 303 indicates the base code 300 of the base 1 to which the base 1 and 2 belong to the depot 2. The base code 300 in the case where the bases 1 and 2 are the base 1 does not need to be set, and is, for example, NULL. As information regarding the location of the delivery base, there are an X coordinate 304 and a Y coordinate 305. The X coordinate 304 and the Y coordinate 305 are an X coordinate and a Y coordinate that represent a place where the bases 1 and 2 exist in a calculation coordinate system. Used when calculating the distance between the bases 1 and 2. The straight line distance between two points refers to the length of the straight line obtained by connecting the positions specified by the X coordinate 304 and the Y coordinate 305 of each point with a straight line. The longitude 306 and the latitude 307 are values of longitude and latitude on the map of the place where the bases 1 and 2 exist, respectively. This is used when the output device 8 displays the bases 1 and 2 on a map. The JIS 11 code 308 is an 11-digit land code by the Ministry of Home Affairs where the bases 1 and 2 exist. The priority 309 refers to the priority of processing for creating a delivery area in the same base information file 11a. Only for the bases 1... Since the priority 309 of the depot 2 does not need to be set, it is set to NULL or 0, for example. The deliverable quantity 310 is a value indicating the delivery capability of the bases 1 and 2 and is the maximum number of cigarettes that the bases 1 and 2 can deliver per day. Hereinafter, in this embodiment, the unit related to the quantity is the number of cigarettes. The sortable amount 311 is a value indicating the secondary transport capability of the base 1. This is the number of cigarettes that can be sorted in a day for sorting cigarettes to Depot 2. The base direct distribution parameter 312 is a parameter for designating a range in which delivery is possible directly from the bases 1 and 2 in terms of time. The distance is calculated from the specified time and used as the distance condition when creating the delivery area. Hereinafter, the distance obtained from the base direct distribution parameter 312 is referred to as a direct distribution distance. A method for calculating the direct distribution distance will be described later. The area in the circle with the direct distribution distance as the radius around each base 1 and 2 is the area that can be directly distributed from each base 1 and 2 and is called the direct distribution area of that base 1 or 2, When the linear distance between the central bases 1 and 2 and the store 3 is shorter than the direct distribution distance, the store 3 exists in the direct distribution area of the bases 1 and 2. The number threshold 313 is the number of transport vehicles that the bases 1 and 2 actually need to operate at a minimum for one day. The number may not be the same as the delivery vehicles owned by the bases 1 and 2. If the number of transport vehicles operating on one day is less than this value, it indicates that the transport efficiency of the bases 1 and 2 is poor. The loading capacity 314 is the number of cigarettes that can be transported by one unit for the transportation trucks owned by the respective bases 1 and 2. The base acquisition upper limit 315 is the maximum value of the distance from the base 1 to the depot 2 to which the base 1 belongs. The base acquisition lower limit 316 is a minimum value of the distance necessary for the depot 2 belonging to the base 1 from the base 1. It may be equal to the base direct distribution parameter 312. The base acquisition upper limit 315 and the base acquisition lower limit 316 are also set as time values similarly to the base direct distribution parameter 312. A method for calculating the distance from the time value will be described later. The base acquisition upper limit 315 and the base acquisition lower limit 316 are set only for the bases 1. Therefore, when the bases 1 and 2 are the depot 2, for example, NULL is set. The administrative district speed 317 and the urban flag 320 are values set from the administrative district speed 401 and the urban flag 402 of the administrative district table 10a based on the JIS11 code 308, respectively. The piston condition: time 318 is a time condition for piston transportation, and the piston condition: quantity 319 is a quantity condition for piston transportation. Single transport is a delivery form in which a delivery vehicle leaves bases 1 and 2 and never returns to bases 1 or 2 during one course. Piston transport is a delivery vehicle that returns once to bases 1 and 2 during one course. A form of delivery. Details of these delivery modes will be described later.
[0062]
Of the base information, the base direct distribution parameter 312, the base acquisition upper limit 315, and the base acquisition lower limit 316 can be set when performing the division process. The piston condition: time 318, the piston condition: the quantity 319 may be the base information file 11a, and the load capacity 314 may be NULL if the values are common in the case, but a specific value is set for the bases 1 and 2 Is set.
[0063]
The store information file 11b is a file having information on the store 3 as data items, and details of the data items are shown in FIG. Hereinafter, the data items shown in FIG. 30 are referred to as one record of the store information file 11b, and the data items included in the one record are referred to as store information.
[0064]
Each data item will be described below. There is a store code 330 as delivery destination identification information. The store code 330 refers to a code assigned to each store 3 in order to identify each store 3 mutually, and is desirably uniquely assigned throughout the country. The dealer name 331 is the name of the dealer 3 (hereinafter referred to as “the dealer 3”) corresponding to the dealer code 330. The base code 300a indicates the base code 300 of the base 1 to which the store 3 belongs. The depot code 300b indicates the base code 300 of the depot 2 to which the store 3 belongs. In the case of the store 3 that directly belongs to the base 1, it is not necessary to set the depot code 300b, so it is set to NULL, for example. Further, in the case of the store 3 belonging to the depot 2, the base code 300 of the depot 2 to which the self belongs belongs is set in the depot code 300b, and the base code 300 of the base 1 to which the depot 2 belongs is set in the base code 300a. Is done. When the store 3 does not belong to any base 1... 1 or depot 2... 2, both the base code 300 a and the depot code 300 b are NULL.
[0065]
Information about the location of the delivery destination includes an X coordinate 332 and a Y coordinate 333. The X coordinate 332, the Y coordinate 333, the longitude 334, the latitude 335, the JIS11 code 336, the city flag 337, and the administrative district speed 344 are the same as those described for the base information. There is a quantity 338 per time as information on the quantity delivered. The quantity per item 338 means the quantity delivered to the store 3 for each delivery. The storefront time 339 is the time required for delivery work at the store 3. The number of monthly deliveries 340 as information on the number of deliveries is a value indicating how many times to deliver to the store 3 per month. In this embodiment, January is 4 weeks, 1 for delivery once every 4 weeks, 2 for once every 2 weeks, 4 once a week, 8 times a week, 8 weeks The setting is 12 for 3 days, 16 for 4 days a week, and 20 for every day. The store attribute 341 is an identifier for identifying the store attribute of the store 3. In this embodiment, there are convenience store, general, and collective as store attributes. The collective means an attribute for delivering deliveries to a plurality of stores 3. Hereinafter, the store 3 whose store attribute 341 is a convenience store is referred to as a convenience store, the general store 3 is referred to as a general store 3, and the collective store 3 is referred to as a collective store 3. Further, the store 3 in which the base code 300a, the depot code 300b, and the default affiliation code 343 described later are all NULL is referred to as a free store. The collective code 342 is an identification code of a collective store attached when the store attribute 341 of the store 3 is collective. The default affiliation code 343 indicates the base code 300 of the base 1 or depot 2 when the sales store 3 is the collective store 3 and the base 1 or depot 2 to which the affiliation belongs is determined by default. . Even in the case of the collective store 3, the default affiliation code 343 may not be set. If it is not set, for example, NULL is set. The frequency weighting 345 is a value obtained by dividing the monthly delivery frequency 340 by four. In other words, it is a value obtained by converting the number of monthly deliveries into weekly units. The number-weighted delivery quantity 346 is a value obtained by multiplying the quantity 338 per time by the number-weighted weight 345. For example, when 500 pieces are delivered once every two weeks, the number-weighted delivery 345 is 2/4 = 0.5. Thus, the number-weighted delivery amount 346 is 500 × 0.5 = 250 / week. This corresponds to a value obtained by leveling the delivery amount for the store 3 on a weekly basis. When the number of deliveries is contracted with the store 3 on a monthly basis, this value is used as the value of the delivery quantity per week. The delivery form 347 is an identifier for identifying whether the delivery from the delivery bases 1 and 2 is fixed route delivery or home delivery. The fixed route type delivery refers to a delivery form in which a route is set in advance for delivery, and delivery is performed according to the route, and home delivery refers to a delivery form using a courier service. The piston section 348 is an identifier for identifying whether the delivery to the store 3 is delivery by piston transportation or single transportation.
[0066]
In the present embodiment, the processing statistical information file 16c includes a base statistical file and a calculation statistical file. As the data items of the site statistics file, the number of single stores, the number of weighted stores, the weighted quantity, the calculated number of units and the number of home delivery for each site 1 and 2 are set according to store attributes, and a total is provided. Establish the total and total total of the number of single stores, the number of weighted stores, the amount of weighted items by delivery type. In the present embodiment, the number of single stores refers to the average number of stores delivered in one week including home delivery. The number of weighted stores is equal to the sum of the number of times weighted 345 of each store 3, and for example, when delivering to the same store 3 twice a week, the number of stores is two. The weighted quantity is equal to the sum of the number of times weighted delivery quantity 346 of each store 3.
[0067]
Next, the actual operation flow of this system will be described. In this embodiment, Windows (registered trademark) of Microsoft Corporation is used as the OS of the computer, but the OS of the computer is not limited to this. The display of the screen described below can be displayed by a normal method from a menu bar or a tool bar displayed at the upper part of the screen by the mouse 4 or the keyboard 4, and thus the description of the display method is omitted.
[0068]
Hereinafter, the MASTER folder 10 and the CASE folder 13 exist in the home folder 5b, and the MASTER folder 10 stores the regional folder 11 in which the base information file 11a and the store information file 11b for the Kyushu district are stored. In this case, a method for simulating a delivery area in the Kyushu region will be described.
[0069]
First, the case folder 14 is created. The case folder 14 is created on the new case creation screen shown in FIG. A list of area names of the area masters 20 that have already been registered is displayed in the registered area list column 40, so that a check is input for the area to be processed. In the case name 41, a name to be given to this case is input. The case name 41 becomes the folder name of the case folder 14 as it is. FIG. 4 shows a case where “Kyushu” is selected as a processing target and only the case name 41 is input as “Test” when only the regional master 20 of “Kyushu” is already registered. Hereinafter, a case name 41 of “Test” is referred to as a case test, and a case folder 14 having a folder name of “Test” is referred to as a test folder 14. When a plurality of area masters 20... 20 are registered, if all the area names to be processed are checked from the area names displayed in the registered area list column 40, a plurality of areas are designated as delivery areas. It can be specified as an object to be simulated.
[0070]
When the “Next” button 42 is selected, the in-case common parameter setting screen shown in FIG. 5 is displayed. What can be set here is a common parameter in the case test for the calculation process. The calculation process is a process of calculating the number of courses required for each of the bases 1 and 2 after the sales shops 3 to 3 belonging to the respective bases 1 and 2 are determined. There are two types of parameters necessary for the calculation process: a time parameter and a calculation parameter.
[0071]
The time parameters are as follows: The daily work time 45 required for the calculation process refers to the standard working time of the worker per day. The loading time 46 is the time required for loading the cigarette on the transport truck. The break time 47 is a break time given to the worker during the work time 45, and the post-return work time 48 is a time when the worker finishes the delivery and works after the return. In consideration of the case of piston transportation, the loading time 46 × 2 + break time 47 + working time 48 after return 48 ≦ working time 45 for one day must be set.
[0072]
The calculation parameters are as follows. The load capacity 49 is the number of cigarettes that can be loaded on the transport truck. The quantity coefficient 50 is a value for changing the delivery quantity, and takes a numerical value between 0 and 1. By this physical quantity coefficient 50, the load capacity 49 can be adjusted when it is desired to increase or decrease due to temporary circumstances. Although it is usually 1, for example, when the load amount becomes about 70% due to the year-end and New Year circumstances, by setting 0.7, the load amount is calculated as a normal case of 70%.
[0073]
The piston time condition 51 specifies a distance condition for piston transportation. Specifically, the range of travel time between the stores 3... 3 and the bases 1 and 2 to be subjected to piston transportation is designated by an upper limit value and a lower limit value. The piston quantity condition 52 specifies the quantity condition for piston transportation. Specifically, the range of the number-weighted delivery amount 346 of each store 3... 3 to be subjected to piston transportation is designated by an upper limit value and a lower limit value. Details of the calculation process will be described later.
[0074]
When the “Create” button 53 is selected, the Test folder 14 is created. When the test folder 14 is newly created, the scenario master folder 16 is created in the created test folder 14 with the folder name “MASTER”. Further, in this scenario master folder 16, the processing base file 16a and the processing dealer file 16b used in the case test are stored in the regional folder 11 of the folder name “Kyushu”. Each is created from the information file 11b. At this time, the other processing files 16c and 16d are also created and stored. Further, a JIS 11 information file 14 a and a common parameter file 14 b are also created and stored in the Test folder 14. The JIS11 information file 14a is a file for managing JIS11 information. In the common parameter file 14b, the values 45... 55 set on the in-case common parameter setting screen (FIG. 5) are stored as parameters common to the case test. However, the calculation parameters can be changed for each site 1 and 2 on a common parameter change screen (not shown). Each changed value is stored as data of a corresponding item in the base information.
[0075]
When the Test folder 14 is created, the current status is displayed for the contents based on the processing files 16a ... 16d in the scenario master folder 16, that is, the base 1 ... 1, depot 2 ... 2, and the store 3 ... 3. The Detailed description of this display screen will be described later.
[0076]
Next, a procedure for setting a division condition and simulating a delivery area based on the current situation will be described.
[0077]
First, a division logic is selected on the division logic selection screen shown in FIG. In the present embodiment, “base area examination type” and “base accumulation type” are prepared as the division logic. The “base area review type” is a division method that creates a delivery area that makes the best use of the delivery capability of each base 1, and the “base accumulation type” makes use of the delivery capabilities of bases 1... 1 and depot 2. This is the division method. A detailed description of each logic will be described later.
[0078]
When the “base area consideration type” logic is selected, the base area examination type button 60 is selected, and when the “base area examination type” logic is selected, the base area accumulation type Step 1 button 61 is selected. When division processing is performed by the “base stacking type” logic, the base stacking type Step 2 can be selected only after the base stacking type Step 1 is executed. When the “Next” button 62 is selected, a division condition setting screen is displayed. If a division condition to be described later is not specified, the division process is started by selecting the “Register” button 63.
[0079]
The division setting screen is shown in FIG. Bases 1... 1 and depots 2... 2 registered in the processing base file 16 a are listed in the base list 70. That is, in this embodiment, since the case Test is a case where only “Kyushu” is selected as a region, the bases 1... 1 and the depots 2. In the site list 70, each of the sites 1... 1, 2... 2 that is checked is subject to division processing, and the division processing is executed assuming that the sites 1. The For example, this is effective when a delivery area is simulated assuming that the base 1 and the depot 2 which are considered unnecessary are not present. In FIG. 7, all the displayed bases 1, 1, 2,... 2 are checked, and the cursor is on “Kumamoto”. When the “select all” button 71 on the screen is selected, a check is input to all sites 1... 1, 2... 2 displayed in the site list 70, and when the “cancel all” button 72 is selected, the check is displayed on the site list 70. All sites 1 ... 1, 2 ... 2 are unchecked. The site-specific parameters are items that can be changed in the base information as the division condition. In this embodiment, the base direct distribution condition 312, the base acquisition upper limit 315, and the base acquisition lower limit 316 are set as changeable parameters in the base information. It can be changed for each of the bases 1 and 2, and the values of the base-specific parameters 312, 315 and 316 for the bases 1 and 2 where the cursor is positioned can be input from the corresponding input fields 73. If each item 312, 315, 316 is already set, its value is displayed in the corresponding input field 73 ... 75. The base acquisition upper and lower limits 315 and 316 are effective when the bases 1 and 2 where the cursor is positioned are the base 1. The base direct distribution condition 312 on the division condition setting screen corresponds to the value of the base direct distribution parameter 312 of the base information. As shown in FIG. 7, when “90” is entered, the range in which the transport truck can travel within 90 minutes one way from the bases 1 and 2 is specified as the distance condition of the area directly delivered from the bases 1 and 2. become. In the present embodiment, the distance range is specified by time, and the time specified in the system is converted into distance. This conversion method will be described later.
[0080]
The free store process 76 is a process for the store 3 that does not belong to any of the bases 1 and 2 as a result of the division process. If “belonging to the nearest base” is selected, the user can be forced to belong to the base 1 with the shortest distance, and the delivery form 347 in this case is set to “home delivery”. If “manually set” is selected, it is processed as an affiliated store 3 and the user can freely set the affiliated company. FIG. 7 shows a state where “manual setting” is selected. Even when “belonging to the nearest base” is selected, it is possible to manually change the affiliation setting after the division process. When the “Set to other sites” button 77 is selected, the division conditions 73... 76 displayed on the screen are set for all the sites 1... 1, 2. .
[0081]
When the “Register” button 78 is selected on the division setting screen (FIG. 7), division processing is performed based on the set division condition. First, the processing file groups 16a... 16d in the scenario master folder 16 are copied to the WORK area 7, and processing file groups 16a ′. Hereinafter, the processing base file 16a, the processing dealer file 16b, the processing statistical information file 16c, and the processing operation information file 16d copied to the WORK area 7 are referred to as a processing base file 16a ′ and a processing dealer file, respectively. 16b ′, a processing statistical information file 16c ′, and a processing operation information file 16d ′. The division processing is executed according to the selected division logic and the set division condition for the copied processing base file 16a 'and processing dealer file 16b'.
[0082]
When copying each file 16a... 16d to the WORK area 7, if some bases 1... 1 and depots 2... 2 are selected as processing targets, the selected bases 1. 2 may be provided with a processing target flag in the processing base file 16a ′, or only base information about the bases 1 ... 1 and depots 2 ... 2 selected as processing targets is extracted from the base information file 16a. Thus, the processing base file 16a ′ may be used.
[0083]
When the division process is completed, a map window 80, a statistical information window 81, a management tree window 82, and an information window 83 shown in FIG. The contents of each window reflect the result of the division process.
[0084]
The statistical information window 81 lists statistical information in a tabular form for each of the sites 1 and 2 based on the processing statistical information file 16c.
[0085]
In the management tree window 82, the case name and scenario name currently being processed and the interrelationship between the bases 1 ... 1 and the depots 2 ... 2 are displayed in a tree shape. FIG. 8 shows a case where the case name is “Test” and the scenario name is “MASTER”. When other cases are already stored, the other cases can be selected from the combo box 82a. If a plurality of scenarios are already stored, check the check box 82b of the scenario name to be displayed, and the processing result managed by the scenario name is displayed in each window 80, 81. . In each scenario, bases 1 ... 1 are displayed in order of priority 309.
[0086]
The information window 83 displays information about each node (scenario, bases 1, 2 and store 3) selected in the management tree window 82. For the scenario, the date and time of creation and comments of the scenario information 13a are displayed. For the bases 1 and 2 and the store 3, the base information, store information, and statistical information held by the processing files 16a, 16b, and 16c. Is displayed.
[0087]
Based on the processing base file 16a and the processing store file 16b, the map window 80 displays a state in which the current affiliations of the bases 1 ... 1, depots 2 ... 2 and the stores 3 ... 3 are expanded on the map. Is done.
[0088]
The map window 80 will be described with reference to the enlarged map window 80 shown in FIG. In the map window 80, each of the created delivery areas is displayed in different colors based on the processing base file 16a ′ and the processing store file 16b ′ that are the result of the division processing. That is, the depots 2 ... 2 and the stores 3 ... 3 belonging to the same base 1 are displayed in the same color. In addition, the shapes of the bases 1... 1, the depots 2. Further, the shapes of the stores 3... 3 are usually displayed in different shapes depending on the types of home delivery and free. “Normal” means that the delivery form is route transportation by a transport truck, “delivery” means the case where the delivery form is by courier, and “free” means a state that does not belong to any of the bases 1 and 2. In this embodiment, the toe-shaped icons 90 ... 90 indicate the base 1 ... 1, the squares 91 ... 91 on which numbers are displayed indicate the location of the depot 2 ... 2, and the house-type icons 92 ... 92 indicate the home delivery store 3 .. 3, a cross icon 93... 93 indicates a free store 3... 3, and other icons 94... 94 indicate a normal store 3. The normal stores 3... 3 are displayed in several shapes, but the stores 3... 3 belonging to the same depot 2 are displayed in the same shape. The numbers displayed on the bases 1... 1 indicate the priority 309, and the numbers displayed on the depots 2. The displayed color and shape can be changed as appropriate within the system.
[0089]
After selecting one or more stores 3... 3 and selecting the selected store details tab 95, the store information of the selected store 3... 3 can be listed based on the processing store file 16b ′. . As a selection method of the plurality of sales shops 3... 3, the sales shop to be selected may be specified by surrounding it with a rectangle or the like with a mouse.
[0090]
When saving the result of the division processing as a scenario, the scenario saving screen shown in FIG. 10 is displayed, the scenario name is entered in the scenario name input field 96 and the “save” button 92 is selected. FIG. 10 shows a state where “scenario 1” is designated as the scenario name. This scenario name becomes the folder name of the scenario folder 17 as it is. As a result, the files in the processing file group 16a ′... 16d ′ are stored in the “scenario 1” folder as result file groups 17a. If there is a scenario already stored, it is displayed in the scenario list 98. The result of the saving process is immediately reflected in the management tree window 82.
[0091]
Furthermore, when creating a delivery area with different division conditions, it can be easily created by displaying the above-described division condition setting screen (FIG. 7) and changing the division conditions. For example, the scenario name can be saved as “scenario 2” with the result created under the different division conditions.
[0092]
In addition to the above division conditions, new delivery bases 1 and 2 can be added to or deleted from the processing base file 16a ', and base information for specific delivery bases 1 and 2 can be changed. is there. This function is effective when simulating a delivery area in order to examine the capabilities and locations of new bases 1 and 2. In the addition of the delivery bases 1 and 2, the base code 300, the base name 301, the base attribute 302, the JIS11 code 308, the priority 309, the deliverable quantity 310, and the number threshold 313 are set on the base addition screen (not shown). In the case of the base 1, if the sortable quantity 311 is also set, and the position on the map is designated with the mouse in the map window 80, the records for the new bases 1 and 2 are added to the contents of the processing base file 16a ′. Is done.
[0093]
Deletion and setting change can be performed by deleting the bases 1 and 2 and changing the settings in the processing base file 16a ′ by specifying the base code 300 to be deleted on the base deletion screen (not shown).
[0094]
In this embodiment, after the delivery area is created, the statistical values for the number of single stores, the number of weighted stores, and the weighted quantity are calculated for each general store, convenience store, and the total for each base 1 and 2. The statistical information file for processing 16c ′ is set, and the result is displayed in the statistical information window 81. Note that the statistical value may be calculated after the processing result if it is a table-like file format, or may be a method in which an addition variable is prepared and added during processing.
[0095]
Next, the two division logics in this embodiment will be described in detail. As described above, in this embodiment, “base area consideration type” and “base accumulation type” division logic can be selected.
[0096]
First, the contents of the logic of the “base area examination type” will be described with reference to FIGS. 11 to 13. For convenience of explanation, the base direct delivery area 100a of the base 1a and the depot delivery area 201a of the depot 2a belonging to the base 1a have already been determined, and the base delivery area 210a of the base 1a has already been formed. A case where a delivery area is created will be described. In the present embodiment, the division processing is performed in descending order of the priority 309 of the bases 1. Therefore, the base 1a has a higher priority 309 than the base 1b.
[0097]
First, the base direct distribution area 100b of the base 1b is created. FIG. 11 (a) is a conceptual diagram showing that sales outlets 3a ... 3e included in the direct distribution area of the base 1b belong to the base direct distribution area 100b of the base 1b. The regular hexagon indicates the position where the base is located, the regular triangle indicates the position where the depot 2 is located, and the small circle indicates the position where the store 3 is located. If the default store belongs to the base 1b, the collective store 3x belongs to the base direct distribution area 100b of the base 1b even if it does not exist in the direct distribution area 100b of the base 1b. In the “base area study type” logic in the present embodiment, the physical quantity condition at the time of creating the base direct distribution area is not particularly set, but if necessary, the physical quantity limit may be set as appropriate.
[0098]
Next, the depots 2 ... 2 that can belong to the base 1b are specified. A donut-shaped area obtained from a circle whose radius is a distance obtained from the base acquisition upper limit 315 by the method described later from the base 1b and a circle whose radius is a distance obtained by the method described later from the base acquisition lower limit 316 Depots 2b... 2f existing in 102 are depots 2 that can belong to the base 1b. When the linear distance between each depot 2 and the base 1b is longer than the radius obtained from the base acquisition lower limit 316 and shorter than the radius obtained from the base acquisition upper limit 315, the depot 2 is in the base acquisition range of the base 1b. Hereinafter, the donut-shaped area 102 is referred to as a base acquisition range 102, and the depots 2b... 2f existing in the base acquisition range 102 are referred to as affiliable depots 2b. FIG. 11B is a conceptual diagram showing that the depots 2b to 2f are the depots to which the base 1b can belong.
[0099]
After the affiliable depots 2b... 2f are identified, a depot delivery area for each depot 2b. In this embodiment, each division process of the affiliable depots 2b... 2f is performed in the order from the shortest distance to the base 1b. However, the order of the division processes is not limited to this, and the depots 2b. The priorities may be set separately.
[0100]
Since the depot 2c of the depots 2c ... 2f is closest to the base 1b, a delivery area is created first. FIG. 12A is a conceptual diagram showing the direct distribution area 200c and the depot delivery area 201c of the depot 2c. In the depot delivery area 201c of the depot 2c, stores 3f... 3g that exist in the direct distribution area 200c as a distance condition and do not exceed the delivery capability of the depot 2c as a quantity condition belong. FIG. 12A shows an example in which all the stores 3e... 3h in the direct distribution area 200c belong to the depot delivery area 201c of the depot 2c because the physical quantity condition is satisfied.
[0101]
Whether the delivery capacity of the depot 2c is exceeded or not is determined based on the total delivery quantity calculated from the number of times weighted delivery quantity 346 of the stores 3f... 3h included in the direct delivery area of the depot 2c exceeding the deliverable quantity 310 of the depot 2c. It is judged by whether or not. The total delivery amount is an amount for determining whether the dealers 3... 3 belonging to the depot 2c can deliver from the depot 2c by comparing with the delivery capability of the depot 2c. This is the total value converted into units. The reason for the daily unit is that the deliverable quantity 310 indicating the delivery capability of the depot 2c is a daily value. Hereinafter, a value obtained by converting the number-weighted delivery amount 346 into a daily unit is referred to as a daily unit quantity. If there is a collective store 3... 3 belonging to the depot 2 c as a default, the total delivery quantity is a value obtained by adding the sum of the daily unit quantities of these collective shops 3.
[0102]
If the store 3e already belongs to the base 1b, the depot 2c cannot make the store 3e belong to its own depot delivery area 201c. Moreover, you may provide the attribute of the store 3 which makes the depot delivery area 201c belong preferentially from the some store 3 ... 3 which exists in the direct distribution area 200c. In this embodiment, such an attribute is given by the store attribute 341, and is preferentially assigned to the depot delivery area in the order of the collective store 3 (default affiliation is set to the depot 2c), the convenience store 3, and the general store 3. . The collective store 3 having the highest priority is the collective store 3 when the default affiliation is set to the depot 2c, and the collective store 3 for which the default affiliation is not set is handled in the same manner as the general store 3. For example, when the default affiliation of the collective store 3y is the depot 2c, the collective store 3y is preferentially assigned to the depot 2c even if it is not in the direct distribution area 200c of the depot 2c. In the same store attribute 341, for example, between the general stores 3 ... 3, the store 3 having a shorter linear distance from the depot 2c is preferentially assigned to the depot 2c.
[0103]
As described above, the sales outlets 3... 3 to be affiliated with each other are narrowed down to a plurality of sales outlets 3... 3 at each of the bases 1 and 2, and the priority order is further considered from the narrowed sales outlets 3. The process of assigning the dealers 3... 3 narrowed down by the physical quantity condition to the bases 1 and 2 is called “allocation process”. FIG. 12A shows that the stores 3f... 3h, 3y belong to the depot delivery area 201c of the depot 2c by the allocation process.
[0104]
After the dealers 3f... 3h and 3y belonging to the depot 2c are determined, the secondary transport capacity of the base 1b is examined. The examination of the secondary transport capacity is to determine whether or not the depot 2c can belong to the base 1b, and whether or not the depot 2c belongs to the base 1b will exceed the secondary transport capacity of the base 1b. To make a decision. This determination is based on the value of “base direct delivery amount + bundled store quantity + existing base delivery quantity + affiliation candidate base total delivery quantity” (hereinafter referred to as “base 1b base quantity total”) and base 1b sortable quantity. Comparison with 311 is made. The base direct delivery amount is the total delivery amount for the base direct delivery area 100b, and the batch store quantity is the sum of the daily unit quantities of the default stores 3 ... 3 of the base store 1b. Is the sum of the total delivered quantities of the depots 2 ... 2 already belonging to the base 1b, and the affiliated candidate base total delivered quantity is the total delivered quantity of the depot 2c for determining whether to belong to the base 1b. If the total amount of bases in the base 1b does not exceed the sortable quantity 311 of the base 1b, it is determined that the secondary transport capacity of the base 1b is not exceeded, and the depot 2c can belong to the base 1b. It is determined that the next transport capacity will be exceeded, and the depot 2c cannot belong to the base 1b. In the present embodiment, it is determined from the depot 2c in which the depot delivery area 201c is created from the base 1b whether it is possible to belong to the base 1b using the above formula. Since the depot 2c is first determined among the affiliable depots 2b... 2f, the already-distributed base delivery quantity is set to 0, and the total base quantity of the base 1b is calculated. Here, it is assumed that the depot 2c can belong to the base 1b as a result of the above determination.
[0105]
Next, an allocation process is performed for the depot 2d. FIG. 12B shows that the direct distribution area 200d of the depot 2d includes sales outlets 3i... 3l, but the sales outlet 3l is removed according to the quantity condition and the depot delivery area 201d is created. When the total delivery quantity of the base 1b calculated using the total delivery quantity of the depot 2d as the affiliated candidate base delivery quantity and the total delivery quantity of the depot 2c as the existing delivery quantity does not exceed the sortable quantity 311 of the base 1b The depot 2d can belong to the base 1b. Here, it is assumed that the depot 2d can belong to the base 1b.
[0106]
Subsequently, the allocation process is performed for the depot 2f, and the depot delivery area 201f is created. FIG. 12B is a conceptual diagram showing a state where the delivery area creation process up to the depot 2f has been completed.
[0107]
Here, regarding the allocation process of a specific depot 2, a process in the case where the store 3 already belongs to another base 1 or 2 will be described. The sales outlet 3 included in the direct distribution area of the base 1 and the depot 2 like the sales outlet 3e described above belongs to the direct distribution area of the base 1. Further, the sales stores 3 included in the delivery areas of the plurality of depots 2... 2 like the sales store 3 z belong to the depot delivery area of the depot 2 with the high priority of the base 1 to which it belongs. When it is included in the direct distribution areas 200d and 200e of the depots 2d and 2e of the same base 1b like the sales shop 3j and the sales shop 3k in FIG. 13A, priority is given to the direct distribution area with the shorter straight line distance. To belong to. This case will be described in detail with reference to FIGS. 13 (a) and 13 (b).
[0108]
FIG. 13A illustrates a case where the store 3j and the store 3k already belong to the depot delivery area 201d of the depot 2d but are also included in the direct distribution area 200e of the depot 2e. Since both depot 2d and depot 2e belong to base 1b, priority 309 is the same. In such a case, as described above, each belongs to the depot 2 having a short linear distance. Therefore, in the case of FIG. 13A, the store 3j is closer to the depot 2e than the depot 2d. Therefore, when the physical condition of the depot 2e is satisfied, the affiliation of the depot 2d is changed to the affiliation of the depot 2e. However, if the physical quantity condition of the depot 2e is not satisfied, the affiliation of the store 3j is not changed. Further, since the store 3k is close to the depot 2d, there is no change in affiliation. Regarding the depot 2d in which the sales store 3j is cut from the depot delivery area 201d, it is considered that the free store 3l existing in the direct distribution area 200d of the depot 2d belongs. The total delivery amount of each of the other depots 2b, 2c, 2e, 2f, with the total delivery amount of the depot 2d when the sales store 3j is cut and the free store 3l belongs to the depot 2d as the affiliated candidate base total delivery amount Is calculated as the already-distributed site delivery quantity, and if the value does not exceed the sortable quantity 311 of the base 1b, the free store 3l is assigned to the depot 2d.
[0109]
On the other hand, if the total amount of bases 1b when the store 3l belongs to the depot 2d exceeds the sortable amount 11 of the base 1b, the store 3j is returned to the depot 2d, and the free store 3l does not belong The depot 2e cannot belong to the base 1b. FIG. 13B shows that the depot 2e is removed from the base 1b, and the depots 2b... 2d and 2d belong to the base 1b, and the depot delivery areas 201b. It is a conceptual diagram which shows that the area 100b was created as the base delivery area 210b of the base 1b.
[0110]
As a result of the processing, the stores 3l, 3m, 3n, 3o that did not belong to any of the bases 1a, 1b and the depots 2a ... 2d, 2f become free stores 3, and “free stores” on the division condition setting screen (FIG. 7) In accordance with the contents specified in “Processing No. 86”. For example, when the free store 3 is handled as home delivery, it is set to belong to the base 1b having the shortest straight distance, and the delivery form 347 is set as “home delivery”.
[0111]
Next, regarding the delivery area creation processing based on the base area examination logic, the flow of processing actually performed by the central processing unit 4 will be described with reference to the flowcharts shown in FIGS.
[0112]
FIG. 14 is a flowchart showing an outline of the flow of processing after setting the dividing conditions on the dividing condition setting screen (FIG. 7), selecting the registration button 78, and ending the dividing process. First, initialization processing is performed in step S500. In the initialization process according to the present embodiment, corresponding processing files 16a ′... 16d ′ are created in the WORK area 7 based on the processing file groups 16a. The base code 303 of each depot information of the processing base file 16a ′ and the base code 300a and the depot code 300b of the processing store file 16b ′ are set to NULL. Each process described below is performed in the WORK area 7.
[0113]
In addition, the direct distribution distance of each of the bases 1 and 2 in the processing base file 16a ′ is calculated based on the base direct distribution parameter 312 and the administrative district speed 317 corresponding to each of the bases 1 and 2, and mutual information with the corresponding base information. Store it in association with. It may be stored in addition to the data item of the base information, or may be stored in another storage area.
[0114]
Further, store information of the batch stores 3... 3 in which the batch code 342 and the default affiliation code 343 are set is extracted from the processing store file 16b ′, and only these batch stores 3... 3 are sold for processing as a batch store file. Store in a different area from the store file 16b '. The processing store file 16b ′ temporarily has no store information on the collective store 3 for which the default affiliation is set. Note that the store information of the batch store 3 for which the default affiliation code 343 is not set is not extracted in the batch store file, and therefore exists in the processing store file 16b ′. Hereinafter, the collective stores 3... 3 having the store information in the processing store file 16b ′ are treated in the same manner as the general stores 3.
[0115]
Next, in step S502, base information is read one record at a time in descending order of priority 309 from the processing base file 16a ', and each piece of base information data 300 ... 320 is acquired. Whether it is base information or not is identified by the base attribute 302 of the base information. Hereinafter, the process of reading a record means that each data included in the record can be processed by the central processing unit 4.
[0116]
Next, in step S504, it is determined whether or not new reading of base information has been completed. If not completed, the process proceeds to step S506. Hereinafter, the base 1 corresponding to the base code 300 of the base information newly read in step S502 is referred to as the base 1. “Newly read” means that the base information related to the base 1 that has not yet been divided is read. Hereinafter, “new reading” is used to mean reading data that has not yet been processed.
[0117]
In step S506, a base direct distribution area for the base 1 is created. The base direct distribution area creation processing performed in step S506 will be described with reference to the flowchart shown in FIG. First, a batch store process is performed in step S550. The collective store processing in step S550 refers to collective stores 3... 3 whose default affiliation code 343 is the base code 300 of the base 1 from the collective store file, and the base code of each store information of the collective store 3. In this process, the base code 300 of the base 1 is set in 300a, and the route delivery is set in the delivery form 347. Next, in step S552, the stores 3... 3 within the direct distribution distance from the base 1 are searched from the processing store file 16b ′. The dealer searched here is referred to as the dealer 3 in the base direct distribution area creation process.
[0118]
Next, proceeding to step S556, it is determined whether or not the base code 300a of the store 3 is set. If the base code 300a is set and not NULL, it means that the store 3 already belongs to another base 1 having a higher priority 309 than the base 1, so do nothing. The process proceeds to S559. In the case of NULL, the process proceeds to step S558, where the base code 300 of the base 1 is set in the base code 300a of the dealer information of the dealer 3 in the processing dealer file 16b ′, and the delivery form 347 indicates route delivery. Then, the process proceeds to step S559.
[0119]
In step S559, it is determined whether or not the store 3 within the direct distribution distance from the base 1 can be searched. If so, the process returns to step S556 for the search process. It is considered that the process has been completed, and the base direct distribution area creation process is terminated.
[0120]
When the base direct distribution area creation process is completed, the process proceeds to step S510. In step S510, the depots 2... 2 in the base acquisition range of the base 1 are extracted from the processing base file 16a ′, and an intermediate file I is created. However, the depot 2 corresponding to the depot information for which the base code 303 has already been set is not included in the intermediate file I. In step S512, the depot delivery area creation process is performed for depots 2 ... 2 in the intermediate file I.
[0121]
This depot delivery area creation process will be described with reference to the flowcharts shown in FIGS. In the depot delivery area creation process, first, in step S560, the depot information is read from the intermediate file I one record at a time in the order of the straight line distance from the base 1. Next, in step S562, it is determined whether or not the depot information has been newly read. If it has been newly read, the process proceeds to step S564. Hereinafter, the depot 2 corresponding to the base code 300 of the depot information newly read in step S560 is referred to as the depot 2.
[0122]
In step S564, the dealers 3 ... 3 in the direct distribution area for the depot 2 are extracted from the processing dealer file 16b 'to create the intermediate file II.
[0123]
Next, collective store processing is performed in step S566. The collective store process in step S566 searches the collective store file for the collective stores 3... 3 whose default affiliation code 343 is the base code 300 of the depot 2, and stores the store information of the searched collective stores 3. In this process, the base code 300 of the depot 2 is set in the depot code 300b, and the route delivery is set in the delivery form 347.
[0124]
In step S568, based on the store attribute 341, the store information in the intermediate file II is read in the order of processing. The dealer 3 with the earlier processing order will preferentially belong to the depot 2. In the present embodiment, when the store attribute 341 is a convenience store, the store attribute 341 is assigned to the depot 2 with priority over a general store. Further, in the case of the same store attribute 341, the store 3 having a short straight line distance from the depot 2 is preferentially assigned. That is, in step 568, each linear distance between each store 3 and the depot 2 is calculated and temporarily stored in the WORK area 7. First, store information whose store attribute 341 is a convenience store is stored in the depot. 2 is selected and read in the order of the dealer 3 whose linear distance is the closest, and then the dealer information whose shop attribute 341 is a general store is selected and read in the order of the dealer 3 whose linear distance from the depot 2 is the closest. It is. The following processing is performed in the order read.
[0125]
In step S568, one record of the store information is read from the intermediate file II, and when new store information can be read, the process proceeds to step S572. Hereinafter, the store 3 corresponding to the store code 330 of the store information newly read in step S568 is referred to as the store 3 concerned.
[0126]
In step S572, duplication confirmation processing is performed for the store 3 concerned. The duplication confirmation process will be described with reference to the flowchart shown in FIG.
[0127]
In the duplication confirmation process, it is determined in step S600 whether or not the base code 300a of the store information is NULL, and if the base code 300a is NULL, it is determined that it does not belong to any of the bases 1 and 2 yet. The duplication confirmation process ends without processing anything. If not NULL, it is determined in step S602 whether the base code 300a is the base code 300 of the base 1. If the base code 300a is not the base code 300 of the base 1, it is determined that the store 3 belongs to another base 1, and the process proceeds to step S606, where the deletion flag is set and the duplication confirmation process is terminated. This deletion flag is a flag indicating that the store information is deleted from the intermediate file II. If it is determined in step S602 that the base code 300a is the base code 300 of the base 1, the process proceeds to step S604, and it is determined whether or not the depot code 300b is NULL. If it is determined to be NULL, it is determined that the store 3 belongs to the base direct distribution area of the base I, the process proceeds to step S606, the deletion flag is set, and the duplication confirmation process is ended. If it is determined that it is not NULL, the process proceeds to step S607, and the linear distance between the depot 2 and the store 3 and the distance between the depot 2 and the store 3 corresponding to the set depot code 300b. The straight line distance is compared, and if the depot 2 is far, the process proceeds to step S606, a deletion flag is set, and the duplication confirmation process is terminated.
[0128]
If the depot 2 is closer to the store 3, the process proceeds to step S608. In step S608, the store information of the store information is temporarily recorded in the duplicate depot storage area, and the duplication confirmation process ends. The overlapping depot storage area is a part of the WORK area 7. The store information recorded in the duplicate depot storage area is cleared when the depot information is newly read from the intermediate file II.
[0129]
When the duplication check process ends, it is determined whether or not a deletion flag is set in step S574. If it is set, the dealer information is deleted from the intermediate file II in step S575, and the deletion flag is not set. Return to step S568 to read the next store information. If it is determined in step S574 that the deletion flag is not raised, the process proceeds to step S576, and the base code 300 of the depot 2 is set in the depot code 300b of the store information in the intermediate file II of the store 3.
[0130]
Next, the process proceeds to step S578. In step S578, the total daily unit quantity of the stores 3... 3 in which the depot code 300b is set in the base code 300 of the depot 2 is calculated based on the store information of the intermediate file II and the batch store file at this time. . That is, the total delivery amount of the depot 2 at this time is calculated. Here, in the present embodiment, the daily unit quantity calculation method differs depending on the number of delivery days corresponding to the store attribute 341. In the case of the collective store 3 and the general store 3, the number of times weighted delivery amount 346 is divided by 5, and in the case of the convenience store 3, the number of times weighted delivery amount 346 is divided by 6. This is because the convenience store 3 delivers six days a week and the general store 3 delivers five days a week.
[0131]
When the total delivery quantity is calculated, the process proceeds to step S580, where the total delivery quantity is compared with the deliverable quantity 310 of the depot 2. If the total delivery quantity does not exceed the deliverable quantity 310, the process returns to step S568 to read the next store information from the intermediate file II, assuming that the quantity condition is satisfied. If the total delivery quantity exceeds the deliverable quantity 310, it is determined that the dealer 3 exceeds the delivery capability of the depot 2, and the dealer information of the dealer 3 is deleted from the intermediate file II in step S582. To read from the intermediate file II, the process returns to step S568. In this step S582, if the dealer information of the dealer 3 is in the duplicate depot storage area, the dealer information is also deleted from the duplicate depot storage area.
[0132]
The process for the dealer information described above is repeated for the next dealer information from step S568, and if it is determined in step S570 that there is no dealer information to be newly read from the intermediate file II, the intermediate file II Is determined to have been completed, and the process proceeds to step S590.
[0133]
In step S590, the total base quantity of the base 1 is calculated, and the sortable quantity 311 of the base 1 is compared with the total base quantity of the base 1 to examine the secondary transport capacity of the base 1. . The existing base delivery quantity is the total daily quantity of the dealer information in which the base code 300a is set in the base code 300a in the dealer information of the processing dealer file 16b 'and the batch shop file, The affiliation candidate base total delivery quantity is the sum of daily unit quantities of the dealer information in which the base code 300 of the depot 2 is set in the depot code 300b in the dealer information of the intermediate file II and the batch shop file. However, if there is the dealer information of the dealers 3... 3 that are duplicated in the duplicate depot storage area, the total delivery quantity of the depot 2 added in step S590 is added to the duplicate depot storage area from the affiliated candidate base total delivery quantity. It is added as a value excluding the total daily unit quantity of the recorded stores 3. This is because, in calculating the total base physical quantity, the duplicate daily unit physical quantity is added to the dealer 3 corresponding to the dealer information recorded in the duplicate depot storage area. If the total base quantity of the base 1 exceeds the sortable quantity 311 of the base 1, it is determined that the depot 2 does not satisfy the physical quantity condition of the base 1, and the process proceeds to step S592, where the depot 2 is read from the intermediate file I. And the store information in which the depot 2 is set in the depot code 300b is deleted from the batch store file. Thereafter, the process proceeds to step S560 to read the next depot information. When the total amount of base items of the base 1 does not exceed the sortable amount 311 of the base 1, the process proceeds to step S594, and overlapping affiliation adjustment processing is performed.
[0134]
The duplicate affiliation adjustment process will be described with reference to the flowchart of FIG. The duplicate affiliation adjustment process is a case where the store 3... 3 already set to belong to another depot 2 in the processing store file 16b 'is set to belong to the depot 2 in the intermediate file II. Refers to the adjustment process.
[0135]
In the duplicate affiliation adjustment process, first, in step S610, it is determined whether or not there is store information in the duplicate depot storage area. If there is, the process proceeds to step S611, and if not, the process proceeds to step S622. In step S611, it is determined whether or not there is store information for which duplicate adjustment processing has not been performed in the duplicate depot storage area. For example, if the depot codes 300b of all the store information are the base codes 300 of the depot 2, it is determined that the process has been completed, and the process proceeds to step S621. Steps S621 and S622 will be described later.
[0136]
If there is dealer information that has not been subjected to duplicate adjustment processing in the duplicate depot storage area, the process proceeds to step S612, the dealer information is read, and the depot code 300b is acquired. The depot 2 corresponding to the depot code 300b is hereinafter referred to as “the deleted depot 2” in the overlapping affiliation adjustment process, and the store 3 corresponding to the read store information is referred to as the store 3.
[0137]
In step S613, it is determined whether or not the processing store file 16b ′ exists in the direct distribution area of the deleted depot 2 and the free store 3 exists. If there is no free store 3, the affiliation of the store 3 is not changed to the depot 2 and the process proceeds to the deletion process in step S614. In the deletion process in step S614, the dealer information in which the base code 300 of the deleted depot 2 is set in the depot code 300b is deleted from the duplicate depot storage area, and all the dealers related to the deleted depot 2 are stored. Delete information from intermediate file II. Thereafter, the process returns to step S611 for processing of the next scraped depot 2. If it is determined in step S613 that there is a free store 3, the process proceeds to step S615.
[0138]
In step S615, the amount of material cut in the cut depot 2 is calculated. The scraped quantity is dealer information existing in the overlapping depot storage area, and dealers 3... 3 corresponding to the dealer information in which the base code 300 of the scraped depot 2 is set in the depot code 300b. It is the sum of daily unit quantities. Next, the process proceeds to step S616, and the free stores 3 ... 3 in the direct distribution area of the scraped depot 2 are set from the processing store file 16b 'with the scraped amount of the scraped depot 2 as an upper limit. The store information of the selected free stores 3... 3 is recorded in the affiliated free store storage area. The base code 300 of the deleted depot 2 is set in the depot code 300b of each store information recorded at this time. Note that the free store storage area to which the affiliation belongs is a part of the WORK area 7. The contents of the affiliation free store storage area are cleared at the end of the duplicate affiliation adjustment process.
[0139]
Next, the process proceeds to step S617, and the total of the daily unit quantities of the free stores 3... 3 selected in step S616 is added to the total base quantity of the base 1 calculated in step S590. As the total quantity, the total base quantity of the base 1 and the sortable quantity 311 of the base 1 are compared. If the total base quantity of the base 1 exceeds the sortable quantity 311, the free store 3... 3 cannot belong to the scraped depot 2, and the depot 2 cannot belong to the base 1. , The depot information of the depot 2 is deleted from the intermediate file I, the store information in which the depot 2 is set in the depot code 300b is deleted from the batch store file, and the duplication adjustment process is terminated.
[0140]
If it is determined in step S617 that the total amount of base items of the base 1 does not exceed the sortable amount 311 of the base 1, the process proceeds to step S620, and the depot 2 that has been deleted in the affiliated candidate free store storage area. The base code 300 of the base 1 is set to the base code 300a of the free store 3... 3 in which the base code 300 is set to the depot code 300b, and the delivery form 347 is set to route delivery. Thereafter, the process returns to step S611 for processing of the next scraped depot 2.
[0141]
If it is determined in step S611 that the duplicate adjustment process has not been completed for all the store information existing in the duplicate depot storage area, the process proceeds to step S612, and the above-described process is repeated. If it is determined that the duplication adjustment process has been completed for all the store information, the process proceeds to step S621.
[0142]
In step S621, the contents of each store information recorded in the affiliation candidate free store storage area are set in the corresponding store information of the processing store file 16b ′, and the process proceeds to the next step S622. In step S622, the base code 300 of the depot 2 is set in the depot code 300b of each store information of the processing store file 16b ′ corresponding to each store information included in the intermediate file II, and the base code 300a includes the base code 300a. 1 base code 300 is set, route delivery is set in the delivery form 347, and the base code 300a of the store information in which the base code 300 of the depot 2 is set in the default affiliation code 343 in the collective store file. Then, the base code 300 of the base 1 is set, and the duplication adjustment process is terminated.
[0143]
When the duplicate affiliation adjustment process ends, the process returns to step S560 to perform the process for the next depot 2. If all the delivery area creation processes for the depot 2 in the intermediate file I have been completed, it is determined in step S562 that the delivery area creation process is complete, the depot delivery area creation process is terminated, and the process proceeds to step S514.
[0144]
In step S514, the base code 303 of the depot information in the processing base file 16a ′ corresponding to the depot information in the intermediate file I is set to the base code 300 of the base 1.
[0145]
Thereafter, the process returns to step S504 for the delivery area creation process for the next base 1. The above processing is performed for all bases 1... 1 in the processing base file 16a ′.
[0146]
When the delivery areas for all the bases 1... 1 have been created, it is determined in step S504 that the process has ended, and the process proceeds to the free store process and the batch store process in step S516. In the free store processing in step S516, the store information is present in the processing store file 16b ', but the free stores 3 ... 3 that do not belong to any of the bases 1 and 2 are "free store processing" on the division condition screen. It is processed according to the setting. If it is left free, nothing is processed as it is, and if it is home delivery, the base code 300a is set to the base code 300 of the base 1 with the shortest linear distance, for example, as the store information of the free store 3 The delivery form 347 is set to home delivery. However, the free store 3 needs to satisfy the quantity requirements of the base 1. That is, if the value obtained by adding the daily unit quantity of the free store 3 to the total base quantity of the base 1 does not exceed the sortable quantity 311 of the base 1, the free shop 3 sets “delivery” to the base 1. Can belong but cannot belong if it exceeds. Further, the batch store processing in step S516 adds the store information in which the base code 300a is set in the batch store file to the processing store file 16b ′.
[0147]
After the free store process, the process proceeds to the calculation process in step S518. When the calculation process is completed, the base examination process ends. The calculation process performed by the central processing unit 4 will be described later.
[0148]
Next, the “base stacking type” logic will be described. In the “base stacking type” logic, the division process is performed step by step as described above.
[0149]
First, the process of step 1 will be described. FIG. 20 (a) shows the bases 1a... 1b, depots 2a. A regular hexagon indicates a position where the base 1 is located, a regular triangle indicates a position where the deposit 2 is present, and a small circle indicates a position where the store 3 is located. In step 1, a base direct distribution area for each base 1a, 1b and a depot delivery area for each depot 2a ... 2g are created.
[0150]
The method of allocating the stores 3... 3 to the respective bases 1a, 1b, 2a... 2g is the same as the logic of the allocation process to the depot 2 in the “base area examination type” logic. That is, for each of the bases 1a, 1b, 2a... 2g, the sales outlets 3... 3 existing in each direct distribution area belong to each of the bases 1a, 1b, 2a. . In the case of the collective store 3 that belongs to the base 1b as a default like the collective store 3b, the collective store 3b belongs to the base direct distribution area 101b of the base 1b even if the collective store 3b is not in the direct distribution area 100b of the base 1b. FIG. 20B shows a conceptual diagram of how the base direct distribution areas 101a and 101b and the depot delivery areas 201a... 201g are created at the respective bases 1a, 1b, 2a.
[0151]
The processing of the sales outlets 3 ... 3 included in the direct distribution areas of the plurality of bases 1 and 2 is included in both the direct distribution area 100b of the base 1b and the direct distribution area 200c of the depot 2c, as in the sales shop 3c. In this case, the base 1b has a higher priority and belongs to the base 1b. When it is included in the direct distribution areas 200a and 200b of the depot 2a and the depot 2b as in the case of the store 3d, that is, when the overlapping affiliation destinations are depots, the store 3d has a physical quantity condition that is closer to the straight line from itself. It belongs to the premise of satisfying. At this time, even if the affiliation of the store 3d is changed, the duplication adjustment process in the “base area consideration type” logic is not performed. This is because since none of the depots 2 belong to the base 1 at this time, the priority 309 is unknown. The same applies to the stores 3e and 3f. Also, like the store 3a, the store 3 ... 3 that does not belong to any of the bases 1a, 1b, 2a, ... 2g becomes the free store 3. In this logic, a quantity condition is also set in the bases 1a and 1b, and the deliverable quantity 310 of each base 1a and 1b is treated as a quantity condition in the same manner as the deliverable quantity 310 in each depot 2a. Areas 101a and 101b are created.
[0152]
The base direct distribution areas 101a and 101b of the bases 1a and 1b and the depot delivery areas 201a... 201g of the depots 2a. Although details of the calculation process will be described later, the minimum number of transport vehicles necessary for delivery can be obtained in each of the delivery areas 101a, 101b, 201a,. When the numerical value obtained here is less than a certain value in the number of transport vehicles currently owned by the bases 1 and 2, the bases 1 and 2 having poor transport efficiency are identified as the depot 2g in FIG. The mark is displayed. Thereby, it is possible to determine the depot 2 in which the number of transport vehicles is not utilized. Although a circular mark is used as the identification mark in FIG. 20B, this mark is not limited to this.
[0153]
The above is the processing performed in the base stacking type step 1. After step 1 is completed, base stacking type step 2 is performed. In this system, execution of step 2 must be specified on the division logic selection screen (FIG. 6), but may be automatically executed.
[0154]
In the base stacking type step 2, a process is performed in which each depot 2a... 2g in which the depot delivery areas 201a... 201g are created belongs to the base 1a and the base 1b. This process is called a depot capture process, and FIG. 21 is a conceptual diagram showing a state in which the depot capture process for the base 1a is completed and the depot capture process for the base 1b is being performed. This depot capturing process is performed from the base 1 having a high priority 309. Therefore, in FIG. 21, the base 1a has a higher priority 309 than the base 1b.
[0155]
Depot capture processing for the base 1b will be described. First, the depots 2... 2 that can be acquired are specified by the distance condition. Centered on the base 1b, it is composed of a circle 316 having a radius determined by a method described later from the base acquisition lower limit 316 of the base 1b and a circle 315 having a radius determined by a method described later from the base acquisition upper limit 315. Depots 2b... 2g existing in the base acquisition range 700 become affiliable depots 2. In this system, when the linear distance between each depot 2 and the base 1b is longer than the radius that can be stopped from the base acquisition lower limit 316 and shorter than the radius that is obtained from the base acquisition upper limit 315, the depot 2 has the base acquisition range. 700 is recognized as existing.
[0156]
Next, the depots 2 ... 2 belonging to the base 1b are determined according to the quantity condition. The quantity condition is performed by comparing the sortable quantity 311 of the base 1b with the quantity calculated from the formula of “base delivery quantity + batch store quantity + affiliated base delivery quantity + affiliated candidate base total delivery quantity”. This calculated value is hereinafter referred to as “total amount of base materials”. The base delivery quantity is the total delivery quantity of the base direct distribution area 101b of the base 1b. The collective store quantity is the total daily quantity of the collective shops 3... 3 for which the base 1b is set in the default affiliation code 343. The existing base delivery quantity is a value obtained by adding up the total delivery quantities of the depots 2... 2 that have already been assigned to the base 1b. The affiliation candidate base total delivery quantity is the total delivery quantity of the target depot 2 for judging whether or not it can belong to the base 1b. The calculation method of the daily unit quantity and the total delivery quantity is the same as the daily unit quantity and the total delivery quantity in the base area examination type.
[0157]
For example, when the depot 2a... 2c is determined to belong to the base 1b and then the above comparison is made for the depot 2d, the total amount of base items of the base 1b is "total of base delivery amount + collective store amount + depot 2a. Total delivery amount + total delivery amount of depot 2d ”. It becomes. If the value calculated by this formula is smaller than the sortable quantity 311 of the base 1b, the depot 2d belongs to the base 1b. Therefore, when comparing the quantity conditions for the next depot 2e, the total quantity of base goods at the base 1b is “base delivery quantity + collective store quantity + depot 2a... 2d total delivery quantity + depot 2e total delivery quantity”. Become. On the other hand, if the value obtained by adding the total delivery quantity of the depot 2d is larger than the sortable quantity 311, the depot 2d cannot belong to the base 1b, so the total base quantity of the base 1b for comparing the quantity conditions for the next depot 2e. Is "base delivery amount + collective store amount + sum of total delivery amount of depots 2a... 2c + total delivery amount of depot 2e".
[0158]
Priorities for preferentially belonging to the base 1b for the depots 2b... 2g included in the base acquisition range of the base 1b may be provided. In the present embodiment, the depot 2 having a short straight line distance with the base 1b is preferentially assigned to the base 1b, and the physical quantity conditions are compared in order of closeness. However, the depot 2 is preferentially assigned to the base 1 However, the present invention is not limited to this. For example, the depot 2 having a large total delivery amount within a certain distance may be preferentially assigned.
[0159]
Further, the free stores 3... 3 existing in the base acquisition range 700 may belong to the base 1b as home delivery. In FIG. 21, since the free shop 3a exists in the base acquisition range 700 of the base 1b, it belongs to the base 1b as home delivery if the physical quantity condition is satisfied. In this case, the total amount of base items of the base 1b is “base delivery amount + bundled store amount + existing base delivery amount + existing home delivery store amount + affiliation candidate base total delivery amount or belonging candidate free store amount”. The existing home delivery store quantity is the sum of the daily unit quantities of the free stores 3... 3 that have already been determined to belong to the base 1b as a home delivery shop. The affiliation candidate free store quantity is the daily unit quantity of the free shop 3 to be determined as to whether or not to belong to the base 1b as a home delivery store. For example, when considering the free store 3a, it is the daily unit quantity of the free store 3a. Further, in this system, the depots 2b 2b and free stores 3 ... 3 existing in the base acquisition range 700 are preferential from the ones having a short straight line distance to the base 1b without distinguishing between the depot 2 and the free store 3. To base 1b. That is, the physical quantity conditions are compared in the order of the depot 2 or the free store 3 that is far from the depot 2 or the free store 3 where the linear distance from the base 1b is short.
[0160]
FIG. 21 shows that the depot 2b to the depot 2f and the free store 3a are compared with the total amount of base items of the base 1b and the sortable amount of the base 1b in ascending order of the linear distance from the base 1b. As a result, the depot 2e can belong to the base 1b. Indicates no state. The depot 2e does not belong to any of the bases 1a and 1b, and the sales stores 3c... 3e belonging to the depot 2e become free stores 3c. FIG. 21 shows that depots 2b to 2d and depot 2f belong to base 1b as a result of the division processing in base 1b, and each depot delivery area 201b... 201d, 201f, base direct distribution area 101b, sales store 3a and collective store 3b. Shows that the base delivery area 210b of the base 1b is formed.
[0161]
Next, processing performed by the central processing unit 4 will be described with reference to the flowcharts of FIGS. In FIG. 22, the division process is completed from the process started based on the “base stacking type” logic after setting the division condition on the division condition setting screen (FIG. 7) and pressing the “Register” 78 button. It is a flowchart which shows the outline of the flow of a process until. In step 750, the base information about the bases 1 and 2 selected on the division condition setting screen (FIG. 7) is extracted from the processing base file 16a and created in the WORK area 7 as the processing base file 16a ′. The processing dealer file 16b is copied to form a processing dealer file 16b ', the processing statistical information file 16c is copied to a processing statistical information file 16c', and the processing work information file 16d is copied. The processing work information file 16d ′ is created in the WORK area 7, respectively.
[0162]
In step S752, initialization processing is performed. In the initialization process, the base code 303 of the depot information in the processing base file 16a ′ is set to NULL, and the base code 300a and the depot code 300b of the dealer information in the processing store file 16b ′ are set to NULL.
[0163]
The direct distribution distance of each of the bases 1 and 2 in the processing base file 16a ′ is calculated based on the base direct distribution parameter 312 and the administrative district speed 317, and recorded in association with the corresponding base information. It may be recorded as an additional item in the base information record, or may be recorded in another storage area.
[0164]
Further, the dealer information of the collective shop 3 in the processing dealer file 16b ′, in which any of the base codes 300 is set in the default affiliation code 343, is extracted as a collective shop file, and the processing dealer Store in a different area from the file 16b '. In the processing store file 16b ′, store information about the collective store 3 for which default affiliation is set does not exist temporarily. Note that the store information of the batch store 3 for which the default affiliation code 343 is not set is not extracted in the batch store file, and therefore exists in the processing store file 16b ′. Hereinafter, the collective stores 3... 3 having the store information in the processing store file 16b ′ are treated in the same manner as the general stores 3.
[0165]
Next, it progresses to step S754 and a base direct distribution area creation process is performed. In the base direct distribution area creation processing, the base direct distribution areas of the bases 1 and 2 having the base information in the processing base file 16a ′ are created. The base direct distribution area is a general term for the base direct distribution area and the depot delivery area. This base direct distribution area creation processing will be described with reference to the flowchart shown in FIG. In step S770, the base information is read from the processing base file 16a ′ in the order of processing. In the present embodiment, base 1 and depot 2 are processed earlier in base 1, and in base 1... 1, base 1 with higher priority 309 is processed earlier. The depots 2... 2 are processed in the order of the base code 300. For example, the processing may be performed preferentially as the total delivery amount increases. Next, in step S772, if the base information cannot be newly read in step S770, it is determined that the base direct distribution area has been created for all the bases 1 and 2 of the base information in the processing base file 16a ′. The base direct delivery area creation process is terminated. If the base information can be newly read in step S770, the process proceeds to step S774. Hereinafter, the bases 1 and 2 corresponding to the base information newly read in step S770 are referred to as the bases 1 and 2.
[0166]
In step S774, the stores 3... 3 in the direct distribution area of the bases 1 and 2 are extracted from the processing store file 16b ′ to create an intermediate file I. Next, the process proceeds to step S776, and processing for narrowing down the dealer information that meets the physical quantity conditions of the bases 1 and 2 from the intermediate file I is performed until step S786. In step S776, based on the store attribute 341, the store information in the intermediate file I is read in the order of processing for narrowing down according to the quantity condition. In this embodiment, as in the “base area consideration type” logic, the stores 3... 3 can preferentially belong to any of the bases 1 and 2 as this order is earlier.
[0167]
In the present embodiment, when the store attribute 341 is a convenience store, the store attribute 341 is assigned to the depot 2 with priority over a general store. Further, in the case of the same store attribute 341, the store 3 having a short straight line distance from the depot 2 is preferentially assigned. That is, in step S776, each linear distance between each store 3 and the depot 2 is calculated and temporarily stored in the WOK area 7. First, store information whose store attribute 341 is a convenience store is stored in the depot 2. The store information in which the store attribute 341 is a general store is selected and read in the order of the store 3 having a straight line distance from the depot 2. . Processing in step S780 and subsequent steps is performed in the order read.
[0168]
If the dealer information cannot be newly read from the intermediate file I, it is determined in step S778 that the processing has been completed for all the dealer information in the intermediate file I, and the process proceeds to step S779. If the store information can be newly read in step S776, the process proceeds to step S780. The newly read dealer information is referred to as the dealer information, and the dealer 3 corresponding to the dealer information is referred to as the dealer 3.
[0169]
In step S780, duplication confirmation processing for the store 3 is performed. The duplication confirmation process is a process of confirming to which direct distribution area of the bases 1 and 2 the store 3 included in the direct distribution area of the plurality of bases 1 and 2 belongs.
[0170]
The duplication confirmation process will be described with reference to the flowchart shown in FIG. In step S790, it is determined whether the base code 300a of the store information is NULL. If NULL, the process proceeds to step S792. In step S792, it is determined whether or not the depot code 300b of the store information is NULL. If the depot code 300b is NULL, since it is a free store 3, the process proceeds to step S796, where the base code 300 of the bases 1 and 2 is set as the base code 300a or the depot code 300b of the store information in the intermediate file I, and duplication check is performed. The process ends. Whether the bases 1 and 2 are the base 1 or the depot 2 is determined by the base attribute 302. When the base attribute 302 is the base, the base code 300 is set to the base code 300a, and when the base attribute 302 is the depot, the base code 300 is set as the depot code 300b. If the depot code 300b is not NULL in step S792, it indicates that the store 3 belongs to one of the depots 2 at present. In this case, the process proceeds to step S794, and the linear distance between the bases 1 and 2 and the dealer 3 and the linear distance between the affiliated bases 1 and 2 and the dealer 3 that have already been set. Are compared. If the locations 1 and 2 are closer, the process proceeds to step S796, and after performing the above-described processing, the duplication confirmation processing is terminated. If it is determined in step S794 that the already-assigned bases 1 and 2 are closer, a deletion flag is set in step S798 to delete the store 3 from the intermediate file I. To complete the duplication confirmation process. In this embodiment, if it is determined in this duplication confirmation process that the depot code 300b of the store information has already been set, the base direct distribution area creation process for the bases 1. This means that the delivery area creation process for the depot 2... 2 has started, and the bases 1 and 2 are the depot 2.
[0171]
If it is determined in step S790 that the base code 300a of the store information is not NULL, the store 3 is a store 3 that has already been determined to belong to any one of the bases 1, and therefore from the intermediate file I. In order to delete, the deletion flag is set in step 798 and the duplication confirmation process is terminated.
[0172]
When the duplication confirmation process ends, the process proceeds to step S782 to determine whether or not a deletion flag is set. If the deletion flag is set, the process proceeds to step S783, the dealer information is deleted from the intermediate file I, the process returns to step S776 to restore the deletion flag and read the next dealer information. If it is determined in step S782 that the deletion flag has not been raised, the process proceeds to step S784, and the sales outlet 3 is assigned to the sales outlet 3 belonging to the bases 1 and 2, and the total delivery quantity of the bases 1 and 2 is calculated. Calculated. That is, the dealer information in the intermediate file I at this time, and the dealers 3... 3 corresponding to the dealer information in which the base codes 300 of the bases 1 and 2 are set in the base code 300a or the depot code 300b, And the store unit information in the batch store file, and the total daily unit quantity of the batch stores 3... 3 corresponding to the store information in which the base code 300 of the bases 1 and 2 is set in the default affiliation code 343. Calculated. Next, the process proceeds to step S786. In step S786, the deliverable amount 310 of the bases 1 and 2 and the total deliverable amount of the bases 1 and 2 are compared. In step S786, if the total delivery quantity of the bases 1 and 2 does not exceed the deliverable quantity 310 of the bases 1 and 2, the store 3 assumes that the physical quantity condition of the bases 1 and 2 is satisfied. In step S776, the process returns to step S776 to read the next store information from the intermediate file I. In step S786, if the total delivery quantity of the bases 1 and 2 exceeds the deliverable quantity 310 of the bases 1 and 2, the store 3 does not satisfy the physical quantity conditions of the bases 1 and 2, Proceed to S788. In step S788, the store information is deleted from the intermediate file I, and the process returns to step S776 to read the next store information.
[0173]
If it is determined in step S778 that the processing for examining the physical quantity condition has been performed for all the store information in the intermediate file I, that is, if there is no new store information to be read, the process proceeds to step S779. In step S779, regarding the dealer information of the processing dealer file 16b ′ corresponding to the dealer information in the intermediate file I, when the bases 1 and 2 are the base 1, the base code 300a in the intermediate file I is processed for sales. The base code 300a in the store file 16b 'is set. If the bases 1 and 2 are the depot 2, the depot code 300b in the intermediate file I is set as the depot code 300b in the processing store file 16b'. The delivery form 347 in the store file 16b ′ is set to route delivery.
[0174]
Also, if the batch store file has store information of the batch store 3 belonging to the bases 1 and 2 by default, the store information of the batch store 3 is the base when the bases 1 and 2 are the base 1. The base code 300 is set in the code 300a. If the bases 1 and 2 are the depot 2, the base code 300 is set in the depot code 300b. In either case, the delivery form 347 sets the route delivery.
[0175]
When the base direct distribution area creation processing ends, the process proceeds to step S756, and calculation processing is performed. Processing performed by the central processing unit 4 in the calculation processing will be described later.
[0176]
This completes the processing of step 1 in the “base stacking type” logic. When step 1 ends, the end flag is turned on. The state of this end flag is stored for each scenario in the scenario information file 13a. The central processing unit 4 determines the state of this end flag and only performs the processing of step 2 in steps S758 to S764 described below when it is determined to be ON.
[0177]
In step S758, the base information is read from the processing base file 16a ′ in descending order of priority 309. Next, in step S760, it is determined whether or not the base information for which the process of creating the delivery area has not been completed can be read, that is, whether or not there is base information to be newly read, and the base information can be newly read. If so, the process advances to step S762 to perform depot capture processing for that base 1. Hereinafter, the base information newly read in step S760 is referred to as the base information, and the base 1 corresponding to the base information is referred to as the base 1.
[0178]
The depot capturing process will be described with reference to the flowchart shown in FIG. First, in step S800, the depot information of the depots 2... 2 in the base acquisition range of the base 1 is extracted from the processing base file 16a ′ to be an intermediate file II. At this time, the depot information in which the base code 300 is already set in the base code 303 is not extracted. In step S802, the free store 3 in the base acquisition range of the base 1 is extracted from the processing store file 16b 'and added to the intermediate file II. However, the case where the base code 300 is already set in the base code 300a is excluded.
[0179]
In step S804, the depot information or the store information of the free store 3 is read from the intermediate file II in the order of processing. In this embodiment, processing is performed from the depots 2... 2 and free stores 3. Processing may be performed prior to 3.
[0180]
Next, in step S806, it is determined whether or not the depot information or the store information can be newly read from the intermediate file II in step S804. If it is newly read, the process proceeds to step S808. Hereinafter, the depot information newly read in step S804 is referred to as the depot information, and the depot 2 corresponding to the depot information is referred to as the depot 2. In addition, when it is dealer information that is newly read in step S804, the dealer information is referred to as the dealer information, and the free shop 3 corresponding to the dealer information is referred to as the free shop 3. In step S808, the total amount of base items of the base 1 at the present time is calculated.
[0181]
Next, in step S810, the sortable quantity 311 of the base 1 is compared with the total base quantity of the base 1, and if the total base quantity of the base 1 exceeds the sortable quantity 311 of the base 1, Since the depot 2 or the free store 3 does not satisfy the quantity condition of the base 1, nothing is processed and the process returns to step S804 to read the next depot 2 or free store 3 as it is.
[0182]
If it is determined in step S810 that the total amount of base items of the base 1 does not exceed the sortable amount 311 of the base 1, the depot 2 or the free store 3 assumes that the physical amount condition of the base 1 is satisfied, and proceeds to step S812. .
[0183]
In step S812, for the depot 2, the base code 300 of the base 1 is set in the base code 303 of the depot information of the depot 2 in the processing base file 16a ′, and the dealer in the processing dealer file 16b ′. The base code 300 of the base 1 is set in the base code 300a of the store information whose information is the depot code 300b and the base code 300 of the depot 2, and “route delivery” is set in the delivery form 347. Further, the base code 300 of the base 1 is set in the base code 300a of the store information in which the base code 300 of the depot 2 is set in the depot code 300b in the collective store file. For the free store 3, the base code 300 of the base 1 is set in the base code 300a of the store information of the free store 3, and “delivery” is set in the delivery form 347.
[0184]
If it is determined in step S806 that the depot information or the store information of the free store 3 cannot be newly read from the intermediate file II in step S894, the process is performed for all the depot information and store information in the intermediate file II. It is determined that the depot loading process is finished.
[0185]
When the depot capturing process ends, the process proceeds to step S764, and the final process is performed. In the final processing, the store information existing in the batch store file is added to the processing store file 16b ′ except for the base code 300a that is NULL. In addition, the free store 3 where the affiliation was not finally decided and the sales stores 3... 3 which were assigned to the depot 2 where the affiliation was finally decided were assigned to the free stores 3. In the case of the collective store 3 that defaults to the depot 2 to which the base 1 has not been finally determined, the base code 300a adds the NULL store information to the processing store file 16b ′. That is, there is no need to process anything for the free store 3 in which the base code 300a and the depot code 300b are originally NULL in the processing store file 16b ′. In the processing base file 16a ′, when the base code 303 is NULL and the base code 300 of the depot 2 is the dealer 3... 3 set in the depot code 300b of the dealer information in the processing dealer file 16b ′, The store information depot code 300b and delivery form 347 are set to NULL. Further, in the processing base file 16a ′, when the base code 303 of the NULL depot 2 is set in the depot code 300b of the dealer information of the batch shop file, the base code 300a of the dealer information and The depot code 300b is set to NULL and added to the processing store file 16b ′.
[0186]
The calculation process will be described. As described above, the calculation process is a process for calculating the minimum number of courses delivered by the delivery vehicle in one week for each of the bases 1 and 2 based on the restriction from the time aspect and the restriction from the quantity aspect. In calculating the number of courses, transport modes including single transport and piston transport are considered. Of the sales outlets 3... 3 belonging to the specific bases 1 and 2 as route delivery, the sales outlets 3... ... 3 is single transport, the number of courses in each transport mode is calculated and added to calculate the total number of courses. In the description of the calculation process, the distance condition or the quantity condition refers to each condition of the dealers 3. The total number of courses is the number of courses of the bases 1 and 2 corresponding to the distance condition and the quantity condition. The distance condition and the quantity condition for the object of piston transportation are changed within a predetermined range, and the above total number of courses is similarly calculated according to the changed conditions. The minimum number of courses is determined as the number of courses of the bases 1 and 2 out of all the total course numbers calculated corresponding to the changed conditions.
[0187]
Note that the single transportation is a transportation mode in which, as shown in FIG. 26 (a), after leaving the bases 1 and 2 during one course, they do not return to the bases 1 and 2 halfway. FIG. 26 (b) shows a conceptual diagram of a delivery route of a transport vehicle by single transport. Piston transportation is a transportation mode mainly for the short distance dealers 3... 3, as shown in FIG. 27 (a), after leaving the bases 1 and 2, once in the course of one course. This is a transportation mode in which the work returns to the bases 1 and 2 and the loading operation is performed again. FIG. 27B shows a conceptual diagram of the delivery route of the transport vehicle by piston transportation. That is, the loading time 46 may be once a day for single transportation, but twice a day for piston transportation. In the piston transportation of this embodiment, the number of times of returning to the bases 1 and 2 is one time, but it may be returned two or more times.
[0188]
The outline of the calculation process is as follows. Calculation processing is performed for each delivery area of each base 1 and 2. Since this calculation process is the same process in the depot delivery area in the base direct delivery area, for convenience of explanation, a specific base 1 and a plurality of stores 3 where cigarettes are delivered from the base 1 by delivery vehicles 3... 3 A case where a delivery area exists will be described. First, on the new case setting screen (FIG. 5), the conditions of the stores 3. Specifically, a piston time condition 51 is set as the time condition, and a piston quantity condition 52 is set as the quantity condition.
[0189]
The piston time condition 51 is a parameter that designates the stores 3... 3 to be subjected to piston transportation as a condition from the distance from the base 1, and the time condition range 54 a of the stores 3. The step 54b is designated. FIG. 5 shows that the distance conditions are changed in increments of 10 minutes (ie within 20 minutes, within 30 minutes, within 40 minutes) for dealers 3. The case where it is designated to calculate the number of courses for the condition is shown. The method for calculating the distance from the time is the same as the method for obtaining the direct distribution distance of the base 1.
[0190]
The piston quantity condition 52 is a parameter for designating the sales outlets 3 ... 3 to be a piston transportation target on the basis of the quantity of the delivery goods, and is inscribed with the quantity condition range 55a of the sales outlets 3 ... 3 to be a piston transportation target. Specify 55b. As the physical quantity condition, the value of physical quantity 338 per shop information is designated. FIG. 5 shows that the quantity condition 338 of each store 3... 3 is changed from 10,000 to 50,000 in increments of 10,000 (that is, 10,000 or more, 20,000 or more, 30,000 or more, 40,000 or more). , 50,000 or more), the case where it is designated to calculate the number of courses for each physical quantity condition is shown.
[0191]
After the above-described piston time condition 51 and piston quantity condition 52 are set, when creation 53 is selected, the course number calculation process by this system is started. In the case of FIG. 5, first, a dealer 3... 3 that exists in an area within 20 minutes from the base 1 and has a quantity 338 or more per shop. 3 ... 3 is selected as a target store for piston transport, and the other stores 3 ... 3 are selected as target stores for single transport, and the number of piston transport courses Cnp and the number of single transport courses Cns are calculated and added. To obtain the number of courses Cn. Thereafter, each condition is changed according to the specified increment, and the number of courses Cn is similarly obtained for all the changed conditions, and the minimum number of courses Cn among the obtained number of courses Cn. Let Cn.
[0192]
The number of single transport courses Cns is calculated by obtaining the number of time courses Cnsh and the number of physical courses Cnsg for the sales stores 3... The number of piston transport courses Cnp is also determined for the number of time courses Cnph and the quantity course number Cnpg for the sales stores 3...
[0193]
The overall processing flow performed by the central processing unit 4 in the calculation processing will be described with reference to the flowchart shown in FIG.
[0194]
In step S1000, the base information in the processing base file 16a ′ is read. Next, in step S1010, it is determined whether or not there is base information that can be newly read. Here, the base 1 corresponding to the newly read base information is referred to as the base 1. In step S1020, the lower limit value of the range 54a designated as the piston quantity condition 51 for the base 1 is set as the time variable, and the lower limit value of the range 55a designated as the piston quantity condition 52 is set as the quantity variable. In the example of FIG. 5, “20 minutes” is set as the time variable, and “10000” is set as the quantity variable.
[0195]
Next, the process proceeds to step S1025, and as the piston object selecting means 4k, the store information of the stores 3 ... 3 satisfying the set time condition 51 and the quantity condition 52 among the stores 3 ... 3 belonging to the base 1 is obtained. The processing store file 16 b ′ is selected, and the store information of the store 3... 3 not selected among the stores 3. For example, the store information of the selected store 3... 3 is stored in the WORK area 7 as a piston file, and the store information of the store 3. The condition that the condition is satisfied is that the linear distance between the bases 1 and 2 and the dealers 3... 3 is not less than the distance obtained from the time variable, and the quantity 338 of the dealer 3. It is within.
[0196]
Next, in step S1030, the number of time courses Cnph and the number of quantity courses Cnpg are calculated based on mathematical formulas described later for the stores 3... 3 existing in the piston file. The larger of the calculated time course number Cnph and the quantity course number Cnpg is set as the course number Cnp in the piston transportation.
[0197]
Next, in step S1040, the number of time courses Cnsh and the quantity course number Cnsg are calculated according to mathematical formulas described later for the sales outlets 3... 3 existing in the single file. The larger one of the calculated time course number Cnsh and the quantity course number Cnsg is set as the course number Cns in the single transport.
[0198]
Next, in step S1050, the number of courses Cns for single transport and the number of courses Cnp for piston transport are summed, and temporarily stored in the course number storage area of the WOR area 7, for example, as the number of courses Cn in the conditions.
[0199]
Next, in step S1060, the increment 55b specified in the piston quantity condition 52 is added to the quantity variable. For example, if the current quantity variable is 10,000 and the increment 55b is 10,000, then 10,000 + 10,000 = 20,000. In step S1070, it is determined whether or not the quantity variable to which the increment is added exceeds the upper limit value of the range specified in the piston quantity condition 52. If not, the number of courses Cn for the quantity variable is determined. Is returned to step S1030. When it exceeds, it progresses to step S1080.
[0200]
In step S1080, the increment 54b specified in the piston time condition 51 is added to the time variable. For example, if the current time variable is 20 minutes and the increment 54b is 10 minutes, 20 minutes + 10 minutes = 30 minutes.
[0201]
Next, in step S1090, it is determined whether the time variable exceeds the upper limit value of the range specified by the piston time condition 51. If not, the process proceeds to step S1100, and the process returns to step S1030 to set the lower limit value of the range specified by the piston quantity condition 52 to the quantity variable and to calculate the course number Cn. If exceeded, the process proceeds to step S1110, the minimum number of courses Cn is selected from the course number storage area, the course number Cn is set as the number of courses Cn of the bases 1 and 2, and the time variable corresponding to the number of courses Cn is set. The value and the value of the quantity variable are set in the base information of the base 1 as piston condition: time 318 and piston condition: quantity 319. Also, a piston is set in the piston section 348 of the store 3... 3 satisfying both conditions 318 and 319, and a single is set in the piston section 348 of the other store 3. .
[0202]
The procedure for calculating the above-mentioned time course numbers Cnsh and Cnph and the quantity course numbers Cnsg and Cnpg in the central processing unit 4 will be described below.
[0203]
First, the procedure for calculating the number of time courses Cnsh for single transport will be described. First, the number of delivery stores Dn that can be delivered in one course based on the time limit is obtained by the central processing unit 4 as the delivery destination number calculating means 4e by the following formula.
[0204]
[Expression 23]
Figure 0004180957
[0205]
Ws is the daily delivery time, Dt is the time from the base, St is the average inter-store time, and Ot is the average storefront time. The denominator portion is the time required for delivery for one dealer 3, and the numerator portion is the time that the delivery vehicle can spend for delivery between delivery destinations in one day. Each item will be described below.
[0206]
The daily delivery time Ws is the work time related to the delivery of the daily work time 45, and the delivery time depends on the daily work time 45- (loading time 46 + break time 47 + post-work time 48). It is calculated | required by the central processing unit 4 as the calculation means 4a. The work time 45, the loading time 46, the break time 47, and the post-return work time 48 are obtained from the common parameter file 14b.
[0207]
The time Dt from the base is an average of the travel time between the base 1 and the sales outlet 3 subject to single transport. It is obtained by the central processing unit 4 as the time calculation means 4b from the base. For example, as shown in FIG. 26 (b), it is an average time required for the movement of the forward path A or the backward path B required for the movement of the base 1 and the store 3. In the present embodiment, among the dealers 3... 3 that are the targets of single transport belonging to the base 1, for example, each of the five dealers 3. Obtain by the average travel time traveled by. The travel time between the base 1 and the store 3 is calculated using the same speed equation α as in the case of calculating the direct distribution distance. The speed equation α will be described later. The process flow for obtaining the time Dt from the base in the central processing unit 4 will also be described later.
[0208]
The average inter-store time St is an average time required for the movement between the stores 3 belonging to the base 1 and subject to single transportation. It is calculated | required by the central processing unit 4 as the store time calculation means 4c. In the stores 3... 3 belonging to the base 1 for the single transport, the average travel time between, for example, five stores 3. The average travel time is calculated for the stores 3... 3 and the calculated average travel times are further averaged. Also in the calculation of the average inter-store time St, the speed equation α described later is used to calculate the travel time between the stores 3. A method for calculating the travel time between the stores and the flow of processing performed by the central processing unit 4 to calculate the average inter-store time St will also be described later.
[0209]
In the present embodiment, when calculating the time Dt and the average inter-store time St from the base, the average of the five dealers 3... 3 is calculated, but the number of dealers 3 to be averaged is not limited to this. .
[0210]
The average storefront time Ot is an average value of the storefront hours 339 of the stores 3... 3 belonging to the base 1 for the single transport. It is calculated by the central processing unit 4 as the storefront time calculation means 4d.
[0211]
After the number of delivery stores Dn per course is calculated by the above formula, the central processing unit 4 as the time course number calculation means 4g calculates the number of time courses Cnsh from the following formula.
[0212]
[Expression 24]
Figure 0004180957
[0213]
Sn is the number of weighted stores as the total number of delivery destinations delivered in one week. The total number is a total value added as two stores when delivering twice to the same delivery destination in one week. This is the total value of the number-of-times weighting 345 of the stores 3... 3 belonging to the base 1 and subjected to single transportation. It is calculated by the central processing unit 4 as the delivery destination total number calculating means 4f.
[0214]
Moreover, the quantity course number Cnsg of the single transport is obtained by the following formula by the central processing unit 4 as the quantity course number calculating means 4i.
[0215]
[Expression 25]
Figure 0004180957
[0216]
Vn of the numerator is the total delivery amount within the period, and is obtained by summing the number-of-times-delivered delivery amount 346 of the stores 3... 3 belonging to the base 1 and subject to single transport. It is calculated by the central processing unit 4 as the in-period physical quantity calculation means 4h. Bn of the denominator is the load amount of one delivery vehicle, and is obtained by the load amount 49 × the quantity coefficient 50. The load amount 49 and the quantity factor 50 are, in principle, values of the load amount 49 stored in the common parameter file 14b. However, for the site 1 in which the load amount 314 of the site information is set, the load amount 314 is Used preferentially.
[0217]
After the time course number Cnsh and the quantity course number Cnsg are calculated by the above procedure, the central processing unit 4 as the course number determination means 4j determines the larger number as the number of single transport courses of the base 1 according to the conditions. Cns is determined. In the present embodiment, the number of time courses Cnsh, the quantity course number Cnsg, and the single transport course number Cns are the number of courses per week.
[0218]
Next, the calculation procedure of the time course number Cnph and the quantity course number Cnpg of piston transportation will be described. First, the central processing unit 4 as the delivery destination number calculating means 4e belongs to the base 1, and the number of delivery stores Dn per course for the sales outlets 3... calculate.
[0219]
[Equation 26]
Figure 0004180957
[0220]
The meaning of each parameter and the calculation procedure are the same as for single transport. However, since the piston transport returns to the base 1 once during the course, the loading time 46 is required twice per course as shown in FIG. Accordingly, the daily delivery time Wp is calculated by the central processing unit 4 serving as the delivery time calculation means 4a by the formula of the daily work time 45- (loading time 46 × 2 + break time 47 + post-return work time 48). Desired. In addition, the numerator portion is obtained by adding a value obtained by doubling the average inter-store time St for adjustment except for a value obtained by multiplying the time Dt from the base by two round trips from the daily delivery time Wp, that is, a value obtained by multiplying the time Dt by four times from the base. Value.
[0221]
The method of obtaining the number of hour courses Cnph from the number of delivery stores Dn per course is calculated by the following equation by the central processing unit 4 as the hour course number calculating means 4g, as in the case of single transport.
[0222]
[Expression 27]
Figure 0004180957
[0223]
Note that the time Dt, the average inter-store time St, and the average storefront time Ot from the base are the sales outlets 3... 3 that are the targets of the piston transportation belonging to the base 1 and the sales outlets 3. It is calculated by each calculation means of the central processing unit 4 in the same way as when calculating for the target.
[0224]
The quantity course Cnpg of the piston transportation is obtained by the following formula by the central processing unit 4 as the quantity course number calculating means 4i.
[0225]
[Expression 28]
Figure 0004180957
[0226]
The intra-period delivery quantity Vn of the numerator portion is summed by the central processing unit 4 serving as the intra-period quantity calculation means 4h by adding the number-weighted delivery quantity 346 of the stores 3... 3 belonging to the base 1 and subject to piston transportation. Ask for. Since the denominator portion has two loading operations in one course, the loading amount in one course is twice the loading amount Bn.
[0227]
Also for the number of courses Cnp by the piston transportation, the central processing unit 4 as the course number determination means 4j selects the larger number of courses among the time course number Cnph and the quantity course number Cnpg as the course number Cnp. As in the case of single transportation, the number of time courses Cnph, the quantity course number Cnpg, and the single transportation course number Cnp are weekly course numbers.
[0228]
The above is the calculation process in this embodiment. As a method of selecting the minimum number of courses Cn, the number of courses Cn corresponding to the first time variable and quantity variable are stored in the course number storage area together with the time variable and quantity variable, and the calculated number of courses Cn In comparison, only when the next calculated course number Cn is smaller, the smaller course number Cn and the time variable and the quantity variable corresponding to the course number Cn may be stored. The number of courses Cn, the value of the time variable, and the value of the quantity variable may be recorded in the processing statistical information file 16c together with the parameters used to calculate the number of courses Cn.
[0229]
Further, the calculation of the number of courses Cn may be performed for each store attribute 341. For example, the number of courses Cn for the general stores 3... 3 and the number of courses Cn for the convenience stores 3... 3 may be calculated separately as described above, and added to obtain the number of courses Cn for the base 1. In this case, when obtaining the number of courses Cn for the convenience stores 3... 3, the above-mentioned number of courses Cn is calculated only for the sales stores 3... 3 whose store attributes 341 are convenience stores. When the number of courses Cn for 3 is obtained, the above-mentioned number of courses Cn is calculated only for the sales outlets 3... 3 whose store attributes 341 are general stores.
[0230]
Further, when the calculated number of courses Cn does not reach the number threshold 313 of the base 1, a mark for indicating that the transportation efficiency is poor may be displayed on the screen 8 as described above. Here, since the number of courses Cn is a value in units of weeks, it is necessary to convert the number of courses Cn into daily units when comparing the number of courses Cn and the number threshold 313. Therefore, by dividing the number of courses Cn by the number of days in which delivery is performed in one week, the value is compared with the number threshold 313. That is, in the case of the base 1 where delivery is performed for five days a week, the value obtained by dividing the number of courses Cn by 5 is compared with the number threshold 313. As described above, when the number of courses Cn is separately obtained for the case where the store attribute 341 is a convenience store and the case of a general store, the number of courses Cn for the convenience store is divided by 6, and the number of courses Cn for the general store is 5 And the value obtained by adding each value is compared with the number threshold 313.
[0231]
Next, in the present system, a method for simulating the speed of the delivery vehicle according to the moving distance and the environment of the moving place will be described. In the following description, the bases 1 and 2 are simply referred to as the base 1. The distance is generally calculated by speed × time. For example, when the time is 1.5 hours, the distance is 1.5 times per hour. As the value of hourly speed, for example, the administrative district speed 401 of the administrative district table 10a can be applied. However, the moving speed varies depending on the distance between the two moving points. For example, when two points are close, the speed does not increase to the administrative district speed 401. Therefore, the moving speed in this system is changed according to the moving distance instead of uniformly using the administrative district speed 401 in order to realize simulation under conditions closer to the actual situation. In addition, considering the significant difference in traffic conditions between the city and the countryside, the place to move is handled by distinguishing between the country type and the city type. FIGS. 32A and 32B are graphs showing changes in moving speed according to the moving distance between two points. FIG. 32A is an urban graph, and FIG. 32B is a rural graph. These graphs can be expressed by the following velocity formula α, and each parameter described below is set and calculated in the central processing unit 4 to obtain a velocity V corresponding to the moving environment and the moving distance. .
[0232]
[Expression 29]
Figure 0004180957
[0233]
Sm is the administrative district speeds 317 and 344, Ri is the initial speed coefficient, and T is the rising coefficient. In the present embodiment, the initial speed coefficient Ri is 0.37, the rising coefficient T is 1 for the urban type, and 0.3 for the rural type. Whether the rising coefficient T is set to the urban type or the rural type is determined and set as appropriate depending on the value set in the urban flag 320 of the base information or the urban flag 331 of the store information. I is a provisional distance. Hereinafter, a specific calculation method of each distance described above will be described.
[0234]
When obtaining the direct distribution distance, the provisional distance I is set as the administrative district speed 317 × the base direct distribution parameter 312, the administrative district speed 317 of the base 1 corresponding to the base direct distribution parameter 312 is set to the administrative district speed Sm, and the urban flag 320 is set. By setting the corresponding rising coefficient T, the speed V is obtained based on the speed equation α. The direct distribution distance of the base 1 is obtained by the obtained speed V × base direct distribution parameter 312.
[0235]
When obtaining the base acquisition ranges 102 and 700, the provisional distance I is set to the administrative district speed 317 × the base acquisition upper limit 315, the administrative district speed 317 of the base 1 corresponding to the base acquisition ranges 102 and 700 is set to the administrative district speed Sm, and the city flag By setting the rising coefficient T according to 320, the speed V is obtained based on the speed equation α. The radius of the circle 315 indicating the maximum range of the range where the depot 2 that can be acquired exists by the calculated speed V × base acquisition upper limit 315 is obtained. Similarly, the speed V is calculated based on the speed formula α with the provisional distance I as the administrative district speed 317 × base acquisition lower limit 316, and the minimum range of the range in which the depot 2 that can be acquired by the calculated speed V × base acquisition lower limit 316 exists. Is obtained.
[0236]
The procedure of the process for obtaining the time Dt from the base for the base 1 using the speed equation α will be described with reference to the flowchart of FIG. This processing is performed by the central processing unit 4 as the time calculation means 4b from the base. First, among the stores 3... 3 belonging to the base 1 as route delivery, five stores having a straight line distance from the base 1 are selected, and the parameters T, Sm, and I of the speed equation α are set for the five stores 3. Set.
[0237]
The linear distance between the base 1 and each store 3 is set as the provisional distance I, the administrative district speed 317 of the base 1 is set as the administrative district speed Sm, and the urban flag 320 of the base 1 is set as the rising coefficient T. A corresponding value is set (step S1200), and each speed V for each store 3 is obtained (step S1210). The travel time from the base 1 corresponding to each store 3 is calculated by the provisional distance I corresponding to each store 3 / the speed V corresponding to each store 3 (step S1220). The travel time at each store 3 is averaged, and the average value is set as the time Dt from the base for the base 1 (step S1230).
[0238]
When the number of courses Cns for single transport is determined, only the single transport dealers 3 ... 3 are targeted. When the number of courses Cnp for piston transport is determined, only the retailers 3 ... 3 for piston transport are targeted. The time Dt is obtained from the base.
[0239]
Next, a processing procedure for obtaining the average inter-store time St will be described with reference to the flowchart of FIG. This process is performed by the central processing unit 4 as the inter-store time calculation means 4c. First, out of the sales outlets 3... 3 belonging to the base 1 to be calculated, one sales outlet 3 is set as a specific sales outlet 3, and a sales outlet 3... 3 having a straight line distance from the specific sales outlet 3 is selected. (Step S1240). The parameters T, Sm, and I are set in the speed equation α (step S1250). The provisional distance I is the linear distance between the specified store 3 and the selected store 3... 3, the rising coefficient T is a value based on the urban flag 337 of the specified store 3, and the administrative district speed Sm. The administrative district speed 344 of the specified store 3 is set. Next, the speed V is calculated from the speed equation α based on the parameter for which the value has been set (step S1260). For each selected store 3... 3, each travel time is calculated by dividing each provisional distance I by the corresponding speed V (step S 1270). Based on these travel times, the average travel time for a specific store 3 is calculated and set as the average travel time for this specific store 3 (step S1280). The average travel time is calculated in the same manner for all the other stores 3... 3 belonging to the base 1 as route delivery (step S1290). Finally, the average value of the average travel time calculated for each of the stores 3... 3 is calculated as the average inter-store time St (step S1300).
[0240]
When the number of courses Cns for single transport is determined, only the single transport dealers 3 ... 3 are targeted. When the number of courses Cnp for piston transport is determined, only the retailers 3 ... 3 for piston transport are targeted. The average inter-store time St is obtained.
[0241]
The present invention is not limited to the embodiments described above, and may be implemented in various forms. For example, the unit and number of regions can be set according to the needs of the user. Moreover, you may add, delete, and change the processing for the stores 3.
[0242]
In the present embodiment, the system operates on a stand-alone computer. However, the devices 4, 5, 6, 7, and 8 may exist as nodes on the network and may be realized as a system on the network.
[0243]
In this embodiment, an intermediate file or storage area is used to distinguish the dealer information and base information corresponding to the conditions from other dealer information and base information. However, a flag indicating that each condition is satisfied is prepared. In addition to the data items of store information and base information satisfying the conditions, a method of setting a flag satisfying the conditions may be used. When data is read from the file in the processing order by the central processing unit 4, the files may be sorted in advance in the processing order and read in order.
[0244]
In the present embodiment, the master files 11a and 11b are prepared for the information about the bases 1 and 2 and the information about the store 3, respectively, and the administrative district table 14a and the common parameter file 14b are also prepared in advance. A configuration may be adopted in which items are appropriately input from the input device 6. In this case, the delivery base information storage means, the delivery destination information storage means, and the common information storage means may be provided in the WORK area 7. Further, at the time of initial startup, the base direct distribution parameter 312 to the city flag 320 in the base information file 11a do not need to be set, and may be set during execution of processing by the present system. Each default value can also be changed.
[0245]
After the result of the division processing by the computer, a function may be added in which the user freely belongs a specific store 3 to a specific delivery base 1. It may be possible for the user to select whether or not to display the specific bases 1 and 2 and the store 3 on the screen 8.
[0246]
Furthermore, in the present embodiment, cigarettes are used as delivery items. However, the delivery items are not limited to this, and even if a plurality of types of delivery items are delivered, the base information file 11a and the store information A delivery area can be created by the present system by adding an identifier for identifying the type of each delivery item and data corresponding to each delivery item to each file 11b.
[0247]
In this embodiment, when the depot 2 does not belong to any base 1, the base code 303 of the base information of the depot 2 is set to NULL, and when the depot 2 does not belong to the base 1, the store 3 Judgment is made by setting the depot code 300b and base code 300a of the dealer information to NULL, but “not belonging” may be determined by other methods such as determining by a specific code.
[0248]
In addition, the calculation result in the present embodiment may be an integer by rounding off to an appropriate place, or may be calculated up to the decimal point.
[0249]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a delivery area simulation system that simulates the number of courses of delivery vehicles in a delivery area in order to optimize delivery areas based on the number of delivery vehicles. .
[Brief description of the drawings]
FIG. 1 is a diagram showing a plurality of bases, a plurality of depots, and a plurality of delivery destinations.
FIG. 2 is a diagram showing an example of a system configuration in the present invention.
FIG. 3 is a diagram showing a file configuration in the present embodiment.
FIG. 4 is a diagram showing a new case creation screen in the present embodiment.
FIG. 5 is a diagram showing a new case creation screen for setting in-case common parameters in the present embodiment.
FIG. 6 is a diagram showing a division logic selection screen in the present embodiment.
FIG. 7 is a diagram showing a division condition setting screen in the present embodiment.
FIG. 8 is a diagram showing a result display screen of division processing in the present embodiment.
FIG. 9 is an enlarged view of a map window.
FIG. 10 is a diagram showing a scenario saving screen.
FIG. 11A is a diagram showing that a base direct distribution area is created in the base area examination type logic, and FIG. 11B is a diagram showing selecting a depot that can belong to the base.
FIGS. 12A and 12B are diagrams showing how a delivery area of each depot belonging to a base is created in the base area examination type logic;
FIG. 13A is a diagram showing how adjustment processing is performed when there are sales outlets belonging to two or more depots, and FIG. 13B is a sales shop belonging to two or more depots. The figure which shows that the adjustment process in case there exists, and the delivery area was created.
FIG. 14 is a flowchart showing a flow of processing performed by the central processing unit in the base area examination logic.
FIG. 15 is a flowchart showing a flow of processing performed by the central processing unit in base direct distribution area creation processing, which is a subroutine of processing by base area consideration type logic;
FIG. 16 is a flowchart showing a flow of processing performed by the central processing unit in depot delivery area creation processing, which is a subroutine of processing by base area consideration type logic.
17 is a diagram showing a continuation of the flowchart shown in FIG.
FIG. 18 is a flowchart showing a flow of processing performed by the central processing unit in duplication confirmation processing which is a subroutine of depot delivery area creation processing.
FIG. 19 is a flowchart showing the flow of processing performed by the central processing unit in the overlapping affiliation adjustment processing that is a subroutine of depot delivery area creation processing;
FIG. 20A is a conceptual diagram showing a base, a depot, and a dealer for explaining base stacked logic, and FIG. 20B is a direct distribution area of each base in the base stacked logic. The conceptual diagram which shows how it was created.
FIG. 21 is a conceptual diagram showing how a base selects a depot within a base income range and a delivery area is created in the base stacking type logic.
FIG. 22 is a flowchart showing a flow of processing performed by the central processing unit in the base stacking type logic.
FIG. 23 is a flowchart showing a flow of processing performed by the central processing unit in a base direct distribution area creation process which is a subroutine of processing based on base stacking logic.
FIG. 24 is a flowchart showing the flow of processing performed by the central processing unit in duplication confirmation processing that is a subroutine of base direct distribution area creation processing;
FIG. 25 is a flowchart showing the flow of processing performed by the central processing unit in the depot fetching process which is a subroutine of processing based on the base stacking type logic.
FIG. 26A is a diagram showing a breakdown of work time in single transport, and FIG. 26B is a diagram showing route delivery in single transport.
FIG. 27A is a diagram showing a breakdown of working time in piston transportation, and FIG. 27B is a diagram showing route delivery in piston transportation.
FIG. 28 is a flowchart showing a flow of processing performed by the central processing unit in calculation processing.
FIG. 29 is a diagram showing data items of base information.
FIG. 30 is a diagram showing data items of store information.
FIG. 31 is a diagram showing data items included in the administrative district table.
32A is a diagram showing a speed graph corresponding to a distance in a city, and FIG. 32B is a diagram showing a speed graph corresponding to a distance in a countryside.
FIG. 33 is a flowchart showing a flow of processing for calculating time from a base.
FIG. 34 is a flowchart showing the flow of processing for calculating the inter-store time.
[Explanation of symbols]
1 base
1, 2 bases
2 Depot
3 dealers
4 Central processing unit
5 storage devices
6 Input device
7 WORK area
8 Output device
11a Site information file
11b Dealer information file
14 Case folder
16a Processing base file
16b Dealer file for processing
17 scenario
201a ... 201f Delivery area

Claims (8)

1の配達拠点から複数の配達先へ、配達車によって配達物を配達する配達エリアにおいて、前記配達車の配達コースのコース数に関するシミュレーションを行なう配達エリアシミュレーションシステムであって、
前記複数の配達先を相互に識別可能な配達先識別情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達物量に関する情報と、前記複数の配達先のそれぞれの場所に関する情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達回数に関する情報と、前記複数の配達先のそれぞれにおける配達にかかる店頭時間に関する情報と、前記複数の配達先のそれぞれにおける行政区速度に関する情報と、を相互に関連付けて記憶する配達先情報記憶手段と、
前記配達拠点の場所に関する情報と、前記配達拠点における行政区速度に関する情報と、を記憶する配達拠点情報記憶手段と、
前記配達物の配達に係る作業時間に関する情報と、前記配達車の前記配達物についての積載量に関する情報と、を記憶する共通情報記憶手段と、
前記作業時間に関する情報に基づいて1日の配達時間Wsを算出する配達時間算出手段と、
前記配達拠点の場所に関する情報と前記複数の配達先のそれぞれの場所に関する情報から、前記配達拠点と前記複数の配達先との間の距離を求め、その距離と前記配達拠点の前記行政区速度に関する情報とに基づいて、前記配達車が前記配達拠点と前記複数の配達先それぞれとの移動に要する時間の平均である拠点から時間Dtを算出する拠点から時間算出手段と、
前記複数の配達先のそれぞれの前記場所に関する情報に基づいて、前記複数の配達先のそれぞれ相互間の距離を求め、その距離とその距離に対応する配達先の前記行政区速度に関する情報とに基づいて、前記配達車が一の配達先から他の配達先への移動に要する時間の平均である平均店間時間Stを算出する店間時間算出手段と、
前記複数の配達先のそれぞれの前記店頭時間に関する情報に基づいて、平均店頭時間Otを算出する店頭時間算出手段と、
前記配達車が1コースで配達可能な配達先数Dnを、下記の式に基づいて求める配達先数算出手段と、
Figure 0004180957
前記複数の配達先のそれぞれの前記配達回数に関する情報に基づいて、前記配達車が所定期間に配達する配達先数延べ数Snを算出する配達先延べ数算出手段と、
下記の式に基づいて前記所定期間における時間コース数Cnshを算出する時間コース数算出手段と、
Figure 0004180957
前記複数の配達先のそれぞれの前記配達回数に関する情報及び前記配達物量に関する情報に基づいて、前記所定期間に、前記複数の配達先のそれぞれへ配達される前記配達物量の期間内配達物量合計Vnを算出する期間内物量算出手段と、
前記積載量をBnとし、下記の式に基づいて前記所定期間における物量コース数Cnsgを算出する物量コース数算出手段と、
Figure 0004180957
前記時間コース数Cnshと前記物量コース数Cnsgのうち、いずれか一方を選択し、前記配達エリアのコース数Cnとして決定するコース数決定手段と、を有することを特徴とする配達エリアシミュレーションシステム。
A delivery area simulation system for performing a simulation on the number of courses of a delivery course of the delivery vehicle in a delivery area where deliveries are delivered by delivery vehicles from one delivery base to a plurality of delivery destinations,
Delivery destination identification information capable of mutually identifying the plurality of delivery destinations, information on the delivery amount of the delivery items at each of the plurality of delivery destinations, information on the locations of the plurality of delivery destinations, Information on the number of deliveries for the delivery items at each of a plurality of delivery destinations, information on the storefront time required for delivery at each of the plurality of delivery destinations, and information on administrative district speeds at each of the plurality of delivery destinations Delivery destination information storage means for storing in association with each other;
Delivery base information storage means for storing information on the location of the delivery base and information on administrative district speed at the delivery base;
Common information storage means for storing information relating to work time relating to delivery of the delivery and information relating to a load amount of the delivery vehicle for the delivery;
A delivery time calculating means for calculating a daily delivery time Ws based on the information on the work time;
From the information about the location of the delivery base and the information about the location of each of the plurality of delivery destinations, the distance between the delivery base and the plurality of delivery destinations is obtained, and the information about the distance and the administrative district speed of the delivery base A time calculation means from a base that calculates a time Dt from a base that is an average of the time required for the delivery vehicle to move between the delivery base and each of the plurality of delivery destinations,
Based on the information on the location of each of the plurality of delivery destinations, the distance between the plurality of delivery destinations is obtained, and based on the distance and the information on the administrative district speed of the delivery destination corresponding to the distance. Inter-store time calculating means for calculating an average inter-store time St that is an average of the time required for the delivery vehicle to move from one delivery destination to another delivery destination;
Storefront time calculating means for calculating an average storefront time Ot based on the information on the storefront time of each of the plurality of delivery destinations;
A delivery destination number calculating means for obtaining the delivery destination number Dn that the delivery vehicle can deliver in one course based on the following equation;
Figure 0004180957
A delivery destination total number calculating means for calculating the total number of delivery destinations Sn delivered by the delivery vehicle in a predetermined period based on information on the number of delivery times of each of the plurality of delivery destinations;
A time course number calculating means for calculating the number of time courses Cnsh in the predetermined period based on the following formula;
Figure 0004180957
Based on the information on the number of deliveries of each of the plurality of delivery destinations and the information on the delivery quantity, the delivery quantity total Vn within the period of the delivery quantity delivered to each of the plurality of delivery destinations in the predetermined period. A physical quantity calculation means for calculating a period,
A quantity course number calculating means for calculating the quantity course number Cnsg in the predetermined period based on the following formula, wherein the loading amount is Bn;
Figure 0004180957
A delivery area simulation system, comprising: a course number determining means for selecting one of the time course number Cnsh and the quantity course number Cnsg and determining the course number Cn of the delivery area.
前記コース数決定手段は、前記時間コース数Cnshと前記物量コース数Cnsgのうち、大きい数の方を選択すること、を特徴とする請求項1に記載の配達エリアシミュレーションシステム。2. The delivery area simulation system according to claim 1, wherein the course number determination unit selects a larger one of the time course number Cnsh and the quantity course number Cnsg. 3. 前記配達時間算出手段は、前記作業時間に関する情報に基づく作業時間から、前記配達拠点での作業及び休憩時間を除いた時間とすることを特徴とする請求項1または2に記載の配達エリアシミュレーションシステム。3. The delivery area simulation system according to claim 1, wherein the delivery time calculation unit is a time obtained by excluding work and rest time at the delivery base from work time based on information on the work time. . 前記複数の配達先のうち、前記配達拠点にて前記配達物の積込み作業を1コース中に複数回行なうピストン輸送の対象であるための条件を満たす前記複数の配達先を選択し、その選択された前記複数の配達先を前記ピストン輸送の対象として、選択されなかった通常輸送の前記複数の配達先と識別可能にするピストン対象選択手段を有し、
前記配達時間算出手段においては、前記配達拠点における前記積込み作業の回数に応じた時間を考慮して前記ピストン輸送に対応する1日の配達時間Wpを算出し、
前記拠点から時間算出手段、前記店間時間算出手段、前記店頭時間算出手段、前記配達先延べ数算出手段、及び前記期間内物量算出手段それぞれにおいて、前記ピストン輸送の対象とされる前記複数の配達先と前記通常輸送の対象とされる前記複数の配達先とはそれぞれ別個に処理され、
前記配達先数算出手段は、前記通常輸送に対応する前記配達先数Dnの他に、前記ピストン輸送に対応する前記配達先数Dnを、前記ピストン輸送に対応する前記拠点から時間Dt、前記平均店間時間St、前記平均店頭時間Otに基づいて、下記の式により求め、
Figure 0004180957
前記時間コース数算出手段は、前記通常輸送に対応する前記時間コース数Cnshの他に、前記ピストンに対応する時間コース数Cnphを、前記ピストン輸送に対応する前記配達先延べ数Sn及び前記配達先数Dnに基づいて算出し、
前記物量コース数算出手段は、前記通常輸送に対応する前記物量コース数Cnsgの他に、前記ピストン輸送に対応する物量コース数Cnpgを、前記ピストン輸送に対応する前記期間内配達物量合計Vnに基づいて、下記の式により算出し、
Figure 0004180957
前記コース数決定手段は、前記通常輸送に対応する前記コース数Cns及び前記ピストン輸送に対応する前記コース数Cnpをそれぞれ選択し、選択された前記通常輸送に対応する前記コース数Cnsと前記ピストン輸送に対応する前記コース数Cnpを合計し、その合計コース数を前記配達エリアの前記コース数Cnとして決定すること、
を特徴とする請求項1〜3のいずれか1項に記載の配達エリアシミュレーションシステム。
Among the plurality of delivery destinations, select the plurality of delivery destinations satisfying a condition for being a target of piston transportation in which the delivery work of the delivery items is performed a plurality of times in one course at the delivery base. The plurality of delivery destinations as piston transportation targets, the piston target selection means for enabling identification with the plurality of delivery destinations of the normal transportation that was not selected,
The delivery time calculation means calculates a daily delivery time Wp corresponding to the piston transportation in consideration of a time according to the number of loading operations at the delivery base,
The plurality of delivery destinations to be subjected to the piston transportation in each of the base from the time calculation means, the inter-store time calculation means, the storefront time calculation means, the total delivery destination number calculation means, and the intra-period physical quantity calculation means And the plurality of delivery destinations subject to normal transportation are processed separately,
In addition to the delivery destination number Dn corresponding to the normal transportation, the delivery destination number calculating means calculates the delivery destination number Dn corresponding to the piston transportation from the base corresponding to the piston transportation, the time Dt, and the average Based on the inter-store time St and the average store front time Ot, the following formula is used.
Figure 0004180957
In addition to the time course number Cnsh corresponding to the normal transportation, the time course number calculation means calculates the time course number Cnph corresponding to the piston, the total delivery destination number Sn corresponding to the piston transportation, and the delivery destination number. Calculated based on Dn,
In addition to the quantity course number Cnsg corresponding to the normal transportation, the quantity course number calculation means calculates the quantity course number Cnpg corresponding to the piston transportation based on the total delivery quantity Vn within the period corresponding to the piston transportation. Calculated by the following formula:
Figure 0004180957
The course number determining means selects the course number Cns corresponding to the normal transportation and the course number Cnp corresponding to the piston transportation, and the course number Cns and the piston transportation corresponding to the selected normal transportation. Totaling the number of courses Cnp corresponding to, and determining the total number of courses as the number of courses Cn in the delivery area;
The delivery area simulation system according to any one of claims 1 to 3.
前記条件の下で、前記ピストン輸送の対象となる前記複数の配達先と前記通常輸送の対象となる前記複数の配達先との組み合わせが複数成立する場合に、前記コース数決定手段は、前記複数の組み合わせのそれぞれについて、前記合計コース数をそれぞれ算出し、その算出された前記合計コース数のうち、1の前記合計コース数を前記配達エリアにおける前記コース数Cnとして決定することを特徴とする請求項4に記載の配達エリアシミュレーションシステム。Under the above condition, when a plurality of combinations of the plurality of delivery destinations to be subjected to the piston transportation and the plurality of delivery destinations to be subjected to the normal transportation are established, The total number of courses is calculated for each of the combinations, and one of the calculated total number of courses is determined as the number of courses Cn in the delivery area. Item 5. The delivery area simulation system according to item 4. 前記移動に要する時間は、前記配達車が配達する場所の環境及び移動する距離を考慮した速度に基づいて求められることを、特徴とする請求項1〜5のいずれか1項に記載の配達エリアシミュレーションシステム。The delivery area according to any one of claims 1 to 5, wherein the time required for the movement is obtained based on a speed in consideration of an environment of a place where the delivery vehicle delivers and a moving distance. Simulation system. 1の配達拠点から複数の配達先へ配達車によって配達物を配達する配達エリアにおいて、前記配達車の配達コースのコース数に関してシミュレーションを行なう手段として、コンピュータを機能させる配達エリアシミュレーションプログラムであって、
前記コンピュータを、
前記複数の配達先を相互に識別可能な配達先識別情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達物量に関する情報と、前記複数の配達先のそれぞれの場所に関する情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達回数に関する情報と、前記複数の配達先のそれぞれにおける配達にかかる店頭時間に関する情報と、前記複数の配達先のそれぞれにおける行政区速度に関する情報と、を相互に関連付けて記憶する配達先情報記憶手段と、
前記配達拠点の場所に関する情報と、前記配達拠点における行政区速度に関する情報と、を記憶する配達拠点情報記憶手段と、
前記配達物の配達に係る作業時間に関する情報と、前記配達車の前記配達物についての積載量に関する情報と、を記憶する共通情報記憶手段と、
前記作業時間に関する情報に基づいて1日の配達時間Wsを算出する配達時間算出手段と、
前記配達拠点の場所に関する情報と前記複数の配達先のそれぞれの場所に関する情報から、前記配達拠点と前記複数の配達先との間の距離を求め、その距離と前記配達拠点の前記行政区速度に関する情報とに基づいて、前記配達車が前記配達拠点と前記複数の配達先それぞれとの移動に要する時間の平均である拠点から時間Dtを算出する拠点から時間算出手段と、
前記複数の配達先のそれぞれの前記場所に関する情報に基づいて、前記複数の配達先のそれぞれ相互間の距離を求め、その距離とその距離に対応する配達先の前記行政区速度に関する情報とに基づいて、前記配達車が一の配達先から他の配達先への移動に要する時間の平均である平均店間時間Stを算出する店間時間算出手段と、
前記複数の配達先のそれぞれの前記店頭時間に関する情報に基づいて、平均店頭時間Otを算出する店頭時間算出手段と、
前記配達車が1コースで配達可能な配達先数Dnを、下記の式に基づいて求める配達先数算出手段と、
Figure 0004180957
前記複数の配達先のそれぞれの前記配達回数に関する情報に基づいて、前記配達車が所定期間に配達する配達先数延べ数Snを算出する配達先延べ数算出手段と、
下記の式に基づいて前記所定期間における時間コース数Cnshを算出する時間コース数算出手段と、
Figure 0004180957
前記複数の配達先のそれぞれの前記配達回数に関する情報及び前記配達物量に関する情報に基づいて、前記所定期間に、前記複数の配達先のそれぞれへ配達される前記配達物量の期間内配達物量合計Vnを算出する期間内物量算出手段と、前記積載量をBnとし、下記の式に基づいて前記所定期間における物量コース数Cnsgを算出する物量コース数算出手段と、
Figure 0004180957
前記時間コース数Cnshと前記物量コース数Cnsgのうち、いずれか一方を選択し、前記配達エリアのコース数Cnとして決定するコース数決定手段、
として機能させることを特徴とする配達エリアシミュレーションプログラム。
A delivery area simulation program for causing a computer to function as a means for simulating the number of delivery courses of a delivery vehicle in a delivery area where deliveries are delivered by delivery vehicles from one delivery base to a plurality of delivery destinations,
The computer,
Delivery destination identification information capable of mutually identifying the plurality of delivery destinations, information on the delivery amount of the delivery items at each of the plurality of delivery destinations, information on the locations of the plurality of delivery destinations, Information on the number of deliveries for the delivery items at each of a plurality of delivery destinations, information on the storefront time required for delivery at each of the plurality of delivery destinations, and information on administrative district speeds at each of the plurality of delivery destinations Delivery destination information storage means for storing in association with each other;
Delivery base information storage means for storing information on the location of the delivery base and information on administrative district speed at the delivery base;
Common information storage means for storing information relating to work time relating to delivery of the delivery and information relating to a load amount of the delivery vehicle for the delivery;
A delivery time calculating means for calculating a daily delivery time Ws based on the information on the work time;
From the information about the location of the delivery base and the information about the location of each of the plurality of delivery destinations, the distance between the delivery base and the plurality of delivery destinations is obtained, and the information about the distance and the administrative district speed of the delivery base A time calculation means from a base that calculates a time Dt from a base that is an average of the time required for the delivery vehicle to move between the delivery base and each of the plurality of delivery destinations,
Based on the information on the location of each of the plurality of delivery destinations, the distance between the plurality of delivery destinations is obtained, and based on the distance and the information on the administrative district speed of the delivery destination corresponding to the distance. Inter-store time calculating means for calculating an average inter-store time St that is an average of the time required for the delivery vehicle to move from one delivery destination to another delivery destination;
Storefront time calculating means for calculating an average storefront time Ot based on the information on the storefront time of each of the plurality of delivery destinations;
A delivery destination number calculating means for obtaining the delivery destination number Dn that the delivery vehicle can deliver in one course based on the following equation;
Figure 0004180957
A delivery destination total number calculating means for calculating the total number of delivery destinations Sn delivered by the delivery vehicle in a predetermined period based on information on the number of delivery times of each of the plurality of delivery destinations;
A time course number calculating means for calculating the number of time courses Cnsh in the predetermined period based on the following formula;
Figure 0004180957
Based on the information on the number of deliveries and information on the delivery quantity of each of the plurality of delivery destinations, the delivery quantity total Vn within the period of the delivery quantity delivered to each of the plurality of delivery destinations in the predetermined period. A physical quantity calculation means for calculating the physical quantity course, a physical quantity course calculation means for calculating the physical quantity course number Cnsg in the predetermined period based on the following formula, wherein the load amount is Bn;
Figure 0004180957
Course number determining means for selecting one of the time course number Cnsh and the quantity course number Cnsg and determining the course number Cn of the delivery area;
A delivery area simulation program characterized by functioning as
1の配達拠点から複数の配達先へ、配達車によって配達物を配達する配達エリアにおいて、前記配達車の配達コースのコース数に関してシミュレーションを行なう配達エリアシミュレーション方法であって、
前記複数の配達先を相互に識別可能な配達先識別情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達物量に関する情報と、前記複数の配達先のそれぞれの場所に関する情報と、前記複数の配達先のそれぞれにおける前記配達物についての配達回数に関する情報と、前記複数の配達先のそれぞれにおける配達にかかる店頭時間に関する情報と、前記複数の配達先のそれぞれにおける行政区速度に関する情報と、を相互に関連付けて記憶する手順と、
前記配達拠点の場所に関する情報と、前記配達拠点の行政区速度に関する情報と、を記憶する手順と、
前記配達物の配達に係る作業時間に関する情報と、前記配達車の前記配達物についての積載量に関する情報と、を記憶する手順と、
前記作業時間に関する情報に基づいて1日の配達時間Wsを算出する手順と、
前記配達拠点の場所に関する情報と前記複数の配達先のそれぞれの場所に関する情報から、前記配達拠点と前記複数の配達先との間の距離を求め、その距離と前記配達拠点の前記行政区速度に関する情報とに基づいて、前記配達車が前記配達拠点と前記複数の配達先それぞれとの移動に要する時間の平均である拠点から時間Dtを算出する手順と、
前記複数の配達先のそれぞれの前記場所に関する情報に基づいて、前記複数の配達先のそれぞれ相互間の距離を求め、その距離とその距離に対応する配達先の前記行政区速度に関する情報とに基づいて、前記配達車が一の配達先から他の配達先への移動に要する時間の平均である平均店間時間Stを算出する手順と、
前記複数の配達先のそれぞれの前記店頭時間に基づいて平均店頭時間Otを算出する手順と、
前記配達車が1コースで配達可能な配達先数Dnを、下記の式に基づいて求める手順と、
Figure 0004180957
前記複数の配達先のそれぞれの前記配達回数に関する情報に基づいて、前記配達車が所定期間に配達する配達先数延べ数Snを算出する手順と、
下記の式に基づいて前記所定期間における時間コース数Cnshを算出する手順と、
Figure 0004180957
前記複数の配達先のそれぞれの前記配達回数に関する情報及び前記配達物量に関する情報に基づいて、前記所定期間に、前記複数の配達先のそれぞれへ配達される前記配達物量の期間内配達物量合計Vnを算出する手順と、
前記積載量をBnとし、下記の式に基づいて前記所定期間における物量コース数Cnsgを算出する手順と、
Figure 0004180957
前記時間コース数Cnshと前記物量コース数Cnsgのうち、いずれか一方を選択し、前記配達エリアのコース数Cnとして決定する手順と、
をコンピュータに実行させることを特徴とする配達エリアシミュレーション方法。
A delivery area simulation method for simulating the number of courses of a delivery course of the delivery vehicle in a delivery area where deliveries are delivered by delivery vehicles from one delivery base to a plurality of delivery destinations,
Delivery destination identification information capable of mutually identifying the plurality of delivery destinations, information on the delivery amount of the delivery items at each of the plurality of delivery destinations, information on the locations of the plurality of delivery destinations, Information on the number of deliveries for the delivery items at each of a plurality of delivery destinations, information on the storefront time required for delivery at each of the plurality of delivery destinations, and information on administrative district speeds at each of the plurality of delivery destinations A procedure for storing them in association with each other;
A procedure for storing information on the location of the delivery base and information on the administrative district speed of the delivery base;
A procedure for storing information relating to work time relating to delivery of the delivery and information relating to a load capacity of the delivery vehicle for the delivery;
A procedure for calculating a daily delivery time Ws based on the information on the working time;
From the information about the location of the delivery base and the information about the location of each of the plurality of delivery destinations, the distance between the delivery base and the plurality of delivery destinations is obtained, and the information about the distance and the administrative district speed of the delivery base A procedure for calculating a time Dt from a base that is an average of the time required for the delivery vehicle to move between the delivery base and each of the plurality of delivery destinations;
Based on the information on the location of each of the plurality of delivery destinations, the distance between the plurality of delivery destinations is obtained, and based on the distance and the information on the administrative district speed of the delivery destination corresponding to the distance. A procedure for calculating an average inter-store time St that is an average of the time required for the delivery vehicle to move from one delivery destination to another delivery destination;
Calculating an average storefront time Ot based on the storefront time of each of the plurality of delivery destinations;
A procedure for obtaining the number of delivery destinations Dn that the delivery vehicle can deliver in one course based on the following formula:
Figure 0004180957
A procedure for calculating a total number Sn of delivery destinations delivered by the delivery vehicle in a predetermined period based on information on the number of deliveries of each of the plurality of delivery destinations;
A procedure for calculating the number of time courses Cnsh in the predetermined period based on the following formula:
Figure 0004180957
Based on the information on the number of deliveries of each of the plurality of delivery destinations and the information on the delivery quantity, the delivery quantity total Vn within the period of the delivery quantity delivered to each of the plurality of delivery destinations in the predetermined period. The procedure to calculate,
A procedure for calculating the quantity course number Cnsg in the predetermined period based on the following formula, where the loading amount is Bn;
Figure 0004180957
A procedure for selecting one of the time course number Cnsh and the quantity course number Cnsg and determining it as the course number Cn of the delivery area;
A delivery area simulation method characterized by causing a computer to execute.
JP2003105007A 2003-04-09 2003-04-09 Delivery area simulation system and program and method thereof Expired - Fee Related JP4180957B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003105007A JP4180957B2 (en) 2003-04-09 2003-04-09 Delivery area simulation system and program and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003105007A JP4180957B2 (en) 2003-04-09 2003-04-09 Delivery area simulation system and program and method thereof

Publications (2)

Publication Number Publication Date
JP2004307175A JP2004307175A (en) 2004-11-04
JP4180957B2 true JP4180957B2 (en) 2008-11-12

Family

ID=33467638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003105007A Expired - Fee Related JP4180957B2 (en) 2003-04-09 2003-04-09 Delivery area simulation system and program and method thereof

Country Status (1)

Country Link
JP (1) JP4180957B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7858731B2 (en) 2000-12-15 2010-12-28 Wellman, Inc. Polyester resins and polyester containers having reduced frictional properties

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6078737B2 (en) * 2012-08-29 2017-02-15 株式会社 聖亘トランスネットワーク Information selection support system, information selection support server, information selection support method, and program
JP6362229B1 (en) * 2017-04-06 2018-07-25 株式会社イサナ Logistics system
JP6976239B2 (en) * 2018-12-27 2021-12-08 株式会社メルカリ Programs, information processing methods, and information processing equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7858731B2 (en) 2000-12-15 2010-12-28 Wellman, Inc. Polyester resins and polyester containers having reduced frictional properties

Also Published As

Publication number Publication date
JP2004307175A (en) 2004-11-04

Similar Documents

Publication Publication Date Title
Grünert et al. Planning models for long-haul operations of postal and express shipment companies
Caceres et al. School bus routing with stochastic demand and duration constraints
Lee et al. Vehicle capacity planning system: A case study on vehicle routing problem with time windows
JP2003141222A (en) Method, system and program for preparing delivery plan
JP2784330B2 (en) Automatic dispatching device
JP4333500B2 (en) Vehicle traveling plan planning device, vehicle traveling plan planning method, program for causing a computer to execute the vehicle traveling plan planning method, and a computer-readable recording medium recording the program
JP4180957B2 (en) Delivery area simulation system and program and method thereof
JP2004326711A (en) Method and device for planning vehicle-dispatching plan
Sebastian Optimization approaches in the strategic and tactical planning of networks for letter, parcel and freight mail
JP2004224525A (en) Delivery area simulation system, and method and program thereof
Krushinsky et al. Location flexibility in parcel delivery operations: framework and empirical analysis
JP4025652B2 (en) Transportation planning system and method
JP2004213161A (en) Delivery area simulation system, and method and program therefor
JP3935052B2 (en) Delivery area simulation system and program and method thereof
JP2000082096A (en) Travel planning system
JP3860867B2 (en) Schedule creation device based on geographic information
JP2004250124A (en) Delivery area simulation system, its program and its method
KR100742683B1 (en) Area division system
Guerreiro et al. Applying NSGA-II to a multiple objective dial a ride problem
Savsar et al. A GIS-based methodology for solving the capacitated vehicle routing problem with time windows: a real-life scenario
Arakaki et al. Routing electric vehicles with remote servicing
JP4451622B2 (en) Business support system
JP3350514B2 (en) Transportation plan creation method and apparatus
JP4258704B2 (en) Area division system
JP2003132076A (en) Information management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080702

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080828

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110905

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110905

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120905

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130905

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees