JP2003285931A - Transportation plan creating method and its system - Google Patents

Transportation plan creating method and its system

Info

Publication number
JP2003285931A
JP2003285931A JP2002092990A JP2002092990A JP2003285931A JP 2003285931 A JP2003285931 A JP 2003285931A JP 2002092990 A JP2002092990 A JP 2002092990A JP 2002092990 A JP2002092990 A JP 2002092990A JP 2003285931 A JP2003285931 A JP 2003285931A
Authority
JP
Japan
Prior art keywords
transportation
schedule
information
vehicle
creating
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.)
Pending
Application number
JP2002092990A
Other languages
Japanese (ja)
Inventor
Takashi Onoyama
隆 小野山
Takuya Maekawa
拓也 前川
Sen Kubota
仙 久保田
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2002092990A priority Critical patent/JP2003285931A/en
Publication of JP2003285931A publication Critical patent/JP2003285931A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide method and system capable of creating a transportation plan bearing with actual operation allowing a human expert also to determine good or bad of a transportation schedule created by the system, by automatically and gradually creating a schedule having high optimality from a schedule close to a transportation schedule created by a manpower. <P>SOLUTION: In creating the transportation schedule, the system receives a positional information of a physical distribution center and distribution destination, an amount of baggage to be transported, a baggage information including time limit, namely a deadline of arrival time of a transportation vehicle at the distribution destination, a transportation vehicle information including load limit of the transportation vehicle, and a basic route information for defining a transportation route used for creating the schedule of the transportation vehicle. The transportation route of the transportation vehicle is created using the route registered in the basic route information. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、物流分野における
スケジューリング作成を計算機で行う技術に関し、特
に、人間の専門家もシステムが作成した輸送スケジュー
ルの良否を判定できるような実運用に耐える輸送計画を
作成できる方法およびシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for creating a schedule in the field of logistics using a computer, and in particular, a transportation plan that can be put to practical use so that a human expert can judge the quality of the transportation schedule created by the system. It relates to methods and systems that can be created.

【0002】[0002]

【従来の技術】物流システムでの輸送スケジュール作成
技術としては、いわゆる巡回セールスマン問題やビーク
ルルーティング問題に相当する一定地域内に存在する顧
客先の効率的な巡回計画を作成する技術がすでに開発さ
れている(例えば、特開平5-135070号「配送スケジュー
リング装置」)。
2. Description of the Related Art As a transportation schedule creation technology for a physical distribution system, a technology has already been developed for creating an efficient tour plan for a customer existing in a certain area, which corresponds to the so-called traveling salesman problem or vehicle routing problem. (For example, Japanese Patent Laid-Open No. 5-135070 “delivery scheduling device”).

【0003】また、例えば、特開平10-124588号「地理
情報に基づくスケジュール作成装置」では、地理情報と
共に、顧客先間の最短経路決定にニューラルネットを用
いることで、最適なスケジュール作成を行っている。特
開平8-115495号「自動配車装置」では、多数の配送先を
クラスタリングして、各クラスター内で輸送ルートを作
成する方式を実現している。更に、特開平9-305669号
「配送計画方法と装置」では、トラックの積載量制約と
稼働時間制約を守った上で効率的な配車計画を作成する
方式を実現している。
Further, for example, in Japanese Unexamined Patent Publication No. 10-124588, "Scheduling device based on geographic information", an optimal schedule is created by using a neural network together with geographical information to determine the shortest route between customers. There is. Japanese Unexamined Patent Publication No. 8-115495 “Automatic vehicle allocation device” realizes a method of clustering a large number of delivery destinations and creating a transportation route in each cluster. Further, in Japanese Patent Laid-Open No. 9-305669, "Delivery Planning Method and Device", a method of creating an efficient vehicle allocation plan while complying with the load capacity constraint and operating time constraint of a truck is realized.

【0004】[0004]

【発明が解決しようとする課題】トラックなどを用いた
輸送スケジュールは、従来、人間の専門家が作成してい
た。この専門家の作業では、単に輸送コストの削減だけ
でなく、資材の在庫量、物流部門の作業量、輸送に利用
する道路の詳細、ドライバーの負荷など、様々な条件を
多面的に考慮してスケジュールが決定されている。しか
し、上記の各種技法は、優れた最適化アルゴリズムを用
いて輸送コストを最小化するが、そのようにして作成し
た輸送スケジュールは、必ずしも実運用に適したもので
はなかった。また、人間の専門家が、そのようなスケジ
ュールが実運用に耐えるか判断しようとしても、機械的
に作成された輸送スケジュールは、人間が人手で作成し
ていた輸送スケジュールとは大きく異なり、判断が困難
であった。
A transportation schedule using a truck or the like has hitherto been prepared by a human expert. This expert's work not only cuts transportation costs, but also considers various conditions such as material inventory, work volume of logistics department, details of roads used for transportation, driver's load, etc. The schedule has been decided. However, although the above-mentioned various techniques use a good optimization algorithm to minimize the transportation cost, the transportation schedule thus created is not always suitable for actual operation. In addition, even if a human expert tries to judge whether such a schedule can withstand actual operation, the mechanically created transportation schedule is significantly different from the transportation schedule that was manually created by humans, and the judgment cannot be made. It was difficult.

【0005】本発明は、人手で作成していた輸送スケジ
ュールに近いスケジュールから出発して、段階的に最適
性の高いスケジュールを自動的に作成することで、人間
の専門家もシステムが作成した輸送スケジュールの良否
を判定できるような実運用に耐える輸送計画を作成でき
る方法およびシステムを提供することを目的とする。
According to the present invention, by starting from a schedule close to a manually created transportation schedule, a highly optimal schedule is automatically created step by step, so that even a human expert can create a transportation created by the system. An object of the present invention is to provide a method and system capable of creating a transportation plan that can withstand actual operation so that the quality of a schedule can be determined.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明では、従来実運用されていた輸送スケジュー
ルを段階的に改良してより最適性の高い輸送スケジュー
ルを作成する。つまり、初期段階では、スケジュール作
成システムでも従来運用されていた、人手で作成した輸
送スケジュールと同等のスケジュールが作成されるよう
な制約条件を導入する。この制約条件導入によりシステ
ムでも、従来実運用されていた輸送スケジュールに類似
した輸送スケジュールを自動的に作成する。次の段階で
は、制約条件の中で弱い制約は削除し、より最適化され
たスケジュールを作成する。この制約条件の緩和を段階
的に進めることで、従来人手で作成していた輸送スケジ
ュールに近いスケジュールから出発して、段階的に、最
適性の高いスケジュールを自動的に作成する。このよう
な段階的に最適性の高いスケジュールを作成すること
で、人間の専門家もシステムの作成した輸送スケジュー
ルの良否を判定できる。
In order to achieve the above-mentioned object, in the present invention, the transportation schedule which has been actually used in the past is gradually improved to create a transportation schedule with higher optimality. In other words, at the initial stage, a constraint condition will be introduced that creates a schedule equivalent to a manually created transportation schedule that was conventionally used in the schedule creation system. By introducing this constraint condition, the system automatically creates a transportation schedule similar to the transportation schedule that was actually used in the past. In the next step, weak constraints are removed from the constraints to create a more optimized schedule. By gradually relaxing this constraint condition, a schedule with a high optimality is automatically created step by step, starting from a schedule close to a transportation schedule that was conventionally created manually. By creating such a schedule having a high degree of optimality, a human expert can judge the quality of the transportation schedule created by the system.

【0007】上記の段階的な輸送スケジュール作成を実
現するため、請求項1に係る発明は、少なくとも入出力
装置と処理装置と記憶装置とを有するシステムを用いて
物流センターと輸送先拠点との間で荷物を輸送する車両
の輸送スケジュールを作成する輸送計画作成方法であっ
て、物流センターと輸送先拠点の位置情報である拠点情
報を入力する拠点情報登録ステップと、各荷物の荷物
量、輸送先拠点、および配送時間制約を含む荷物情報を
入力する荷物情報登録ステップと、輸送車両の積載量の
限界情報を含む輸送車両情報を入力する輸送車両情報登
録ステップと、輸送車両の基本的な走行ルートの制約と
その利用レベルを含む基本ルート情報と、輸送スケジュ
ール作成時に利用する基本ルート情報に登録されている
走行ルートの利用レベルを入力する基本ルート情報登録
ステップと、前記ステップにより入力した情報から輸送
車両の輸送スケジュールを作成する輸送スケジュール作
成ステップと、作成した輸送スケジュールを出力する輸
送スケジュール出力ステップとを備えたことを特徴とす
る。
In order to realize the above-mentioned stepwise transportation schedule creation, the invention according to claim 1 uses a system having at least an input / output device, a processing device and a storage device to connect between a distribution center and a transportation destination base. A transportation plan creation method for creating a transportation schedule for a vehicle that transports luggage by means of a location information registration step for inputting location information, which is the location information of the distribution center and the transportation destination location, the amount of luggage for each luggage, and the transportation destination. Baggage information registration step of inputting baggage information including location and delivery time constraint, transportation vehicle information registration step of inputting transportation vehicle information including limit information of load capacity of transportation vehicle, and basic travel route of transportation vehicle Restriction information and basic usage route information including the level of usage, and the travel route usage information registered in the basic usage route information used when creating the transportation schedule. A basic route information registration step of inputting a route, a transportation schedule creation step of creating a transportation schedule of a transportation vehicle from the information input by the step, and a transportation schedule output step of outputting the created transportation schedule. And

