JPH08286920A - Traveling salesman problem processor - Google Patents

Traveling salesman problem processor

Info

Publication number
JPH08286920A
JPH08286920A JP7087861A JP8786195A JPH08286920A JP H08286920 A JPH08286920 A JP H08286920A JP 7087861 A JP7087861 A JP 7087861A JP 8786195 A JP8786195 A JP 8786195A JP H08286920 A JPH08286920 A JP H08286920A
Authority
JP
Japan
Prior art keywords
city
route
parallel computer
solution
processing
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.)
Withdrawn
Application number
JP7087861A
Other languages
Japanese (ja)
Inventor
Kayoko Morioka
佳代子 森岡
Mitsuo Ishii
光雄 石井
Kaoru Kawamura
薫 河村
Yoshie Inada
由江 稲田
Hideki Mito
秀樹 三渡
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7087861A priority Critical patent/JPH08286920A/en
Publication of JPH08286920A publication Critical patent/JPH08286920A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE: To speedily find a result close to an optimum solution by processing a large scale traveling salesman problem at high speed by finding the solution of the traveling salesman problem at high speed. CONSTITUTION: A traveling salesman problem processor 1A is provided with an entire problem processing means for finding the solution by processing the entire problem while using a parallel processor 2 by preparing an entire problem by dividing a minimum rectangle including an entire city corresponding to the number of cells of the parallel computer 2 based on an applied city coordinate and allocated the divided city to the respective cells, and a partial problem processing means for finding the solution by processing a partial problem while using the parallel computer 2 by preparing that partial problem by further hierarchically dividing the minimum rectangle including the city groups of non-found routes corresponding to the number of cells of the parallel computer 2 and allocating these hierarchical city data to the respective cells when the route of the solution found by the parallel computer 2 does not cover the whole city.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、メッシュ状に接続した
複数のプロセッサエレメント(以下「セル」と記す)
と、それらの間を接続した通信ネットワークを有する並
列計算機を使用して巡回セールスマン問題を高速に解
き、かつ最適解を求めることが可能な巡回セールスマン
問題処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of processor elements connected in a mesh (hereinafter referred to as "cells").
And a traveling salesman problem processing device capable of solving a traveling salesman problem at high speed using a parallel computer having a communication network connecting them and obtaining an optimum solution.

【0002】巡回セールスマン問題は、2次元平面に散
在する都市を一巡する経路の内、最短経路を探索する問
題である。例えば、複数の仕事があって、それらの仕事
には、それぞれ次の仕事にとりかかるまでに準備時間が
必要だとする。この時、それぞれの仕事間の準備時間を
巡回セールスマン問題における都市間の距離と思うと、
全ての仕事を最短時間で終わらせる仕事の組み合わせ
は、巡回セールスマン問題の最適解と同じである。
The traveling salesman problem is a problem of searching for the shortest route among routes that go around a city scattered in a two-dimensional plane. For example, suppose you have multiple jobs, each of which requires some time to prepare for the next job. At this time, considering the preparation time between each work as the distance between cities in the traveling salesman problem,
The combination of jobs that completes all jobs in the shortest time is the same as the optimal solution for the traveling salesman problem.

【0003】前記巡回セールスマン問題においては、一
巡する経路の数は、N個の都市に対して(N−1)!だ
け存在する。そして、都市の増加と共に都市の組み合わ
せによる経路の計算量は爆発的に増加するため、巡回セ
ールスマン問題を階層化して並列計算機に処理させるこ
とにより、都市の組み合わせ数を抑え、処理の高速化を
図る必要がある。
In the traveling salesman problem, the number of routes that make one round is (N-1)! For N cities. Only exists. Then, as the number of cities is increased, the number of city combinations increases explosively.Therefore, the traveling salesman problem is hierarchized and processed by a parallel computer, which reduces the number of city combinations and speeds up processing. It is necessary to plan.

【0004】[0004]

【従来の技術】従来、計算機を使用して巡回セールスマ
ン問題(以下「TSP」と記す)を解くことが試行され
てきた。この処理は、計算機にTSPを解くための都市
情報等を入力し、2次元平面上に散在する全ての都市を
一巡する経路の内、最も短い経路が探索できたら経路探
索処理を終了するというものである。
2. Description of the Related Art Conventionally, it has been tried to solve a traveling salesman problem (hereinafter referred to as "TSP") using a computer. This process is to input the city information etc. for solving the TSP to the computer, and to finish the route search process when the shortest route can be searched out of the routes that go around all the cities scattered on the two-dimensional plane. Is.

【0005】そして、前記TSPの解法については種々
のアルゴリズムが試されてきたが、都市数の増加と共
に、都市の組み合わせは階乗のオーダーで増加して行
く。このため、計算量が莫大なものになってしまうの
で、最適解を求めることは殆ど不可能であった。
Various algorithms have been tried for the solution of the TSP, but as the number of cities increases, the combination of cities increases on the order of factorial. For this reason, the amount of calculation becomes enormous, and it has been almost impossible to obtain an optimum solution.

【0006】ところで、TSPは、典型的な組み合わせ
問題として多くの研究者が取り組んできた問題である。
最近では、ホップフィールド型ニューラルネットワーク
で解く方法が盛んに研究されている。また、階層化して
その解を求める方法も研究されている。
By the way, TSP is a problem which many researchers have tackled as a typical combination problem.
Recently, a method of solving by Hopfield type neural network has been actively studied. Also, a method of hierarchizing and obtaining the solution is being studied.

【0007】しかし、ホップフィールド型ニューラルネ
ットワークでは、局所最小値に落ち込んで最適解に辿り
つかないことがある。その他、従来からある階層化した
解法においては、階層化することで解の精度が悪くなっ
ていた。また、階層化することで処理に時間がかかって
いた。
However, in the Hopfield type neural network, there are cases where the optimum solution is not reached due to a drop to the local minimum value. In addition, in the conventional hierarchical solution method, the accuracy of the solution is deteriorated due to the hierarchical structure. In addition, processing is time consuming due to hierarchization.

【0008】[0008]

【発明が解決しようとする課題】前記のような従来のも
のにおいては、次のような課題があった。 (1) :前記TSPの解法については種々のアルゴリズム
が試されてきたが、都市数の増加と共に、都市の組み合
わせは階乗のオーダーで増加して行く。このため、計算
量が莫大なものになってしまうため、最適解を求めるこ
とは殆ど不可能であった。
SUMMARY OF THE INVENTION The above-mentioned conventional device has the following problems. (1): Various algorithms have been tried for the solution of the TSP, but as the number of cities increases, the combination of cities increases in the order of factorial. For this reason, the amount of calculation becomes enormous, and it has been almost impossible to obtain an optimum solution.

【0009】(2) :例えば、ホップフィールド型ニュー
ラルネットワークを利用してTSPを解く方法では、局
所最小値に落ち込んで最適解に辿りつかないことがあ
る。 (3) :その他、従来からある階層化した解法において
は、階層化することで解の精度が悪くなることと、時間
がかかるという課題がある。
(2): For example, in the method of solving the TSP by using the Hopfield type neural network, the optimum solution may not be reached due to a drop to the local minimum value. (3): In addition, in the conventional hierarchical solution method, there are problems that the accuracy of the solution becomes poor and time is taken due to the hierarchical method.

【0010】本発明は、このような従来の課題を解決
し、メッシュ構造の並列計算機を使用して、巡回セール
スマン問題の解を高速に求められるようにすることを目
的とする。
It is an object of the present invention to solve such a conventional problem and to use a parallel computer having a mesh structure so as to obtain a solution of the traveling salesman problem at high speed.

【0011】また、本発明は、巡回セールスマン問題を
メッシュ構造の並列計算機のセル数に応じて分割し、階
層化して処理することにより、大規模の巡回セールスマ
ン問題を高速に処理し、最適解に近いものをできるだけ
早く求めることができるようにすることを目的とする。
Further, the present invention divides the traveling salesman problem according to the number of cells of a parallel computer having a mesh structure and processes it in a hierarchical manner to process a large-scale traveling salesman problem at high speed and optimize it. The aim is to be able to find a solution that is close to the solution as soon as possible.

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理説明
図である。本発明は前記の課題を解決するため、巡回セ
ールスマン問題処理装置を次のように構成した。
FIG. 1 is a diagram illustrating the principle of the present invention. In order to solve the above-mentioned problems, the present invention constituted a traveling salesman problem processing device as follows.

【0013】(1) :メッシュ状に接続した複数のセル
と、各セル間を接続した通信ネットワークを有する並列
計算機2を使用して巡回セールスマン問題の解を求める
巡回セールスマン問題処理装置1Aにおいて、与えられ
た都市座標を基に全都市を含む最小矩形を並列計算機2
のセル数に応じて分割し、この分割した都市データを各
セルに割り当てることで全体問題を作成し、その全体問
題を並列計算機2に処理させて解を求める全体問題処理
手段と、並列計算機2で求められた解の経路が全都市を
巡るものでない場合、求められていない経路の都市群を
含む最小矩形を、更に並列計算機2のセル数に応じて分
割することで階層化し、この分割して階層化した都市デ
ータを各セルに割り当てることで部分問題を作成し、そ
の部分問題を並列計算機2に処理させて解を求める部分
問題処理手段を備えている。
(1): In a traveling salesman problem processing apparatus 1A for solving a traveling salesman problem using a parallel computer 2 having a plurality of cells connected in a mesh form and a communication network connecting the cells , The minimum rectangle including all cities based on the given city coordinates is parallel computer 2
According to the number of cells, and the divided urban data is assigned to each cell to create an overall problem. The overall problem is processed by the parallel computer 2 to obtain a solution, and the parallel computer 2 When the route of the solution obtained in step 1 does not go around all cities, the smallest rectangle including the cities of the route not obtained is further divided into layers according to the number of cells of the parallel computer 2, and the layers are divided. Sub-problem processing means for creating a sub-problem by allocating hierarchical city data to each cell, and having the parallel computer 2 process the sub-problem to obtain a solution is provided.

