[go: up one dir, main page]

JPH0812676B2 - Combination optimization device - Google Patents

Combination optimization device

Info

Publication number
JPH0812676B2
JPH0812676B2 JP35554891A JP35554891A JPH0812676B2 JP H0812676 B2 JPH0812676 B2 JP H0812676B2 JP 35554891 A JP35554891 A JP 35554891A JP 35554891 A JP35554891 A JP 35554891A JP H0812676 B2 JPH0812676 B2 JP H0812676B2
Authority
JP
Japan
Prior art keywords
data
placement
cost
placement data
arrangement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP35554891A
Other languages
Japanese (ja)
Other versions
JPH05174089A (en
Inventor
等 加藤
隆一 間藤
均 荒木
晋二 野島
Original Assignee
工業技術院長
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 工業技術院長 filed Critical 工業技術院長
Priority to JP35554891A priority Critical patent/JPH0812676B2/en
Publication of JPH05174089A publication Critical patent/JPH05174089A/en
Publication of JPH0812676B2 publication Critical patent/JPH0812676B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は各種設計問題、特に論理
回路の設計およびレイアウト設計において重要な組合せ
最適化問題を解くために、ヒューリスティックなアルゴ
リズムを含む複数の配置データ変換規則の中から最も
ストを下げるために有効であると考えられる配置データ
変換規則を探索の際に確率的に優先して選択することに
より、高速に解を得ることを可能にし、しかも最適解ま
たは準最適解を得ることを可能にした組合せ最適化装置
に関するものである。
The present invention relates to various design issues, in order to particularly solving important combinatorial optimization problem in the design and layout design of logical circuits, most co from a plurality of arrangement data conversion rules including heuristic algorithm
Placement data considered to be effective for lowering the strike
By probabilistically prioritizing the selection of conversion rules during search, it is possible to obtain a solution at high speed and to obtain an optimal solution.
Or, the present invention relates to a combinatorial optimizer capable of obtaining a suboptimal solution .

【0002】[0002]

【従来の技術】近年、組合せ最適化装置は、論理回路設
計などの分野で盛んに利用されるようになってきた。設
計問題は、一般に組合せ最適化問題として解くことがで
きるが、組合せの数の増大に伴い膨大な計算時間がかか
るという問題点があるため、優れた組合せ最適化装置が
必要になってきている。
2. Description of the Related Art In recent years, combinatorial optimizing devices have been actively used in fields such as logic circuit design. A design problem can be generally solved as a combinatorial optimization problem, but there is a problem that an enormous amount of calculation time is required as the number of combinations increases, so that an excellent combinatorial optimization device is needed.

【0003】組合せ最適化装置としては、サイエンス
(S.Kirkpatrick, C.D.Gelatt, M.P.Vecchi, "Optimiza
tion by Simulated Annealing", Vol.220, No.4598, p
p.671-680, 1983)その他の文献に見られるシミュレー
ティッド・アニーリングという方法が知られている。以
下、図6を参照して従来の組合せ最適化装置について説
明する。
As a combination optimization device, science (S. Kirkpatrick, CDGelatt, MPVecchi, "Optimiza
tion by Simulated Annealing ", Vol.220, No.4598, p
p.671-680, 1983) A method called simulated annealing found in other literature is known. Hereinafter, a conventional combination optimization device will be described with reference to FIG.

【0004】図6は従来の配置データ最適化手段の構成
を示すものである。配置データ最適化手段は、初期配置
データが与えられたときそれを最適化する。図6におい
て、61はもとになる配置データを変換して新しい配置
データを作る新配置データ生成手段、62は新配置デー
タのコストを計算するコスト計算手段、63は新配置デ
ータのコストともとの配置データのコストを比較して次
の配置データを選択する配置データ選択手段、64はあ
る条件で各温度での探索プロセスを終了させる温度ルー
プ終了検知手段、65は温度を減少させる温度更新手
段、66は配置データのコストが変化しなくなったとき
に探索プロセスを終了させる探索終了検知手段である。
FIG. 6 shows the configuration of a conventional arrangement data optimizing means. The placement data optimizing means optimizes the initial placement data when given. In FIG. 6, 61 is new placement data generation means for converting the original placement data to create new placement data, 62 is cost calculation means for calculating the cost of the new placement data, and 63 is the cost of the new placement data. Arrangement data selecting means for comparing the cost of the arrangement data and selecting the next arrangement data, 64 is a temperature loop end detecting means for ending the search process at each temperature under a certain condition, and 65 is a temperature updating means for decreasing the temperature. , 66 are search end detecting means for ending the search process when the cost of the arrangement data does not change.

【0005】まず、適当な初期配置データが与えられる
とする。新配置データ生成手段61により、もとの配置
データをランダムに微小変形させた新配置データを生成
する。コスト計算手段62により、新配置データのコス
トを計算する。配置データ選択手段63により、新配置
データのコストを計算してもとの配置データのコストと
比較する。同手段は、コスト差△c(新配置データのコ
スト―もとの配置データのコスト)にもとづいて、次ス
テップの配置データを選択する。△c<0のとき、新配
置データを採用し、また△c>0の場合はexp(-△c/T)
の確率で新配置データを採用し、次ステップの配置デー
タとする。それ以外のときは配置データは変化しない。
ここで、Tは温度と呼ばれるパラメータである。コスト
が増加する場合でも確率的に新配置データを採用するこ
とによって大域的な最小コスト値を持つ配置データにた
どりつくことができる。温度ループ終了検知手段64
は、ある条件にもとづき温度を下げるかどうかの判定を
行なう。例えば、同一温度で100回変換したら温度を
下げる。温度更新手段65は、温度を減少させる。探索
終了検知手段66は、コストがそれ以上下がらなくなっ
た場合探索プロセスを終了させる。
First, it is assumed that appropriate initial placement data is given. The new arrangement data generation means 61 generates new arrangement data by randomly deforming the original arrangement data. The cost calculation means 62 calculates the cost of the new placement data. The placement data selecting means 63 calculates the cost of the new placement data and compares it with the cost of the original placement data. The means selects the placement data of the next step based on the cost difference Δc (cost of new placement data-cost of original placement data). When △ c <0, the new placement data is adopted, and when △ c> 0, exp (-△ c / T)
With the probability of, the new placement data is adopted as the placement data for the next step. At other times, the arrangement data does not change.
Here, T is a parameter called temperature. Even if the cost increases, it is possible to reach the placement data having the global minimum cost value by stochastically adopting the new placement data. Temperature loop end detection means 64
Determines whether to lower the temperature based on a certain condition. For example, after converting 100 times at the same temperature, the temperature is lowered. The temperature updating means 65 reduces the temperature. The search end detecting means 66 ends the search process when the cost cannot be reduced any more.

【0006】[0006]

【発明が解決しようとする課題】しかし、上記の従来の
構成では配置データの変換がランダムな微小変形に限ら
れるため、最適な配置データへの収束が遅いので膨大な
計算時間が必要であるという課題があった。また、コス
トが下がる方向だけの配置データの変換を用いた探索で
は、初期配置データ付近の局所的最適解しか求めること
ができず解の精度に問題がある。
However, in the above-mentioned conventional configuration, since the conversion of the arrangement data is limited to the random micro-deformation, the convergence to the optimum arrangement data is slow and a huge calculation time is required. There were challenges. In addition,
Search using conversion of placement data only in the direction in which the
Is only the local optimal solution near the initial configuration data
However, there is a problem in the accuracy of the solution.

【0007】本発明は上記従来の課題を解決するもの
で、ランダムな微小変形による配置データ変換手段やヒ
ューリスティックな知識に基づく配置データ変換手段な
さまざまな方式の配置データ変換規則を複数用意して
おき、結果としてコストを効果的に下げる配置データ変
換規則が選ばれやすい構成にし、高速に最適もしくは準
最適な配置データを求めることを目的とするものであ
る。
The present invention solves the above-mentioned problems of the prior art, and includes a placement data conversion means and a heat conversion means by random microdeformation.
No arrangement data conversion means based on uristic knowledge
The purpose is to prepare a plurality of placement data conversion rules of various methods, to make it easy to select placement data conversion rules that effectively reduce costs as a result, and to find the optimal or suboptimal placement data at high speed. To do.

【0008】[0008]

【課題を解決するための手段】この目的を達成するた
め、本発明において組合せ最適化装置は、適当な初期配
置データを生成する初期配置データ生成手段と、前記初
期配置データ生成手段により生成された初期配置データ
から出発して探索を繰り返すことにより配置データを最
適化する配置データ最適化手段と、前記配置データ最適
化手段が探索を実施する過程で配置データを変換するた
めのランダムな配置データ変換規則やヒューリスティッ
クな配置データ変換規則を複数記憶している配置データ
変換規則記憶手段と、前記配置データ最適化手段により
最適化された配置データを記憶する最適配置データ記憶
手段より構成される。
Means for Solving the Problems] To achieve this object, the combination optimizing apparatus in the present invention, the initial arrangement data generating means for generating an appropriate initial placement data, the first
Initial placement data generated by the temporary placement data generation means
Starting from, the search is repeated until the placement data is maximized.
Optimizing placement data optimization means and the placement data optimization
The conversion means converts the placement data during the search.
Random placement data conversion rules and heuristics for
Placement data that stores multiple unique placement data conversion rules
By the conversion rule storage means and the arrangement data optimization means
Optimal placement data storage for storing optimized placement data
It is composed of means .