【0008】請求項2に係る発明は、請求項1に記載の
輸送計画作成方法において、前記スケジュール作成ステ
ップは、前記基本ルート情報に登録されている走行ルー
トの中で、前記入力された利用レベルよりも大きな利用
レベルの走行ルートだけを用いて、各輸送車両の輸送ス
ケジュールを作成することを特徴とする。
According to a second aspect of the present invention, in the transportation plan creating method according to the first aspect, the schedule creating step includes the use level input in the travel route registered in the basic route information. It is characterized in that the transportation schedule of each transportation vehicle is created by using only the traveling route of a higher utilization level.

【0009】請求項3に係る発明は、請求項1に記載の
輸送計画作成方法において、前記スケジュール作成ステ
ップは、前記基本ルート情報に登録されている走行ルー
トの中で最も利用レベルの高い走行ルートだけを用いて
輸送スケジュールを作成し、次に、その利用レベルより
も一段階利用レベルが低い走行ルートも用いて輸送スケ
ジュールを作成し、このような段階的な基本ルート情報
の利用による輸送スケジュールの拡張を、前記入力され
た利用レベルまで段階的に行い、これにより複数の輸送
スケジュールを作成し、各輸送スケジュール間の差異を
スケジュール結果とともに表示することを特徴とする。
According to a third aspect of the present invention, in the transportation plan creating method according to the first aspect, the schedule creating step is a travel route having the highest utilization level among the travel routes registered in the basic route information. To create a transportation schedule, and then create a transportation schedule that also uses a travel route whose usage level is one step lower than that usage level. It is characterized in that expansion is performed stepwise up to the input use level, a plurality of transportation schedules are created thereby, and differences between the transportation schedules are displayed together with schedule results.

【0010】請求項4に係る発明は、少なくとも入出力
装置と処理装置と記憶装置とを有するシステムを用いて
物流センターと輸送先拠点との間で荷物を輸送する車両
の輸送スケジュールを作成する輸送計画作成装置であっ
て、物流センターと輸送先拠点の位置情報である拠点情
報を入力する拠点情報登録手段と、各荷物の荷物量、輸
送先拠点、および配送時間制約を含む荷物情報を入力す
る荷物情報登録手段と、輸送車両の積載量の限界情報を
含む輸送車両情報を入力する輸送車両情報登録手段と、
輸送車両の基本的な走行ルートの制約とその利用レベル
を含む基本ルート情報と、輸送スケジュール作成時に利
用する基本ルート情報に登録されている走行ルートの利
用レベルを入力する基本ルート情報登録手段と、前記手
段により入力した情報から輸送車両の輸送スケジュール
を作成する輸送スケジュール作成手段と、作成した輸送
スケジュールを出力する輸送スケジュール出力手段とを
備えたことを特徴とする。
According to a fourth aspect of the present invention, a transportation for creating a transportation schedule of a vehicle for transporting luggage between a distribution center and a transportation destination base using a system having at least an input / output device, a processing device, and a storage device. A plan creation device, which is a base information registration means for inputting base information, which is positional information of a distribution center and a transportation destination base, and a package information including a package amount of each package, a transportation site, and a delivery time constraint. Luggage information registration means, and transportation vehicle information registration means for inputting transportation vehicle information including limit information on the load capacity of the transportation vehicle,
Basic route information including the basic travel route restrictions of the transportation vehicle and its usage level, and basic route information registration means for inputting the usage level of the travel route registered in the basic route information used when creating the transportation schedule, It is characterized by further comprising: a transportation schedule creating means for creating a transportation schedule of a transportation vehicle from the information input by the means; and a transportation schedule outputting means for outputting the created transportation schedule.

【0011】請求項5に係る発明は、請求項4に記載の
輸送計画作成装置において、前記スケジュール作成手段
は、前記基本ルート情報に登録されている走行ルートの
中で、前記入力された利用レベルよりも大きな利用レベ
ルの走行ルートだけを用いて、各輸送車両の輸送スケジ
ュールを作成することを特徴とする。
According to a fifth aspect of the present invention, in the transportation plan creating apparatus according to the fourth aspect, the schedule creating means includes the use level input in the travel route registered in the basic route information. It is characterized in that the transportation schedule of each transportation vehicle is created by using only the traveling route of a higher utilization level.

【0012】請求項6に係る発明は、請求項4に記載の
輸送計画作成装置において、前記スケジュール作成手段
は、前記基本ルート情報に登録されている走行ルートの
中で最も利用レベルの高い走行ルートだけを用いて輸送
スケジュールを作成し、次に、その利用レベルよりも一
段階利用レベルが低い走行ルートも用いて輸送スケジュ
ールを作成し、このような段階的な基本ルート情報の利
用による輸送スケジュールの拡張を、前記入力された利
用レベルまで段階的に行い、これにより複数の輸送スケ
ジュールを作成し、各輸送スケジュール間の差異をスケ
ジュール結果とともに表示することを特徴とする。
According to a sixth aspect of the present invention, in the transportation plan creating apparatus according to the fourth aspect, the schedule creating means has the highest utilization level of the travel routes registered in the basic route information. To create a transportation schedule, and then create a transportation schedule that also uses a travel route whose usage level is one step lower than that usage level. It is characterized in that expansion is performed stepwise up to the input use level, a plurality of transportation schedules are created thereby, and differences between the transportation schedules are displayed together with schedule results.

【0013】[0013]

【発明の実施の形態】以下、図面を用いて本発明の実施
の形態を説明する。本実施形態では、物流センターに所
属する複数台の車両(トラック等)が物流センターを出
発して、複数の拠点への荷物の配送を行うスケジュール
の作成を想定している。当然、集荷先拠点を複数台の車
両(トラック等)で巡回して物流センターに荷物を集荷
するスケジュール作成にも適用できる。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. In the present embodiment, it is assumed that a plurality of vehicles (trucks, etc.) belonging to the distribution center leave the distribution center and deliver a package to a plurality of locations. Of course, it can also be applied to a schedule creation in which a plurality of vehicles (trucks, etc.) circulate a collection destination base to collect a package at a distribution center.

【0014】図1は、本実施形態のシステムの全体構成
図である。本システムは、入力装置(101)、プリンタな
どの出力装置(102)、ディスプレイなどの表示装置(10
3)、処理装置(104)、および記憶装置(109)を備える。処
理装置(104)は、入力処理部(106)、輸送スケジュール作
成部(107)、および結果出力部(108)を含む一連のプログ
ラム(105)を実行する。また、記憶装置(109)には、拠点
情報(110)、荷物情報(111)、輸送車両情報(112)、距離
テーブル(113)、道路地図(114)、基本ルート情報(11
5)、および、これらから作成される輸送スケジュール
情報(116)が格納される。また、輸送スケジュール作成
に用いる、遺伝子情報(117)および車両管理情報(118)
も格納される。
FIG. 1 is an overall configuration diagram of the system of this embodiment. This system includes an input device (101), an output device (102) such as a printer, and a display device (10) such as a display.
3), a processing device (104), and a storage device (109). The processing device (104) executes a series of programs (105) including an input processing unit (106), a transportation schedule creation unit (107), and a result output unit (108). In addition, the storage device (109) stores base information (110), baggage information (111), transportation vehicle information (112), distance table (113), road map (114), basic route information (11).
5) and transportation schedule information (116) created from these are stored. In addition, genetic information (117) and vehicle management information (118) used to create transportation schedules.
Is also stored.

【0015】図2は、図1の記憶装置(109)に格納され
る情報の一例を示している。
FIG. 2 shows an example of information stored in the storage device (109) of FIG.

【0016】図2(a)の拠点情報(110)には、物流センタ
ーや荷物の配送先拠点の位置情報を格納する。具体的に
は、物流センターや配送先拠点を一意に識別する拠点ID
(201)、拠点の名称(202)、拠点の住所(203)、および拠
点の位置を示す緯度(204)と経度(205)等が格納される。
The location information (110) of FIG. 2A stores the location information of the distribution center and the delivery destination location of the package. Specifically, a base ID that uniquely identifies a distribution center or a delivery base.
(201), base name (202), base address (203), and latitude (204) and longitude (205) indicating the position of the base are stored.

【0017】図2(b)の荷物情報(111)には、輸送の対象
となる各荷物に関する情報を格納する。具体的には、個
々の荷物に1から順次付与した荷物インデックス(206)、
荷物を一意に識別する荷物ID(207)、荷物の配送先を示
す拠点ID(208)、荷量(209)、その配送先での荷物の集荷
・配送の指定時間帯を示す時間制約(210)が格納され
る。また、集荷・配送の別についても荷物情報(111)に
格納される。
In the package information (111) of FIG. 2B, information on each package to be transported is stored. Specifically, the luggage index (206) that is sequentially assigned to each luggage from 1
A package ID (207) that uniquely identifies the package, a site ID (208) that indicates the delivery destination of the package, a load amount (209), and a time constraint (210 that indicates the designated time zone for collecting and delivering the package at the delivery destination (210). ) Is stored. In addition, whether the item is collected or delivered is also stored in the package information (111).

