JP2000112925A - Method/system for generating delivery route for miniaturizing number of routes - Google Patents

Method/system for generating delivery route for miniaturizing number of routes

Info

Publication number
JP2000112925A
JP2000112925A JP28531998A JP28531998A JP2000112925A JP 2000112925 A JP2000112925 A JP 2000112925A JP 28531998 A JP28531998 A JP 28531998A JP 28531998 A JP28531998 A JP 28531998A JP 2000112925 A JP2000112925 A JP 2000112925A
Authority
JP
Japan
Prior art keywords
solution
function
value
local
total
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
JP28531998A
Other languages
Japanese (ja)
Inventor
Hiroyuki Okano
裕之 岡野
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.)
IBM Japan Ltd
Original Assignee
IBM Japan 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 IBM Japan Ltd filed Critical IBM Japan Ltd
Priority to JP28531998A priority Critical patent/JP2000112925A/en
Publication of JP2000112925A publication Critical patent/JP2000112925A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently obtain a delivery route with the small number of routes while various restriction conditions are satisfied for executing delivery through the use of plural routes. SOLUTION: The best solution (b) and a present solution (s) are set to initial values and are stored. Then, the present solution (s) is inputted to a reference solution, and a judgement solution to an evaluation function F as the solution near the present solution (s) so as to calculate an evaluation value. Thus, local search is executed and a local solution (t) is obtained. Then, the best solution (b) is inputted to the reference solution and the judgement solution to the evaluation function F as the local solution (t) so as to calculate the evaluation value. When the local solution (t) is better than the best solution (b), the local solution (t) is substituted for the best solution (b). When a termination condition which is previously decided is satisfied, a processing is terminated. When the termination condition is not satisfied, the best solution (b) is substituted for the present solution (s), the value of a correction flag is changed and local search and the substitution of the best solution are repeated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、経路数を最少化する配
送経路の生成方法およびそのシステムに関し、特に複数
経路での配送にあたり、制約条件を満たしながら、経路
数が少ない配送経路を効率よく求める方法およびそのシ
ステムに関する発明である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and a system for generating a delivery route for minimizing the number of routes, and more particularly to efficiently providing a delivery route with a small number of routes while satisfying a constraint condition for delivery by a plurality of routes. It is an invention relating to a method and a system for obtaining it.

【0002】[0002]

【従来の技術】物流業界などにおける資源の配送におい
て、いかに資源を効率よく配送するかということは、最
も基本的で重要な課題の1つである。経路長最小化の近
似解法の実現は比較的容易だが、現実問題では経路数最
少化(使用する車両台数の最少化)が望まれることがほと
んどである。たとえばある運送会社が、複数の配送物資
を、複数の配送先へ、多様な制約条件(時間、車両台
数、車両の運搬容量など)を満たすように、より少ない
車両を用いて配送する問題がそれにあたる。経路数が1
であれば1台の車で済むので何の問題もないように思わ
れるが、全部配送終了するのに時間がかかったり、1台
の運搬容量を越えていたりなど、実際上、経路数1(配
送車両1台)で済むことはまれである。本発明は、複数
の経路を使って配送するにあたり、多様な制約条件を満
たしながら、経路数が少ない配送経路を効率よく求める
方法およびそのシステムを提供する発明である。
2. Description of the Related Art In the delivery of resources in the distribution industry and the like, how to efficiently deliver resources is one of the most fundamental and important issues. Although it is relatively easy to realize an approximate solution for minimizing the path length, it is almost always desirable to minimize the number of paths (minimize the number of vehicles used) in practical problems. For example, the problem of a shipping company delivering multiple deliveries to multiple destinations using fewer vehicles so as to satisfy various constraints (time, number of vehicles, vehicle carrying capacity, etc.) is a problem. Hit. 1 route
Then, it seems that there is no problem because one car is enough, but it takes time to complete the delivery, or it exceeds the carrying capacity of one car, etc. It is rare that one delivery vehicle is enough. The present invention is an invention that provides a method and a system for efficiently finding a delivery route with a small number of routes while satisfying various constraints when delivering using a plurality of routes.

【0003】配送経路の例を図1に示す。配送先(ノー
ド)を円で表し、配送の拠点となる点を2重円であらわ
す。ここで経路とは、ある配送車両が拠点からスタート
し、物資配送後再び拠点に戻る道筋を意味する。経路は
車両ごとに決まっているので経路数は車両台数に等し
い。なお配送先に届ける配送量の大きさは、円の大きさ
で表す。また説明の都合上、図1では拠点の数1である
が、本発明の実施において拠点数の制限はない。
FIG. 1 shows an example of a delivery route. A delivery destination (node) is represented by a circle, and a point serving as a delivery base is represented by a double circle. Here, the route means a route on which a certain delivery vehicle starts from a base and returns to the base again after the material is delivered. Since the route is determined for each vehicle, the number of routes is equal to the number of vehicles. The size of the delivery amount delivered to the delivery destination is represented by the size of a circle. Although the number of bases is one in FIG. 1 for convenience of explanation, there is no limitation on the number of bases in the embodiment of the present invention.