【0009】また、配置データ最適化手段は、前記配置
データ変換規則記憶手段に記憶されている複数の配置デ
ータ変換規則のそれぞれが持つ強さの数値に比例した確
率により一つの配置データ変換規則を選択する配置デー
タ変換規則選択手段と、選択された配置データ変換規則
を用いて現在の配置データを変換することにより新しい
配置データを生成する新配置データ生成手段と、前記新
配置データ生成手段により生成された新配置データのコ
ストともとの配置データのコストの差を計算するコスト
計算手段と、前記コスト計算手段により計算されたコス
ト差と温度パラメータの値から新配置データを採用する
かどうかを決定する配置データ選択手段と、配置データ
選択手段により選択された場合のコスト差の値から各配
置データ変換規則の強さを調整する配置データ変換規則
調整手段と、各温度パラメータごとの探索プロセスを終
了させるかどうかを決定する温度ループ終了検知手段
と、温度パラメータを減少させる温度更新手段と、配置
データのコストに変動がなくなったとき探索プロセスを
終了させる探索終了検知手段より構成される。
Further, the arrangement data optimizing means is characterized by the arrangement
A plurality of layout data stored in the data conversion rule storage means
Data conversion rules, each of which is proportional to the numerical value of its strength.
Placement data that selects one placement data conversion rule depending on the rate
Data conversion rule selecting means and selected layout data conversion rule
New by converting the current placement data using
New layout data generation means for generating layout data;
The new layout data generated by the layout data generation means
Cost of calculating the difference between the cost of the strike and the original placement data
The calculation means and the cost calculated by the cost calculation means
Adopt new placement data from the difference of temperature and the value of temperature parameter
Placement data selection means for determining whether or not the placement data
Each allocation is based on the value of the cost difference when selected by the selection means.
Arrangement data conversion rule for adjusting strength of arrangement data conversion rule
The adjustment process and the search process for each temperature parameter are terminated.
Temperature loop end detection means for determining whether or not to end
And a temperature updating means for reducing the temperature parameter, and the arrangement
When the cost of data is stable
It is composed of search end detection means for ending the search .