【0018】図2(c)の輸送車両情報(112)には、利用可
能な車両の積載重量に関する能力や限界、また、車両の
稼働時間についての情報を格納する。具体的には、車両
を一意に識別するために1から順次付与した車両No(21
1)、その種類の車両の積載重量限界値(212)、および、
その車両の物流センターからの出発時間(213)と配送業
務を終える終了時間(214)が格納される。
The transportation vehicle information (112) shown in FIG. 2 (c) stores information on the capacity and limit of the available vehicle loading weight and the operating time of the vehicle. Specifically, in order to uniquely identify the vehicle, the vehicle number (21
1), the payload limit for that type of vehicle (212), and
The departure time (213) of the vehicle from the distribution center and the end time (214) of finishing the delivery work are stored.

【0019】図2(d)の距離テーブル(115)には、輸送ス
ケジュール作成で必要になる、拠点間のトラックなどの
輸送車両での走行距離・時間に関する情報を格納する。
具体的には、出発拠点のID(215)と到着拠点のID(216)、
その拠点間の距離(217)と拠点間の走行所要時間(218)が
格納される。
The distance table (115) of FIG. 2 (d) stores the information about the travel distance / time of a transportation vehicle such as a truck between bases, which is necessary for the transportation schedule creation.
Specifically, the departure base ID (215) and the arrival base ID (216),
The distance (217) between the bases and the required travel time (218) between the bases are stored.

【0020】図2(f)の基本ルート情報(116)には、従来
人手で作成していた輸送スケジュールと同等のスケジュ
ールを作成するために、輸送スケジュール作成時に利用
する制約条件を格納する。輸送スケジュール作成部(10
7)は、この基本ルート情報(116)に登録されているルー
トを基に、輸送車両の走行ルートを作成する。基本ルー
ト情報(116)は、拠点ID(219)と、その拠点の前に巡回す
る前拠点ID(220)と、その拠点の後に巡回する後拠点ID
(221)と、その基本ルートの優先度(222)と、その基本ル
ートを適用するレベル(223)とから成る。
The basic route information (116) in FIG. 2 (f) stores constraint conditions used when creating a transportation schedule in order to create a schedule equivalent to a transportation schedule conventionally created manually. Transportation Schedule Creation Department (10
7) creates a travel route of the transportation vehicle based on the route registered in the basic route information (116). The basic route information (116) consists of the base ID (219), the front base ID (220) that patrols before the base, and the rear base ID that patrols after the base.
(221), the priority of the basic route (222), and the level (223) to which the basic route is applied.

【0021】図3は、図1の輸送スケジュール作成部(1
07)で作成される輸送スケジュール情報(115)の一例を示
す図である。輸送スケジュール情報(115)には、本発明
に係わる方法によって作成される輸送スケジュールで車
両が巡回する拠点と、その車両の巡回順序を示す情報を
格納する。具体的には、車両No(301)、車両の巡回拠点
数(302)、配送先拠点の拠点ID(303)、その拠点への到着
時間(304)、その拠点との間で輸送を行う荷物のインデ
ックス(305)を格納する。配送先拠点の拠点IDと、そ
の拠点への到着時間と、その拠点との間で輸送を行う荷
物のインデックスは、306〜308に示すように、複数組を
並べて格納する。また、合計荷物量(309)や総走行距離
(310)を格納する。
FIG. 3 shows the transportation schedule creation unit (1
It is a figure which shows an example of the transportation schedule information (115) created by 07). The transportation schedule information (115) stores information indicating the location where the vehicle travels in the transportation schedule created by the method according to the present invention and the traveling order of the vehicle. Specifically, the vehicle number (301), the number of vehicle patrol bases (302), the base ID of the delivery destination base (303), the arrival time at that base (304), and the package to be transported to or from that base. The index (305) of is stored. As shown by 306 to 308, a plurality of sets of the destination ID of the delivery destination base, the arrival time at the base, and the index of the package to be transported to and from the base are stored side by side. In addition, total baggage (309) and total mileage
It stores (310).

【0022】図4(a)の遺伝子情報(117)には、輸送スケ
ジュール作成部(107)で用いる遺伝的アルゴリズムによ
る輸送スケジュール作成で用いる遺伝子表現の一例を示
している。遺伝子には、トラックなどの輸送車両で配送
する荷物の荷物インデックス(401,402,…,403)がそ
れぞれ格納される。
The gene information (117) in FIG. 4 (a) shows an example of the gene expression used in the transportation schedule creation by the genetic algorithm used in the transportation schedule creation unit (107). The gene stores a luggage index (401, 402, ..., 403) of luggage to be delivered by a transportation vehicle such as a truck.

【0023】図4(b)の車両管理情報(118)には、輸送ス
ケジュール作成部(107)で用いる遺伝子情報(116)の車両
への対応関係を示す情報を格納する。遺伝子情報(116)
は、単に荷物インデックスを一次元に並べた配列であ
り、どの荷物がどの車両に積載されているかは記録され
ていない。この車両管理情報(118)には、各車両に積載
される荷物が、遺伝子情報(117)のどの部分に対応して
いるかを示すために、以下の情報を車両毎に格納する。
つまり、車両を一意に識別する車両No(404)、その車両
に積載する荷物の遺伝子上での開始位置を示す遺伝子開
始位置(405)、および終了位置を示す遺伝子終了位置(40
6)を格納する。
The vehicle management information (118) of FIG. 4 (b) stores information indicating the correspondence of the gene information (116) used by the transportation schedule creation unit (107) to the vehicle. Gene information (116)
Is a one-dimensional array of luggage indexes, and which luggage is loaded in which vehicle is not recorded. In the vehicle management information (118), the following information is stored for each vehicle in order to indicate which part of the gene information (117) the luggage loaded in each vehicle corresponds to.
That is, a vehicle number (404) that uniquely identifies the vehicle, a gene start position (405) that indicates the start position on the gene of the luggage loaded in the vehicle, and a gene end position (40) that indicates the end position.
Store 6).

【0024】図5は、図1中の処理装置(104)が実行す
るプログラム(105)の概要を示すフローチャートであ
る。まず入力処理ステップ(501)で、拠点情報(110)、荷
物情報(111)、輸送車両情報(112)、および基本ルート情
報(115)等の輸送計画を作成するために必要な情報をユ
ーザが入力する。この処理の詳細は、図6で後述する。
次の輸送スケジュール作成ステップ(502)では、入力処
理ステップ(501)によって得られた情報から、最適と考
えられる輸送計画を決定する。ここで輸送計画の決定と
は、入力された全ての荷物を配送先に届けることが可能
なトラックが従うべき荷物のトラックへの割り当てと、
それらトラックが巡回するルート(輸送スケジュール情
報)を決定することを指す。この処理の詳細は、図7で
後述する。次に、結果出力処理ステップ(503)では、作
成したスケジュールを、その評価とともに出力する。こ
の処理の詳細は、図15で後述する。
FIG. 5 is a flow chart showing an outline of the program (105) executed by the processing device (104) in FIG. First, in the input processing step (501), the user inputs information necessary for creating a transportation plan such as site information (110), baggage information (111), transportation vehicle information (112), and basic route information (115). input. Details of this processing will be described later with reference to FIG.
In the next transportation schedule creating step (502), an optimal transportation plan is determined from the information obtained in the input processing step (501). Here, the determination of the transportation plan means the allocation of the packages to which the truck capable of delivering all the inputted packages to the delivery destination should follow,
It refers to determining the route (transportation schedule information) that these trucks travel around. Details of this processing will be described later with reference to FIG. 7. Next, in the result output processing step (503), the created schedule is output together with its evaluation. Details of this processing will be described later with reference to FIG.

【0025】図6は、図5中の入力処理ステップ(501)
の詳細を示すフローチャートである。まず、拠点情報登
録ステップ(601)で、拠点情報(110)の登録を行う。次
に、荷物情報登録ステップ(602)で、荷物情報(111)の登
録を行う。次に、基本ルート情報登録ステップ(603)
で、基本ルート情報(115)の登録を行う。次に、輸送車
両情報登録ステップ(604)で、輸送車両情報(112)の登録
を行う。次に、シミュレーションレベル情報を入力する
(605)。次に距離テーブル生成処理(606)で拠点間の距離
とトラックによる走行所要時間を道路地図(114)を参照
して生成する。なお、道路地図(114)はカーナビゲーシ
ョンで利用されるような道路およびその道路間の接続関
係や距離情報が格納されているものが予め用意されてい
るものとする。
FIG. 6 shows the input processing step (501) in FIG.
3 is a flowchart showing the details of FIG. First, in the base information registration step (601), the base information (110) is registered. Next, in the package information registration step (602), the package information (111) is registered. Next, basic route information registration step (603)
Then, the basic route information (115) is registered. Next, in the transportation vehicle information registration step (604), the transportation vehicle information (112) is registered. Next, enter the simulation level information
(605). Next, in a distance table generation process (606), the distance between bases and the required travel time by truck are generated by referring to the road map (114). It is assumed that the road map (114) is prepared in advance to store roads used in car navigation, connection relationships between the roads, and distance information.