【0014】(2) :前記(1) の巡回セールスマン問題処
理装置において、部分問題処理手段は、部分問題を作成
する直前までに求められている巡回経路を基に、部分問
題における代表都市の直前の訪問都市の位置が部分問題
の中のどの部分に割り当てられているかを調べ、そこか
ら距離が一番近いセルに割り当てられている都市を部分
問題の出発都市に設定する出発都市設定手段を備えてい
る。
(2): In the traveling salesman problem processing device of (1) above, the sub-problem processing means is based on the patrol route obtained immediately before the sub-problem is created, and Find out to which part of the sub-problem the position of the last visited city is assigned, and set the departure city setting means to set the city assigned to the cell closest to it as the departure city of the sub-problem. I have it.

【0015】(3) :前記(1) の巡回セールスマン問題処
理装置において、部分問題処理手段は、部分問題を作成
する直前までに求められている巡回経路を基に、部分問
題における代表都市の次の訪問都市の位置が部分問題の
中のどの部分に割り当てられているかを調べ、そこから
距離が一番近いセルに割り当てられている都市を到着都
市に設定する到着都市設定手段を備えている。
(3): In the traveling salesman problem processing device of (1) above, the sub-problem processing means is based on the patrol route obtained immediately before the sub-problem is created, and Equipped with arrival city setting means to find out which part of the sub-problem the position of the next visited city is assigned to and set the city assigned to the cell closest to it as the arrival city .

【0016】(4) :前記(1) の巡回セールスマン問題処
理装置において、部分問題処理手段は、部分問題を作成
する際、出発都市、或いは到着都市に対応する位置に都
市がない場合は、その位置に疑似的に作成した疑似都市
を設定する疑似都市設定手段を備えている。
(4): In the traveling salesman problem processing device of (1) above, the sub-problem processing means creates a sub-problem when there is no city at a position corresponding to the departure city or the arrival city, A pseudo city setting means for setting the pseudo city created in a pseudo manner is provided at that position.

【0017】(5) :前記(1) の巡回セールスマン問題処
理装置において、並列計算機2から部分問題の解が得ら
れた場合、その経路中に疑似都市が含まれているか否か
を判断し、疑似都市が含まれていた場合は、その疑似都
市を除いた経路を求めて、その経路を全体の経路に組み
込むと共に、疑似都市が含まれていない場合は、そのま
まの経路を全体の経路に組み込む経路組み込み処理手段
を備えている。
(5): In the traveling salesman problem processor of (1) above, when the solution of the subproblem is obtained from the parallel computer 2, it is judged whether or not a pseudo city is included in the route. , If a pseudo city is included, find the route excluding the pseudo city, and incorporate that route into the entire route. If the pseudo city is not included, leave the route as it is as the entire route. It is equipped with a route incorporation processing means.

【0018】(6) :前記(1) の巡回セールスマン問題処
理装置において、並列計算機2から部分問題の解が得ら
れた場合、その経路中に重複した経路が存在するか否か
を判断し、重複した経路が存在した場合、到着都市の位
置をずらして経路を修正する経路重複修正手段を備えて
いる。
(6): In the traveling salesman problem processor of (1) above, when the solution of the subproblem is obtained from the parallel computer 2, it is judged whether or not there are overlapping routes in the route. When there is a duplicated route, a route duplication correcting means for correcting the route by shifting the position of the arrival city is provided.

【0019】[0019]

【作用】前記構成に基づく本発明の作用を、図1に基づ
いて説明する。巡回セールスマン問題を解く場合、並列
計算機2のセルに全都市を重複することなく割り当てる
ことができれば、各セル間の通信で同期をとることによ
り、階層化することなく最適解を得ることができる。し
かし、並列計算機2のセルの数が全都市数より少ない場
合は、以下の手順で階層化して最適解に近いものを求め
ることができる。
The operation of the present invention based on the above construction will be described with reference to FIG. When solving the traveling salesman problem, if all the cities can be assigned to the cells of the parallel computer 2 without overlapping, an optimum solution can be obtained without layering by synchronizing communication between the cells. . However, when the number of cells of the parallel computer 2 is less than the total number of cities, it is possible to hierarchically obtain the one close to the optimum solution by the following procedure.

【0020】先ず、巡回セールスマン問題処理装置1A
は、与えられた都市座標から全都市を含む最小矩形をm
×nに分割して、並列計算機2のm×nのセルに巡回セ
ールスマン問題の全都市をマッピングすることにより、
全体問題(レベル1)を作成し、並列計算機2へ送信し
て処理を依頼する。この場合、全体問題は、前記m×n
のセルにマッピングした全都市を巡回する経路の内、最
短経路を求める問題である。
First, the traveling salesman problem processing apparatus 1A
Is the minimum rectangle containing all cities from the given city coordinates.
By dividing all the cities of the traveling salesman problem into m × n cells of the parallel computer 2 by dividing them into × n,
Create an overall problem (level 1) and send it to the parallel computer 2 to request processing. In this case, the overall problem is the above m × n
The problem is to find the shortest route among the routes that go around all the cities mapped in the cell.

【0021】前記全体問題を受信した並列計算機2は、
m×nのセルを用いて都市を巡回する経路の内、最短経
路を求める処理を行う。そして、与えられた全ての都市
を巡回する経路の内から最短経路が求められたら、その
最短経路の経路データを巡回セールスマン問題処理装置
1Aへ応答する。
The parallel computer 2 which has received the overall problem,
A process of finding the shortest route among routes that go around the city using m × n cells is performed. Then, when the shortest route is obtained from the routes that go through all the given cities, the route data of the shortest route is returned to the traveling salesman problem processing device 1A.

【0022】前記応答を受信した巡回セールスマン問題
処理装置1Aは、並列計算機2で求められた経路が全て
の都市を巡回したものか否かを判断する。その結果、求
められた経路が全ての都市を巡回するものでないと判断
した場合、新たに部分問題(レベル2)を作成し並列計
算機2へ部分問題の解を求める処理を依頼する。
The traveling salesman problem processing device 1A which has received the response judges whether or not the route obtained by the parallel computer 2 has visited all cities. As a result, when it is determined that the obtained route does not go through all the cities, a new subproblem (level 2) is newly created and the parallel computer 2 is requested to perform a process for obtaining a solution of the subproblem.

【0023】前記部分問題を受信した並列計算機2は、
部分問題に対し都市を巡回する経路の内、最短経路を求
める処理を行う。そして、与えられた全都市を巡回する
経路の内から最短経路が求められたら、その最短経路の
経路データを巡回セールスマン問題処理装置1Aへ応答
する。
The parallel computer 2 which has received the subproblem is
For the subproblem, the process of finding the shortest route among the routes that go around the city is performed. Then, when the shortest route is obtained from the routes that go through all the given cities, the route data of the shortest route is returned to the traveling salesman problem processing device 1A.

【0024】前記応答を受信した巡回セールスマン問題
処理装置1Aは、並列計算機2で求められた経路が全て
の都市を巡回したものか否かを判断する。その結果、求
められた経路が全ての都市を巡回するものでないと判断
した場合、更に階層化した部分問題を作成し並列計算機
2へ部分問題の解を求める処理を依頼する。このように
して、全都市の経路が求められるまで、階層化した部分
問題の処理を行う。
The traveling salesman problem processing device 1A which has received the response judges whether or not the route obtained by the parallel computer 2 has visited all cities. As a result, when it is determined that the obtained route does not go through all the cities, a further hierarchical subproblem is created and the parallel computer 2 is requested to perform a process for obtaining a solution of the subproblem. In this way, the hierarchical partial problems are processed until the routes of all cities are obtained.

【0025】この場合、巡回セールスマン問題処理装置
1Aは、部分問題を作成する直前までに求められている
巡回経路を基に、部分問題における代表都市の直前の訪
問都市の位置が、部分問題の中のどの部分に割り当てら
れているかを調べ、そこから距離が一番近いセルに割り
当てられている都市を部分問題の出発都市に設定する。
In this case, the traveling salesman problem processing device 1A determines the position of the visiting city immediately before the representative city in the partial problem as the partial problem based on the traveling route obtained immediately before the partial problem is created. Find out which part of it is assigned, and set the city assigned to the cell closest to it as the departure city of the subproblem.

【0026】また、部分問題における代表都市の次の訪
問都市の位置が部分問題の中のどの部分に割り当てられ
ているかを調べ、そこから距離が一番近いセルに割り当
てられている都市を到着都市に設定する。更に、部分問
題を作成する際、出発都市、或いは到着都市に対応する
位置に都市がない場合は、その位置に疑似的に作成した
疑似都市を設定する。
Further, it is checked which part of the sub-problem the position of the next visited city of the representative city in the sub-problem is allocated, and the city allocated to the cell closest to the sub-problem arrives at the arrival city. Set to. Furthermore, when creating a subproblem, if there is no city at the position corresponding to the starting city or the arriving city, the pseudo city created pseudo is set at that position.