【0010】以上のような構成の装置によって上記目的
を達成するものである。
The above-mentioned object is achieved by the apparatus having the above-mentioned configuration.

【0011】[0011]

【作用】この構成によって、初期配置データ生成手段が
生成した初期配置データから探索を開始し、様々な配置
データ変換規則を用いて配置データを変換しながら最適
もしくは準最適な配置データを得ることができる。以下
にその動作を説明する。
With this configuration, the search can be started from the initial arrangement data generated by the initial arrangement data generating means, and the optimum or sub-optimal arrangement data can be obtained while converting the arrangement data using various arrangement data conversion rules. it can. The operation will be described below.

【0012】初期配置データ生成手段は、適当な配置デ
ータの初期値を生成する。乱数を用いてランダムに生成
してもよいし、なんらかのヒューリスティックな方法に
よって近似的な解を生成してもよい。
The initial arrangement data generating means generates an initial value of appropriate arrangement data. It may be randomly generated using random numbers, or an approximate solution may be generated by some heuristic method.

【0013】配置データ最適化装置では、配置データの
初期値をもとに変換を繰り返すことによって配置データ
を最適化する。まず、初期設定として初期温度パラメー
タを設定し、配置データ変換規則記憶手段が記憶してい
る複数の配置データ変換規則がそれぞれ保持している強
さと呼ぶ数の初期値を設定する。次に、それぞれの配置
データ変換規則の強さにもとづいて1つだけを確率的に
選択し、選択された変換規則を適用して新しい配置デー
タを生成する。そして、新配置データのコストを計算
し、もとの配置データのコストと比較して、コスト差△
c(新配置データのコスト―もとの配置データのコス
ト)を基準に、新配置データを採用するかどうかを決め
る。△c<0のとき新配置データを採用し、△c>0の
場合でもexp(-△c/T)の確率で新配置データを採用し、
次ステップの配置データとする。それ以外のときは配置
データは変化しない。ここで、Tは温度パラメータであ
る。採用された場合は配置データ変換規則の調整を行な
う。コストが減少した場合はその減少分にもとづいて、
適用した変換規則の強さを増加させる。例えば、|△c|
の定数倍だけ増加させる。コストが増加した場合はその
増加分にもとづいて、適用した変換規則の強さを減少さ
せる。例えば、|△c|の定数倍だけ減少させる。
The layout data optimizing device optimizes the layout data by repeating the conversion based on the initial value of the layout data. First, an initial temperature parameter is set as an initial setting, and an initial value of a number called the strength held by each of the plurality of arrangement data conversion rules stored in the arrangement data conversion rule storage means is set. Next, only one is stochastically selected based on the strength of each arrangement data conversion rule, and the selected conversion rule is applied to generate new arrangement data. Then, the cost of the new placement data is calculated and compared with the cost of the original placement data, and the cost difference Δ
Based on c (cost of new placement data-cost of original placement data), decide whether or not to adopt new placement data. When Δc <0, the new placement data is adopted, and even when Δc> 0, the new placement data is adopted with a probability of exp (-Δc / T).
Use the placement data for the next step. At other times, the arrangement data does not change. Here, T is a temperature parameter. If adopted, the arrangement data conversion rule is adjusted. If the cost decreases, based on the decrease,
Increase the strength of the transformation rules applied. For example, | △ c |
Increase by a constant multiple of. When the cost increases, the strength of the applied conversion rule is decreased based on the increase. For example, it is decreased by a constant multiple of | Δc |.