【0026】図7は、図5中の輸送スケジュール作成処
理(502)の詳細を示すフローチャートである。この輸送
スケジュール作成処理は、GA(遺伝的アルゴリズム)に従
っている。まず、ランダム性を含んだ方法によって、そ
れぞれが異なる初期解集団を作成する(ステップ701)。
この処理の詳細は、図11で後述する。次に、変数Iに1
を代入する(ステップ702)。次に遺伝的処理による解集
団の改良を行う(ステップ703)。この処理の詳細は、図
12で後述する。この解集団の改良処理によって、解集
団の少なくとも一部分は変化し、ステップ703〜705の処
理の繰り返しによって、解集団は徐々に最適な解へ近づ
いて行く。ステップ702の処理の後、集団の評価を行う
(ステップ704)。評価はルート情報から算出される車両
の走行距離や利用車両台数などさまざまな要素に対し行
われ、その結果によって解集団中の個々の解に対して順
位がつけられる。この評価結果が上位の解を、次世代の
解として選択する(ステップ705)。次に変数Iに1を加え
る(ステップ706)。
FIG. 7 is a flow chart showing the details of the transportation schedule creation process (502) in FIG. This transportation schedule creation processing complies with GA (genetic algorithm). First, different initial solution sets are created by a method including randomness (step 701).
Details of this processing will be described later with reference to FIG. Then 1 for the variable I
Is substituted (step 702). Next, the solution population is improved by genetic processing (step 703). Details of this processing will be described later with reference to FIG. At least a part of the solution group is changed by this solution group improvement processing, and the solution group gradually approaches the optimal solution by repeating the processing of steps 703 to 705. After the process of step 702, the group is evaluated.
(Step 704). The evaluation is performed on various factors such as the mileage of the vehicle calculated from the route information and the number of vehicles used, and the results rank the individual solutions in the solution group. The solution with the higher evaluation result is selected as the next-generation solution (step 705). Next, 1 is added to the variable I (step 706).

【0027】変数Iが予め設定されているGAの処理世代
数G_MAXを越えるか、次世代の集団中の最良解の評価値
が予め与えられている目標値よりも良いかをチェックす
る(ステップ707)。もし条件が成立すれば、現在の解集
団で最良の解を出力して(ステップ708)処理を終え
る。ステップ707で条件が成立しなければ、ステップ703
に戻り、遺伝的処理による解集団の改良を繰り返す。
It is checked whether the variable I exceeds a preset number of processing generations G_MAX of GA or whether the evaluation value of the best solution in the next-generation population is better than a preset target value (step 707). ). If the condition is satisfied, the best solution in the current solution group is output (step 708) and the process is terminated. If the condition is not satisfied in step 707, step 703
Return to and repeat improvement of the solution population by genetic processing.

【0028】図8は、図7の遺伝的アルゴリズムを用い
た輸送スケジュール作成処理の初期解集団の作成(ステ
ップ701)や、解集団の改良処理(ステップ703)で用いる
輸送スケジュールへの荷物の追加処理の詳細を示すフロ
ーチャートである。この処理は、複数台の輸送車両から
なる輸送スケジュールに、一つの荷物の集配送を追加す
る処理である。
FIG. 8 shows the addition of packages to the transportation schedule used in the initial solution group creation (step 701) and the solution group improvement processing (step 703) in the transportation schedule creation processing using the genetic algorithm of FIG. It is a flow chart which shows details of processing. This process is a process of adding collection and delivery of one package to a transportation schedule composed of a plurality of transportation vehicles.

【0029】まず、変数T_MINにMax_Value、S_Maxに0、
T_Noに-1、Posに-1を、それぞれ設定する(ステップ80
1)。変数Iに1を代入する(ステップ802)。次に、変数Iと
変数Max_Truckの値を比較する(ステップ803)。ここで、
Max_Truckは既にスケジュールに組み込んだ車両台数を
表す変数である。また、Max_Valueは、利用する計算機
で表現可能な最大の数である。
First, the variable T_MIN is Max_Value, S_Max is 0,
Set T_No to -1 and Pos to -1 (Step 80)
1). Substitute 1 for the variable I (step 802). Next, the values of the variable I and the variable Max_Truck are compared (step 803). here,
Max_Truck is a variable that represents the number of vehicles already included in the schedule. Max_Value is the maximum number that can be represented by the computer used.

【0030】ステップ803で変数IがMax_Truckの値以下
のときは、次の処理を行う。まず、I番目の車輌に荷物L
が追加可能かチェックする(ステップ804)。この処理の
詳細は、図9で説明する。ステップ804の処理は、指定
した車両に荷物積載が可能な場合、その車両のルートの
中で各種制約を満足した上で、その車両の走行距離(走
行時間)の増分が最小になる輸送ルート上での順番を変
数Posに返す。また、変数T0には走行時間の増分、S0に
は追加位置に対応する基本ルート情報の優先度が設定さ
れる。次に、変数T0の値がMax_Valueかチェックする
(ステップ805)。この値がMax_Valueに等しい場合に
は、追加不可能なので次の車両のチェックに移るためス
テップ811に進む。変数T0の値がMax_Valueに等しくない
場合は、S0の値とS_Maxの値を比較する(ステップ806,8
07)。S0の値がS_Maxの値より小さいときは、優先度が
小さいので、追加せずにステップ811に進む。S0の値がS
_Maxの値より大きいときは、優先度が大きいので、新た
に見つかった追加位置を記録する。つまり、T_MINにはT
0、S_MaxにはS0、PosにはP0、T_NoにはIの値を代入する
(ステップ810)。S0がS_Maxと等しい場合には、T0とT_MI
Nの値を比較する(ステップ808)。T0が小さければ、T_MI
NにT0、S_MaxにS0、PosにP0、T_NoにIの値を代入する
(ステップ810)。T0がT_MINより小さくなければ、ステッ
プ811に進む。次に変数Iに1を加え(ステップ811)、ス
テップ803に戻り、次の車両のチェックに移る。
When the variable I is equal to or smaller than the value of Max_Truck in step 803, the following processing is performed. First, the luggage L on the I-th vehicle
It is checked whether or not can be added (step 804). Details of this processing will be described with reference to FIG. In the process of step 804, if the designated vehicle can be loaded with luggage, on the transportation route in which the increment of the traveling distance (traveling time) of the vehicle is minimized after satisfying various constraints in the route of the vehicle. Returns the order of in the variable Pos. Further, the variable T0 is set to the increment of the traveling time, and the variable S0 is set to the priority of the basic route information corresponding to the additional position. Next, it is checked whether the value of the variable T0 is Max_Value (step 805). If this value is equal to Max_Value, addition is not possible, so the process proceeds to step 811 to check the next vehicle. If the value of the variable T0 is not equal to Max_Value, the value of S0 is compared with the value of S_Max (steps 806,8).
07). If the value of S0 is smaller than the value of S_Max, the priority is low, and the process proceeds to step 811 without adding. The value of S0 is S
If it is larger than the value of _Max, the priority is high, and the newly found additional position is recorded. That is, T_MIN is T
Substitute 0 for S_Max, P0 for Pos, and I for T_No
(Step 810). T0 and T_MI if S0 is equal to S_Max
The values of N are compared (step 808). If T0 is small, T_MI
Substitute T0 for N, S0 for S_Max, P0 for Pos, and I for T_No.
(Step 810). If T0 is not smaller than T_MIN, the process proceeds to step 811. Next, 1 is added to the variable I (step 811) and the process returns to step 803 to check the next vehicle.

【0031】ステップ803でIがMax_Truckの値を超えた
ら、全ての車両のチェックが終了したので、以下の処理
を行い、荷物Lを輸送スケジュールに追加する。まず、T
_MINの値とMax_Valueを比較する(ステップ812)。T_MIN
がMax_Valueと等しい場合、荷物Lを追加可能な車両が無
かったので、新しい車両をスケジュール中に追加する
(ステップ814)。次にスケジュールで利用している車両
数を表す変数Max_Truckに1を加える(ステップ815)。次
に追加車両に荷物Lを追加する(ステップ816)。具体的に
は、遺伝子情報の最後部に荷物Lのインデックスを追加
するとともに、その追加車両の車両管理情報を追加す
る。
When I exceeds the value of Max_Truck in step 803, checking of all vehicles has been completed, and therefore the following processing is performed to add the luggage L to the transportation schedule. First, T
The value of _MIN and Max_Value are compared (step 812). T_MIN
If is equal to Max_Value, there is no vehicle that can add luggage L, so add a new vehicle in the schedule
(Step 814). Next, 1 is added to the variable Max_Truck representing the number of vehicles used in the schedule (step 815). Next, the luggage L is added to the additional vehicle (step 816). Specifically, the index of the luggage L is added to the last part of the gene information, and the vehicle management information of the additional vehicle is added.