【0027】前記のようにして各部分問題の解を得た巡
回セールスマン問題処理装置1Aは、その経路中に疑似
都市が含まれているか否かを判断し、疑似都市が含まれ
ていた場合は、その疑似都市を除いた経路を求めて、そ
の経路を全体の経路に組み込むと共に、疑似都市が含ま
れていない場合は、そのままの経路を全体の経路に組み
込む処理を行う。
The traveling salesman problem processing apparatus 1A, which has obtained the solutions to the respective subproblems as described above, judges whether or not a pseudo city is included in the route, and when the pseudo city is included. Performs a process of obtaining a route excluding the pseudo city, incorporating the route into the entire route, and incorporating a route as it is into the entire route when the pseudo city is not included.

【0028】この場合、並列計算機2から部分問題の解
が得られたら、その経路中に重複した経路が存在するか
否かを判断し、重複した経路が存在した場合、到着都市
の位置をずらして経路を修正する処理を行う。
In this case, when the solution of the subproblem is obtained from the parallel computer 2, it is judged whether or not there are overlapping routes, and if there are overlapping routes, the position of the arrival city is shifted. To correct the route.

【0029】以上のようにメッシュ構造の並列計算機を
使用して、巡回セールスマン問題の解を高速に求めるこ
とが可能になる。また、巡回セールスマン問題をメッシ
ュ構造の並列計算機のセル数に応じて分割し、階層化し
て処理することにより、大規模の巡回セールスマン問題
を高速に処理し、最適解に近いものをできるだけ早く求
めることができる。
As described above, by using the parallel computer having the mesh structure, the solution of the traveling salesman problem can be obtained at high speed. In addition, by dividing the traveling salesman problem according to the number of cells of a parallel computer with a mesh structure and processing it hierarchically, a large-scale traveling salesman problem can be processed at high speed, and the one close to the optimal solution can be processed as soon as possible. You can ask.

【0030】[0030]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図2〜図11は本発明の実施例を示した図であ
る。図2〜図11において、1はホストコンピュータ、
2は並列計算機、3はTSP処理部(巡回セールスマン
問題処理部)、4は記憶装置、5はセル(プロセッサエ
レメント)、6は通信ネットワークを示す。なお、図1
に示した巡回セールスマン問題処理装置1Aは、前記ホ
ストコンピュータ1に対応する。
Embodiments of the present invention will be described below with reference to the drawings. 2 to 11 are views showing an embodiment of the present invention. 2 to 11, 1 is a host computer,
2 is a parallel computer, 3 is a TSP processor (traveling salesman problem processor), 4 is a storage device, 5 is a cell (processor element), and 6 is a communication network. FIG.
The traveling salesman problem processing apparatus 1A shown in (1) corresponds to the host computer 1.

【0031】§1:実施例のシステム構成の説明・・・
図2参照 図2は実施例のシステム構成図である。実施例では、ホ
ストコンピュータ1と並列計算機2からなるシステムに
より巡回セールスマン問題(以下「TSP」と記す)の
解を求める処理を行う。
§1: Description of system configuration of the embodiment ...
See FIG. 2. FIG. 2 is a system configuration diagram of the embodiment. In the embodiment, a system including the host computer 1 and the parallel computer 2 performs a process of obtaining a solution of the traveling salesman problem (hereinafter referred to as "TSP").

【0032】前記システムにおいて、ホストコンピュー
タ1には、TSPの各種処理を行うTSP処理部3と、
TSP処理に必要な都市データ等の各種情報を格納する
ための記憶装置4等が設けてある。この場合、記憶装置
4には予め全都市の座標データが格納されている。
In the above system, the host computer 1 has a TSP processing unit 3 for performing various TSP processing,
A storage device 4 for storing various information such as city data necessary for TSP processing is provided. In this case, the storage device 4 stores coordinate data of all cities in advance.

【0033】前記並列計算機2は、ホストコンピュータ
1から依頼されたTSPの問題データ(全体問題、及び
部分問題)の処理を実行するものであり、例えば、メッ
シュ状に接続された複数のセル(プロセッサエレメン
ト)5と、これらの各セル5間を接続する通信ネットワ
ーク6を備えている。
The parallel computer 2 executes the processing of the TSP problem data (entire problem and partial problem) requested by the host computer 1. For example, a plurality of cells (processors) connected in a mesh form (processors). The element) 5 and a communication network 6 connecting these cells 5 are provided.

【0034】前記システムでは、ホストコンピュータ1
のTSP処理部3がTSPの問題データを作成し、この
問題データをメッシュ構造の並列計算機2へ転送してT
SP処理を依頼する。そして、並列計算機2が解析して
解が求まったら、その解のデータ(与えられた全ての都
市間を巡回する最短経路のデータ)をホストコンピュー
タ1へ転送して応答する。TSP処理部3は、前記並列
計算機2からの応答を基に、TSPの全都市を巡る最短
経路を求めるものである。
In the above system, the host computer 1
TSP processing unit 3 creates the TSP problem data, transfers the problem data to the parallel computer 2 having the mesh structure, and
Request SP processing. Then, when the parallel computer 2 analyzes and obtains a solution, the data of the solution (the data of the shortest route that travels between all given cities) is transferred to the host computer 1 to respond. The TSP processing unit 3 obtains the shortest route around all the cities of TSP based on the response from the parallel computer 2.

【0035】§2:実施例の処理の説明・・・図3参照 図3は実施例の処理フローチャートである。以下、図3
に基づいて実施例の処理(全体の処理)を説明する。な
お、S1〜S8は各処理ステップを示す。
§2: Description of Processing of Embodiment--See FIG. 3 FIG. 3 is a flowchart of processing of the embodiment. Below, FIG.
The processing of the embodiment (entire processing) will be described based on FIG. Note that S1 to S8 indicate processing steps.

【0036】TSPの解を求める場合、並列計算機2の
セル5に全都市を重複することなく割り当てることがで
きれば、各セル5間の通信で同期をとることにより、階
層化することなくTSPの最適解を得ることができる。
しかし、並列計算機2のセル5の数が全都市数より少な
い場合は、以下の手順でTSPを階層化して最適解に近
いものを求めることができる。
When the solution of TSP is obtained, if all cities can be assigned to the cells 5 of the parallel computer 2 without overlapping, the communication between the cells 5 synchronizes to optimize the TSP without hierarchization. You can get a solution.
However, when the number of cells 5 of the parallel computer 2 is smaller than the total number of cities, the TSP can be hierarchized according to the following procedure to obtain an optimal solution.

【0037】先ず、TSP処理部3は、記憶装置4から
全都市の座標等の必要なデータを読み込み内部のメモリ
に格納して(S1)処理を開始する。そして、与えられ
た都市座標から全都市を含む最小矩形をm×nに分割し
て(m、n:任意の整数)、並列計算機2のm×nのセ
ルにTSPの全都市をマッピングする(S2)。
First, the TSP processor 3 reads necessary data such as coordinates of all cities from the storage device 4 and stores it in the internal memory (S1) to start the processing. Then, the minimum rectangle including all cities is divided into m × n from the given city coordinates (m, n: any integer), and all TSP cities are mapped to m × n cells of the parallel computer 2 ( S2).

【0038】次にTSP処理部3は、前記マッピングし
た情報から最初に解くべき全体問題を作成し(S3)、
前記作成した問題を並列計算機2へ送信して(S4)T
SP処理(与えられた全ての都市を巡回する経路の内、
最短経路を求める処理)を依頼する。この場合、最初に
解くべき全体問題は、前記m×nのセルにマッピングし
た全都市(全都市をm×nの都市として扱う)を巡回す
る経路の内、最短経路を求める問題である。
Next, the TSP processing unit 3 creates an overall problem to be solved first from the mapped information (S3),
Send the created question to the parallel computer 2 (S4) T
SP processing (in the route that goes around all given cities,
Request the shortest route). In this case, the overall problem to be solved first is a problem of finding the shortest route among the routes that go through all the cities mapped to the m × n cells (all the cities are treated as m × n cities).

【0039】前記問題を受信した並列計算機2は、最初
はm×nのセル5を用いて全ての都市を巡回する経路の
内、最短経路を求める処理を行う。この場合、1つのセ
ル5に複数の都市を含む都市群が存在することもある
が、1つのセルに割り当てられた都市群を1つの都市
(代表都市)と考えて最短経路を求める処理を行う。
The parallel computer 2, which has received the above problem, first uses the m × n cells 5 to perform the process of finding the shortest route among the routes that go through all the cities. In this case, there may be a group of cities including a plurality of cities in one cell 5, but the group of cities assigned to one cell is considered as one city (representative city) and the shortest route is obtained. .

【0040】そして、与えられた全都市を巡回する経路
の内から最短経路が求められたら、その最短経路のデー
タをホストコンピュータ1のTSP処理部3へ転送し
て、前記依頼に対し応答する。
Then, when the shortest route is obtained from the routes that go through all the given cities, the data of the shortest route is transferred to the TSP processing unit 3 of the host computer 1 to respond to the request.