【0014】その後、温度を下げてよいかどうかを判定
する。判定する方法の一例は一定回数の変換を行なった
ら温度を下げてよいとすることである。温度は温度パラ
メータTを小さくすることによって下げ、探索を続け
る。ただし、配置データのコストが以前のものと比べて
下がらなくなれば探索プロセスは終了する。
After that, it is determined whether the temperature can be lowered. One example of the determination method is that the temperature may be lowered after the conversion is performed a certain number of times. The temperature is lowered by decreasing the temperature parameter T, and the search is continued. However, the search process ends when the cost of the placement data no longer decreases compared to the previous one.

【0015】探索が終了した時点の配置データとそのコ
ストは、最適配置データ記憶手段に記憶され、これが求
める解である。
The layout data and the cost thereof at the time when the search is completed are stored in the optimum layout data storage means, and this is the solution to be obtained.

【0016】以上の動作で有効な点は、複数ある配置デ
ータ変換規則から、その強さにもとづいて実際に適用す
る変換規則を確率的に選択し、またその強さが動的に調
整されるため、効果的にコストを下げる変換規則が選ば
れやすいことである。このため、最適もしくは準最適な
配置データを得るための計算時間を短くすることができ
る。また、確率的に変換規則を適用するため大域的な最
適値が得られる可能性も高い。
A point effective in the above operation is that a conversion rule to be actually applied is stochastically selected from a plurality of arrangement data conversion rules based on its strength, and the strength is dynamically adjusted. Therefore, it is easy to select a conversion rule that effectively reduces the cost. Therefore, the calculation time for obtaining the optimum or sub-optimal arrangement data can be shortened. Also, since the conversion rule is applied stochastically, there is a high possibility that a global optimum value will be obtained.

【0017】[0017]

【実施例】以下本発明の実施例について、図面を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】図1は本発明の実施例における全体構成図
である。図1において、11は初期配置データ生成手
段、12は配置データ最適化手段、13は最適配置デー
タ記憶手段、14は配置データ変換規則記憶手段であ
る。
FIG. 1 is an overall configuration diagram of an embodiment of the present invention. In FIG. 1, 11 is initial placement data generating means, 12 is placement data optimizing means, 13 is optimal placement data storage means, and 14 is placement data conversion rule storage means.