【0004】経路の表現方法の一例を図2に示す。各配
送先に番号(1,2,3,…,70)を振り、各経路ごとに経由
地の配送先番号を羅列した経由地配列で表現する。各経
路には通し番号iが振られており、各経路には、経路の
長さli,制約条件違反件数p i,経路が空かどうかのフラ
グri,目的関数を修正するかどうかのフラグmiが付属
しているとする。制約条件違反件数(ペナルティ)と
は、ある経路が制約(車両容量制約、所要時間の制約、
立ち寄り時間の制約など)を破っている時に科せられる
値である。なお経路長は通常、配送に要した時間(走行
時間と停車時間の合計)を意味する。たとえば経路1
(i=1)の場合、配送経路は30 -> 64-> 27->
67-> 68-> 16の順番に配送先を回る。その時の経
路長(配送に要した時間)l1は100である。
FIG. 2 shows an example of a method of expressing a route. Each distribution
Numbers (1,2,3,…, 70) are assigned to destinations, and routed through each route
Expressed as a transit point array that lists the destination numbers of the destination. Each sutra
Each road is assigned a serial number i.
Length li, Constraint violation count p i, Whether the route is empty
Gri, A flag m indicating whether to modify the objective functioniIs included
Suppose you are. The number of violations (penalty)
Means that certain routes are restricted (vehicle capacity constraints, travel time constraints,
(For example, when you stop by)
Value. The route length is usually the time required for delivery (running
Time and stop time). For example, Route 1
In the case of (i = 1), the delivery route is 30-> 64-> 27->
It goes around the delivery destination in order of 67-> 68-> 16. That time
Road length (time required for delivery) l1Is 100.

【0005】今、経路数が最少化されていない、あるい
は制約条件を満たしていない初期解(初期経路)が与えら
れ、経路長を最少化するように、あるいは制約条件を満
たすように解を更新する局所探索法(LS: Local Search)
が与えられているとする(経路数を最少化するように解
を更新する局所探索の実現は困難なので、与えられない
と仮定する)。 経路数最少化のためには、局所探索法を
繰り返しながら最良解を求める反復局所探索(ILS: Iter
ated Local Search)が用いられる。反復局所探索法の擬
似コードを図9に示す。反復局所探索法では局所探索を
繰り返し用いる必要上、局所解からの脱出が行われる。
図9において、 s,t,b は解( b が最良解)、 n は整数
の変数である。 ESC は局所解からの脱出法である。全
くでたらめに解を変化すると、次の局所探索で良い解が
見つかりにくいことから、ある程度良い脱出解を求める
ことが必要とされる。
Now, an initial solution (initial route) in which the number of paths is not minimized or does not satisfy the constraints is given, and the solution is updated so as to minimize the path length or satisfy the constraints. Local Search (LS)
(Assuming that it is not given, since it is difficult to implement a local search that updates the solution so as to minimize the number of paths). To minimize the number of paths, iterative local search (ILS: Iter
ated Local Search). FIG. 9 shows pseudo code of the iterative local search method. In the iterative local search method, escape from the local solution is performed because the local search must be repeatedly used.
In FIG. 9, s, t, b is a solution (b is the best solution), and n is an integer variable. ESC is an escape method from local solutions. If the solution changes completely at random, it is difficult to find a good solution in the next local search, so it is necessary to find a somewhat good escape solution.

【0006】従来知られている、反復局所探索法の局所
解からの脱出法に関しては以下のものがある。 ・ノード抜取り法:ランダムに n 個( n は ILS 内の
変数)のノードを抜き取り、それぞれ最良位置へ挿入す
る。 ・経路抜取り法:ランダムに数本の経路を抜き取り、そ
れらのノードをそれぞれ最良位置へ挿入する。
[0006] There are the following known methods for escaping from a local solution in the iterative local search method. -Node sampling method: Randomly sample n nodes (n is a variable in the ILS) and insert them into the best positions. -Route extraction method: Several routes are randomly extracted, and their nodes are inserted into the best positions.

【0007】経路数最少化が最適化の目的であっても、
経路数を減少する近傍は局所的には探索できないため、
局所探索は時間最小化目的で動作することになる。した
がって、経路数を減少する近傍が数手先にあっても、時
間を減少する目先の近傍にとらわれてしまい、経路数が
減少しない局所解に行き当たる場合がある。脱出法はこ
の欠点を補うように設計しなければならない。 しかし
ながら、上記の脱出法では、抜き出したノードをそれぞ
れ最良の位置へ挿入する時に、残っている経路には手を
触れないため、経路数が減少する良い解が見つかる可能
性が低い。つまり、残った経路間で部分路を交換、移動
すれば経路数が減少するようにノードを挿入できる場合
でも、それをすることができない。
[0007] Even if the purpose of optimization is to minimize the number of paths,
Since the neighborhood where the number of routes decreases cannot be searched locally,
The local search will work for the purpose of time minimization. Therefore, even if the number of routes is several steps away from the vicinity, it may be caught in the vicinity of the point of time decreasing, and a local solution that does not decrease the number of paths may be reached. Escape methods must be designed to compensate for this drawback. However, in the above-described escape method, when inserting the extracted nodes into the best positions, the remaining paths are not touched, so that there is a low possibility of finding a good solution with a reduced number of paths. In other words, even if nodes can be inserted such that the number of routes is reduced by exchanging and moving partial routes between the remaining routes, this cannot be done.

【0008】[0008]

【発明が解決しようとする課題】従って、本発明が解決
しようとする課題は、複数の経路を使って配送するにあ
たり、多様な制約条件を満たしながら、経路数が少ない
配送経路を効率よく求める方法及びシステムを提供する
ことである。また別の課題は、経路数を最少化する配送
経路の解を算出する方法及びシステムを提供することで
ある。また別の課題は、反復局所探索法の局所解からの
新しい脱出方法を提供することである。また別の課題
は、反復局所探索において、経路間で部分路を交換、移
動すれば経路数が減少するようにノードを挿入できる時
にそれを行なう、局所解からの脱出方法及びそのシステ
ムを提供することである。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a method for efficiently obtaining a delivery route having a small number of routes while satisfying various constraints in delivery using a plurality of routes. And a system. Yet another object is to provide a method and system for calculating a solution for a delivery route that minimizes the number of routes. Yet another object is to provide a new escape method from the local solution of the iterative local search method. Still another object is to provide a method and a system for escaping from a local solution, in which, in a repeated local search, nodes are inserted so that the number of routes is reduced if routes are exchanged and moved between routes to reduce the number of routes. That is.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
に、まず基準解と判断解を入力して、総経路長関数L、
制約条件関数P、空でない経路数関数R、および、前記
L,P,Rのうち少なくとも1つの関数の計算対象とな
る各経路に関する関数値を修正するための修正フラグ、
により評価結果を算出する評価関数Fを用意し、この関
数を繰り返し用いることにより、経路数を最少化する配
送経路の解を算出する方法をとる。この方法はまず、最
良解b、現状解sを初期値に設定して記憶し、次に基準
解を現状解s、判断解を前記現状解sの近傍の解とし
て、評価関数Fに入力し、評価値を算出することによ
り、局所探索を行い、局所解tを得る。そして、基準解
を最良解b、判断解を前記局所解tとして、評価関数F
に入力し、評価値を算出し、前記局所解tが、最良解b
よりもよい解であった場合に、最良解bに前記局所解t
を代入する。ここで予め既定された終了条件を満たして
いる場合には処理を終了し、終了条件を満たしていない
場合には、現状解sに最良解bを代入し、修正フラグの
値を変更して、上記局所探索と、最良解の置き換えを繰
り返すようにする。本発明の特徴は、局所探索において
目的関数(L、P、R)の修正(つまり修正フラグの変
更)を行う点にある。たとえば各経路に関して経路長を
修正するためのフラグを設けておき、そのフラグを参照
して目的関数Lを計算することができる。より簡潔な例
として、次のような手順で経路数を最少化できる。まず
解が更新できなくなるまで局所探索を実行し、局所探索
がそれ以上更新できない解(局所解)を見つける。次に局
所解の内のいくつかの経路の経路長を長く見積もること
にして、再度局所探索を実行する。 局所探索の実行中
に新しく生成する経路についても、経路長を長く見積も
る。以上のことを何度か繰り返す間に見つかる最もよい
解を出力するように構成する。
In order to solve the above-mentioned problem, first, a reference solution and a judgment solution are inputted, and a total path length function L,
A constraint function P, a non-empty path number function R, and a correction flag for correcting a function value for each path to be calculated by at least one of the L, P, and R functions;
An evaluation function F for calculating an evaluation result is prepared, and a method of calculating a solution of a delivery route that minimizes the number of routes is obtained by repeatedly using this function. In this method, first, the best solution b and the current solution s are set as initial values and stored, and then the reference solution is input to the evaluation function F as the current solution s and the judgment solution is a solution near the current solution s. , An evaluation value is calculated, a local search is performed, and a local solution t is obtained. Then, the evaluation function F is defined by setting the reference solution as the best solution b and the decision solution as the local solution t.
And the evaluation value is calculated, and the local solution t becomes the best solution b
If the solution is better than the best solution b, the local solution t
Is assigned. Here, if the predetermined termination condition is satisfied, the process is terminated. If the termination condition is not satisfied, the best solution b is substituted for the current solution s, and the value of the correction flag is changed. The local search and the replacement of the best solution are repeated. A feature of the present invention resides in that the objective function (L, P, R) is modified (that is, the modification flag is modified) in the local search. For example, a flag for correcting the path length is provided for each path, and the objective function L can be calculated with reference to the flag. As a simpler example, the number of routes can be minimized by the following procedure. First, a local search is performed until the solution cannot be updated, and a solution (local solution) that cannot be further updated by the local search is found. Next, the path lengths of some of the local solutions are long estimated, and the local search is executed again. For a newly generated route during the execution of the local search, the route length is estimated long. It is configured to output the best solution found while repeating the above operations several times.

【0010】[0010]

【発明の実施の形態】本発明は、反復局所探索法と呼ば
れる解法における、局所解からの脱出法に関する新方式
である。反復局所探索法に用いられる、本発明の評価関
数の定義例を図8に示す。ある現状解を s とし、局所
探索法 LS がその内部で生成する s の近傍を N(s) と
する時、 LS は評価関数 F(s,N(s))= {Y,N} が Y の場
合に、その近傍を採用する( s <- N(s) )。評価関数 F
は、次の3つの目的関数によって定義される。 L : 総停車時間を含む総走行時間(または総経路長) P : 違反した制約条件を数値化したもの R : 経路数(使用する車両の台数)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention is a new method relating to a method for escaping from a local solution in a solution called an iterative local search method. FIG. 8 shows a definition example of the evaluation function of the present invention used in the iterative local search method. Let s be the current solution, and let N (s) be the neighborhood of s generated by the local search method LS. LS is the evaluation function F (s, N (s)) = {Y, N}. In the case of, the neighborhood is adopted (s <-N (s)). Evaluation function F
Is defined by three objective functions: L: Total travel time including total stop time (or total route length) P: Numerical value of the violated constraint R: Number of routes (number of vehicles used)

【0011】ここで、配送経路を求める全体のプログラ
ムは、図3のようなフローチャートになる。このとき、
解s,t,bなどは、それぞれ経由地配列に対応する。図
3のステップ1では、適当な初期解を決定し、内部変数
(経由地配列)b,sに設定する。図3のステップ2で
は、ある解の近傍を探索しながら、徐々に解をよくして
ゆくという処理を行う。この処理をより詳細に示したフ
ローチャートを図4に示す。まず現状解sの近傍 N(s)
のそれぞれの解u∈ N(s) について、目的関数L(u)、
P(u)、R(u)を計算し、F(s、u)がYならuをsに代入
する、そしてsが更新されたかどうかを判断し、もし更
新されていれば再び同じ処理を繰り返し、もしsが更新
されていなければsを局所解としてtに代入する。
Here, the entire program for obtaining the delivery route is a flowchart as shown in FIG. At this time,
The solutions s, t, b, etc. respectively correspond to the waypoint arrays. In step 1 of FIG. 3, an appropriate initial solution is determined and set to internal variables (intermediate location arrays) b and s. In step 2 of FIG. 3, a process of gradually improving the solution is performed while searching for the vicinity of a certain solution. FIG. 4 is a flowchart showing this processing in more detail. First, the neighborhood of the current solution s N (s)
For each solution u∈N (s), the objective function L (u),
Calculate P (u) and R (u), if F (s, u) is Y, substitute u for s, determine if s has been updated, and if so, repeat the same process again If s is not updated, s is substituted into t as a local solution.

【0012】近傍関数 N(s) は、ある解sを局所的に変
更した解の集合を与える関数である。例えば、図12の
ような、2つの地点の位置を入れ替えた解uが N(s)
には含まれる。2地点(配送先)を入れ替える場合と、
2個所の連続した経由地(配送先)を入れ替える場合
を、経由地配列で示した例をそれぞれ図13と図14に
図示する。通常このような入れ替えで得られる解の内、
目的関数LまたはPを小さくするものだけを見つけるこ
とが容易にできるので、N(s) はそのような解を含む。
なお3地点以上、または3個所以上の連続した経由値を
入れ替えるようにしてもよい。
The neighborhood function N (s) is a function that gives a set of solutions obtained by locally changing a certain solution s. For example, as shown in FIG. 12, a solution u obtained by exchanging the positions of two points is N (s)
Is included. When two places (delivery destinations) are exchanged,
FIGS. 13 and 14 show examples in which two consecutive transit points (delivery destinations) are replaced by transit point arrangements. Usually, of the solutions obtained by such replacement,
N (s) includes such a solution because it is easy to find only those that reduce the objective function L or P.
It should be noted that three or more points or three or more consecutive transit values may be exchanged.

【0013】目的関数L,P,Rについて説明する。配送
先をj=1,2,…Nで表し、配送拠点を0で表す。あ
る経路iに含まれる移動区間(辺)の集合をEi、ある
経路iに含まれる配送先の集合をViとする。例えばEi
は {(0,30), (30,64), (64,27),... (16,0)} といった
地点の対の集合、Viは {30, 64, 27,... 16} といった
集合である。ある2地点a,b間の移動距離(時間)を
(a,b)、各配送先jでの作業時間をwj、jに配送する
物品数をqjとする。空の経路を含む全体の経路数をM
とする。例えばMは車両の保有台数に対応する。また、
便宜上、ある条件cが真なら1、偽なら0をとる関数D
(c)を仮定する。
The objective functions L, P, R will be described. The delivery destination is represented by j = 1, 2,... N, and the delivery base is represented by 0. E i a set of moving sections (sides) included in a certain path i, a set of destinations that are included in a certain path i and V i. For example, E i
The {(0,30), (30,64), (64,27), ... (16, 0)} set of pairs of points, such as, V i is {30, 64, 27, ... 16 }. The moving distance (time) between two points a and b is d (a, b) , the working time at each delivery destination j is w j , and the number of articles delivered to j is q j . M is the total number of routes including empty routes
And For example, M corresponds to the number of vehicles owned. Also,
For convenience, a function D that takes 1 if a certain condition c is true and 0 if it is false
Assume (c).

【0014】目的関数Lは、総経路長あるいは総配送時
間で、
The objective function L is the total route length or the total delivery time,

【数1】 と定義される。ここで、Lが総経路長の場合、liは各
経路iの経路長であって、
(Equation 1) Is defined as Here, when L is the total path length, l i is the path length of each path i,

【数2】 とする(このときdは移動距離)。また、Lが総配送時
間の場合、liは各経路iの配送時間であって、
(Equation 2) (At this time, d is the moving distance). When L is the total delivery time, l i is the delivery time of each route i,

【数3】 とする(このときdは移動時間)。(Equation 3) (At this time, d is the moving time).

【0015】目的関数Pは考慮する制約条件に依存して
定義される。ここでは一例として、最大経路長(配送時
間)Lmax,積載容量Qmax の2つの制約条件を考慮
し、違反件数の合計をPとする場合を示す。このような
目的関数Pは
The objective function P is defined depending on the constraints to be considered. Here, as an example, a case is shown in which the total number of violations is set to P in consideration of the two constraint conditions of the maximum route length (delivery time) L max and the load capacity Q max . Such an objective function P is

【数4】 と定義される。ここでpiは、ある経路iにおける違反
件数で、
(Equation 4) Is defined as Here, p i is the number of violations in a certain route i,

【数5】 で与えられる。(Equation 5) Given by

【0016】目的関数Rは、空でない経路の総数で、The objective function R is the total number of non-empty paths,

【数6】 と定義される。ここでriは、ある経路iが空でなけれ
ば1、空なら0をとる値で、
(Equation 6) Is defined as Here, r i is a value that takes 1 if a certain route i is not empty, and takes 0 if it is empty.

【数7】 で与えられる。なお上記目的関数L,P,Rはさらに、
各経路に関して目的関数を修正するためのフラグを設け
られる。このフラグにより、各目的関数の値を修正する
ことを可能にする。
(Equation 7) Given by Note that the objective functions L, P, and R are
A flag is provided for modifying the objective function for each path. This flag allows the value of each objective function to be modified.

【0017】たとえば、目的関数Lを修正する簡潔な例
として、Lは、各経路について li×(1+mi×C)
を足し合せたもの、Pは、各経路について pi を足し
合せたもの、Rは、各経路について ri を足し合せた
ものなどのように定義する。このときCは定数である。
For example, as a simple example of modifying the objective function L, L is l i × (1 + m i × C) for each path.
, P is defined as the sum of p i for each path, and R is defined as the sum of r i for each path. At this time, C is a constant.

【0018】次に評価関数Fについて説明する。評価関
数Fは、3つの目的関数L,P,Rを参照して、ある解が
別の解と比べてよいかどうかを判断し、よければYを、
よくなければNを出力する。評価関数 F(s,t) は、基
準解sの代わりに判断解tを採用することが、(1)な
るべく制約条件Pを小さくし、(2)なるべく経路数R
を少なくし、(3)なるべく経路長と制約条件の合計
(L+P)を小さくするために有効であるかどうかを評
価する(ただしL,P,R≧0)。上記番号順に優先度
を高くし(つまり制約条件を下げることを最優先と
し)、Pを下げるためにLを大きく犠牲にするのを避け
るために(1)と(3)を同時に考慮するフローチャー
トの例を図5に示す。図5のフローチャートは次のよう
な条件の場合にYを出力する。 (a)P(t)=0 かつ R(s)>R(t) であればY (b)P(s)>P(t) かつ L(s)+P(s)>L(t)>P(t) であれば
Y (c)R(s)=R(t) かつ L(s)+P(s)>L(t)>P(t) であれば
Y 上記(a),(b),(c)の条件に合致しなければN
を出力する。なお上記評価関数の出力 Y、N はそれぞ
れ、1,0と置き換えても構わない。
Next, the evaluation function F will be described. The evaluation function F refers to the three objective functions L, P, and R to determine whether a certain solution can be compared with another solution.
If not, N is output. In the evaluation function F (s, t), adopting the decision solution t instead of the reference solution s can be achieved by (1) reducing the constraint P as much as possible, and (2) making the number of paths R as small as possible.
And (3) evaluate whether it is effective to reduce the total (L + P) of the path length and the constraint as much as possible (L, P, R ≧ 0). In the flowchart, the priorities are made higher in the order of the above numbers (that is, the lowering of the constraint condition is the highest priority), and (1) and (3) are simultaneously taken into account in order to avoid sacrificing L to lower P. An example is shown in FIG. The flowchart of FIG. 5 outputs Y under the following conditions. (A) If P (t) = 0 and R (s)> R (t), Y (b) P (s)> P (t) and L (s) + P (s)> L (t) If P (t), then Y (c) if R (s) = R (t) and L (s) + P (s)> L (t)> P (t), then Y above (a), If conditions (b) and (c) are not met, N
Is output. The outputs Y and N of the above evaluation function may be replaced with 1, 0, respectively.

【0019】図3のステップ3をより詳細に記載したフ
ローチャートを図6に示す。ステップ3では、得られた
局所解tが、それまでに得られている最良解bと比べて
よいかどうかを判断し、よければそれをbとして保存す
る。図3のステップ4では、さらなる局所探索をするか
どうかを判断する。局所探索の実行回数(繰り返し回
数)を指定しておくなどして、これを行う。ステップ5
では、この発明の本題である目的関数の修正を行う。こ
のステップ5を行うことと、各経路に関して目的関数を
修正するためのフラグを設ること、このフラグを参照し
て目的関数を計算することが本発明の特徴である。
FIG. 6 shows a flowchart describing step 3 of FIG. 3 in more detail. In step 3, it is determined whether the obtained local solution t can be compared with the best solution b obtained so far, and if it is good, it is stored as b. In step 4 of FIG. 3, it is determined whether or not to perform a further local search. This is performed by designating the number of executions (the number of repetitions) of the local search. Step 5
Then, the objective function which is the main subject of the present invention is corrected. Performing step 5, setting a flag for correcting the objective function for each path, and calculating the objective function with reference to this flag are features of the present invention.

【0020】図7に本発明における目的修正のフローチ
ャートを示す。図7に記載された変数kには、適当な定
数を指定する(例えばk=2)。まず現状解sに最良解
bを代入する。すべての経路について修正フラグmi
0にセットする。次に空でない経路を無作為にk本選
び、それぞれについて修正フラグmiを1にセットす
る。そして空の経路のすべてについて修正フラグmi
1にする。
FIG. 7 shows a flowchart of the object correction in the present invention. An appropriate constant is designated as the variable k described in FIG. 7 (for example, k = 2). First, the best solution b is substituted for the current solution s. For all of the route the correction flag m i is set to 0. Then randomly k the chosen route non-empty, is set to 1 the correction flag m i for each. Then, the correction flags mi are set to 1 for all the empty routes.

【0021】図10に、2つの実データA, Bを使って、
ノード抜取り法、経路抜取り法、目的修正法を評価した
実験結果を示す。入力データAは、21地点の配送先と1つ
の拠点からなる。複雑な時間枠条件のために、経路数最
少化においては、( P=0 の範囲で) L の値をかなり悪
くしないと R を減少できない難しい問題である。入力
データBは332地点の配送先と4拠点からなる。この問題
については時間最小化と経路数最少化の難しさはあまり
変わらない。3つの脱出法を用い、反復回数を最大50に
設定した ILS を実行し、最良解が得られるまでの反復
回数 I 、最良の R が得られるまでの反復回数 IR 、お
よび最良解を比較した。いずれの結果も P=0 なので、
図10ではこれを省略した。図10より、目的修正法は
他の2方式と比べ、少ない反復回数で良い解を得ている
ことが分かる。特にデータAにおいて、他の2方式で得ら
れていない経路数3の解が得られている。
In FIG. 10, using two actual data A and B,
The experimental results of evaluating the node extraction method, route extraction method, and purpose correction method are shown. The input data A is composed of 21 destinations and one base. Due to complicated time frame conditions, minimizing the number of routes is a difficult problem that cannot reduce R unless the value of L is considerably worse (within P = 0). The input data B includes 332 delivery destinations and 4 bases. For this problem, the difficulty of minimizing time and minimizing the number of routes remains the same. Using three escape methods, we performed an ILS with a maximum of 50 iterations and compared the number of iterations I until the best solution was obtained, the number of iterations I R until the best R was obtained, and the best solution . Since both results are P = 0,
This is omitted in FIG. From FIG. 10, it can be seen that the objective correction method obtains a good solution with a smaller number of iterations compared to the other two methods. In particular, in data A, a solution with three paths, which was not obtained by the other two methods, was obtained.

【0022】その他の実施例として、本発明を、銀行店
舗外に設置されるATMのカセット交換を行う現金輸送
車のための経路生成に用いることが可能である。まずあ
る現金輸送車iの走行時間およびATMのカセット交換
時間の和をliとし、目的修正変数miを考慮して輸送車
ごとにliを合計した所要時間をL、制約条件の違反件
数をP、現金輸送車数をRとして、本発明による解法を
そのまま適用することにより、現金輸送車数の最少化が
可能となる。但し、制約条件には、現金輸送車に積載可
能なカセット数、運転手の労働時間なる条件が付加され
る。
As another embodiment, the present invention can be used for generating a route for a cash transport vehicle for exchanging ATM cassettes installed outside a bank store. The sum of the running time and ATM cassette exchange time of the First a cash transport vehicles i and l i, the time required that the sum of the l i for each transport vehicle taking into account the purpose Modify variable m i L, violations of constraints Where P is the number of vehicles transported and R is the number of vehicles transported by cash, the number of vehicles transported by cash can be minimized by directly applying the solution according to the present invention. However, conditions such as the number of cassettes that can be loaded on the cash transport vehicle and the working hours of the driver are added to the constraint conditions.

【0023】また別の実施例として、本発明を、部品工
場を巡回して部品を組み立て工場に輸送するための経路
生成に用いることが可能である。まずあるトラックiの
走行時間および立ち寄り先の部品工場での荷積み時間の
和をliとし、目的修正変数miを考慮してトラックごと
にliを合計した所要時間をL、制約条件の違反件数を
P、トラック数をRとして、本発明による解法をそのま
ま適用することでトラック数の最少化が可能となる。但
し、制約条件には、トラックに積載可能な重量および容
積、運転手の労働時間、併載可能な部品の組み合わせ、
各部品工場で納入部品が準備できる時間帯なる条件が付
加される。
In yet another embodiment, the present invention can be used to create a route for traveling around a parts factory and transporting parts to an assembly factory. The sum of the loading time of the running time and stop by destination component factory First certain track i and l i, the time required for the total of l i for each track in consideration of the purpose correcting variable m i L, constraints When the number of violations is P and the number of tracks is R, the number of tracks can be minimized by directly applying the solution according to the present invention. However, the constraints include the weight and volume that can be loaded on the truck, the working hours of the driver, the combination of parts that can be loaded,
A condition of a time zone during which parts to be delivered can be prepared at each parts factory is added.

【0024】図11に、本発明の経路数を最少化する配
送経路の解を算出するシステムのハードウェア構成の一
実施例を示す。システム100は、中央処理装置(CP
U)1とメモリ4とを含んでいる。CPU1とメモリ4
は、バス2を介して、補助記憶装置としてのハードディ
スク装置13(またはMO、CD−ROM23、DVD
等の記憶媒体駆動装置)とIDEコントローラ25を介
して接続してある。同様にCPU1とメモリ4は、バス
2を介して、補助記憶装置としてのハードディスク装置
30(またはMO28、CD−ROM23、DVD等の
記憶媒体駆動装置)とSCSIコントローラ27を介し
て接続してある。フロッピーディスク装置20はフロッ
ピーディスクコントローラ19を介してバス2へ接続さ
れている。
FIG. 11 shows an embodiment of the hardware configuration of the system for calculating the solution of the delivery route that minimizes the number of routes according to the present invention. The system 100 includes a central processing unit (CP)
U) 1 and a memory 4. CPU 1 and memory 4
Is connected via a bus 2 to a hard disk device 13 (or MO, CD-ROM 23, DVD
, Etc.) via an IDE controller 25. Similarly, the CPU 1 and the memory 4 are connected via a bus 2 to a hard disk device 30 (or a storage medium drive such as an MO 28, a CD-ROM 23, a DVD, etc.) as an auxiliary storage device via a SCSI controller 27. The floppy disk device 20 is connected to the bus 2 via a floppy disk controller 19.