【0041】TSP処理部3は、並列計算機2からの応
答を受信すると(S5)、その経路データを記憶装置4
に格納しておく。そして、TSP処理部3は、並列計算
機2で求められた前記経路が全ての都市を巡回したもの
か否かを判断する(S6)。その結果、求められた経路
が全ての都市を巡回するものでないと判断した場合、新
たに部分問題を作成し(S8)、前記S4の処理から繰
り返して行う。
When the TSP processor 3 receives the response from the parallel computer 2 (S5), the route data is stored in the storage device 4.
Stored in. Then, the TSP processing unit 3 determines whether the route obtained by the parallel computer 2 has traveled all cities (S6). As a result, when it is determined that the obtained route does not travel all cities, a new partial problem is created (S8), and the process from S4 is repeated.

【0042】すなわち、全都市の経路が求められるま
で、求められていない部分の都市群を含む最小矩形をj
×kに再分割(j、k:任意の整数)して階層化する操
作を繰り返して行う(レベル1→レベル2→レベル3・
・・)。このようにして、全都市を経由した経路が求ま
ったら、経路探索結果のデータを出力(表示、印刷等に
よる出力)し(S7)処理終了となる。
That is, until the routes of all cities are obtained, the minimum rectangle including the unresolved city groups is j
The operation of re-dividing into xk (j, k: arbitrary integer) and layering is repeated (level 1 → level 2 → level 3).
・ ・). In this way, when the route passing through all the cities is obtained, the data of the route search result is output (displayed, output by printing, etc.) (S7), and the process ends.

【0043】前記の処理において、並列計算機2から各
部分問題の解(求められた最短経路データ)を得たTS
P処理部3は、求められた経路を全体の経路に組み込む
処理を行い、記憶装置4に格納する。
In the above processing, the TS which has obtained the solution (obtained shortest path data) of each subproblem from the parallel computer 2
The P processing unit 3 performs processing for incorporating the obtained route into the entire route and stores it in the storage device 4.

【0044】以上のようにメッシュ構造の並列計算機を
使用して、巡回セールスマン問題の解を高速に求めるこ
とが可能になる。また、巡回セールスマン問題をメッシ
ュ構造の並列計算機のセル数に応じて分割し、階層化し
て処理することにより、大規模の巡回セールスマン問題
を高速に処理し、最適解に近いものをできるだけ早く求
めることができる。
As described above, it is possible to obtain a solution of the traveling salesman problem at high speed by using a parallel computer having a mesh structure. In addition, by dividing the traveling salesman problem according to the number of cells of a parallel computer with a mesh structure and processing it hierarchically, a large-scale traveling salesman problem can be processed at high speed, and the one close to the optimal solution can be processed as soon as possible. You can ask.

【0045】§3:都市データの説明・・・図4参照 図4は都市データの説明図である。TSP処理部3は、
前記のようにしてTSP処理(TSPの解を求める処
理)を行うが、この場合、記憶装置4内に図示のような
都市データを格納することで処理を行う。
§3: Description of city data--see FIG. 4 FIG. 4 is an explanatory diagram of city data. The TSP processing unit 3
The TSP processing (processing for obtaining the TSP solution) is performed as described above. In this case, the processing is performed by storing the city data shown in the drawing in the storage device 4.

【0046】すなわち、TSP処理部3がアクセスする
記憶装置4には、各都市毎に、都市ID(都市の識別コ
ード)、都市の実際の座標(x−y座標)、都市の並列
計算機における座標(セルの位置座標)、インバース
(inverse :直前の訪問都市)、ネクスト(next:次の
訪問都市)、グループ(group :同じグループの都
市)、同じグループの都市数等のデータを格納する。
That is, in the storage device 4 accessed by the TSP processing unit 3, for each city, the city ID (city identification code), the actual coordinates of the city (xy coordinates), and the coordinates of the city in the parallel computer. Data such as (position coordinates of cells), inverse (inverse: last visited city), next (next: next visited city), group (group: same group city), number of cities in same group are stored.

【0047】TSP処理部3は、記憶装置4に各都市毎
のデータを格納し、並列計算機2からの応答を受信する
と、前記都市データを更新しながらTSP処理を行う。
この場合、TSP処理部3は、最初に記憶装置4からT
SPの全都市座標データを読み込んだ際、各都市に前記
のようなデータ構造を持たせ、全都市が出発都市と同一
グループに属し、出発都市と到着都市が同じものと考え
て、全都市座標から並列計算機2の各セルに処理を割り
当てる。
The TSP processor 3 stores the data for each city in the storage device 4, and when receiving the response from the parallel computer 2, performs the TSP processing while updating the city data.
In this case, the TSP processing unit 3 first reads the TSP from the storage device 4.
When reading all city coordinate data of SP, each city has the above-mentioned data structure, all cities belong to the same group as the departure city, and the departure city and the arrival city are considered to be the same. From, the processing is assigned to each cell of the parallel computer 2.

【0048】並列計算機2は、TSP処理部3から与え
られた問題から、与えられた全ての都市を巡回する巡回
経路の内、最短経路を求める。全体の巡回経路は、都市
データ構造の「ネクスト」で辿れるようにしておくの
で、経路が求められる度に、対象都市の「ネクスト」と
「インバース」を書き換える。
From the problem given by the TSP processor 3, the parallel computer 2 finds the shortest route among the routes that go around all given cities. Since the entire patrol route can be traced by "next" of the city data structure, "next" and "inverse" of the target city are rewritten each time the route is obtained.

【0049】また、都市を階層化する時に、同じセルに
割り当てられる都市群はグループを作るが、それは各都
市のグループという要素で記憶している。グループは、
並列計算機2に分割される時に対象都市において書き換
えを行う。最終的に全体の経路が求められた時には、全
都市においてこのグループという要素はヌル(NULL)に
なっていることになる。
When the cities are hierarchized, the groups of cities assigned to the same cell form a group, which is stored as an element called a group of each city. The group is
Rewriting is performed in the target city when it is divided into the parallel computers 2. When the entire route is finally obtained, the element of this group is null in all cities.

【0050】そして、最初に求められた巡回経路から全
都市の経路が求められるまで、新たな部分問題を作成し
て、最初の全体問題と同様に部分経路を求める。求めら
れた部分経路は全体の巡回経路の中に組み込む。
Then, new sub-problems are created until the routes of all cities are obtained from the initially obtained patrol route, and sub-routes are obtained in the same manner as the first overall problem. The obtained partial route is incorporated into the entire patrol route.

【0051】§4:部分問題作成時、及び部分問題処理
後の都市データの説明・・・図5、図6参照 図5は部分問題作成時の都市データを示した図、図6は
部分問題処理後の都市データを示した図である。
§4: Explanation of city data at the time of creating a partial problem and after processing of a partial problem ... See FIGS. 5 and 6. FIG. 5 is a diagram showing city data at the time of creating a partial problem, and FIG. 6 is a partial problem. It is the figure which showed the city data after a process.

【0052】TSP処理時には、TSP処理部3は記憶
装置4内の都市データを基に処理を行う。そして、最初
の全体問題の処理を並列計算機2に依頼して処理した
後、全都市を巡回した経路が求まっていない場合は、新
たに部分問題を作成して並列計算機2に経路を求める処
理を依頼する。
At the time of TSP processing, the TSP processing section 3 performs processing based on city data in the storage device 4. Then, after requesting the parallel computer 2 to process the first overall problem, if the route that has traveled through all the cities is not found, a process for creating a new partial problem and requesting the route to the parallel computer 2 is performed. Request.

【0053】この場合、例えば、図5に示したように都
市データが存在していたとする。この状態でTSP処理
部3は、例えば、都市ID=5、10、7を含むグルー
プを部分問題の都市データとして記憶装置4から読み出
し、これらの都市データから部分問題を作成する。
In this case, for example, it is assumed that city data exists as shown in FIG. In this state, the TSP processing unit 3 reads, for example, a group including city IDs = 5, 10, and 7 from the storage device 4 as city data of a partial problem, and creates a partial problem from these city data.

【0054】そして、前記部分問題を並列計算機2で処
理させその結果のデータ(部分経路のデータ)を受信す
ると、TSP処理部3はこのデータを基に、記憶装置4
内の都市データを更新する。この処理により図6に示し
たように、都市データの中身が変化して全体の都市巡回
経路が詳細化していく。
When the parallel problem is processed by the parallel computer 2 and the resulting data (data of the partial path) is received, the TSP processor 3 uses the data to store the data in the storage device 4.
Update the city data in. As a result of this processing, as shown in FIG. 6, the contents of the city data change and the entire city patrol route becomes more detailed.

【0055】§5:TSP処理と、階層化処理の説明・
・・図7、図8参照 図7はTSP処理の説明図、図8は階層化処理説明図で
ある。なお、図示のレベル1、レベル2は階層化のレベ
ルを示している。また、●印は都市を示している。
§5: Explanation of TSP processing and hierarchical processing
.. Refer to FIGS. 7 and 8. FIG. 7 is an explanatory diagram of the TSP process, and FIG. 8 is an explanatory diagram of the layering process. In addition, the levels 1 and 2 shown in the figure represent levels of hierarchization. Also, the ● symbol indicates a city.

【0056】前記のようにTSP処理を行う際、TSP
処理部3は記憶装置4から必要なデータを読み込み、与
えられた都市座標(x,y)から全都市を含む最小矩形
をm×nに分割して、並列計算機2のm×nのセルにT
SPの全都市をマッピングする。
When performing the TSP processing as described above, the TSP
The processing unit 3 reads necessary data from the storage device 4, divides the minimum rectangle including all cities from the given city coordinates (x, y) into m × n, and divides them into m × n cells of the parallel computer 2. T
Map all SP cities.