【0032】ステップ812でT_MINがMax_Valueと等しく
ない場合には、荷物を追加可能な車両があるので、荷物
LをT_No車両のPos番目の位置に追加する(ステップ81
3)。
If T_MIN is not equal to Max_Value in step 812, there is a vehicle to which luggage can be added.
Add L to Posth position of T_No vehicle (step 81
3).

【0033】図9は、図8のステップ804の荷物追加チ
ェック処理の詳細を示すフローチャートである。
FIG. 9 is a flow chart showing the details of the baggage addition check process in step 804 of FIG.

【0034】この処理では、予め輸送スケジュールへの
追加対象の荷物のインデックスが変数Lに、また追加可
能かチェックする車両の車両Noが変数T_Noに、それぞれ
設定されているものとする。この処理が終わると、荷物
Lの輸送が車両T_Noで可能であった場合には、変数PosP0
に追加位置が設定され、T0にその荷物の追加による車両
の走行時間の増分値が設定される。また変数S0に、その
追加位置の基本ルート情報での優先度が設定される。追
加できなかった場合には、Posには-1が設定され、T0に
はMax_Valueが設定される。
In this processing, it is assumed that the index of the luggage to be added to the transportation schedule is set in advance in the variable L, and the vehicle number of the vehicle to be checked for addition is set in the variable T_No. After this process,
If transport of L was possible with vehicle T_No, then variable PosP0
The additional position is set to, and the increment value of the traveling time of the vehicle due to the addition of the luggage is set to T0. Further, the priority in the basic route information of the added position is set in the variable S0. If it cannot be added, -1 is set in Pos and Max_Value is set in T0.

【0035】まず、変数Zに追加対象荷物Lの配送先拠点
IDを代入する(ステップ901)。次に変数Vに荷物Lの荷量
を設定する(ステップ902)。次に変数PosP0に-1、T0にMa
x_Value、S0に0を設定する(ステップ903)。次に、変
数Iに、車両管理情報(118)を参照して、T_No番目の車両
の遺伝子開始位置を設定する(ステップ904)。
First, the delivery destination base of the package L to be added to the variable Z
Substitute the ID (step 901). Next, the load amount of the luggage L is set in the variable V (step 902). Then -1 for the variable PosP0 and Ma for T0
The x_Value and S0 are set to 0 (step 903). Next, the gene start position of the T_No-th vehicle is set to the variable I by referring to the vehicle management information (118) (step 904).

【0036】次に、変数Iの値と、その車両の遺伝子終
了位置+1の値を比較する(ステップ905)。変数Iが大き
い場合には、処理を終える。変数Iが前記の値を超えて
いない場合には、次の処理を行う。
Next, the value of the variable I is compared with the value of the gene end position +1 of the vehicle (step 905). If the variable I is large, the process ends. If the variable I does not exceed the above value, the following processing is performed.

【0037】まず、IとT_No番目の車両の遺伝子開始位
置とを比較する(ステップ906)。等しい場合は、変数Xに
車両が出発する物流センターを表す拠点IDを代入する
(ステップ908)。等しくない場合には、その車両の遺伝
子情報中の(I-1)番目の荷物の配送先の拠点IDを代入す
る(ステップ907)。次に、IとT_No番目の車両の遺伝子終
了位置+1の値と比較する(ステップ909)。等しければ、
変数Yに物流センターの拠点IDを代入する(ステップ91
1)。等しくない場合には、YにT_No番目の車両のI番目の
荷物の配送先拠点のIDを代入する(ステップ910)。
First, I is compared with the gene start position of the T_No-th vehicle (step 906). If they are equal, substitute the base ID representing the distribution center where the vehicle departs for variable X
(Step 908). If they are not equal, the base ID of the delivery destination of the (I-1) th package in the genetic information of the vehicle is substituted (step 907). Next, it is compared with the value of the gene end position +1 of the I and T_No-th vehicle (step 909). If they are equal,
Substitute the base ID of the distribution center for the variable Y (step 91
1). If they are not equal, the ID of the delivery destination base of the I-th package of the T_No-th vehicle is substituted for Y (step 910).

【0038】次に、拠点Zの基本ルート情報(図2(f))
で、拠点ID1がXで拠点ID2がYのものが登録されているか
チェックする(ステップ912)。この処理の詳細は、図1
0で説明する。もし、基本ルート情報に登録されていれ
ば、変数Sには、その基本ルートの優先度が返される。
基本ルート情報に登録されていなければ、変数Sに0が返
される。
Next, basic route information of the base Z (Fig. 2 (f))
Then, it is checked whether the site ID 1 is X and the site ID 2 is Y (step 912). Details of this process are shown in FIG.
0 will be described. If registered in the basic route information, the priority of the basic route is returned in the variable S.
If it is not registered in the basic route information, 0 is returned in the variable S.

【0039】次に荷量のチェックに移る。まず、荷量V
の荷物Lを、I番目の車両の拠点Xと拠点Yの間に積載可能
かチェックする(ステップ913)。つまり、追加対象荷物
が、車両が出発する物流センターから、X番目の輸送荷
物の配送先拠点までの間で、その車両の荷量にVを加え
た値が、その車両の最大積載量を超過しないかチェック
する。超過する場合は、ステップ921に進む。超過しな
い場合は、Tに、XとZ間の所要時間と、ZとY間の所要時
間の和から、XとY間の所要時間を差し引いた値を代入す
る(ステップ914)。次に、その車両のY以降の拠点での車
両到着時間にTを加えた値が、時間制約を破らないかチ
ェックする(ステップ915)。なお、図9では、Time(X,Y)
で拠点XからYへの車両の走行所用時間を表している。
Next, the check of the load will be started. First, the load V
It is checked whether or not the luggage L can be loaded between the base X and the base Y of the I-th vehicle (step 913). In other words, the value of the additional cargo to be added from the distribution center where the vehicle departs to the delivery destination of the X-th transportation baggage plus V exceeds the maximum load capacity of the vehicle. Check if you don't. If it exceeds, proceed to step 921. If it does not exceed, the value obtained by subtracting the required time between X and Y from the sum of the required time between X and Z and the required time between Z and Y is substituted for T (step 914). Next, it is checked whether the value obtained by adding T to the vehicle arrival time at the point Y or later of the vehicle does not violate the time constraint (step 915). In addition, in FIG. 9, Time (X, Y)
Represents the travel time of the vehicle from the bases X to Y.

【0040】ステップ915で時間制約が守れない場合
は、ステップ921に進む。守れる場合は、SとS0を比較す
る(ステップ916)。これは、既に見つかっている挿入可
能場所に対する輸送ルート情報の優先度がS0に格納され
ているので、今回、見つかった挿入ポイントに対する輸
送ルート情報の優先度と比較する処理である(ステップ9
16)。両者が等しい場合には、優先度は変わらないの
で、走行時間の増分が少ないものを選択する。つまり、
TとT0を比較し(ステップ917)、Tが小さければ、T0にTを
代入し、PosP0にIの値を代入する(ステップ919)。TがT0
以上の場合には、T0およびPosの値は変更しない。ステ
ップ916でSとS0が等しくない場合は、Sの値がS0よりも
大きいか判定し(ステップ918)、大きければ、新たに
見つかった追加位置に対する優先度が大きいので、T0に
Tの値を代入し、S0にSの値を代入し、PosP0にIの値を代
入する(ステップ920)。
If the time constraint cannot be observed in step 915, the process proceeds to step 921. If it can be protected, S is compared with S0 (step 916). This is the process of comparing the priority of the transportation route information for the already found insertable location with the priority of the transportation route information for the insertion point found this time (step 9).
16). If the two are equal, the priority does not change, and therefore, the one with a small increment of the traveling time is selected. That is,
T is compared with T0 (step 917), and if T is smaller, T is substituted for T and PosP0 is substituted for the value of I (step 919). T is T0
In the above cases, the values of T0 and Pos are not changed. If S is not equal to S0 in step 916, it is determined whether the value of S is larger than S0 (step 918). If it is larger, the priority for the newly found additional position is higher, so T0 is set.
The value of T is substituted, the value of S is substituted for S0, and the value of I is substituted for PosP0 (step 920).

【0041】次に変数Iに1を加え(ステップ921)、ステ
ップ905に戻り、次の追加位置のチェックに移る。
Next, 1 is added to the variable I (step 921) and the process returns to step 905 to check the next additional position.

【0042】図10は、図9の中のステップ912の基本
ルートチェック処理の詳細を示すフローチャートであ
る。
FIG. 10 is a flow chart showing details of the basic route check process of step 912 in FIG.