【0019】図2は本発明の実施例における配置データ
最適化手段のブロック図である。21は配置データ変換
規則選択手段、22は新配置データ生成手段、23はコ
スト計算手段、24は配置データ選択手段、25は配置
データ変換規則調整手段、26は温度ループ終了検知手
段、27は温度更新手段、28は探索終了検知手段であ
る。
FIG. 2 is a block diagram of the arrangement data optimizing means in the embodiment of the present invention. 21 is arrangement data conversion rule selection means, 22 is new arrangement data generation means, 23 is cost calculation means, 24 is arrangement data selection means, 25 is arrangement data conversion rule adjusting means, 26 is temperature loop end detection means, and 27 is temperature. The updating means 28 is a search end detecting means.

【0020】図3は本発明の実施例における配置データ
最適化手段のアルゴリズム、図4は本発明の実施例にお
ける配置データ変換規則調整アルゴリズム、図5は本発
明の実施例における説明図である。
FIG. 3 is an algorithm of the arrangement data optimizing means in the embodiment of the present invention, FIG. 4 is an arrangement data conversion rule adjusting algorithm in the embodiment of the present invention, and FIG. 5 is an explanatory diagram in the embodiment of the present invention.

【0021】以上のような構成において以下にその動作
を説明する。組合せ最適化問題の例として巡回セールス
マン問題を考える。巡回セールスマン問題とは、N個の
都市の位置が与えられているときにそれらの都市をすべ
て1回だけ訪れる経路のうち、最も距離の総和が小さい
ものを求める問題である。距離の総和をコストとし、配
置データは訪れる都市を順に並べた順列とする。例えば
5都市の場合、一つの配置データは(5、3、2、4、
1)で、そのコストはd53、d32、d24、d41、d15の
総和である。ただし、dijは都市iと都市jの距離であ
る。
The operation of the above arrangement will be described below. Consider the traveling salesman problem as an example of a combinatorial optimization problem. The traveling salesman problem is a problem of finding a route with the smallest total distance among routes that visit each of the N cities only once when the positions of the N cities are given. The total distance is used as the cost, and the placement data is a permutation in which the cities that are visited are arranged in order. For example, in the case of 5 cities, one arrangement data is (5, 3, 2, 4,
In 1), the cost is the sum of d53, d32, d24, d41 and d15. However, dij is the distance between city i and city j.

【0022】今、配置データ変換規則記憶手段14によ
って記憶されている配置データ変換規則がルール1とル
ール2の2つであり、ルール1はランダムに一部の経路
を入れ換える配置データ変換規則、ルール2は一部の経
路を近い順に入れ換えるヒューリスティックな配置デー
タ変換規則であると仮定する。初期配置データ生成手段
11は乱数によって初期配置データ(5、2、3、4、
1)を生成したとする。
Now, the arrangement data conversion rules stored by the arrangement data conversion rule storage means 14 are two, that is, rule 1 and rule 2. The rule 1 is a part of the route at random.
Arrangement data conversion rule that replaces
A heuristic placement day that switches roads in ascending order
Data conversion rule . The initial arrangement data generation means 11 uses the random numbers to generate the initial arrangement data (5, 2, 3, 4,
1) is generated.

【0023】配置データ最適化手段12では、初期配置
データをもとに変換を繰り返すことによって配置データ
を最適化する。図3、4、5を参照して説明する。ま
ず、初期設定として初期温度パラメータを適当に設定
し、2つの配置データ変換規則が保持する強さの初期値
を設定する(301)。それぞれの強さの初期値を同じ
値に設定したとする。次に、配置データ変換規則が持っ
ている強さにもとづいて1つだけを確率的に選択する
(302)。
The layout data optimizing means 12 optimizes the layout data by repeating the conversion based on the initial layout data. This will be described with reference to FIGS. First, an initial temperature parameter is appropriately set as an initial setting, and an initial value of strength held by the two arrangement data conversion rules is set (301). It is assumed that the initial value of each strength is set to the same value. Next, only one is stochastically selected based on the strength of the arrangement data conversion rule (302).