【0025】フロッピーディスク装置20には、フロッ
ピーディスクが挿入され、このフロッピーディスク等や
ハードディスク装置13(またはMO、CD−ROM、
DVD等の記憶媒体)、ROM14には、オペレーティ
ングシステムと協働してCPU等に命令を与え、本発明
の経路数を最少化する配送経路の解を算出するためのコ
ンピュータ・プログラムのコード若しくはデータを記録
することができ、メモリ4にロードされることによって
実行される。このコンピュータ・プログラムのコードは
圧縮し、または、複数に分割して、複数の媒体に記録す
ることもできる。
A floppy disk is inserted into the floppy disk device 20, and the floppy disk or the like or the hard disk device 13 (or MO, CD-ROM,
A storage medium such as a DVD) and a ROM 14 are provided with codes or data of a computer program for giving a command to a CPU or the like in cooperation with an operating system and calculating a solution of a delivery route that minimizes the number of routes of the present invention. Can be recorded and executed by being loaded into the memory 4. The code of the computer program can be compressed or divided into a plurality of pieces and recorded on a plurality of media.

【0026】システム100は更に、ユーザ・インター
フェース・ハードウェアを備え、入力をするためのポイ
ンティング・デバイス(マウス、ジョイスティック等)
7またはキーボード6や、視覚データをユーザに提示す
るためのディスプレイ12を有することができる。算出
された配送経路の解をディスプレイ12に表示するよう
にしてもよいし、パラレルポート16を介して接続した
プリンタに解を印刷してもよい。またシステム100は
シリアルポート15を介してモデムを接続することが可
能である。このシリアルポート15およびモデムまたは
通信アダプタ18(イーサネットやトークンリング・カ
ード)等を介してネットワークに接続し、他のコンピュ
ータ等と通信を行うことが可能である。またシリアルポ
ート15若しくはパラレルポート16に、遠隔送受信機
器を接続して、赤外線若しくは電波によりデータの送受
信を行うことも可能である。
The system 100 further includes user interface hardware and a pointing device (mouse, joystick, etc.) for inputting.
7 or a keyboard 6 and a display 12 for presenting visual data to the user. The solution of the calculated delivery route may be displayed on the display 12, or the solution may be printed on a printer connected via the parallel port 16. The system 100 can connect a modem via the serial port 15. It is possible to communicate with another computer or the like by connecting to a network via the serial port 15 and a modem or a communication adapter 18 (Ethernet or token ring card) or the like. It is also possible to connect a remote transmission / reception device to the serial port 15 or the parallel port 16 to transmit / receive data by infrared rays or radio waves.