【0057】そして、最初に解くべき全体問題(図示の
レベル1参照)を作成し並列計算機2へ送信してTSP
処理(与えられた全ての都市を巡回する経路の内、最短
経路を求める処理)を依頼する。
Then, first, an overall problem to be solved (see level 1 in the figure) is created and transmitted to the parallel computer 2 to transmit the TSP.
Request processing (processing to find the shortest route among routes that go through all given cities).

【0058】前記問題を受信した並列計算機2は、最初
はm×nのセル5を用いて都市を巡回する経路の内最短
経路を求める処理を行う。そして、与えられた全都市を
巡回する経路の内から最短経路が求められたら、その最
短経路のデータをホストコンピュータ1のTSP処理部
3へ転送して前記依頼に対し応答する。
The parallel computer 2, which has received the above problem, first uses the m × n cells 5 to perform the process of finding the shortest route among the routes that go around the city. Then, when the shortest route is obtained from the routes that go through all the given cities, the data of the shortest route is transferred to the TSP processing unit 3 of the host computer 1 to respond to the request.

【0059】TSP処理部3は、並列計算機2からの応
答により経路データを受信すると、並列計算機2で求め
られた経路が全都市を巡回したものか否かを判断する。
その結果、前記求められた経路が全都市を巡回するもの
でないと判断した場合、新たに部分問題を作成し、階層
化を行うことにより(図示のレベル2参照)、再び並列
計算機2へTSP処理を依頼する。そして、並列計算機
2からの応答を受信すると、TSP処理部3は都市デー
タの更新処理を行う。このようにして、並列計算機2の
セル数が全都市数より少ない場合は、TSP処理を階層
化して最適解に近いものを求める。
Upon receiving the route data from the parallel computer 2, the TSP processor 3 determines whether the route obtained by the parallel computer 2 has traveled all cities.
As a result, when it is determined that the obtained route does not travel all cities, a new partial problem is created and hierarchization is performed (see level 2 in the figure), and the TSP processing is performed again on the parallel computer 2. Ask. Then, when the response from the parallel computer 2 is received, the TSP processing unit 3 updates the city data. In this way, when the number of cells of the parallel computer 2 is smaller than the total number of cities, the TSP process is hierarchized to find the one close to the optimum solution.

【0060】前記処理において、都市データ(city dat
a )はx,y座標(x,y)により、例えば、(0,1
0)、(3,5)、(2,12)・・・のように表され
ている。すなわち、全都市を含むx,y座標に対し、座
標軸上の各都市の存在する位置を(x,y)で表してい
る。
In the above processing, city data (city dat
a) is the x, y coordinate (x, y), for example, (0, 1
0), (3, 5), (2, 12) ... That is, the position where each city exists on the coordinate axis is represented by (x, y) with respect to the x, y coordinates including all cities.

【0061】従って、TSP処理部3が作成する問題デ
ータも、各都市ID0、1、2・・・に対し、0(0,
0)、1(0,1)、2(0,2)・・・のように表さ
れている。
Therefore, the problem data created by the TSP processing unit 3 is also 0 (0, 0, for each city ID 0, 1, 2, ...).
0), 1 (0,1), 2 (0,2) ...

【0062】ところで、初めの全都市の分割(全体問
題)では、出発都市と到着都市が同じになる巡回経路を
求めるが、階層化していく際の各部分問題では、出発都
市と到着都市をすでに求められた経路から設定する。
By the way, in the first division of all cities (overall problem), a patrol route in which the starting city and the arrival city are the same is obtained, but in each partial problem when hierarchizing, the starting city and the arrival city are already Set from the route requested.

【0063】この場合、TSP処理部3は、部分問題を
作成する直前までに求められている巡回経路を基に、部
分問題における代表都市の直前の訪問都市の位置が、部
分問題の中のどの部分に割り当てられているかを調べ、
そこから距離が一番近いセルに割り当てられている都市
を部分問題の出発都市に設定する。
In this case, the TSP processor 3 determines the position of the visited city immediately before the representative city in the subproblem in the subproblem based on the patrol route obtained just before the subproblem is created. Check if it is assigned to a part,
The city assigned to the cell closest to it is set as the departure city for the subproblem.

【0064】また、部分問題における代表都市の次の訪
問都市の位置が部分問題の中のどの部分に割り当てられ
ているかを調べ、そこから距離が一番近いセルに割り当
てられている都市を到着都市に設定する。更に、部分問
題を作成する際、出発都市、或いは到着都市に対応する
位置に都市がない場合は、その位置に疑似的に作成した
疑似都市を設定する。
Further, it is checked which part of the sub-problem the position of the next visited city of the representative city in the sub-problem is allocated, and the city assigned to the cell closest to the sub-problem arrives at the arrival city. Set to. Furthermore, when creating a subproblem, if there is no city at the position corresponding to the starting city or the arriving city, the pseudo city created pseudo is set at that position.

【0065】前記のようにして各部分問題の解を得たT
SP処理部3は、その経路中に疑似都市が含まれている
か否かを判断し、疑似都市が含まれていた場合は、その
疑似都市を除いた経路を求めて、その経路を全体の経路
に組み込むと共に、疑似都市が含まれていない場合は、
そのままの経路を全体の経路に組み込む処理を行う。
The solution T of each subproblem is obtained as described above.
The SP processing unit 3 determines whether or not the pseudo city is included in the route, and if the pseudo city is included, obtains a route excluding the pseudo city, and determines the route as the entire route. In addition, if the pseudo city is not included,
The process of incorporating the route as it is into the entire route is performed.

【0066】この場合、並列計算機2から部分問題の解
が得られたら、その経路中に重複した経路が存在するか
否かを判断し、重複した経路が存在した場合、到着都市
の位置をずらして経路を修正する処理を行う。
In this case, when the solution of the subproblem is obtained from the parallel computer 2, it is judged whether or not there is an overlapping route among the routes, and if there is an overlapping route, the position of the arrival city is shifted. To correct the route.

【0067】このようにすることで、大規模な問題にお
いても、それに対応する沢山の部分問題を作成し、各々
を解いていくことで、全体の解を求めることができる。
また、各部分問題は、最初に全体の巡回経路を求める解
以外は、独立にその経路を探索することができる。そこ
で、1つの並列計算機2で、並列に複数の部分問題を探
索させることができ、更に、解を求める時間を短縮する
ことができる。
By doing so, even in a large-scale problem, a large number of sub-problems corresponding to the problem can be created, and by solving each of them, the entire solution can be obtained.
In addition, each subproblem can search its route independently, except for the solution that first finds the entire traveling route. Therefore, one parallel computer 2 can search for a plurality of subproblems in parallel, and the time for obtaining a solution can be shortened.

【0068】§6:部分問題の都市設定処理の説明・・
・図9参照 図9は部分問題の都市設定処理説明図であり、A図は出
発、到着、疑似都市の設定例を示した図、B図は経路重
複修正例を示した図である。
§6: Explanation of the partial problem city setting process ...
-Refer to FIG. 9. FIG. 9 is an explanatory diagram of the partial problem city setting process, FIG. A is a diagram showing an example of setting departure, arrival, and pseudo cities, and FIG. B is a diagram showing an example of route duplication correction.

【0069】部分問題を並列計算機2の各セルに再分割
して割り付ける際に、その部分問題における出発都市と
到着都市を決定する必要がある。これは、その部分問題
を作成する直前までに求められている巡回経路から適当
な都市を以下の手順により決定して設定する。
When the subproblem is subdivided and assigned to each cell of the parallel computer 2, it is necessary to determine the departure city and the arrival city in the subproblem. This is to set and determine an appropriate city from the patrol route that has been obtained just before creating the sub-problem by the following procedure.

【0070】(1) :部分問題の代表都市のインバース
(都市データにおける代表都市IDのインバース)が指
している都市(直前の訪問都市)の位置が部分問題の中
の何処の部分にマッピングされるかを調べ、そこから距
離が一番近いセルに割り当てられている都市を出発都市
に設定する。
(1): The position of the city (immediately visited city) pointed to by the inverse of the representative city of the subproblem (the inverse of the representative city ID in the city data) is mapped to any part of the subproblem. Then, the city assigned to the cell with the shortest distance from that is set as the departure city.

【0071】(2) :前記(1) と同様にして部分問題の代
表都市の「ネクスト」が指している都市(次の訪問都
市)の座標が部分問題において、どこの位置にマッピン
グされるかを見て、そこから距離が一番近いセルに対応
する都市を到着都市に設定する。
(2): Where in the sub-problem the coordinates of the city (next visiting city) pointed to by "Next" of the representative city of the sub-problem are mapped in the same way as in (1) above. , And set the city corresponding to the cell closest to it as the arrival city.

【0072】(3) :前記(1) 、及び(2) において、それ
ぞれ対応するセルに割り当てられる都市が存在しない場
合は、疑似的に作成した疑似都市(実際には存在しない
都市)を出発都市、或いは到着都市に設定する。
(3): In the above (1) and (2), when there is no city assigned to the corresponding cell, a pseudo city created in a pseudo manner (a city that does not actually exist) is the departure city. Or set it to the arrival city.