【0043】まず、基本ルート情報(図2(f))に、拠
点IDがZであり、かつ拠点ID1がXであり、更に拠点ID2
がYで、かつ、レベルが変数Level(指定した値)よりも
大きいかチェックする(ステップ1001)。この条件が成立
する場合には、変数Sに基本ルート情報の優先度を設定
して処理を終える(ステップ1002)。条件が成立しない場
合には、Sに0を設定して処理を終える(ステップ1003)。
First, in the basic route information (FIG. 2 (f)), the site ID is Z, the site ID1 is X, and the site ID2
Is Y and the level is greater than the variable Level (specified value) (step 1001). If this condition is satisfied, the priority of the basic route information is set in the variable S, and the process ends (step 1002). If the condition is not satisfied, S is set to 0 and the process is terminated (step 1003).

【0044】図11は、図7中の初期解集団生成処理
(ステップ701)の詳細を示すフローチャートである。な
お、一つの解には複数の車両の巡回スケジュールが登録
されている。また、解集団は複数の解を含んでいる。変
数SIZEには、予め初期集団に登録する遺伝子の個体数を
設定しておく。また、変数LENにはルートに登録される
配送先拠点の数を設定しておく。
FIG. 11 shows the initial solution group generation process in FIG.
It is a flowchart which shows the detail of (step 701). In addition, the traveling schedule of a plurality of vehicles is registered in one solution. Moreover, the solution group includes a plurality of solutions. The number of individuals of genes to be registered in the initial population is set in advance in the variable SIZE. Further, the number of delivery destination bases registered in the route is set in the variable LEN.

【0045】まず、変数Iに0を代入する(ステップ110
1)。次にIがSIZEよりも小さい間(ステップ1102)、ステ
ップ1103から1106の処理を繰り返して、SIZEで指定され
た個数の遺伝子を生成する。
First, 0 is substituted for the variable I (step 110
1). Next, while I is smaller than SIZE (step 1102), the processes of steps 1103 to 1106 are repeated to generate the number of genes specified by SIZE.

【0046】まず、各要素に値が設定されていない空の
遺伝子を記憶するエリアを生成する(ステップ1103)。次
に、荷物情報の荷物をランダムな順序に並べかえた配列
T[]を作成する(ステップ1104)。次に、空の遺伝子
に、配列T[]に登録した荷物を、この順序で図7に示し
た追加手順により順次追加する(ステップ1105)。次に変
数Iに1を加えて(ステップ1106)、次の初期解の作成に移
る。
First, an area for storing empty genes in which no value is set for each element is generated (step 1103). Next, an array in which the packages in the package information are rearranged in a random order.
Create T [] (step 1104). Next, the packages registered in the sequence T [] are sequentially added to the empty gene in this order by the addition procedure shown in FIG. 7 (step 1105). Next, 1 is added to the variable I (step 1106), and the process for creating the next initial solution is started.

【0047】図12は、図7中の解集団の改良(ステッ
プ703)の詳細を示すフローチャートである。遺伝的処理
は、解集団の変化、改良を行うGAの中心的な処理であ
る。
FIG. 12 is a flowchart showing details of the improvement (step 703) of the solution group in FIG. Genetic processing is the central processing of GA that changes and improves the solution population.

【0048】まず、変数SIZEに解集団に登録されている
解の個数を代入する(ステップ1201)。次に、C_NUMに、S
IZEと予め設定されている交差率とを掛けた値を超えな
い最大整数を代入する(ステップ1202)。次に、変数I
に1を代入する(ステップ1203)。IがC_NUM以下の場合
には、次の処理を繰り返して交差処理を行う(ステップ
1204)。
First, the number of solutions registered in the solution group is substituted into the variable SIZE (step 1201). Then C_NUM, S
The maximum integer that does not exceed the value obtained by multiplying IZE and the preset intersection rate is substituted (step 1202). Then the variable I
Substitute 1 for (step 1203). If I is less than or equal to C_NUM, repeat the following process to perform the intersection process (step
1204).

【0049】まず、解集団から異なる二つの解(遺伝
子)を選択する(ステップ1205)。次に、選択した二つの
解(遺伝子)を元に、交差処理を行い、交差処理で新た
に生成された解(遺伝子)を解集団に加える(ステップ1
206)。この交差処理の詳細は、図13で説明する。次
に、Iに1を加え(ステップ1207)、ステップ1204に戻
り、次の交差処理に移る。
First, two different solutions (genes) are selected from the solution population (step 1205). Next, cross processing is performed based on the two selected solutions (genes), and the solution (gene) newly generated by the cross processing is added to the solution group (step 1
206). Details of this intersection processing will be described with reference to FIG. Next, 1 is added to I (step 1207), the process returns to step 1204 to proceed to the next crossover process.

【0050】ステップ1204でIがC_NUMを超過していれ
ば、次に突然変異処理に移る。まず、変数M_NUMに、SIZ
Eと予め設定されている突然変異率を掛けた値を超えな
い最大整数を代入する(ステップ1208)。次に、変数I
に1を代入する(ステップ1209)。次に、IがM_NUMの値
以下の間、次の処理を繰り返す(ステップ1210)。
If I exceeds C_NUM in step 1204, the mutation process is performed next. First, in the variable M_NUM, SIZ
The maximum integer that does not exceed the value obtained by multiplying E by the preset mutation rate is substituted (step 1208). Then the variable I
Substitute 1 for (step 1209). Next, while I is equal to or less than the value of M_NUM, the following processing is repeated (step 1210).

【0051】まず、解集団から、ランダムに一つの解
(遺伝子)を選択する(ステップ1211)。次に、選択し
た解に突然変異処理を行い、その解(遺伝子)を解集団
に加える(ステップ1212)。この処理の詳細は図14で
説明する。次に、変数Iに1を加え(ステップ1213)、ステ
ップ1210に戻り、処理を続ける。
First, one solution (gene) is randomly selected from the solution group (step 1211). Next, the selected solution is subjected to mutation processing, and the solution (gene) is added to the solution group (step 1212). Details of this processing will be described with reference to FIG. Next, 1 is added to the variable I (step 1213), the process returns to step 1210 to continue the processing.

【0052】図13は、図12の交差処理(ステップ120
6)の詳細を示すフローチャートである。
FIG. 13 shows the intersection process of FIG. 12 (step 120).
It is a flow chart which shows the details of 6).

【0053】まず、変数Nに各解(遺伝子)に登録され
ている荷物数を代入する(ステップ1301)。次に、交差対
象の二つの解(遺伝子)を配列G1[],G2[]にコピーする
(ステップ1302)。次に、交差点を決定するために、2以
上N-1以下の整数をランダムに生成して変数Pに代入する
(ステップ1303)。次に、G1のP番目以降の荷物データイ
ンデックスを削除する(ステップ1304)。つまり削除対
象の要素に-1を代入する。次に変数Iに1を代入する(ス
テップ1305)。変数IがN以下の間(ステップ1306)、次
の処理を行う。
First, the number of packages registered in each solution (gene) is substituted into the variable N (step 1301). Next, copy the two solutions (genes) to be crossed into the arrays G1 [], G2 []
(Step 1302). Next, in order to determine the intersection, an integer from 2 to N-1 is randomly generated and assigned to the variable P.
(Step 1303). Next, the P-th and subsequent package data indexes of G1 are deleted (step 1304). That is, -1 is assigned to the element to be deleted. Next, 1 is assigned to the variable I (step 1305). While the variable I is N or less (step 1306), the following processing is performed.

【0054】まず、G2[I]が配列G1[]中には含まれてい
ないかチェックする(ステップ1307)。もし、含まれてい
ない場合には、その荷物情報を図7に示した処理手順に
よりG1[]の輸送スケジュール中に追加する(ステップ130
8)。次に、変数Iに1を加え(ステップ1309)、ステップ13
06に戻る。ステップ1307で条件が成立しない場合には、
ステップ1309に移る。ステップ1306でIがNを越えれば処
理を終える。
First, it is checked whether G2 [I] is not included in the array G1 [] (step 1307). If it is not included, the package information is added to the transportation schedule of G1 [] by the processing procedure shown in FIG. 7 (step 130).
8). Next, add 1 to the variable I (step 1309), and step 13
Return to 06. If the condition is not met in step 1307,
Go to step 1309. If I exceeds N in step 1306, the process ends.

【0055】図14は、図12中の突然変異処理(ステ
ップ1212)の詳細を示すフローチャートである。
FIG. 14 is a flow chart showing details of the mutation process (step 1212) in FIG.

【0056】まず、突然変異処理対象の解(遺伝子)を
配列G[]にコピーする(ステップ1401)。次に、物流セン
ターから最も遠い配送先拠点と物流センターとの間の距
離を変数Lに代入する(ステップ1402)。変数Rに、0から
0.3の範囲の実数をランダムに生成して代入する(ステッ
プ1403)。次に、変数L1に、変数Lの値とRの値の積を代
入する(ステップ1404)。次に、遺伝子上での突然変異箇
所を定めるために、変数Pに1以上N以下の整数をランダ
ムに選択して代入する(ステップ1405)。次に、変数I
に0、Jに0を代入する(ステップ1406)。変数KにはG[P]の
値、つまり荷物情報のインデックス値を代入する(ステ
ップ1407)。
First, the solution (gene) to be subjected to mutation processing is copied to the array G [] (step 1401). Next, the distance between the delivery destination base farthest from the distribution center and the distribution center is substituted into the variable L (step 1402). From 0 to the variable R
A real number in the range of 0.3 is randomly generated and substituted (step 1403). Next, the product of the value of the variable L and the value of R is substituted into the variable L1 (step 1404). Next, in order to determine the mutation site on the gene, an integer of 1 or more and N or less is randomly selected and substituted for the variable P (step 1405). Then the variable I
To 0 and J to 0 (step 1406). The value of G [P], that is, the index value of the package information is substituted for the variable K (step 1407).