【0027】スピーカ23は、オーディオ・コントロー
ラ21によってD/A(デジタル/アナログ変換)変換
された音声信号を、アンプ22を介して受領し、音声と
して出力する。また、オーディオ・コントローラ21
は、マイクロフォン24から受領した音声情報をA/D
(アナログ/デジタル)変換し、システム外部の音声情
報をシステムにとり込むことを可能にしている。
The speaker 23 receives, via the amplifier 22, the audio signal that has been D / A (digital / analog converted) by the audio controller 21, and outputs it as audio. Also, the audio controller 21
Converts the audio information received from the microphone 24 into an A / D
(Analog / Digital) conversion, and audio information outside the system can be taken into the system.

【0028】このように、本発明のシステムは、通常の
パーソナルコンピュータ(PC)やワークステーショ
ン、ノートブックPC、パームトップPC、ネットワー
クコンピュータ、コンピュータを内蔵したテレビ等の各
種家電製品、通信機能を有するゲーム機、電話、FA
X、携帯電話、PHS、電子手帳、等を含む通信機能有
する通信端末、または、これらの組合せによって実施可
能であることを容易に理解できるであろう。ただし、こ
れらの構成要素は例示であり、その全ての構成要素が本
発明の必須の構成要素となるわけではない。
As described above, the system of the present invention has various home appliances such as ordinary personal computers (PCs), workstations, notebook PCs, palmtop PCs, network computers, televisions with built-in computers, and communication functions. Game console, telephone, FA
It can be easily understood that the present invention can be implemented by a communication terminal having a communication function including X, a mobile phone, a PHS, an electronic organizer, or the like, or a combination thereof. However, these components are merely examples, and not all of them are essential components of the present invention.