【0073】図9のA図には、4×4構成(セルが縦4
個、横4個の構成)の並列計算機によるもので示してあ
り、図の斜線部分は、都市が存在しているセルである。
また、図には、直前の訪問都市(inverse city)、次の
訪問都市(next city )、出発都市セル(start city c
ell )、疑似到着都市セル(dummy end city cell )が
図示してある。
In FIG. 9A, a 4 × 4 configuration (cells vertically 4
The number of cells is 4 and the number of cells is 4 in the horizontal direction). The shaded portions in the figure are cells in which cities exist.
In the figure, the last visited city (inverse city), the next visited city (next city), and the starting city cell (start city c
ell) and a dummy end city cell.

【0074】図示のように、出発都市と到着都市が割り
当てられるセルは、その構成によりどこになるかは異な
るが、長方形の4辺のいずれかに存在することになる。
但し、疑似都市は、並列計算機の方から見た場合、実在
の都市と何ら変わることはない、ただ単に部分問題の都
市の数が増えるだけである。
As shown in the figure, the cells to which the starting city and the arriving city are assigned are located on any one of the four sides of the rectangle, although the location depends on the configuration.
However, when viewed from the side of a parallel computer, the pseudo city is no different from the actual city, only the number of partial problem cities is increased.

【0075】前記のようにして出発都市、及び到着都市
を設定すると、両者は同一になる場合と、そうでない場
合が考えられる。同一の場合は、TSPを最初に解く場
合と同様な経路を求めることになる。そうでない場合
は、本来のTSPとは厳密には異なるが、部分問題の都
市を巡る出発都市と到着都市が予め決まっている、非巡
回経路を求めることになる。
When the starting city and the arriving city are set as described above, it is possible that both are the same or not. If they are the same, the same route as in the case of first solving the TSP will be obtained. If this is not the case, a non-tour route that has a predetermined departure city and arrival city around the sub-problem city is determined, although it is strictly different from the original TSP.

【0076】例えば、図9のB図のように、前記出発都
市と到着都市が同一になり、経路が重複する場合は、セ
ルの位置を移動させて処理をやり直す。出発都市と到着
都市が重複すると、内部で経路が循環したままとなるこ
とがあるので、解が求まらない状態となる。従って、到
着都市に疑似都市を設定し出発都市と到着都市が重複し
ないようにして処理をやり直すことになる。
For example, as shown in FIG. 9B, when the departure city and the arrival city are the same and the routes overlap, the position of the cell is moved and the process is repeated. If the starting city and the arriving city overlap, the route may remain circulated internally, so a solution cannot be obtained. Therefore, the pseudo city is set as the arrival city so that the departure city and the arrival city do not overlap with each other and the processing is redone.

【0077】§7:都市巡回経路の詳細化と経路探索の
階層化の説明・・・図10参照 図10は都市巡回経路の詳細化と経路探索の階層化の説
明図である。TSP処理部3では、前記のようにして得
られた部分経路を全体の巡回経路の中に組み込む。この
時、疑似都市が入っている場合は、それを除いた形で組
み込む。例えば、都市IDが「100」の疑似都市が入
っていたとする。
§7: Description of detail of city patrol route and hierarchization of route search ... See FIG. 10. FIG. 10 is an explanatory diagram of detail of city patrol route and hierarchization of route search. The TSP processing unit 3 incorporates the partial route obtained as described above into the entire patrol route. At this time, if a pseudo city is included, it is incorporated in a form excluding it. For example, assume that a pseudo city with a city ID of “100” is included.

【0078】この時、TSP処理部3は「100→2→
5」を全体巡回経路「0→5」に組み込むと、巡経路は
「0→2→5」のようになる(各数字は都市ID、矢印
は経路を示す)。
At this time, the TSP processor 3 "100 → 2 →
If "5" is incorporated into the entire patrol route "0 → 5", the patrol route becomes "0 → 2 → 5" (each numeral indicates a city ID, and an arrow indicates the route).

【0079】また、部分巡回経路の場合には、経路が重
複してしまうと(図9のB図参照)全都市の解である巡
回経路が長くなってしまうので、部分問題の解を求めた
後で到着都市の位置をずらして処理をやり直している。
Further, in the case of the partial patrol route, if the routes overlap (see FIG. 9B), the patrol route which is the solution of all cities becomes long, so the solution of the partial problem was obtained. Later, the location of the arrival city was shifted and the processing was redone.

【0080】このようにして、全体の巡回経路を並列計
算機2からの部分経路を受け取る度に詳細化していくこ
とで、最終的には、全体の出発都市から各都市のデータ
構造の要素である「ネクスト」で繋がれた都市の巡回経
路が得られることになる。
In this way, the entire traveling route is refined every time the partial route from the parallel computer 2 is received, and finally, the elements are included in the data structure of each city from the entire starting city. You will be able to get a patrol route of the cities connected by "Next".

【0081】図10は、実際にTSP処理を行った結果
の状態を示しており、解を求めていく過程で階層化が進
められ、巡回経路が詳細化していく状態を示している。
なお、この都市データでは、階層の深さは3(レベル1
〜レベル3)であり、部分問題の数は5である。また、
解を求めるためにかかった時間は約1秒であった。
FIG. 10 shows a state as a result of actually performing the TSP processing, and shows a state in which hierarchization is advanced in the process of obtaining a solution and the traveling route is being refined.
In this city data, the depth of the hierarchy is 3 (level 1
~ Level 3), and the number of partial problems is 5. Also,
It took about 1 second to find the solution.

【0082】§8:都市巡回経路の解の説明・・・図1
1参照 図11は都市巡回経路の解を示した図であり、A図は都
市の座標、B図は都市巡回経路の解を示した図である。
§8: Explanation of solution of city patrol route ... Fig. 1
See FIG. 1. FIG. 11 is a diagram showing a solution of a city patrol route, FIG. A is a coordinate of a city, and FIG. 11 is a diagram showing a solution of a city patrol route.

【0083】図11に示した例では、100の都市を対
象とし、この100都市について都市巡回経路を実際に
求めたものである。この場合、階層の深さは4であり、
部分問題の数は34、全体の実行時間は13秒程度であ
った。距離はマンハッタン長で比較すると、シミュレー
テッドアニーリング法で求めた略最適な解より2割程度
の誤差であった。
In the example shown in FIG. 11, 100 cities are targeted, and the city patrol route is actually obtained for these 100 cities. In this case, the depth of the hierarchy is 4,
The number of partial problems was 34, and the total execution time was about 13 seconds. When the Manhattan length was compared for the distance, the error was about 20% from the substantially optimum solution obtained by the simulated annealing method.

【0084】(他の実施例)以上実施例について説明し
たが、本発明は次のようにしても実施可能である。 (1) :疑似都市の設定方法は、前記実施例で説明した方
法の外に、次のようにして設定しても良い。
(Other Embodiments) The embodiments have been described above, but the present invention can also be implemented as follows. (1): In addition to the method described in the above embodiment, the setting method of the pseudo city may be set as follows.

【0085】例えば、図9において、メッシュ構造の4
辺だけでなく、4角のセルにも割り当てるなどの特定の
セルに限定する方法を採用しても良い。また、疑似都市
を置かずに、実際に存在する都市の中で、部分問題の中
で一番近い距離にある都市の割り当てられているセルに
設定する方法を採用しても良い。
For example, in FIG. 9, the mesh structure 4
It is also possible to adopt a method of limiting to a specific cell such as allocating not only to a side but also to a square cell. Alternatively, a method may be adopted in which, without placing a pseudo city, a cell that is closest to a sub-problem among the actually existing cities is assigned to a cell to which the city is assigned.

【0086】(2) :都市データの構造は、前記実施例で
説明したものに限らず、前記実施例と同様なデータを含
む任意のデータ構造で実施可能である。 (3) :都市データを格納しておく記憶装置は、磁気ディ
スク装置、光磁気ディスク装置、磁気テープ装置、半導
体記憶装置等の任意の記憶装置で実施可能である。な
お、TSP処理を行う際は、前記記憶装置から必要なデ
ータを内部のワーク用メモリへ転送して処理を行い、処
理が終了したら前記記憶装置へ格納しておく。
(2): The structure of the city data is not limited to that described in the above embodiment, and can be implemented by any data structure including the same data as in the above embodiment. (3): The storage device for storing the city data can be implemented by any storage device such as a magnetic disk device, a magneto-optical disk device, a magnetic tape device, and a semiconductor storage device. When performing the TSP processing, necessary data is transferred from the storage device to an internal work memory for processing, and stored in the storage device when the processing is completed.

【0087】(4) :各部分問題(階層化レベル2以降の
処理)は、独立してその経路を探索することができるの
で、1つの並列計算機で、並列に複数の部分問題を処理
(部分問題の並列処理)させても良い。このようにすれ
ば、更にTSPの解を求める時間を短縮することができ
る。
(4): Since each subproblem (processing after the hierarchical level 2) can independently search its path, one parallel computer processes a plurality of subproblems in parallel (partial processing). Parallel processing of problems). By doing so, the time for obtaining the TSP solution can be further shortened.

【0088】[0088]

【発明の効果】以上説明したように、本発明によれば次
のような効果がある。 (1) :大規模な巡回セールスマン問題でも、階層化を取
り入れた解法により高速で解を求めることができる。ま
た、メッシュ構造の並列計算機に分割した部分問題の処
理を依頼することにより、解を求める時間を短縮するこ
とができる。
As described above, the present invention has the following effects. (1): Even for a large-scale traveling salesman problem, a solution that incorporates hierarchies can be used to quickly find a solution. Further, by requesting a parallel computer having a mesh structure to process the divided subproblems, it is possible to shorten the time for obtaining a solution.