【0057】次に、IがN以下の間(ステップ1408)、次
の処理を繰り返す。まず、インデックスがKの荷物の配
送先拠点とG[I]の荷物の配送先拠点との距離がL1以下か
チェックする(ステップ1409)。条件が成立する場合に
は、T[J]にG[I]の値を代入し、G[I]には-1を代入する
(ステップ1410)。次に、変数Jに1を加え(ステップ141
1)、Iにも1を加え(ステップ1412)、ステップ1408に戻
り、処理を続ける。ステップ1409で条件が成立しない場
合は、ステップ1412に進む。ステップ1408でIの値がNの
値を超えた場合には、配列Gの中で値が-1の要素を削除
して、前方に詰め合わせる(ステップ1413)。次に、配列
Tに格納されているJ個の荷物の配送先拠点を先頭から順
次図8に示した処理手順により配列Gの輸送スケジュー
ルの中に追加する(ステップ1414)。
Next, while I is N or less (step 1408), the following processing is repeated. First, it is checked whether the distance between the delivery destination base of the package whose index is K and the delivery destination base of the package of G [I] is L1 or less (step 1409). If the condition is met, substitute the value of G [I] for T [J] and -1 for G [I].
(Step 1410). Next, add 1 to variable J (step 141
1), 1 is also added to I (step 1412), the process returns to step 1408 to continue the process. If the condition is not satisfied in step 1409, the process proceeds to step 1412. If the value of I exceeds the value of N in step 1408, the element having a value of -1 in the array G is deleted and the elements are packed forward (step 1413). Then the array
The delivery destination bases of the J packages stored in T are sequentially added from the beginning to the transportation schedule of array G by the processing procedure shown in FIG. 8 (step 1414).

【0058】図15は、図5中の結果出力処理(ステッ
プ503)の詳細を示すフローチャートである。まず、各輸
送便の通過拠点を地図上に表示する(ステップ1501)。輸
送スケジュール作成処理によって得られたスケジュール
と、その所用車両台数や走行距離などの値についても、
表やグラフを作成して表示する。また、得られた輸送ス
ケジュールの評価値を表示する(ステップ1502)。次に、
印刷指示があればグラフや表を印刷する(ステップ150
3)。
FIG. 15 is a flow chart showing details of the result output process (step 503) in FIG. First, the transit points of each transportation flight are displayed on the map (step 1501). Regarding the schedule obtained by the transportation schedule creation process and the values such as the number of required vehicles and mileage,
Create and display tables and graphs. Further, the evaluation value of the obtained transportation schedule is displayed (step 1502). next,
If there is a print instruction, print a graph or table (step 150
3).

【0059】[0059]

【発明の効果】以上説明したように、本発明によれば、
従来運用されていた輸送スケジュールと同等の輸送スケ
ジュールから、段階的に輸送ルートに関する制約条件を
弱めた輸送スケジュールを作成していくことができ、コ
スト面でより最適性の高い輸送スケジュールを作成する
ことができる。このように段階的に、より最適性の高い
輸送スケジュールを作成することで、輸送コスト面以外
の社会・環境面などの面についても人間の多面的な判断
が容易に行えるようになり、実運用に耐える効率的な輸
送計画を作成できる。
As described above, according to the present invention,
It is possible to create a transportation schedule that gradually reduces constraints on transportation routes from a transportation schedule equivalent to the transportation schedule that has been operated in the past, and to create a transportation schedule that is more optimal in terms of cost. You can In this way, by creating a transportation schedule with a higher degree of optimality, it becomes possible for humans to easily make multi-faceted judgments regarding social and environmental aspects other than transportation costs. Create an efficient transportation plan that can withstand.

【図面の簡単な説明】[Brief description of drawings]

【図1】本実施の形態のシステムを示す全体構成図であ
る。
FIG. 1 is an overall configuration diagram showing a system according to an embodiment.

【図2】記憶装置に含まれるデータの構成を示す図であ
る。
FIG. 2 is a diagram showing a configuration of data included in a storage device.

【図3】記憶装置に含まれる輸送スケジュールデータの
構成を示す図である。
FIG. 3 is a diagram showing a configuration of transportation schedule data included in a storage device.

【図4】輸送スケジュール作成部で用いるGAの遺伝子情
報の構成を示す図である。
FIG. 4 is a diagram showing a structure of genetic information of GA used in a transportation schedule creation unit.

【図5】全体処理の概要を示すフローチャートである。FIG. 5 is a flowchart showing an overview of overall processing.

【図6】入力処理を示すフローチャートである。FIG. 6 is a flowchart showing an input process.

【図7】輸送スケジュール作成処理を示すフローチャー
トである。
FIG. 7 is a flowchart showing a transportation schedule creation process.

【図8】輸送スケジュールへの荷物の配送先拠点の追加
処理のフローチャートである。
FIG. 8 is a flowchart of a process of adding a delivery destination site of a package to a transportation schedule.

【図9】配送荷物か集荷荷物を輸送スケジュールに追加
する際の荷物追加チェック処理のフローチャートであ
る。
FIG. 9 is a flowchart of a baggage addition check process when a delivered baggage or a collected baggage is added to a transportation schedule.

【図10】基本ルートチェック処理のフローチャートで
ある。
FIG. 10 is a flowchart of basic route check processing.

【図11】初期集団生成処理のフローチャートである。FIG. 11 is a flowchart of an initial group generation process.

【図12】遺伝的処理の概要を示すフローチャートであ
る。。
FIG. 12 is a flowchart showing an outline of genetic processing. .

【図13】交差処理を示すフローチャートである。FIG. 13 is a flowchart showing an intersection process.

【図14】突然変異処理を示すフローチャートである。FIG. 14 is a flowchart showing a mutation process.

【図15】結果出力処理を示すフローチャートである。FIG. 15 is a flowchart showing a result output process.

【符号の説明】[Explanation of symbols]

101…入力装置、102…出力装置、103…表示装
置、104…処理装置、105…プログラム、106…
入力処理部、107…輸送スケジュール作成部、108
…結果出力部、109…記憶装置、110…拠点情報、
111…荷物情報、112…輸送車両情報、113…距
離テーブル、114…道路地図、115…輸送スケジュ
ール情報、116…遺伝子情報、117…車両管理情
報。
101 ... Input device, 102 ... Output device, 103 ... Display device, 104 ... Processing device, 105 ... Program, 106 ...
Input processing unit, 107 ... Transportation schedule creation unit, 108
... Result output unit, 109 ... Storage device, 110 ... Base information,
111 ... Luggage information, 112 ... Transport vehicle information, 113 ... Distance table, 114 ... Road map, 115 ... Transport schedule information, 116 ... Gene information, 117 ... Vehicle management information.