【0029】[0029]

【発明の効果】本発明により、経路数を最少化する配送
経路の生成が可能となる。本発明の方法およびシステム
は、すでにある局所探索法を全く変更することなしに、
新しい反復局所探索からの脱出法である目的修正法を提
供する。本発明の目的修正法を用いることにより、従来
の反復局所探索では困難であった、最適な局所解の発見
を行うことが可能になる。
According to the present invention, it is possible to generate a delivery route that minimizes the number of routes. The method and system of the present invention can be used without any changes to existing local search methods.
An objective modification method is provided, which is an escape method from a new iterative local search. By using the object correction method of the present invention, it is possible to find an optimal local solution, which is difficult with the conventional iterative local search.

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

【図1】配送経路の例を示した図である。FIG. 1 is a diagram showing an example of a delivery route.

【図2】経路の表現方法の例を示した図である。FIG. 2 is a diagram illustrating an example of a method of expressing a route.

【図3】配送経路を求める方法のフローチャートであ
る。
FIG. 3 is a flowchart of a method for obtaining a delivery route.

【図4】局所探索のフローチャートである。FIG. 4 is a flowchart of a local search.

【図5】本発明における評価関数のフローチャートであ
る。
FIG. 5 is a flowchart of an evaluation function according to the present invention.

【図6】最良解の更新のフローチャートである。FIG. 6 is a flowchart of updating a best solution.