【0024】今は強さが等しいので確率によってルール
1が選択されたとする。選択された変換規則ルール1を
適用して新しい配置データを生成する(303)。生成
された新配置データは(5、3、2、4、1)であった
とする。新配置データのコストを計算し(304)、も
との配置データのコストと比較して、コスト差△c(新
配置データのコスト―もとの配置データのコスト)を基
準に、新配置データを採用するかどうかを決める(30
5)。△c<0のとき新配置データは採用され、また△
c>0のときはexp(-△c/T)の確率で新配置データは採
用され、次ステップの配置データとなる。それ以外のと
きは配置データは変化しない。ここではコストが増加し
た(△c>0)が採用されたものとする。
Since the strengths are the same now, it is assumed that rule 1 is selected according to the probability. The selected conversion rule rule 1 is applied to generate new layout data (303). It is assumed that the new placement data generated is (5, 3, 2, 4, 1). The cost of the new placement data is calculated (304), compared with the cost of the original placement data, and the new placement data is compared based on the cost difference Δc (cost of new placement data-cost of original placement data). Decide whether to adopt (30
5). When △ c <0, the new layout data is adopted, and △
When c> 0, new placement data is adopted with a probability of exp (-Δc / T) and becomes placement data for the next step. At other times, the arrangement data does not change. Here, it is assumed that the one with the increased cost (Δc> 0) is adopted.

【0025】採用された場合は配置データ変換規則の調
整を行なう(306)。コストが減少した場合はその減
少分にもとづいて、選択された変換規則の強さを増加さ
せる(42)。例えば、|△c|の定数倍だけ増加させ
る。コストが増加した場合はその増加分にもとづいて、
選択された変換規則の強さを減少させる(43)。例え
ば、|△c|の定数倍だけ減少させる。今はコストが増加
したので、ルール1の強さは|△c|の定数倍だけ小さく
なるものとする。その後、温度を下げてよいかどうかを
判定する(308)。判定する方法は例えば一定回数の
変換を行なったら温度を下げてよいとすることである。
実施例ではまだ温度を下げず、探索プロセスも終了しな
い(310)。再び配置データ変換規則が持っている強
さにもとづいて1つの変換規則を確率的に選択する(3
02)。
If it is adopted, the arrangement data conversion rule is adjusted (306). When the cost decreases, the strength of the selected conversion rule is increased based on the decrease (42). For example, it is increased by a constant multiple of | Δc |. If the cost increases, based on the increase,
The strength of the selected conversion rule is reduced (43). For example, it is decreased by a constant multiple of | Δc |. Since the cost has increased now, it is assumed that the strength of rule 1 is reduced by a constant multiple of | Δc |. Then, it is determined whether the temperature can be lowered (308). The determination method is, for example, that the temperature may be lowered after conversion is performed a certain number of times.
In the example, the temperature is not yet lowered and the search process is not terminated (310). Again, one conversion rule is stochastically selected based on the strength of the arrangement data conversion rule (3
02).

【0026】今度はルール1とルール2では強さが異な
り、ルール2の方が選択されやすくなっており、確率的
にルール2が選択されたとする。選択された変換規則ル
ール2を適用して新しい配置データを生成する(30
3)。今、ルール2はヒューリスティックに変換する変
換規則であり、新配置データは(4、3、2、1、5)
であったとする。新配置データのコストを計算し(30
4)、もとの配置データのコストと比較して新配置デー
タを採用するかどうかを決める(305)。
Now, it is assumed that rule 1 and rule 2 have different strengths, rule 2 is easier to select, and rule 2 is stochastically selected. Apply the selected conversion rule rule 2 to generate new placement data (30
3). Now, rule 2 is a conversion rule for converting to heuristic, and the new arrangement data is (4, 3, 2, 1, 5)
Assume that Calculate the cost of new placement data (30
4) Determine whether to adopt the new placement data by comparing with the cost of the original placement data (305).

【0027】ここではコストが減少して採用されたもの
とする。採用された場合は配置データ変換規則の調整を
行なう(306)。今回はコストが減少したので、ルー
ル2の強さが|△c|の定数倍だけ大きくされ次回からは
選ばれる確率がさらに高くなる(42)。その後、温度
を下げてよいかどうかを判定する(308)。更新して
よいと判定されれば温度パラメータTを小さくする(3
09)。そして配置データのコストが以前のものと比べ
て下がらなくなれば探索プロセスは終了する(31
0)。
Here, it is assumed that the cost is reduced and the system is adopted. If adopted, the arrangement data conversion rule is adjusted (306). Since the cost has decreased this time, the strength of rule 2 is increased by a constant multiple of | Δc |, and the probability of being selected from the next time is further increased (42). Then, it is determined whether the temperature can be lowered (308). If it is determined that the update is allowed, the temperature parameter T is reduced (3
09). Then, when the cost of the arrangement data does not decrease from the previous one, the search process ends (31
0).