フロントページの続き (72)発明者 前川 拓也 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウエアエンジニアリング株式会 社内 (72)発明者 久保田 仙 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウエアエンジニアリング株式会 社内Continued front page    (72) Inventor Takuya Maekawa             6-81 Onoe-cho, Naka-ku, Yokohama-shi, Kanagawa             Hitachi Software Engineering Stock Association             In-house (72) Inventor Sen Kubota             6-81 Onoe-cho, Naka-ku, Yokohama-shi, Kanagawa             Hitachi Software Engineering Stock Association             In-house

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】少なくとも入出力装置と処理装置と記憶装
置とを有するシステムを用いて物流センターと輸送先拠
点との間で荷物を輸送する車両の輸送スケジュールを作
成する輸送計画作成方法であって、 物流センターと輸送先拠点の位置情報である拠点情報を
入力する拠点情報登録ステップと、 各荷物の荷物量、輸送先拠点、および配送時間制約を含
む荷物情報を入力する荷物情報登録ステップと、 輸送車両の積載量の限界情報を含む輸送車両情報を入力
する輸送車両情報登録ステップと、 輸送車両の基本的な走行ルートの制約とその利用レベル
を含む基本ルート情報と、輸送スケジュール作成時に利
用する基本ルート情報に登録されている走行ルートの利
用レベルを入力する基本ルート情報登録ステップと、 前記ステップにより入力した情報から輸送車両の輸送ス
ケジュールを作成する輸送スケジュール作成ステップ
と、 作成した輸送スケジュールを出力する輸送スケジュール
出力ステップとを備えたことを特徴とする輸送計画作成
方法。
1. A transportation plan creation method for creating a transportation schedule of a vehicle for transporting luggage between a distribution center and a transportation destination base by using a system having at least an input / output device, a processing device, and a storage device. , A base information registration step of inputting base information which is the positional information of the distribution center and the transportation destination base, and a package information registration step of inputting package information including a package amount of each package, a transportation site, and a delivery time constraint, A transportation vehicle information registration step for inputting transportation vehicle information including limit information on the load capacity of the transportation vehicle, basic route information including constraints of the basic traveling route of the transportation vehicle and its usage level, and used when creating a transportation schedule The basic route information registration step of inputting the usage level of the traveling route registered in the basic route information, and the input in the above step. Transportation schedule creation method characterized by comprising a transport scheduling step of creating a transport schedule for transporting vehicles from the information, and a transport schedule output step of outputting the created transportation schedule.
【請求項2】請求項1に記載の輸送計画作成方法におい
て、 前記スケジュール作成ステップは、前記基本ルート情報
に登録されている走行ルートの中で、前記入力された利
用レベルよりも大きな利用レベルの走行ルートだけを用
いて、各輸送車両の輸送スケジュールを作成することを
特徴とする輸送計画作成方法。
2. The transportation plan creation method according to claim 1, wherein the schedule creation step includes a use level higher than the input use level among the travel routes registered in the basic route information. A transportation plan creation method characterized in that a transportation schedule of each transportation vehicle is created by using only a traveling route.
【請求項3】請求項1に記載の輸送計画作成方法におい
て、 前記スケジュール作成ステップは、前記基本ルート情報
に登録されている走行ルートの中で最も利用レベルの高
い走行ルートだけを用いて輸送スケジュールを作成し、
次に、その利用レベルよりも一段階利用レベルが低い走
行ルートも用いて輸送スケジュールを作成し、このよう
な段階的な基本ルート情報の利用による輸送スケジュー
ルの拡張を、前記入力された利用レベルまで段階的に行
い、これにより複数の輸送スケジュールを作成し、各輸
送スケジュール間の差異をスケジュール結果とともに表
示することを特徴とする輸送計画作成方法。
3. The transportation plan creation method according to claim 1, wherein the schedule creation step uses only the travel route with the highest utilization level among the travel routes registered in the basic route information. Create
Next, a transportation schedule is created by using a traveling route whose usage level is one step lower than the usage level, and the transportation schedule is expanded by using such stepwise basic route information up to the input usage level. A method of creating a transportation plan, characterized by carrying out in stages, creating a plurality of transportation schedules, and displaying differences between the transportation schedules together with schedule results.
【請求項4】少なくとも入出力装置と処理装置と記憶装
置とを有するシステムを用いて物流センターと輸送先拠
点との間で荷物を輸送する車両の輸送スケジュールを作
成する輸送計画作成装置であって、 物流センターと輸送先拠点の位置情報である拠点情報を
入力する拠点情報登録手段と、 各荷物の荷物量、輸送先拠点、および配送時間制約を含
む荷物情報を入力する荷物情報登録手段と、 輸送車両の積載量の限界情報を含む輸送車両情報を入力
する輸送車両情報登録手段と、 輸送車両の基本的な走行ルートの制約とその利用レベル
を含む基本ルート情報と、輸送スケジュール作成時に利
用する基本ルート情報に登録されている走行ルートの利
用レベルを入力する基本ルート情報登録手段と、 前記手段により入力した情報から輸送車両の輸送スケジ
ュールを作成する輸送スケジュール作成手段と、 作成した輸送スケジュールを出力する輸送スケジュール
出力手段とを備えたことを特徴とする輸送計画作成装
置。
4. A transportation plan creation device for creating a transportation schedule of a vehicle for transporting luggage between a distribution center and a transportation destination base by using a system having at least an input / output device, a processing device, and a storage device. , A base information registration means for inputting base information, which is the positional information of the distribution center and the transportation destination base, and a baggage information registration means for inputting the parcel information including the parcel amount of each parcel, the transportation base, and the delivery time constraint, Transport vehicle information registration means for inputting transport vehicle information including limit information on the load capacity of the transport vehicle, basic route information including constraints on the basic travel route of the transport vehicle and its usage level, and used when creating a transport schedule Basic route information registration means for inputting the use level of the traveling route registered in the basic route information, and information of the transport vehicle from the information input by the means. Transportation schedule creation device characterized by comprising: a transportation schedule creation means for creating a transmission schedule, and a transportation schedule output means for outputting the created transportation schedule.
【請求項5】請求項4に記載の輸送計画作成装置におい
て、 前記スケジュール作成手段は、前記基本ルート情報に登
録されている走行ルートの中で、前記入力された利用レ
ベルよりも大きな利用レベルの走行ルートだけを用い
て、各輸送車両の輸送スケジュールを作成することを特
徴とする輸送計画作成装置。
5. The transportation plan creating apparatus according to claim 4, wherein the schedule creating unit has a usage level higher than the input usage level in the travel routes registered in the basic route information. A transportation plan creation device characterized by creating a transportation schedule of each transportation vehicle using only a traveling route.
【請求項6】請求項4に記載の輸送計画作成装置におい
て、 前記スケジュール作成手段は、前記基本ルート情報に登
録されている走行ルートの中で最も利用レベルの高い走
行ルートだけを用いて輸送スケジュールを作成し、次
に、その利用レベルよりも一段階利用レベルが低い走行
ルートも用いて輸送スケジュールを作成し、このような
段階的な基本ルート情報の利用による輸送スケジュール
の拡張を、前記入力された利用レベルまで段階的に行
い、これにより複数の輸送スケジュールを作成し、各輸
送スケジュール間の差異をスケジュール結果とともに表
示することを特徴とする輸送計画作成装置。
6. The transportation plan creating apparatus according to claim 4, wherein the schedule creating means uses only the travel route with the highest utilization level among the travel routes registered in the basic route information. Next, the transportation schedule is created by using the traveling route whose utilization level is one step lower than the utilization level, and the expansion of the transportation schedule by the use of such basic stepwise route information is input as described above. A transportation plan creation device characterized in that it performs stepwise operations up to different usage levels, creates a plurality of transportation schedules, and displays the differences between the transportation schedules together with the schedule results.
JP2002092990A 2002-03-28 2002-03-28 Transportation plan creating method and its system Pending JP2003285931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002092990A JP2003285931A (en) 2002-03-28 2002-03-28 Transportation plan creating method and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002092990A JP2003285931A (en) 2002-03-28 2002-03-28 Transportation plan creating method and its system

Publications (1)

Publication Number Publication Date
JP2003285931A true JP2003285931A (en) 2003-10-07

Family

ID=29237657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002092990A Pending JP2003285931A (en) 2002-03-28 2002-03-28 Transportation plan creating method and its system

Country Status (1)

Country Link
JP (1) JP2003285931A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157795A (en) * 2007-12-27 2009-07-16 Canon It Solutions Inc Information processor, information processing method and program for executing the information processing method
JP2012053904A (en) * 2011-10-31 2012-03-15 Canon It Solutions Inc Information processing device, information processing method, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157795A (en) * 2007-12-27 2009-07-16 Canon It Solutions Inc Information processor, information processing method and program for executing the information processing method
JP2012053904A (en) * 2011-10-31 2012-03-15 Canon It Solutions Inc Information processing device, information processing method, and computer program

Similar Documents

Publication Publication Date Title
Boysen et al. Scheduling last-mile deliveries with truck-based autonomous robots
CN107977739B (en) Method, device and equipment for optimizing logistics distribution path
CN110782086B (en) Rescue vehicle distribution path optimization method and system with unmanned aerial vehicle
CN106156961B (en) Vehicle scheduling method and device
CN107798423A (en) Vehicle path planning Simulation Experimental Platform based on multi-intelligence algorithm
CN113177752B (en) Route planning method and device and server
Marques et al. A branch-cut-and-price approach for the single-trip and multi-trip two-echelon vehicle routing problem with time windows
CN113033866A (en) Emergency order distribution scheduling optimization method
CN114841582A (en) Truck and unmanned aerial vehicle cooperative distribution method
JP2005043974A (en) Method and system for forming transport schedule
JP4025652B2 (en) Transportation planning system and method
Yanpirat et al. Sustainable last mile parcel delivery and return service using drones
Boysen et al. Optimization of two-echelon last-mile delivery via cargo tunnel and a delivery person
JP7121154B2 (en) Delivery plan creation method, device, system, and computer-readable storage medium
Meng et al. The multi-visit drone-assisted pickup and delivery problem with time windows
JP2006240794A (en) Transport schedule preparing system
JP2003285930A (en) Transportation schedule making method and its system
Ramírez-Villamil et al. Integrating Clustering Methodologies and Routing Optimization Algorithms for Last-Mile Parcel Delivery
CN114169488B (en) Hybrid element heuristic algorithm-based vehicle path acquisition method with capacity constraint
JP2003285931A (en) Transportation plan creating method and its system
Coltorti et al. Ant colony optimization for real-world vehicle routing problems
JP2008230816A (en) Procurement physical distribution schedule preparing system
JP2007314335A (en) Physical distribution transport management device and physical distribution transport management system using geographical information
JP2004001975A (en) Method for creating two-way transport schedule
JP2002108998A (en) Method and system for planning transportation