【図7】本発明における目的修正のフローチャートであ
る。
FIG. 7 is a flowchart of a purpose correction in the present invention.

【図8】本発明の評価関数の定義例である。FIG. 8 is a definition example of an evaluation function according to the present invention.

【図9】一般的な反復局所探索法 ILS の擬似コード例
である。
FIG. 9 is a pseudo code example of a general iterative local search method ILS.

【図10】ノード抜取り法、経路抜取り法、目的修正法
を評価した実験結果である。
FIG. 10 is an experimental result of evaluating a node sampling method, a route sampling method, and a purpose correction method.

【図11】本発明のシステムのハードウェア構成の一実
施例である。
FIG. 11 is an example of a hardware configuration of a system according to the present invention.

【図12】2つの地点の位置を入れ替えた解を説明した
配送経路の例である。
FIG. 12 is an example of a delivery route illustrating a solution in which the positions of two points are interchanged.

【図13】2地点を入れ替えた場合の、経由地配列の例
である。
FIG. 13 is an example of a waypoint arrangement when two points are exchanged.

【図14】2個所の連続した経由地を入れ替える場合
の、経由地配列の例である
FIG. 14 is an example of a waypoint arrangement when two consecutive waypoints are exchanged;

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】基準解と判断解を入力して、総経路長関数
L、制約条件関数P、空でない経路数関数R、および、
前記L,P,Rのうち少なくとも1つの関数の計算対象
となる各経路に関する関数値を修正するための修正フラ
グ、により評価結果を算出する評価関数Fを繰り返し用
いることにより、経路数を最少化する配送経路の解を算
出する方法であって、(1)最良解b、現状解sを初期
値に設定して記憶する段階と、(2)基準解を現状解
s、判断解を前記現状解sの近傍の解として、評価関数
Fに入力し、評価値を算出することにより、局所探索を
行い、局所解tを得る段階と、(3)基準解を最良解
b、判断解を前記局所解tとして、評価関数Fに入力
し、評価値を算出し、前記局所解tが、最良解bよりも
よい解であった場合に、最良解bに前記局所解tを代入
する段階と、(4)予め既定された終了条件を満たして
いる場合には処理を終了する段階と、(5)終了条件を
満たしていない場合には、現状解sに最良解bを代入
し、修正フラグの値を変更して、上記(2)乃至(4)
の段階を繰り返す段階と、を有することを特徴とする方
法。
1. A reference solution and a judgment solution are inputted, and a total path length function L, a constraint condition function P, a non-empty path number function R, and
The number of paths is minimized by repeatedly using an evaluation function F for calculating an evaluation result based on a correction flag for correcting a function value for each path for which at least one of the functions L, P, and R is calculated. (1) setting and storing the initial value of the best solution b and the current solution s; and (2) setting the reference solution as the current solution s and the determination solution as the current solution. A step of performing a local search to obtain a local solution t by inputting an evaluation function F as a solution near the solution s and calculating an evaluation value; Inputting the evaluation function F as a local solution t, calculating an evaluation value, and, when the local solution t is a better solution than the best solution b, substituting the local solution t for the best solution b; (4) If the predetermined end condition is satisfied, the process ends. A step that, (5) when the terminating condition is not satisfied substitutes best solutions b the current solution s, by changing the value of the correction flag, the (2) to (4)
Repeating the steps of the above.
【請求項2】前記局所解を得る段階(2)において、判
断解を前記現状解sの近傍の解とするにあたり、前記現
状解sを局所的に変更した解の集合に含まれる解であっ
て、配送先の順番を入れ替えた解を、判断解とする、請
求項1記載の方法。
2. In the step (2) of obtaining the local solution, a solution included in a set of solutions in which the current solution s is locally changed is set as a solution near the current solution s. 2. The method according to claim 1, wherein a solution obtained by changing the order of the delivery destination is determined as a decision solution.
【請求項3】前記配送先の順番を入れ替えた解が、2つ
以上の配送先を入れ替える解であるか、または2個所以
上の連続する配送先を入れ替える解である、請求項2記
載の方法。
3. The method according to claim 2, wherein the solution in which the order of the delivery destinations is replaced is a solution in which two or more delivery destinations are replaced, or a solution in which two or more continuous delivery destinations are replaced. .
【請求項4】前記評価関数Fが、できるだけ制約条件関
数Pの値を小さくし、できるだけ空でない経路数関数R
の値を少なくし、できるだけ総経路長関数Lと空でない
経路数関数Rの値の合計を小さくする、ことができるか
どうかを評価して結果を出力する関数である、請求項1
記載の方法。
4. The evaluation function F reduces the value of the constraint condition function P as much as possible, and sets the path number function R
2. A function that evaluates whether the total value of the total path length function L and the value of the non-empty path number function R can be reduced as much as possible and outputs a result.
The described method.
【請求項5】前記評価関数Fが、基準解sと判断解tを
入力として、もし判断解が基準解よりもよい結果である
場合には1をそうでなければ0を出力する評価関数F
(s,t)であって、(a)P(t)=0 かつ R(s)>R(t) であれ
ば1を出力し、(b)P(s)>P(t) かつ L(s)+P(s)>L(t)>
P(t) であれば1を出力し、(c)R(s)=R(t) かつ L(s)
+P(s)>L(t)>P(t) であれば1を出力し、上記条件に合致
しなければ0を出力する関数である、請求項1記載の方
法。
5. An evaluation function F which takes a reference solution s and a decision solution t as inputs and outputs 1 if the decision solution is a better result than the reference solution, and outputs 0 otherwise.
(s, t), (a) If P (t) = 0 and R (s)> R (t), output 1; (b) P (s)> P (t) and L (s) + P (s)> L (t)>
If P (t), output 1; (c) R (s) = R (t) and L (s)
2. The method according to claim 1, wherein the function outputs 1 if + P (s)> L (t)> P (t), and outputs 0 if the condition is not met.
【請求項6】前記総経路長関数Lが、総経路長あるいは
総配送時間を表し、各経路の経路長の総和であるか、あ
るいは各経路の配送時間の総和である、請求項1記載の
方法。
6. The total path length function L according to claim 1, wherein the total path length function L represents a total path length or a total delivery time, and is a total of the path lengths of the respective paths or a total of the delivery times of the respective paths. Method.
【請求項7】前記空でない経路数関数Rが、空でない経
路の総数を表し、ある経路が空でなければ1を、空であ
る場合には0として、全経路においてその各値を総和し
たものである、請求項1記載の方法。
7. The non-empty path number function R represents the total number of non-empty paths, and 1 is set if a certain path is not empty, and 0 if it is empty. The method of claim 1, wherein
【請求項8】前記制約条件関数Pが、条件違反件数の合
計値を表し、最大経路長または最大配送時間を超えた場
合と、積載容量を越えた配送回数の和との合計である、
請求項1記載の方法。
8. The constraint function P represents the total value of the number of condition violations, and is the sum of the case where the maximum route length or the maximum delivery time is exceeded and the sum of the number of deliveries exceeding the load capacity.
The method of claim 1.
【請求項9】前記修正フラグを変更する段階(5)が、
終了条件を満たしていない場合には、現状解sに最良解
bを代入し、(a)すべての経路について修正フラグの
影響を受けないよう、修正フラグの値を設定し、(b)
空でない経路を無作為に選び、それぞれについて修正フ
ラグの影響を受けるよう、修正フラグを値を設定し、
(c)空の経路のすべてについて修正フラグの影響をう
けるよう、修正フラグの値を設定して、上記(2)乃至
(4)の段階を繰り返す段階である、請求項1記載の方
法。
9. The step (5) of changing the correction flag includes:
If the termination condition is not satisfied, the best solution b is substituted for the current solution s, and (a) the value of the correction flag is set so that all the routes are not affected by the correction flag, and (b)
Choose a non-empty route at random, set the value of the correction flag so that each is affected by the correction flag,
2. The method according to claim 1, further comprising the step of: (c) setting the value of the correction flag so as to be affected by the correction flag for all of the empty routes, and repeating the steps (2) to (4).
【請求項10】基準解と判断解を入力して、総経路長関
数L、制約条件関数P、空でない経路数関数R、およ
び、前記L,P,Rのうち少なくとも1つの関数の計算
対象となる各経路に関する関数値を修正するための修正
フラグ、により評価結果を算出する評価関数Fを繰り返
し用いることにより、経路数を最少化する配送経路の解
を算出するシステムであって、該システムが、(1)最
良解b、現状解sを初期値に設定して記憶する、初期値
設定手段と、(2)基準解を現状解s、判断解を前記現
状解sの近傍の解として、評価関数Fに入力し、評価値
を算出することにより、局所探索を行い、局所解tを得
る、局所解算出手段と、(3)基準解を最良解b、判断
解を前記局所解tとして、評価関数Fに入力し、評価値
を算出し、前記局所解tが、最良解bよりもよい解であ
った場合に、最良解bに前記局所解tを代入する、最良
解算出手段と、(4)現状解sに最良解bを代入し、修
正フラグの値を変更する手段と、を具備することを特徴
とするシステム。
10. A reference solution and a judgment solution are input, and a total path length function L, a constraint condition function P, a non-empty path number function R, and an object of calculation of at least one of the functions L, P, R A correction flag for correcting a function value for each route, and a solution for a delivery route that minimizes the number of routes by repeatedly using an evaluation function F for calculating an evaluation result. (1) an initial value setting means for setting and storing the best solution b and the current solution s as initial values, and (2) a reference solution as a current solution s and a judgment solution as a solution near the current solution s. , A local solution calculating means for performing a local search to obtain a local solution t by calculating an evaluation value, and (3) a best solution b as a reference solution, and a local solution t as a decision solution. Is input to the evaluation function F, and the evaluation value is calculated. a best solution calculating means for substituting the local solution t for the best solution b when t is a better solution than the best solution b; and (4) substituting the best solution b for the current solution s, Means for changing the value of.
【請求項11】前記局所解を得る、局所解算出手段
(2)において、判断解を前記現状解sの近傍の解とす
るにあたり、前記現状解sを局所的に変更した解の集合
に含まれる解であって、配送先の順番を入れ替えた解
を、判断解とする、請求項10記載のシステム。
11. A local solution calculating means (2) for obtaining said local solution, wherein said local solution is included in a set of locally modified solutions when said determination solution is a solution near said current solution s. The system according to claim 10, wherein a solution obtained by changing the order of the delivery destination is determined as a decision solution.
【請求項12】前記配送先の順番を入れ替えた解が、2
つ以上のの配送先を入れ替える解であるか、または2個
所以上の連続する配送先を入れ替える解である、請求項
11記載のシステム。
12. The solution in which the order of the delivery destination is changed is 2
12. The system of claim 11, wherein the solution is to swap one or more destinations or to swap two or more consecutive destinations.
【請求項13】前記評価関数Fが、できるだけ制約条件
関数Pの値を小さくし、できるだけ空でない経路数関数
Rの値を少なくし、できるだけ総経路長関数Lと空でな
い経路数関数Rの値の合計を小さくする、ことができる
かどうかを評価して結果を出力する関数である、請求項
10記載のシステム。
13. The evaluation function F, wherein the value of the constraint function P is reduced as much as possible, the value of the non-empty path number function R is reduced as much as possible, and the total path length function L and the value of the non-empty path number function R are reduced as much as possible. The system according to claim 10, wherein the function is a function that evaluates whether or not the sum can be reduced and outputs a result.
【請求項14】前記評価関数Fが、基準解sと判断解t
を入力として、もし判断解が基準解よりもよい結果であ
る場合には1をそうでなければ0を出力する評価関数F
(s,t)であって、(a)P(t)=0 かつ R(s)>R(t) であれ
ば1を出力し、(b)P(s)>P(t) かつ L(s)+P(s)>L(t)>
P(t) であれば1を出力し、(c)R(s)=R(t) かつ L(s)
+P(s)>L(t)>P(t) であれば1を出力し、上記条件に合致
しなければ0を出力する関数である、請求項10記載の
システム。
14. The evaluation function F includes a reference solution s and a judgment solution t.
The evaluation function F that outputs 1 if the decision solution is a better result than the reference solution and outputs 0 otherwise
(s, t), (a) If P (t) = 0 and R (s)> R (t), output 1; (b) P (s)> P (t) and L (s) + P (s)> L (t)>
If P (t), output 1; (c) R (s) = R (t) and L (s)
The system according to claim 10, wherein the function outputs 1 if + P (s)> L (t)> P (t), and outputs 0 if the above condition is not met.
【請求項15】前記総経路長関数Lが、総経路長あるい
は総配送時間を表し、各経路の経路長の総和であるか、
あるいは各経路の配送時間の総和である、請求項10記
載のシステム。
15. The total path length function L represents a total path length or a total delivery time, and is a sum of path lengths of respective paths,
The system according to claim 10, wherein the total is the delivery time of each route.
【請求項16】前記空でない経路数関数Rが、空でない
経路の総数を表し、ある経路が空でなければ1を、空で
ある場合には0として、全経路においてその各値を総和
したものである、請求項10記載のシステム。
16. The non-empty path number function R represents the total number of non-empty paths, and 1 is set when a certain path is not empty, and 0 when it is empty, and the values are summed over all paths. The system of claim 10, wherein
【請求項17】前記制約条件関数Pが、条件違反件数の
合計値を表し、最大経路長または最大配送時間を超えた
場合と、積載容量を越えた配送回数の和との合計であ
る、請求項10記載のシステム。
17. The method according to claim 17, wherein said constraint function P represents a total value of the number of condition violations, and is a sum of a case where the maximum route length or the maximum delivery time is exceeded and a sum of the number of deliveries exceeding the load capacity. Item 11. The system according to Item 10.
【請求項18】ATMのカセット交換を行う現金輸送車
のための、経路数を最少化する配送経路の解を算出する
システムであって、前記総経路長関数Lが、現金輸送車
の走行時間およびATMのカセット交換時間の和であ
り、制約条件関数Pが、現金輸送車に積載可能なカセッ
ト数または運転手の労働時間を含む制約条件の違反件数
であり、前記空でない経路数関数Rが、現金輸送車数で
ある、請求項10記載のシステム。
18. A system for calculating a solution of a delivery route for minimizing the number of routes for a cash transport vehicle for exchanging ATM cassettes, wherein the total route length function L is calculated based on the travel time of the cash transport vehicle. And the cassette exchange time of the ATM, and the constraint function P is the number of violations of constraints including the number of cassettes that can be loaded on the cash transport vehicle or the working hours of the driver. 11. The system of claim 10, wherein the number is a cash transport vehicle.
【請求項19】部品工場を巡回して部品を組み立て工場
に輸送するトラックのための、経路数を最少化する配送
経路の解を算出するシステムであって、前記総経路長関
数Lが、トラックの走行時間および立ち寄り先の部品工
場での荷積み時間の和であり、制約条件関数Pが、トラ
ックに積載可能な重量および容積、運転手の労働時間、
併載可能な部品の組み合わせ、または、各部品工場で納
入部品が準備できる時間帯を含む制約条件の違反件数で
あり、前記空でない経路数関数Rが、トラック数であ
る、請求項10記載のシステム。
19. A system for calculating a solution of a delivery route for minimizing the number of routes for a truck that travels around a parts factory and transports parts to an assembly factory, wherein the total path length function L is a truck. Is the sum of the travel time of the vehicle and the loading time at the drop-off parts factory. The constraint function P is the weight and volume that can be loaded on the truck, the working hours of the driver,
The system according to claim 10, wherein the number of cases is a combination of parts that can be mounted together or the number of violations of a constraint condition including a time zone in which parts can be prepared at each parts factory, and the non-empty path number function R is the number of trucks. .
【請求項20】基準解と判断解を入力して、総経路長関
数L、制約条件関数P、空でない経路数関数R、およ
び、前記L,P,Rのうち少なくとも1つの関数の計算
対象となる各経路に関する関数値を修正するための修正
フラグ、により評価結果を算出する評価関数Fを繰り返
し用いることにより、経路数を最少化する配送経路の解
を算出するための、プログラムを含む媒体であって、該
プログラムが、(1)最良解b、現状解sを初期値に設
定して記憶する機能と、(2)基準解を現状解s、判断
解を前記現状解sの近傍の解として、評価関数Fに入力
し、評価値を算出することにより、局所探索を行い、局
所解tを得る機能と、(3)基準解を最良解b、判断解
を前記局所解tとして、評価関数Fに入力し、評価値を
算出し、前記局所解tが、最良解bよりもよい解であっ
た場合に、最良解bに前記局所解tを代入する機能と、
(4)予め既定された終了条件を満たしている場合には
処理を終了する機能と、(5)終了条件を満たしていな
い場合には、現状解sに最良解bを代入し、修正フラグ
の値を変更して、上記(2)乃至(4)の機能を繰り返
す機能と、を有することを特徴とする、プログラムを含
む媒体。
20. A reference solution and a judgment solution are input, and a total path length function L, a constraint condition function P, a non-empty path number function R, and a calculation object of at least one of the functions L, P, and R A medium including a program for calculating a solution of a delivery route that minimizes the number of routes by repeatedly using an evaluation function F for calculating an evaluation result based on a correction flag for correcting a function value for each route to be obtained The program has (1) a function of setting and storing the best solution b and the current solution s as initial values, and (2) a function of setting a reference solution as the current solution s and a method of determining a judgment solution near the current solution s. As a solution, a function of obtaining a local solution t by performing a local search by inputting it to an evaluation function F and calculating an evaluation value; Input to the evaluation function F, calculate the evaluation value, and But when was the solution better than best solution b, a function of substituting the local solution t the best solution b,
(4) A function for terminating the process when a predetermined end condition is satisfied, and (5) When the end condition is not satisfied, the best solution b is substituted for the current solution s, and the correction flag is set. A medium including a program, having a function of changing a value and repeating the functions (2) to (4).
JP28531998A 1998-10-07 1998-10-07 Method/system for generating delivery route for miniaturizing number of routes Pending JP2000112925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28531998A JP2000112925A (en) 1998-10-07 1998-10-07 Method/system for generating delivery route for miniaturizing number of routes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28531998A JP2000112925A (en) 1998-10-07 1998-10-07 Method/system for generating delivery route for miniaturizing number of routes