【0089】(2) :巡回セールスマン問題をメッシュ構
造の並列計算機のセル数に応じて分割し、階層化して処
理することにより、大規模の巡回セールスマン問題を高
速に処理し、最適解に近いものをできるだけ早く求める
ことができる。また、部分問題の処理では、出発都市と
到着都市を設定するが、所定の位置に前記各都市が存在
しない場合は、疑似都市を設定することにより、処理が
効率よく行える。
(2): By dividing the traveling salesman problem according to the number of cells of a parallel computer having a mesh structure and processing the layers in a hierarchical manner, a large-scale traveling salesman problem is processed at high speed to obtain an optimal solution. You can ask for something close to you as soon as possible. Further, in the processing of the partial problem, the departure city and the arrival city are set, but when each of the cities does not exist at a predetermined position, the pseudo city is set, so that the processing can be efficiently performed.

【0090】(3) :各部分問題(階層化レベル2以降の
処理)は、独立してその経路を探索することができるの
で、1つの並列計算機で、並列に複数の部分問題を処理
させれば、更にTSPの解を求める時間を短縮すること
ができる。
(3): Since each subproblem (processing after the hierarchical level 2) can independently search its path, one parallel computer can process a plurality of subproblems in parallel. If this is the case, the time for obtaining the TSP solution can be further shortened.

【0091】前記の効果の外、各請求項に対応して次の
ような効果がある。 (4) :請求項1では、与えられた都市座標を基に全都市
を含む最小矩形を並列計算機のセル数に応じて分割し、
この分割した都市データを各セルに割り当てることで全
体問題を作成し、その全体問題を並列計算機に処理させ
て解を求める全体問題処理手段と、並列計算機で求めら
れた解の経路が全都市を巡るものでない場合、求められ
ていない経路の都市群を含む最小矩形を、更に並列計算
機のセル数に応じて分割することで階層化し、この分割
して階層化した都市データを各セルに割り当てることで
部分問題を作成し、その部分問題を並列計算機に処理さ
せて解を求める部分問題処理手段を備えている。
In addition to the above effects, the following effects are obtained corresponding to each claim. (4): In claim 1, the minimum rectangle including all cities is divided according to the number of cells of the parallel computer based on the given city coordinates.
The whole problem is created by assigning this divided city data to each cell, and the whole problem is processed by a parallel computer to obtain a solution, and the route of the solution obtained by the parallel computer is used for all cities. If it is not a round trip, the smallest rectangle containing the cities of the routes that have not been obtained is further divided into layers according to the number of cells in the parallel computer, and this divided and hierarchized city data is assigned to each cell. The sub-problem processing means is provided for creating a sub-problem and causing the parallel computer to process the sub-problem to obtain a solution.

【0092】従って、メッシュ構造の並列計算機を使用
して、階層化した部分問題を並列処理で行うことによ
り、巡回セールスマン問題の解を高速に求められる。ま
た、巡回セールスマン問題をメッシュ構造の並列計算機
のセル数に応じて分割し、階層化して処理することによ
り、大規模の巡回セールスマン問題を高速に処理し、最
適解に近いものをできるだけ早く求めることができる。
Therefore, the solution of the traveling salesman problem can be obtained at high speed by using the parallel computer having the mesh structure and performing the hierarchical sub-problems in parallel processing. In addition, by dividing the traveling salesman problem according to the number of cells of a parallel computer with a mesh structure and processing it hierarchically, a large-scale traveling salesman problem can be processed at high speed, and the one close to the optimal solution can be processed as soon as possible. You can ask.

【0093】(5) :請求項2では、部分問題処理手段
は、部分問題を作成する直前までに求められている巡回
経路を基に、部分問題における代表都市の直前の訪問都
市の位置が部分問題の中のどの部分に割り当てられてい
るかを調べ、そこから距離が一番近いセルに割り当てら
れている都市を部分問題の出発都市に設定する出発都市
設定手段を備えている。従って、部分問題を処理する際
の出発都市の設定処理が確実にでき、TSP処理が効率
よく行える。
(5) In claim 2, the subproblem processing means determines the position of the visited city immediately before the representative city in the subproblem based on the patrol route obtained just before the subproblem is created. It is provided with a departure city setting means for checking which part of the problem is assigned and setting the city assigned to the cell closest to it as the departure city of the partial problem. Therefore, the process of setting the departure city can be reliably performed when the partial problem is processed, and the TSP process can be efficiently performed.

【0094】(6) :請求項3では、部分問題処理手段
は、部分問題を作成する直前までに求められている巡回
経路を基に、部分問題における代表都市の次の訪問都市
の位置が部分問題の中のどの部分に割り当てられている
かを調べ、そこから距離が一番近いセルに割り当てられ
ている都市を到着都市に設定する到着都市設定手段を備
えている。従って、部分問題を処理する際の到着都市の
設定処理が確実にでき、TSP処理が効率よく行える。
(6) In claim 3, the subproblem processing means determines the position of the next visited city of the representative city in the subproblem based on the patrol route obtained immediately before creating the subproblem. An arrival city setting means is provided for checking which part of the problem is assigned and setting the city assigned to the cell closest to it as the arrival city. Therefore, the arrival city setting process can be reliably performed when the partial problem is processed, and the TSP process can be efficiently performed.

【0095】(7) :請求項4では、部分問題処理手段
は、部分問題を作成する際、出発都市、或いは到着都市
に対応する位置に都市がない場合は、その位置に疑似的
に作成した疑似都市を設定する疑似都市設定手段を備え
ている。
(7): In claim 4, the sub-problem processing means, when creating a sub-problem, if there is no city at the position corresponding to the departure city or the arrival city, creates the pseudo problem at that position. A pseudo city setting means for setting a pseudo city is provided.

【0096】従って、出発都市や到着都市が所定の位置
にない場合でも、疑似都市により出発都市、及び到着都
市が確実に設定できるから、部分問題に対するTSP処
理が効率よく行える。
Therefore, even if the departure city or the arrival city is not in the predetermined position, the departure city and the arrival city can be set surely by the pseudo city, and the TSP processing for the partial problem can be efficiently performed.

【0097】(8) :請求項5では、並列計算機から部分
問題の解が得られた場合、その経路中に疑似都市が含ま
れているか否かを判断し、疑似都市が含まれていた場合
は、その疑似都市を除いた経路を求めて、その経路を全
体の経路に組み込むと共に、疑似都市が含まれていない
場合は、そのままの経路を全体の経路に組み込む経路組
み込み処理手段を備えている。
(8) In claim 5, when the solution of the subproblem is obtained from the parallel computer, it is judged whether or not a pseudo city is included in the route, and the pseudo city is included. Is equipped with route incorporation processing means that finds a route excluding the pseudo city, incorporates the route into the entire route, and, if the pseudo city is not included, incorporates the route as it is into the overall route. .

【0098】従って、並列計算機からの部分経路を受け
取る度に、全体の巡回経路を詳細化していくことで、全
体の経路を順次確実に求められる。また、疑似都市を除
いた経路を全体の経路に組み込むので、正確な経路が得
られる。
Therefore, every time a partial route is received from the parallel computer, the entire traveling route is refined, so that the entire route can be sequentially and reliably obtained. Moreover, since the route excluding the pseudo city is incorporated into the entire route, an accurate route can be obtained.

【0099】(9) :請求項6では、並列計算機から部分
問題の解が得られた場合、その経路中に重複した経路が
存在するか否かを判断し、重複した経路が存在した場
合、到着都市の位置をずらして経路を修正する経路重複
修正手段を備えている。従って、常に正確な経路が求め
られる。
(9): In claim 6, when the solution of the subproblem is obtained from the parallel computer, it is judged whether or not there is an overlapping route in the route, and when the overlapping route is present, A route duplication correcting means for correcting the route by shifting the position of the arrival city is provided. Therefore, an accurate route is always required.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment.

【図3】実施例の処理フローチャートである。FIG. 3 is a processing flowchart of an embodiment.

【図4】実施例における都市データの説明図である。FIG. 4 is an explanatory diagram of city data according to the embodiment.

【図5】実施例における部分問題作成時の都市データを
示した図である。
FIG. 5 is a diagram showing city data at the time of creating a partial problem in the example.

【図6】実施例における部分問題処理後の都市データを
示した図である。
FIG. 6 is a diagram showing city data after partial problem processing in the embodiment.

【図7】実施例におけるTSP処理の説明図である。FIG. 7 is an explanatory diagram of TSP processing in the embodiment.

【図8】実施例における階層化処理説明図である。FIG. 8 is an explanatory diagram of layering processing according to the embodiment.

【図9】実施例における部分問題の都市設定処理説明図
である。
FIG. 9 is an explanatory diagram of city setting processing of a partial problem in the embodiment.

【図10】実施例における都市巡回経路の詳細化と経路
探索の階層化の説明図である。
FIG. 10 is an explanatory diagram of detailing of city tour routes and hierarchization of route search according to the embodiment.

【図11】実施例における都市巡回経路の解を示した図
である。
FIG. 11 is a diagram showing a solution of a city patrol route in an example.

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

1 ホストコンピュータ 2 並列計算機 3 TSP処理部 4 記憶装置 5 セル(プロセッサエレメント) 6 通信ネットワーク 1 Host Computer 2 Parallel Computer 3 TSP Processor 4 Storage Device 5 Cell (Processor Element) 6 Communication Network