【0028】探索が終了した時点の配置データとそのコ
ストは、最適配置データ記憶手段13に記憶され、これ
が求める解である。本実施例においては、ヒューリステ
ィックなルールがコストを下げるためには効果的であ
り、高い確率で選択されることにより速く最適解に近づ
く。しかし、ランダム性があるルール1も比較的小さい
確率であるが選択されるため局所的最適解には陥りにく
い。
The layout data and the cost thereof at the time when the search is completed are stored in the optimum layout data storage means 13, and this is the solution to be obtained. In this example, the heuristic
Strict rules are effective in reducing costs
And with a high probability of being selected, the optimal solution can be quickly approached.
Ku. However, rule 1 with randomness is also relatively small
Since it is a probability but selected, it is hard to fall into the local optimal solution.
Yes.

【0029】[0029]

【発明の効果】以上のように、本発明はコストを下げる
効果がある配置データ変換規則が選択される確率を大き
くすることにより、探索の効率化を図ることができ、高
速に質の良い解を求めることができる。
As described above, according to the present invention, by increasing the probability that the layout data conversion rule that has the effect of reducing the cost is selected, the efficiency of the search can be improved and a high-quality solution can be obtained at high speed. Can be asked.

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

【図1】本発明の実施例における全体構成図FIG. 1 is an overall configuration diagram of an embodiment of the present invention

【図2】本発明の実施例における配置データ最適化手段
のブロック図
FIG. 2 is a block diagram of arrangement data optimizing means in the embodiment of the present invention.

【図3】本発明の実施例における配置データ最適化手段
のアルゴリズム
FIG. 3 is an algorithm of arrangement data optimizing means in the embodiment of the present invention.

【図4】本発明の実施例における配置データ変換規則調
整アルゴリズム
FIG. 4 is a layout data conversion rule adjustment algorithm in the embodiment of the present invention.

【図5】本発明の実施例における説明図FIG. 5 is an explanatory diagram of an embodiment of the present invention.