Publications (1)

Publication Number Publication Date
JP2000112925A true JP2000112925A (en) 2000-04-21

Family

ID=17690008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28531998A Pending JP2000112925A (en) 1998-10-07 1998-10-07 Method/system for generating delivery route for miniaturizing number of routes

Country Status (1)

Country Link
JP (1) JP2000112925A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7363126B1 (en) 2002-08-22 2008-04-22 United Parcel Service Of America Core area territory planning for optimizing driver familiarity and route flexibility
JP2010111452A (en) * 2008-11-04 2010-05-20 Internatl Business Mach Corp <Ibm> Method, device, and program for obtaining delivery route of a plurality of vehicles
CN112001678A (en) * 2020-08-26 2020-11-27 莆田烟草物流有限公司 Method for reducing tobacco distribution mileage
CN113379097A (en) * 2020-03-10 2021-09-10 富士通株式会社 Information processing apparatus, route generation method, and route generation program
CN113807753A (en) * 2020-06-12 2021-12-17 北京物联顺通科技有限公司 Distribution line planning method, distribution line planning device, server and storage medium
CN114355901A (en) * 2021-12-17 2022-04-15 华南理工大学 Intelligent optimization method and device for path planning, electronic equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7363126B1 (en) 2002-08-22 2008-04-22 United Parcel Service Of America Core area territory planning for optimizing driver familiarity and route flexibility
US7840319B2 (en) 2002-08-22 2010-11-23 United Parcel Service Of America, Inc. Core area territory planning for optimizing driver familiarity and route flexibility
JP2010111452A (en) * 2008-11-04 2010-05-20 Internatl Business Mach Corp <Ibm> Method, device, and program for obtaining delivery route of a plurality of vehicles
CN113379097A (en) * 2020-03-10 2021-09-10 富士通株式会社 Information processing apparatus, route generation method, and route generation program
CN113807753A (en) * 2020-06-12 2021-12-17 北京物联顺通科技有限公司 Distribution line planning method, distribution line planning device, server and storage medium
CN112001678A (en) * 2020-08-26 2020-11-27 莆田烟草物流有限公司 Method for reducing tobacco distribution mileage
CN114355901A (en) * 2021-12-17 2022-04-15 华南理工大学 Intelligent optimization method and device for path planning, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US6356911B1 (en) Shortest path search system
Tellez et al. The fleet size and mix dial-a-ride problem with reconfigurable vehicle capacity
Cordeau et al. Recent models and algorithms for one-to-one pickup and delivery problems
US8103532B2 (en) Method and system for fast local search and insertion heuristics for vehicle routing
Hernández-Pérez et al. Heuristic algorithm for the split-demand one-commodity pickup-and-delivery travelling salesman problem
TW200945242A (en) Dynamically routing salvage shipments and associated method
JP2002532693A5 (en)
CN109978470A (en) A kind of logistics information determines method, apparatus, equipment and medium
CN115345549B (en) Vehicle path adjustment method and system combined with loading scheme
CN115081119B (en) Method, device and equipment for optimizing train loading and readable storage medium
JP2000112925A (en) Method/system for generating delivery route for miniaturizing number of routes
Lei et al. An improved variable neighborhood search for parallel drone scheduling traveling salesman problem
CN114841582A (en) Truck and unmanned aerial vehicle cooperative distribution method
Chaovalitwongse et al. GRASP with a new local search scheme for vehicle routing problems with time windows
KR20220104970A (en) Routing group search optimization scheduling optimization method to search for optimum solution of parallel delivery using vehicles and drones and the system thereof
CN111428902B (en) Method and device for determining transport route
JP2008168966A (en) Transporting route generation system, transporting route generation method, and logistics network optimization system
Meng et al. The multi-visit drone-assisted pickup and delivery problem with time windows
CN111947676A (en) Express delivery path planning method and device, electronic equipment and storage medium
Liu et al. An overview of a heuristic for vehicle routing problem with time windows
CN115330051A (en) Vehicle path optimization method based on hybrid genetic algorithm and application
Jih et al. Using family competition genetic algorithm in pickup and delivery problem with time window constraints
JP2009012973A (en) Delivery management system, delivery management method, and delivery management program
Pedroso Niche search: an application in vehicle routing
US20230349703A1 (en) Information processing device, computer-readable recording medium storing information processing program, and information processing method