───────────────────────────────────────────────────── フロントページの続き (72)発明者 河村 薫 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 稲田 由江 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 三渡 秀樹 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Kaoru Kawamura 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor, Yue Inada 1015, Kamedotaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited ( 72) Inventor Hideki Miwatari 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 メッシュ状に接続した複数のセルと、各
セル間を接続した通信ネットワークを有する並列計算機
を使用して巡回セールスマン問題の解を求める巡回セー
ルスマン問題処理装置において、 与えられた都市座標を基に全都市を含む最小矩形を並列
計算機のセル数に応じて分割し、この分割した都市デー
タを各セルに割り当てることで全体問題を作成し、その
全体問題を並列計算機に処理させて解を求める全体問題
処理手段と、 並列計算機で求められた解の経路が全都市を巡るもので
ない場合、求められていない経路の都市群を含む最小矩
形を、更に並列計算機のセル数に応じて分割することで
階層化し、この分割して階層化した都市データを各セル
に割り当てることで部分問題を作成し、その部分問題を
並列計算機に処理させて解を求める部分問題処理手段を
備えていることを特徴とした巡回セールスマン問題処理
装置。
1. A traveling salesman problem processing apparatus for obtaining a solution of a traveling salesman problem using a parallel computer having a plurality of cells connected in a mesh shape and a communication network in which each cell is connected. Based on the city coordinates, divide the smallest rectangle containing all cities according to the number of cells in the parallel computer, assign the divided city data to each cell to create an overall problem, and let the parallel computer process the overall problem. When the route of the solution obtained by the parallel computer and the route of the solution obtained by the parallel computer do not go around the entire city, the minimum rectangle containing the cities of the route not obtained is determined according to the number of cells of the parallel computer. Create a subproblem by assigning the divided and hierarchized city data to each cell, and let the parallel computer process the subproblem to solve. TSP processing apparatus characterized by comprising a subproblem processing means for calculating.
【請求項2】 前記部分問題処理手段は、部分問題を作
成する直前までに求められている巡回経路を基に、部分
問題における代表都市の直前の訪問都市の位置が部分問
題の中のどの部分に割り当てられているかを調べ、そこ
から距離が一番近いセルに割り当てられている都市を部
分問題の出発都市に設定する出発都市設定手段を備えて
いることを特徴とした請求項1記載の巡回セールスマン
問題処理装置。
2. The sub-problem processing means determines the position of the visiting city immediately before the representative city in the sub-problem based on the patrol route obtained until immediately before the sub-problem is created. 2. The circuit according to claim 1, further comprising a departure city setting means for determining whether or not a city assigned to a cell closest to the cell is set as a departure city of the partial problem. Salesman problem processor.
【請求項3】 前記部分問題処理手段は、部分問題を作
成する直前までに求められている巡回経路を基に、部分
問題における代表都市の次の訪問都市の位置が部分問題
の中のどの部分に割り当てられているかを調べ、そこか
ら距離が一番近いセルに割り当てられている都市を到着
都市に設定する到着都市設定手段を備えていることを特
徴とした請求項1記載の巡回セールスマン問題処理装
置。
3. The sub-problem processing means determines which part of the sub-problem the position of the next visited city of the representative city in the sub-problem is based on the patrol route obtained immediately before the sub-problem is created. 2. The traveling salesman problem according to claim 1, further comprising arrival city setting means for checking whether or not the cell is assigned to the cell, and setting the city assigned to the cell closest to it as the arrival city. Processing equipment.
【請求項4】 前記部分問題処理手段は、部分問題を作
成する際、出発都市、或いは到着都市に対応する位置に
都市がない場合は、その位置に疑似的に作成した疑似都
市を設定する疑似都市設定手段を備えていることを特徴
とした請求項1記載の巡回セールスマン問題処理装置。
4. The sub-problem processing means, when creating a sub-problem, if there is no city at a position corresponding to a departure city or an arrival city, sets a pseudo city that has been pseudo created at that position. The traveling salesman problem processing device according to claim 1, further comprising city setting means.
【請求項5】 前記並列計算機から部分問題の解が得ら
れた場合、その経路中に疑似都市が含まれているか否か
を判断し、疑似都市が含まれていた場合は、その疑似都
市を除いた経路を求めて、その経路を全体の経路に組み
込むと共に、疑似都市が含まれていない場合は、そのま
まの経路を全体の経路に組み込む経路組み込み処理手段
を備えていることを特徴とした請求項1記載の巡回セー
ルスマン問題処理装置。
5. When a solution of a subproblem is obtained from the parallel computer, it is judged whether or not a pseudo city is included in the route, and when the pseudo city is included, the pseudo city is selected. Claimed to have a route incorporation processing means for obtaining the excluded route, incorporating the route into the entire route, and incorporating the route as it is into the overall route when the pseudo city is not included. The traveling salesman problem processing device according to item 1.
【請求項6】 前記並列計算機から部分問題の解が得ら
れた場合、その経路中に重複した経路が存在するか否か
を判断し、重複した経路が存在した場合、到着都市の位
置をずらして経路を修正する経路重複修正手段を備えて
いることを特徴とした請求項1記載の巡回セールスマン
問題処理装置。
6. When a solution of the subproblem is obtained from the parallel computer, it is judged whether or not there is an overlapping route among the routes, and if there is an overlapping route, the position of the arrival city is shifted. The traveling salesman problem processing device according to claim 1, further comprising route duplication correcting means for correcting the route.
JP7087861A 1995-04-13 1995-04-13 Traveling salesman problem processor Withdrawn JPH08286920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7087861A JPH08286920A (en) 1995-04-13 1995-04-13 Traveling salesman problem processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7087861A JPH08286920A (en) 1995-04-13 1995-04-13 Traveling salesman problem processor

Publications (1)

Publication Number Publication Date
JPH08286920A true JPH08286920A (en) 1996-11-01

Family

ID=13926675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7087861A Withdrawn JPH08286920A (en) 1995-04-13 1995-04-13 Traveling salesman problem processor

Country Status (1)

Country Link
JP (1) JPH08286920A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004051538A1 (en) * 2002-11-29 2004-06-17 Japan Tobacco Inc. Area dividing system
JP2010257115A (en) * 2009-04-23 2010-11-11 Toyota Motor Corp Device, and method for searching route, and autonomous traveling body
US8711678B2 (en) 2008-12-02 2014-04-29 Nec Corporation Communication network management system, method and program, and management computer
US8750134B2 (en) 2009-02-25 2014-06-10 Nec Corporation Communication network management system and method and management computer
US8902733B2 (en) 2008-12-02 2014-12-02 Nec Corporation Communication network management system, method and program, and management computer
EP3298555A1 (en) * 2015-05-19 2018-03-28 Fleetmatics Ireland Limited System and method for accelerating route search

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004051538A1 (en) * 2002-11-29 2004-06-17 Japan Tobacco Inc. Area dividing system
US8711678B2 (en) 2008-12-02 2014-04-29 Nec Corporation Communication network management system, method and program, and management computer
US8902733B2 (en) 2008-12-02 2014-12-02 Nec Corporation Communication network management system, method and program, and management computer
US8750134B2 (en) 2009-02-25 2014-06-10 Nec Corporation Communication network management system and method and management computer
JP2010257115A (en) * 2009-04-23 2010-11-11 Toyota Motor Corp Device, and method for searching route, and autonomous traveling body
EP3298555A1 (en) * 2015-05-19 2018-03-28 Fleetmatics Ireland Limited System and method for accelerating route search

Similar Documents

Publication Publication Date Title
WO2020029601A1 (en) Method and system for constructing transverse topological relationship of lanes in map, and memory
US6016485A (en) System for pathfinding
US6038509A (en) System for recalculating a path
Church et al. Integrating normative location models into gis: Problems and prospects with the p-median model (94-5)
US10062188B2 (en) Customizable route planning using graphics processing unit
US6377887B1 (en) Caching for pathfinding computation
CN107710696B (en) Method and network component for path determination
CN111337044B (en) Urban road path planning method based on traffic weight
CN107564077B (en) method and device for drawing road network
Cong Pin assignment with global routing for general cell designs
JPH08286920A (en) Traveling salesman problem processor
WO2020103319A1 (en) Visual localization map loading method, apparatus and system, and storage medium
JPH0785136A (en) Triangle and tetrahedron retrieval system and analysis area division device
CN111858785A (en) Method, device and system for matching discrete elements of map and storage medium
CN110223395A (en) A kind of three-dimensional scenic material model dynamic fixing method and system
EP0302547B1 (en) Device for executing a search in a topological representation of a geographical interconnection network.
CN114159777A (en) Hierarchical way finding method and device, electronic equipment and readable medium
CN113743820A (en) Descriptive bus route data-based networked processing method
CN110399354A (en) The subregion of database exchanges method and device
CN112784533B (en) Lane group number generation method, lane group number generation device, computer equipment and storage medium
JP2021009027A (en) Route output device, method, and program
WO2022259553A1 (en) Traffic simulation device, traffic simulation method, and traffic simulation program
JPH04267477A (en) Range retrieving system by mesh coding of address
JP2024046873A (en) DESIGN EXECUTION APPARATUS AND DESIGN EXECUTION METHOD
CN115099042A (en) Path simulation method and device, computing equipment and computer readable storage medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020702