【図6】従来の組合せ最適化装置における配置データ最
適化装置のブロック図
FIG. 6 is a block diagram of an arrangement data optimizing device in a conventional combination optimizing device.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 野島 晋二 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (56)参考文献 特開 平2−242474(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Shinji Nojima Shinji Nojima 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (56) Reference JP-A-2-242474 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 初期配置データを生成する初期配置デー
タ生成手段と、 前記初期配置データ生成手段により生成された初期配置
データから出発して探索を繰り返すことにより配置デー
タを最適化する配置データ最適化手段と、 前記配置データ最適化手段が探索を実施する過程で配置
データを変換するためのランダムな配置データ変換規則
とヒューリスティックな配置データ変換規則を含む複数
の変換規則を記憶している配置データ変換規則記憶手段
と、 前記配置データ最適化手段により最適化された配置デー
タを記憶する最適配置データ記憶手段を備え、 前記配置データ最適化手段は、前記配置データ変換規則
記憶手段に記憶されている複数の配置データ変換規則の
それぞれが持つ強さの数値に比例した確率により一つの
配置データ変換規則を選択する配置データ変換規則選択
手段と、 選択された配置データ変換規則を用いて現在の配置デー
タを変換することにより新しい配置データを生成する新
配置データ生成手段と、 前記新配置データ生成手段により生成された新配置デー
タのコストともとの配置データのコストの差を計算する
コスト計算手段と、 前記コスト計算手段により計算されたコスト差と温度パ
ラメータの値から新配置データを採用するかどうかを決
定する配置データ選択手段と、 配置データ選択手段により選択された場合のコスト差の
値から各配置データ変換規則の強さを調整する配置デー
タ変換規則調整手段と、 各温度パラメータごとの探索プロセスを終了させるかど
うかを決定する温度ループ終了検知手段と、 温度パラメータを減少させる温度更新手段と、 配置データのコストに変動がなくなったとき探索プロセ
スを終了させる探索終了検知手段を備えることを特徴と
する組合せ最適化装置
1. Initial placement data for generating initial placement data
Data generating means and the initial arrangement generated by the initial arrangement data generating means.
By starting from the data and repeating the search,
Placement data optimizing means for optimizing data and placement in the process in which the placement data optimizing means performs a search.
Random placement data transformation rules for transforming data
And multiple heuristic placement data transformation rules
Arrangement data conversion rule storage means for storing conversion rules of
And the placement data optimized by the placement data optimizing means.
A layout data conversion means for storing layout data, and the layout data optimization means stores the layout data conversion rule.
Of a plurality of arrangement data conversion rules stored in the storage means
The probability proportional to the strength of each
Select placement data conversion rule Select placement data conversion rule
Method and the selected placement data conversion rule.
New configuration data by converting
The arrangement data generating means and the new arrangement data generated by the new arrangement data generating means.
The difference between the data cost and the original placement data cost
The cost calculation means, and the cost difference and the temperature pattern calculated by the cost calculation means.
Determine whether to adopt new placement data from the value of the parameter
Of the placement data selection means and the cost difference when the placement data selection means selects
Placement data that adjusts the strength of each placement data conversion rule from the value
Conversion rule adjustment means and whether to end the search process for each temperature parameter
Temperature loop end detection means for determining whether or not the temperature parameter is decreased, temperature update means for decreasing the temperature parameter, and a search process when the cost of the arrangement data does not change
And a search end detection means for ending the scan
Combining optimization device .
JP35554891A 1991-12-24 1991-12-24 Combination optimization device Expired - Lifetime JPH0812676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35554891A JPH0812676B2 (en) 1991-12-24 1991-12-24 Combination optimization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35554891A JPH0812676B2 (en) 1991-12-24 1991-12-24 Combination optimization device

Publications (2)

Publication Number Publication Date
JPH05174089A JPH05174089A (en) 1993-07-13
JPH0812676B2 true JPH0812676B2 (en) 1996-02-07

Family

ID=18444565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35554891A Expired - Lifetime JPH0812676B2 (en) 1991-12-24 1991-12-24 Combination optimization device

Country Status (1)

Country Link
JP (1) JPH0812676B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02242474A (en) * 1989-03-16 1990-09-26 Hitachi Ltd Element placement optimization method and device, and optimal placement determination method and device

Also Published As

Publication number Publication date
JPH05174089A (en) 1993-07-13

Similar Documents

Publication Publication Date Title
CN111474825A (en) Photoetching machine motion track planning method and device, computer equipment and storage medium
JP2019144713A (en) Sewerage pipe water level prediction device and sewerage pipe water level prediction method
JPH0812676B2 (en) Combination optimization device
CN119085650A (en) Intelligent transport vehicle path search optimization method, device, equipment and medium
CN112182819A (en) A weighted graph-based structure topology optimization method, system and readable storage medium
JP3751647B2 (en) Problem solving operation apparatus and method introducing the concept of state transition
JP4140338B2 (en) Summary map generation device, road map conversion device, program, and summary map service system
Mariano et al. Distributed reinforcement learning for multiple objective optimization problems
JPH0523439B2 (en)
JP3697446B2 (en) Problem solving operation apparatus and method introducing the concept of state transition
JP3821266B2 (en) A processing device that searches for the optimal value of a cost function using dynamics
JPH09146908A (en) How to solve the problem
JP2023009682A (en) Machine learning program, machine learning method, and machine learning device
JPH04195669A (en) Combination optimization device
JPH06309297A (en) Combination optimizing device
JP2010122131A (en) Matching table evaluation system, method therefor and program
Shi et al. Handling multiobjectives with adaptive mutation based ε-dominance differential evolution
CN119292291B (en) Robot global path planning method and system based on probability interval division
JP2613961B2 (en) Index division rate change processing method
JPH04148365A (en) Combination optimization device
JPH07122884B2 (en) Combination optimization device
JPH02133879A (en) Automatic wiring method
Yang et al. Solving TPS by SA Based on Probabilistic Double Crossover Operator
JP2008040979A (en) Area dividing device, area dividing method and program
JP2001147913A (en) Method and apparatus for calculating selection step in genetic programming, and storage medium storing calculation program for selection step in genetic programming

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term