JP7004906B2 - Optimization device and control method of optimization device - Google Patents

Optimization device and control method of optimization device Download PDF

Info

Publication number
JP7004906B2
JP7004906B2 JP2018088305A JP2018088305A JP7004906B2 JP 7004906 B2 JP7004906 B2 JP 7004906B2 JP 2018088305 A JP2018088305 A JP 2018088305A JP 2018088305 A JP2018088305 A JP 2018088305A JP 7004906 B2 JP7004906 B2 JP 7004906B2
Authority
JP
Japan
Prior art keywords
temperature
correspondence information
exchange
information
correspondence
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.)
Active
Application number
JP2018088305A
Other languages
Japanese (ja)
Other versions
JP2019194765A (en
Inventor
聡 松原
求 ▲高▼津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2018088305A priority Critical patent/JP7004906B2/en
Publication of JP2019194765A publication Critical patent/JP2019194765A/en
Application granted granted Critical
Publication of JP7004906B2 publication Critical patent/JP7004906B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)

Description

本発明は、最適化装置及び最適化装置の制御方法に関する。 The present invention relates to an optimization device and a control method for the optimization device.

現在の社会ではあらゆる分野で情報処理が行われている。これらの情報処理はコンピュータなどの演算装置で行われており、様々なデータを演算、加工し、意味のある結果を得ることにより、予測、決定、制御などが行われる。これらの情報処理の1つとして最適化というものがあり重要な分野となっている。例えばあることを行うのに必要な資源やコストを最小化したり、その効果を最大化する解を求める問題などであり、これらが非常に重要であるのは明らかであろう。 Information processing is performed in all fields in today's society. These information processing is performed by an arithmetic unit such as a computer, and prediction, determination, control, etc. are performed by calculating and processing various data and obtaining meaningful results. One of these information processes is optimization, which is an important field. Obviously, these are very important, for example, the problem of finding a solution that minimizes the resources and costs required to do something, or maximizes its effectiveness.

最適化問題の中でも離散最適化問題、組合せ最適化問題などと呼ばれている問題の多くは、変数が連続値ではなく離散的な値を取るため解くのが非常に難しいことが知られている。離散最適化問題を解くのを困難にしている最大の原因は、最適解ではないが局所的近傍のなかで最小値をとる局所解と呼ばれる状態が非常に多数存在することである。 It is known that many of the optimization problems called discrete optimization problems, combinatorial optimization problems, etc. are very difficult to solve because variables take discrete values instead of continuous values. .. The biggest reason why it is difficult to solve a discrete optimization problem is that there are a large number of states called local solutions that are not optimal solutions but have the smallest values in the local neighborhood.

離散最適化問題を解く効率の良い一般解法は存在しないため、問題に固有な性質を利用した近似解法や、問題の性質にあまり頼らないメタヒューリステックと呼ばれる方法を用いる必要がある。 Since there is no efficient general solution for solving discrete optimization problems, it is necessary to use an approximate solution that utilizes the properties unique to the problem or a method called metaheuristic that does not rely much on the properties of the problem.

以下に説明する内容は、後者のうちマルコフ連鎖モンテカルロ法を用いた解法に関するもので、特に交換モンテカルロ法、またはレプリカ交換法と呼ばれる広い意味での疑似焼き鈍し法に関するものである。 The contents described below relate to the solution method using the Markov chain Monte Carlo method among the latter, and in particular, to the exchange Monte Carlo method or the pseudo-annealing method in a broad sense called the replica exchange method.

疑似焼き鈍し法は、乱数を用いて確率的に状態(変数ベクトルの値)を変化させることで最適解を求める方法である。以下では最適化したい評価関数の値を最小化する問題を例に説明し、評価関数の値をエネルギーと呼ぶことにする。最大化の場合は、評価関数の符号を変えればよい。 Simulated annealing is a method of finding the optimum solution by probabilistically changing the state (value of a variable vector) using a random number. In the following, the problem of minimizing the value of the evaluation function to be optimized will be explained as an example, and the value of the evaluation function will be called energy. In the case of maximization, the sign of the evaluation function may be changed.

疑似焼き鈍し法においては、状態遷移の受け入れ(許容)確率を、その遷移に伴うエネルギー変化と温度を用いて次のように決めれば、時刻(反復回数)無限大の極限で状態が最適解に到達することが証明されている。 In simulated annealing, if the acceptance (allowable) probability of a state transition is determined as follows using the energy change and temperature associated with that transition, the state reaches the optimum solution at the limit of infinite time (number of iterations). It has been proven to do.

Figure 0007004906000001
Figure 0007004906000001

Figure 0007004906000002
Figure 0007004906000002

ここでTは温度を表すパラメータであり、その初期値は問題に応じて十分大きくとり、十分ゆっくり下げていくことが望ましい。
上記のように疑似焼き鈍し法では、反復回数を無限に取れば最適解が得られるが、現実には有限の反復回数で解を得る必要があるため、最適解を確実に求めることはできない。また上記のように温度の下がり方が非常にゆっくりであるため、有限時間では十分に温度が下がらない。したがって実際の疑似焼き鈍し法では理論的に収束することが保証される温度変化ではなくより速く温度を下げることが多い。
Here, T is a parameter representing the temperature, and it is desirable that the initial value thereof be sufficiently large according to the problem and gradually lowered sufficiently.
In the pseudo-annealing method as described above, the optimum solution can be obtained by taking an infinite number of iterations, but in reality, it is necessary to obtain the solution with a finite number of iterations, so that the optimum solution cannot be reliably obtained. Moreover, since the temperature drops very slowly as described above, the temperature does not drop sufficiently in a finite time. Therefore, in actual simulated annealing, the temperature is often lowered faster than the temperature change that is guaranteed to converge theoretically.

実際の擬似焼き鈍し法では、初期状態から始めて、温度を下げながら上記反復が繰り返され、一定の反復回数に達したり、エネルギーが一定の値を下回るなどの終了判定条件が満たされたとき、動作が終了する。出力する答えは終了時の状態である。ただし、実際には有限の反復回数では温度が0にならないため、終了時においても状態の占有確率はボルツマン分布などで表される分布をもっており、必ずしも最適値や良い解になっているとは限らない。したがって、反復の途中でこれまでに得られたエネルギーが最低の状態を保持し、最後にそれを出力するのが現実的な解法となる。 In the actual simulated annealing method, the above iterations are repeated while lowering the temperature, starting from the initial state, and when the end judgment conditions such as reaching a certain number of iterations or the energy falling below a certain value are satisfied, the operation is performed. finish. The answer to be output is the state at the end. However, in reality, the temperature does not become 0 with a finite number of iterations, so even at the end, the occupancy probability of the state has a distribution expressed by the Boltzmann distribution, etc., and it is not always the optimum value or a good solution. do not have. Therefore, the realistic solution is to keep the energy obtained so far in the middle of the iteration at the lowest state and output it at the end.

上記の説明からある程度想像できると思われるが、疑似焼き鈍し法は汎用的で非常に魅力的ではあるが、温度をゆっくり下げる必要があるため計算時間が比較的長くなってしまうという問題がある。さらにその温度の下げ方を問題に合わせて適切に調節することが難しいという問題もある。温度の下げ方が遅すぎると有限時間ではあまり温度が下がらないため、最終的な熱分布のエネルギー範囲が広くなることから良い解の占有確率が上がらない。逆に速く下げすぎると、局所解を脱出する前に温度が下がってしまい、悪い解に捕まったままになってしまうため、良い解が得られる確率が下がってしまう。 As you can imagine from the above explanation, simulated annealing is versatile and very attractive, but it has a problem that the calculation time becomes relatively long because the temperature needs to be lowered slowly. Furthermore, there is also a problem that it is difficult to appropriately adjust how to lower the temperature according to the problem. If the temperature is lowered too slowly, the temperature does not drop so much in a finite time, and the energy range of the final heat distribution becomes wide, so that the probability of occupying a good solution does not increase. On the other hand, if it is lowered too fast, the temperature will drop before the local solution escapes, and the bad solution will remain trapped, reducing the probability of obtaining a good solution.

レプリカ交換法は複数の温度を用いたモンテカルロ探索(以下確率的探索という)を同時に行い、ある反復回数ごとに、それぞれ状態のエネルギーを比較し、適切な確率で2つの温度に対する状態を交換するという操作を行う方法である。 In the replica exchange method, Monte Carlo search using multiple temperatures (hereinafter referred to as stochastic search) is performed at the same time, the energies of each state are compared for each number of iterations, and the states for two temperatures are exchanged with an appropriate probability. It is a method of performing an operation.

図9は、通常のレプリカ交換法を用いた最適化装置の構成例を示す図である。最適化装置50は、通常の疑似焼き鈍し法を用いた最適化装置と異なり、複数のレプリカ(図9では焼鈍部51a0,51a1,…,51ai,…,51an)と、交換制御部52とを有する。交換制御部52は、焼鈍部51a0~51anに温度情報(以下では逆温度β(Tの逆数)(0≦i≦n)とする)を与える。 FIG. 9 is a diagram showing a configuration example of an optimization device using a normal replica exchange method. The optimization device 50 has a plurality of replicas (annealed portions 51a0, 51a1, ..., 51ai, ..., 51an in FIG. 9) and an exchange control unit 52, unlike an optimization device using a normal pseudo-annealing method. .. The exchange control unit 52 gives temperature information (hereinafter, the reciprocal of β i (reciprocal of T) (0 ≦ i ≦ n)) to the annealing units 51a0 to 51an.

図9には、焼鈍部51aiの例が示されている。他の焼鈍部も同様の構成である。焼鈍部51aiは、状態保持部60、評価関数計算部61、遷移制御部62を有する。
状態保持部60は、評価関数に含まれる複数の状態変数の値を保持する。また、状態保持部60は、状態遷移の可否を示すフラグfと、そのフラグfが示す状態変数の番号(インデックス)Nに基づいて、複数の状態変数の値(上記変数ベクトルの値)である状態sを更新する。
FIG. 9 shows an example of the annealed portion 51ai. Other annealed parts have the same structure. The annealing unit 51ai has a state holding unit 60, an evaluation function calculation unit 61, and a transition control unit 62.
The state holding unit 60 holds the values of a plurality of state variables included in the evaluation function. Further, the state holding unit 60 is a value of a plurality of state variables (value of the above variable vector) based on the flag f indicating whether or not the state transition is possible and the number (index) N of the state variable indicated by the flag f. Update the state s i .

評価関数計算部61は、状態変数の変化(状態遷移)に伴うエネルギー変化を計算する。例えば、評価関数が2つの状態変数間の結合で表されるイジングモデルで表され、しかも一度に1つの状態変数の遷移のみを許す場合、評価関数計算部61は、各状態変数の値と、状態変数間の結合の強さを示す結合係数と、番号Nと、フラグfとに基づいて、複数の状態変数のそれぞれの変化(状態遷移)に伴うエネルギー変化を計算する。エネルギー変化ΔEi,jは、j番目の状態変数の変化に伴うエネルギー変化を示す。なお、計算したい最適化問題に応じた結合係数の値は、予めメモリまたはレジスタなどに記憶されている。評価関数がイジングモデルでない場合、及び一度に複数の状態変数の遷移を許す場合には、状態遷移の番号と変化する状態変数の番号は必ずしも一致しないが、状態遷移の番号に対するエネルギー変化を適切に計算できればよい。評価関数計算部61は、例えば、積和演算回路などの論理回路を用いて実現できる。 The evaluation function calculation unit 61 calculates the energy change accompanying the change (state transition) of the state variable. For example, when the evaluation function is represented by an Ising model represented by a combination between two state variables, and only one state variable transition is allowed at a time, the evaluation function calculation unit 61 determines the value of each state variable. Based on the coupling coefficient indicating the strength of the coupling between the state variables, the number N, and the flag f, the energy change accompanying each change (state transition) of the plurality of state variables is calculated. Energy change ΔE i, j indicates the energy change accompanying the change of the jth state variable. The value of the coupling coefficient corresponding to the optimization problem to be calculated is stored in a memory or a register in advance. If the merit function is not an singing model, or if multiple state variable transitions are allowed at once, the state transition number and the changing state variable number do not always match, but the energy change with respect to the state transition number is appropriate. I just need to be able to calculate. The evaluation function calculation unit 61 can be realized by using a logic circuit such as a product-sum calculation circuit.

遷移制御部62は、通常の擬似焼き鈍し法と同様に、エネルギー変化ΔEi,jと交換制御部52により割り当てられた逆温度βを用いて、j番目の状態変数の状態遷移の受け入れ確率を以下の(式2)により決定することで、確率的探索を行う。 The transition control unit 62 uses the energy changes ΔE i and j and the inverse temperature β i assigned by the exchange control unit 52 to determine the acceptance probability of the state transition of the jth state variable, as in the normal simulated annealing method. A probabilistic search is performed by determining by the following (Equation 2).

Figure 0007004906000003
Figure 0007004906000003

なお、(式2)において、関数fは(式1-1)と同じものであり、例えば(式1-2)のメトロポリス法のものが用いられる。遷移制御部62は、上記の状態遷移の受け入れ確率に基づいて、状態遷移の可否を示すフラグfと、そのフラグfが示す状態遷移の番号を出力する。また、遷移制御部62は、エネルギー変化ΔEi,jに基づいて、エネルギーEを更新して出力する。 In (Equation 2), the function f is the same as (Equation 1-1), and for example, the Metropolis method of (Equation 1-2) is used. The transition control unit 62 outputs a flag f indicating whether or not the state transition is possible and a number of the state transition indicated by the flag f, based on the above-mentioned acceptance probability of the state transition. Further, the transition control unit 62 updates and outputs the energy E i based on the energy changes ΔE i and j .

交換制御部52は、一定の反復回数ごとに各焼鈍部におけるエネルギーEを観測し、焼鈍部51a0~51anのうちの2つにおけるエネルギーEと逆温度βを用い、以下の(式3)で表される交換確率に基づいて2つの焼鈍部における各状態変数の値を交換する。状態変数の値の代りに、2つの焼鈍部の各々に供給される逆温度を交換してもよい。 The exchange control unit 52 observes the energy E in each annealed portion at a fixed number of repetitions, uses the energy E in two of the annealed portions 51a0 to 51an, and the reverse temperature β, and is represented by the following (Equation 3). The value of each state variable in the two annealed parts is exchanged based on the exchange probability to be made. Instead of the value of the state variable, the reverse temperature supplied to each of the two annealed parts may be exchanged.

Figure 0007004906000004
Figure 0007004906000004

なお、(式3)では、βを焼鈍部51aiに与えられた逆温度、βを図示しないj番目の焼鈍部に与えられた逆温度、Eを焼鈍部51aiにおけるエネルギー、Eをj番目の焼鈍部におけるエネルギーとしている。また、(式3)において、関数fは(式1-1)と同じものであり、例えば(式1-2)のメトロポリス法のものが用いられる。 In (Equation 3), β i is the reverse temperature given to the annealing section 51ai, β j is the reverse temperature given to the j-th annealing section (not shown), E i is the energy in the annealing section 51ai, and E j is used. It is the energy in the j-th annealing part. Further, in (Equation 3), the function f is the same as that in (Equation 1-1), and for example, the Metropolis method of (Equation 1-2) is used.

このような交換を行ってもそれぞれの温度の状態の確率分布はその温度に対するボルツマン分布に収束する。そして、この分布に収束するのに必要とされる緩和時間は、交換を行わない時より著しく短縮することができる。 Even with such exchange, the probability distribution of each temperature state converges to the Boltzmann distribution for that temperature. And the relaxation time required to converge to this distribution can be significantly shorter than when no exchange is performed.

なお、交換が行われる2つの焼鈍部は、交換確率が小さくなりすぎないように、供給される温度が近いもの(例えば、隣接温度が供給されるもの)が選択される。
最適化装置50において、多数回の反復処理を行う焼鈍部51a0~51anを専用の回路で実現し、交換制御部52の機能をソフトウェアで実現する場合、ポインタ渡しにより、温度が近い2つの焼鈍部の各状態変数の値(または温度情報)を交換すればよい。この場合、交換ごとに温度の低い順または高い順に焼鈍部51a0~51anを識別する情報を並べるソート処理などを行わなくてよい。
As the two annealed portions to be exchanged, those having similar supplied temperatures (for example, those supplied with adjacent temperatures) are selected so that the exchange probability does not become too small.
In the optimization device 50, when the annealing sections 51a0 to 51an that perform iterative processing many times are realized by a dedicated circuit and the functions of the exchange control section 52 are realized by software, two annealing sections with similar temperatures are obtained by passing a pointer. The values (or temperature information) of each state variable of may be exchanged. In this case, it is not necessary to perform a sort process for arranging the information for identifying the annealed portions 51a0 to 51an in ascending or descending order of temperature for each replacement.

特開平6-309408号公報Japanese Unexamined Patent Publication No. 6-309408 特開平9-179897号公報Japanese Unexamined Patent Publication No. 9-179897

ところで、複数の焼鈍部と交換制御部との間のデータの移動を高速化するため、交換制御部をソフトウェアで実現するよりも、専用の回路で実現したほうがよい。交換制御部を専用の回路にて実現する場合、ポインタは用いられずに、実際のデータ自体が交換されることになる。このため、各状態変数の値よりもデータ量が小さい温度情報を交換する方がよい。 By the way, in order to speed up the movement of data between a plurality of annealing units and the exchange control unit, it is better to realize the exchange control unit with a dedicated circuit than to realize it with software. When the exchange control unit is realized by a dedicated circuit, the actual data itself is exchanged without using a pointer. Therefore, it is better to exchange temperature information whose amount of data is smaller than the value of each state variable.

ただ、各焼鈍部の識別情報に温度を対応付けた対応表を用いて、専用の回路にてレプリカ交換法を実現する場合、温度が近い焼鈍部を選択するために、上記のようなソート処理を行うことになり、そのための回路によって最適化装置の回路規模が増大してしまう。 However, when the replica exchange method is realized in a dedicated circuit using a correspondence table in which the temperature is associated with the identification information of each annealed part, the above sort process is performed in order to select the annealed part having a similar temperature. And the circuit for that purpose increases the circuit scale of the optimizer.

1つの側面では、本発明は、レプリカ交換法による擬似焼鈍し動作を行う最適化装置の回路規模の増大を抑制することを目的とする。 In one aspect, it is an object of the present invention to suppress an increase in the circuit scale of an optimization device that performs pseudo-annealing operation by the replica exchange method.

1つの実施態様では、エネルギーを表す評価関数に含まれる複数の状態変数の何れかの値が変化する状態遷移が起こる場合、前記複数の状態変数の各々の値の変化に伴う前記エネルギーの変化と温度に基づいて、前記複数の状態変数の何れの値の変化を受け入れるかを確率的に決定する複数の焼鈍部と、前記複数の焼鈍部の各々を識別する第1識別情報と、前記複数の焼鈍部の各々に割り当てられている前記温度との対応関係を示し、前記第1識別情報を前記温度の低い順または高い順に配列した第1対応情報と、前記第1識別情報と前記温度との対応関係を示し、前記温度を前記第1識別情報の順に配列した第2対応情報とを保持し、前記第1対応情報に基づいて、前記複数の焼鈍部から、前記温度を交換する候補である第1の焼鈍部と第2の焼鈍部とを選択し、前記第1の焼鈍部と前記第2の焼鈍部の各々の前記エネルギーと前記温度とに基づいた交換確率にしたがって、前記温度の交換を行うか否かを決定し、交換を行う場合には、前記第1対応情報と前記第2対応情報とを更新し、更新した前記第2対応情報に基づいて、前記温度を表す温度情報を対応する前記複数の焼鈍部の各々に供給する交換制御部と、を有する最適化装置が提供される。 In one embodiment, when a state transition occurs in which the value of any of the plurality of state variables included in the evaluation function representing energy changes, the change in the energy accompanying the change in the value of each of the plurality of state variables. A plurality of annealed portions for probabilistically determining which value change of the plurality of state variables is accepted based on the temperature, a first identification information for identifying each of the plurality of annealed portions, and the plurality of ablation portions. The correspondence relationship with the temperature assigned to each of the bleached portions is shown, and the first correspondence information in which the first identification information is arranged in the order of the lowest or the highest temperature, and the first identification information and the temperature. It is a candidate for exchanging the temperature from the plurality of ablated portions based on the first correspondence information, which shows the correspondence relationship and holds the second correspondence information in which the temperature is arranged in the order of the first identification information. The first and second annealed parts are selected and the temperature is exchanged according to the exchange probability based on the energy and the temperature of each of the first and second annealed parts. When it is determined whether or not to perform the above and the exchange is performed, the first correspondence information and the second correspondence information are updated, and the temperature information representing the temperature is obtained based on the updated second correspondence information. An optimization device having an exchange control unit for supplying each of the corresponding plurality of annealed parts is provided.

また、1つの実施態様では、最適化装置の制御方法が提供される。 Also, in one embodiment, a method of controlling an optimizing device is provided.

1つの側面では、レプリカ交換法による擬似焼鈍し動作を行う最適化装置の回路規模の増大を抑制できる。 On one aspect, it is possible to suppress an increase in the circuit scale of an optimization device that performs pseudo-annealing operation by the replica exchange method.

第1の実施の形態の最適化装置の一例を示す図である。It is a figure which shows an example of the optimization apparatus of 1st Embodiment. 第2の実施の形態の最適化装置の一例を示す図である。It is a figure which shows an example of the optimization apparatus of the 2nd Embodiment. 各対応情報の一例を示す図である。It is a figure which shows an example of each correspondence information. 第2の実施の形態の最適化装置の一例の動作の流れを示すフローチャートである。It is a flowchart which shows the flow | flow of the operation of the example of the optimization apparatus of 2nd Embodiment. 第1対応情報と第2対応情報の更新例を示す図である。It is a figure which shows the update example of the 1st correspondence information and the 2nd correspondence information. 図9に示した交換制御部の機能をソフトウェアで実現する場合の一例の処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of an example when the function of the exchange control part shown in FIG. 9 is realized by software. 図9に示した交換制御部の機能を専用の回路で実現した比較例の最適化装置を示す図である。It is a figure which shows the optimization apparatus of the comparative example which realized the function of the exchange control part shown in FIG. 9 by a dedicated circuit. 図7に示した比較例の最適化装置の一例の動作の流れを示すフローチャートである。It is a flowchart which shows the operation flow of the example of the optimization apparatus of the comparative example shown in FIG. 通常のレプリカ交換法を用いた最適化装置の構成例を示す図である。It is a figure which shows the configuration example of the optimization apparatus which used the ordinary replica exchange method.

以下、発明を実施するための形態を、図面を参照しつつ説明する。
(第1の実施の形態)
図1は、第1の実施の形態の最適化装置の一例を示す図である。
Hereinafter, embodiments for carrying out the invention will be described with reference to the drawings.
(First Embodiment)
FIG. 1 is a diagram showing an example of an optimization device according to the first embodiment.

第1の実施の形態の最適化装置10は、焼鈍部11a0,11a1,…,11ai,…,11anと、交換制御部12を有する。
焼鈍部11a0~11anは、図9に示した焼鈍部51a0~51anと同じである。すなわち、焼鈍部11a0~11anの各々は、複数の状態変数の何れかの値が変化する状態遷移が起こる場合、複数の状態変数の各々の値の変化に伴うエネルギーEの変化を算出する。そして、焼鈍部11a0~11anの各々は、エネルギーEの変化と温度に基づいて、複数の状態変数の何れの値の変化を受け入れるかを確率的に決定することで、確率的探索を行う。なお、焼鈍部11a0~11anの各々には、互いに異なる温度が割り当てられる。
The optimization device 10 of the first embodiment has an annealing unit 11a0, 11a1, ..., 11ai, ..., 11an, and an exchange control unit 12.
The annealed portions 11a0 to 11an are the same as the annealed portions 51a0 to 51an shown in FIG. That is, each of the annealing portions 11a0 to 11an calculates the change in energy E accompanying the change in the value of each of the plurality of state variables when the state transition in which the value of any of the plurality of state variables changes occurs. Then, each of the annealing portions 11a0 to 11an performs a stochastic search by probabilistically determining which value of the plurality of state variables is to be accepted based on the change in energy E and the temperature. In addition, different temperatures are assigned to each of the annealed portions 11a0 to 11an.

交換制御部12は、第1対応情報保持部12a、第2対応情報保持部12b、交換演算回路12c、出力制御回路12dを有する。
第1対応情報保持部12aは、第1対応情報15を保持する。第1対応情報15は、焼鈍部11a0~11anの各々を識別する識別情報(以下レプリカ番号という)と、焼鈍部11a0~11anの各々に割り当てられている温度との対応関係を示し、レプリカ番号を温度の低い順または高い順に配列したものである。
The exchange control unit 12 includes a first correspondence information holding unit 12a, a second correspondence information holding unit 12b, an exchange calculation circuit 12c, and an output control circuit 12d.
The first correspondence information holding unit 12a holds the first correspondence information 15. The first correspondence information 15 shows the correspondence relationship between the identification information (hereinafter referred to as a replica number) for identifying each of the annealed portions 11a0 to 11an and the temperature assigned to each of the annealed portions 11a0 to 11an, and the replica number is used. They are arranged in ascending or descending order of temperature.

第2対応情報保持部12bは、第2対応情報16を保持する。第2対応情報16は、上記対応関係を示し、温度をレプリカ番号の順に配列したものである。
図1の例では、温度T0~Tnは、温度T0,T1,T2,T3,…,Tnの順に高くなっていく。したがって、図1の例では、第1対応情報15は、レプリカ番号を温度の低い順に配列したものである。
The second correspondence information holding unit 12b holds the second correspondence information 16. The second correspondence information 16 shows the above correspondence and arranges the temperatures in the order of the replica numbers.
In the example of FIG. 1, the temperatures T0 to Tn increase in the order of temperatures T0, T1, T2, T3, ..., Tn. Therefore, in the example of FIG. 1, the first correspondence information 15 is an array of replica numbers in ascending order of temperature.

なお、温度は、温度そのものでなく、温度を識別する情報で表されていてもよい。温度を識別する情報を用いる例については第2の実施の形態において説明する。
第1対応情報保持部12a及び第2対応情報保持部12bは、例えば、レジスタなどの記憶回路である。また、第1対応情報保持部12a及び第2対応情報保持部12bは、RAM(Random Access Memory)などの揮発性メモリ、フラッシュメモリやEEPROM(Electrically Erasable Programmable Read Only Memory)などの不揮発性メモリであってもよい。
The temperature may be represented not by the temperature itself but by information that identifies the temperature. An example using the information for identifying the temperature will be described in the second embodiment.
The first correspondence information holding unit 12a and the second correspondence information holding unit 12b are, for example, storage circuits such as registers. Further, the first correspondence information holding unit 12a and the second correspondence information holding unit 12b are volatile memories such as RAM (Random Access Memory), and non-volatile memories such as flash memory and EEPROM (Electrically Erasable Programmable Read Only Memory). You may.

交換演算回路12cは、第1対応情報保持部12aに保持されている第1対応情報15に基づいて、焼鈍部11a0~11anから、温度を交換する候補である第1の焼鈍部と第2の焼鈍部とを選択する。そして、交換演算回路12cは、第1の焼鈍部と第2の焼鈍部の各々のエネルギーEと温度に基づいた交換確率にしたがって、温度の交換を行うか否かを決定し、交換を行う場合には、第1対応情報15と第2対応情報16とを更新する。 The exchange calculation circuit 12c is a candidate for exchanging temperatures from the annealed portions 11a0 to 11an based on the first correspondence information 15 held in the first correspondence information holding unit 12a. Select the annealed part. Then, the exchange calculation circuit 12c determines whether or not to exchange the temperature according to the exchange probability based on the energy E and the temperature of each of the first annealed portion and the second annealed portion, and performs the exchange. The first correspondence information 15 and the second correspondence information 16 are updated.

例えば、交換演算回路12cは、第1対応情報15から温度の低い順に配列されたレプリカ番号を上から2つずつ選択していき、その2つのレプリカ番号で識別される2つの焼鈍部の間での温度の交換の可否を決定する。 For example, the exchange operation circuit 12c selects two replica numbers arranged in ascending order of temperature from the first correspondence information 15 from the top, and between the two annealed parts identified by the two replica numbers. Determine if the temperature can be exchanged.

第1対応情報15は、温度の低い順(高い順でもよい)にレプリカ番号を配列しているため、交換演算回路12cが、例えば、上から2つずつレプリカ番号を選択することで、隣接温度が割り当てられている2つの焼鈍部を選択できる。なお、交換演算回路12cは、上から1つおき、2つおきなどに、2つのレプリカ番号を選択しても近い温度の2つの焼鈍部を選択できる。 Since the replica numbers of the first correspondence information 15 are arranged in ascending order of temperature (may be in descending order of temperature), the exchange operation circuit 12c selects, for example, two replica numbers from the top, so that the adjacent temperatures are adjacent to each other. You can select two annealed parts to which are assigned. The exchange calculation circuit 12c can select two annealed portions having similar temperatures even if two replica numbers are selected, such as every other one from the top.

交換演算回路12cは、例えば、以下に示すような回路によって実現される。
交換演算回路12cは、第1対応情報15からレプリカ番号を上から2つずつ選択していく回路と、焼鈍部11a0~11anから供給されるエネルギーEのうち、選択した2つのレプリカ番号に対応したものを選択する回路を有する。また交換演算回路12cは、第1対応情報15から選択した2つのレプリカ番号に対応付けられた温度と、選択した2つのエネルギーEとに基づいて、(式3)で示される交換確率pijを演算する回路(exp関数の計算回路などを含む)を有する。さらに、交換演算回路12cは乱数を生成する回路と、その乱数と交換確率pijとの比較結果に基づいて交換可否を決定する回路、交換を行う場合に、第1対応情報15と第2対応情報16とを更新する回路などを用いて実現できる。
The exchange operation circuit 12c is realized by, for example, a circuit as shown below.
The exchange calculation circuit 12c corresponds to two replica numbers selected from the circuit that selects two replica numbers from the top from the first correspondence information 15 and the energy E supplied from the annealing portions 11a0 to 11an. It has a circuit to select one. Further, the exchange calculation circuit 12c obtains the exchange probability pij represented by (Equation 3) based on the temperature associated with the two replica numbers selected from the first correspondence information 15 and the two selected energies E. It has a circuit for calculation (including a calculation circuit for an exp function). Further, the exchange calculation circuit 12c is a circuit that generates a random number, a circuit that determines whether or not exchange is possible based on the comparison result between the random number and the exchange probability pij , and a first correspondence information 15 and a second correspondence when exchanging. This can be realized by using a circuit or the like that updates the information 16.

出力制御回路12dは、更新した第2対応情報16aに基づいて、温度を表す温度情報(図1の例では逆温度β)を対応する焼鈍部11a0~11anの各々に供給する。出力制御回路12dは、例えば、更新した第2対応情報16aの温度を示す温度情報を上から順番に、または同時に、対応する焼鈍部に供給する。第2対応情報16は、レプリカ番号の順に温度が配列されているため、焼鈍部11a0~11anに供給する温度情報を、出力制御回路12dが容易に選択できる。 The output control circuit 12d supplies temperature information representing the temperature (reverse temperature β in the example of FIG. 1) to each of the corresponding annealing portions 11a0 to 11an based on the updated second correspondence information 16a. The output control circuit 12d supplies, for example, the temperature information indicating the temperature of the updated second correspondence information 16a to the corresponding annealing portion in order from the top or at the same time. Since the temperatures of the second correspondence information 16 are arranged in the order of the replica numbers, the output control circuit 12d can easily select the temperature information to be supplied to the annealing portions 11a0 to 11an.

なお、図1の例では、出力制御回路12dは、温度情報として、逆温度βを焼鈍部11a0~11anに供給するため、温度を逆温度βに変換する回路を有する。ただし、出力制御回路12dは、温度自体を焼鈍部11a1~11anに供給してもよい。その場合、焼鈍部11a1~11anは、変換テーブルなどを用いて温度を逆温度βに変換して用いてもよい。 In the example of FIG. 1, the output control circuit 12d has a circuit that converts the temperature into the reverse temperature β in order to supply the reverse temperature β to the annealing portions 11a0 to 11an as the temperature information. However, the output control circuit 12d may supply the temperature itself to the annealing portions 11a1 to 11an. In that case, the annealed portions 11a1 to 11an may be used by converting the temperature to the reverse temperature β by using a conversion table or the like.

以下、図1を用いて、第1の実施の形態の最適化装置10の動作の一例を説明する。
交換演算回路12cは、焼鈍部11a0~11anの各々のエネルギーEを受けると、第1対応情報15からレプリカ番号を上から2つ選択する。例えば、図1に示したような第1対応情報15では、まず、レプリカ番号=i,0が選択される。
Hereinafter, an example of the operation of the optimization device 10 according to the first embodiment will be described with reference to FIG.
When the exchange calculation circuit 12c receives the respective energies E of the annealing portions 11a0 to 11an, the exchange calculation circuit 12c selects two replica numbers from the top from the first correspondence information 15. For example, in the first correspondence information 15 as shown in FIG. 1, replica numbers = i, 0 are first selected.

そして、交換演算回路12cは、焼鈍部11a0~11anの各々のエネルギーEのうち、選択した2つのレプリカ番号に対応したものを選択する。さらに、交換演算回路12cは、第1対応情報15から選択した2つのレプリカ番号に対応付けられた温度(レプリカ番号=i,0が選択された場合は温度T0,T1)と、選択した2つのエネルギーとに基づいて、(式3)で示される交換確率pijを演算する。レプリカ番号=i,0の焼鈍部11ai,11a0が交換の候補となっている場合、(式3)において、β=1/T0、β=1/T1、Eは、焼鈍部11aiのエネルギー、Eは、焼鈍部11a0のエネルギーである。 Then, the exchange calculation circuit 12c selects the energy E corresponding to the two selected replica numbers from the respective energies E of the annealing portions 11a0 to 11an. Further, the exchange calculation circuit 12c has a temperature associated with the two replica numbers selected from the first correspondence information 15 (temperatures T0 and T1 when replica numbers = i and 0 are selected) and two selected replica numbers. Based on the energy, the exchange probability pij represented by (Equation 3) is calculated. When the annealed portions 11ai and 11a0 having replica numbers = i and 0 are candidates for replacement, in (Equation 3), β i = 1 / T0, β j = 1 / T1 and E i are the annealed portions 11ai. The energy, Ej, is the energy of the annealed portion 11a0 .

また、交換演算回路12cは乱数を生成し、その乱数と交換確率pijとの比較結果に基づいて交換可否を決定し、交換を行う場合に、第1対応情報15と第2対応情報16とを更新する。レプリカ番号=i,0の焼鈍部11ai,11a0において、温度情報の交換が行われる場合、図1に示すように、第1対応情報15と第2対応情報16が更新され、第1対応情報15aと第2対応情報16aが得られる。 Further, the exchange calculation circuit 12c generates a random number, determines whether or not the exchange is possible based on the comparison result between the random number and the exchange probability pij , and when the exchange is performed, the first correspondence information 15 and the second correspondence information 16 To update. When temperature information is exchanged in the annealed portions 11ai and 11a0 having replica numbers = i and 0, the first correspondence information 15 and the second correspondence information 16 are updated and the first correspondence information 15a is updated as shown in FIG. And the second correspondence information 16a are obtained.

例えば、図1に示したような第1対応情報15では、続いて、温度T1に対応付けられたレプリカ番号と、温度T2に対応付けられたレプリカ番号が選択され、同様の処理が繰り返される。その後も同様に、2つずつレプリカ番号が選択されていき、同様の処理が繰り返される。そして、第1対応情報15の最後の温度Tnに対応付けられたレプリカ番号が選択された処理が行われた場合、出力制御回路12dは、更新後の第2対応情報に基づいて、温度情報を対応する焼鈍部11a0~11anの各々に供給する。 For example, in the first correspondence information 15 as shown in FIG. 1, the replica number associated with the temperature T1 and the replica number associated with the temperature T2 are subsequently selected, and the same processing is repeated. After that, the replica numbers are similarly selected two by two, and the same process is repeated. Then, when the replica number associated with the last temperature Tn of the first correspondence information 15 is selected, the output control circuit 12d outputs the temperature information based on the updated second correspondence information. It is supplied to each of the corresponding annealed portions 11a0 to 11an.

焼鈍部11a0~11anの各々は、供給された温度情報を用いて、再び確率的探索を行い、所定の反復回数後に、上記のような交換制御部12の処理が行われる。上記のような交換制御部12の処理が、例えば、所定回数繰り返された後、最適化装置10の動作が終了する。なお、焼鈍部11a0~11anの各々は、所定の反復回数の確率的探索を行うたびに計算されるエネルギーの最低値とその最低値のときの各状態変数の値を保持している。上記のような交換制御部12の処理が、所定回数繰り返された場合、焼鈍部11a0~11anの各々は、その時点での、エネルギーの最低値とその最低値のときの各状態変数の値を、例えば、図示しない表示装置またはコンピュータなどに出力する。例えば、焼鈍部11a0~11anの各々が出力するエネルギーの最低値の中でも、一番小さい値のときの各状態変数の値が、最適化問題の解となる。 Each of the annealed portions 11a0 to 11an performs a stochastic search again using the supplied temperature information, and after a predetermined number of iterations, the processing of the exchange control unit 12 as described above is performed. After the process of the exchange control unit 12 as described above is repeated, for example, a predetermined number of times, the operation of the optimization device 10 ends. It should be noted that each of the annealing portions 11a0 to 11an holds the minimum value of energy calculated each time the stochastic search of a predetermined number of iterations is performed and the value of each state variable at the minimum value. When the processing of the exchange control unit 12 as described above is repeated a predetermined number of times, each of the annealing units 11a0 to 11an sets the minimum value of energy at that time and the value of each state variable at the minimum value. , For example, output to a display device or a computer (not shown). For example, among the lowest values of energy output by each of the annealing portions 11a0 to 11an, the value of each state variable at the time of the smallest value is the solution of the optimization problem.

以上のように、第1の実施の形態の最適化装置10では、交換制御部12が、第1対応情報15と第2対応情報16を保持し、温度の交換時には、第1対応情報15と第2対応情報16を更新する。これにより、温度の交換ごとに温度の低い順または高い順にレプリカ番号をソートするような回路が不要になり、最適化装置10の回路規模の増加を抑えられる。また、最適化装置10では、ソート処理を行わないため、交換処理にかかる時間を短縮できる。 As described above, in the optimization device 10 of the first embodiment, the exchange control unit 12 holds the first correspondence information 15 and the second correspondence information 16, and when the temperature is exchanged, the first correspondence information 15 is used. The second correspondence information 16 is updated. This eliminates the need for a circuit that sorts the replica numbers in ascending or descending order of temperature for each temperature exchange, and suppresses an increase in the circuit scale of the optimizing device 10. Further, since the optimization device 10 does not perform the sorting process, the time required for the exchange process can be shortened.

なお、交換演算回路12cは、第1対応情報15から、隣接温度が割り当てられていない2つの焼鈍部を選択してもよいが、隣接温度が割り当てられている2つの焼鈍部を選択することで、交換確率pijが上がり計算効率が上がる。 The exchange calculation circuit 12c may select two annealing parts to which the adjacent temperature is not assigned from the first correspondence information 15, but by selecting two annealing parts to which the adjacent temperature is assigned. , The exchange probability pij increases and the calculation efficiency increases.

(第2の実施の形態)
図2は、第2の実施の形態の最適化装置の一例を示す図である。図2において、図1に示した最適化装置10と同じ要素については、同一符号が付されている。
(Second embodiment)
FIG. 2 is a diagram showing an example of an optimization device according to a second embodiment. In FIG. 2, the same elements as those of the optimization device 10 shown in FIG. 1 are designated by the same reference numerals.

第2の実施の形態の最適化装置20は、交換制御部21が、第1の実施の形態の最適化装置10と異なっている。
交換制御部21は、第1対応情報保持部21a、第2対応情報保持部21b、第3対応情報保持部21c、交換演算回路21d、出力制御回路21eを有する。
In the optimization device 20 of the second embodiment, the exchange control unit 21 is different from the optimization device 10 of the first embodiment.
The exchange control unit 21 includes a first correspondence information holding unit 21a, a second correspondence information holding unit 21b, a third correspondence information holding unit 21c, an exchange calculation circuit 21d, and an output control circuit 21e.

第1対応情報保持部21aと第2対応情報保持部21bは、温度そのものではなく、温度を識別する温度識別情報と、レプリカ番号との対応関係を示す第1対応情報と、第2対応情報を保持する。第1対応情報は、レプリカ番号を温度の低い順または高い順に配列したものであり、第2対応情報は、温度識別情報をレプリカ番号の順に配列したものである。 The first correspondence information holding unit 21a and the second correspondence information holding unit 21b are not the temperature itself, but the temperature identification information for identifying the temperature, the first correspondence information showing the correspondence relationship with the replica number, and the second correspondence information. Hold. The first correspondence information is the replica numbers arranged in ascending order or the highest temperature order, and the second correspondence information is the temperature identification information arranged in the order of replica numbers.

第3対応情報保持部21cは、温度とその温度を識別する温度識別情報との対応関係を示す第3対応情報を保持する。
交換演算回路21dは、第1対応情報保持部21aに保持されている第1対応情報に基づいて、焼鈍部11a0~11anから、温度を交換する候補である第1の焼鈍部と第2の焼鈍部とを選択する。そして、交換演算回路21dは、第1の焼鈍部と第2の焼鈍部の各々のエネルギーEと温度とに基づいた交換確率にしたがって、温度の交換を行うか否かを決定し、交換を行う場合には、第1対応情報と第2対応情報とを更新する。なお、交換演算回路21dは、交換確率を求める際、温度識別情報ではなく温度を用いるため、第3対応情報に基づいて、第1の焼鈍部と第2の焼鈍部の各々を識別するレプリカ番号に対応付けられた温度識別情報を温度に変換する。第1対応情報の更新の際には、交換演算回路21dは、上記2つのレプリカ番号に対応付けられた温度識別情報を入れ替えればよい。
The third correspondence information holding unit 21c holds the third correspondence information which shows the correspondence relationship between the temperature and the temperature identification information which identifies the temperature.
The exchange calculation circuit 21d has a first annealing section and a second annealing section that are candidates for exchanging temperatures from the annealing sections 11a0 to 11an based on the first correspondence information held in the first correspondence information holding section 21a. Select a department. Then, the exchange calculation circuit 21d determines whether or not to exchange the temperature according to the exchange probability based on the energy E and the temperature of each of the first annealed portion and the second annealed portion, and performs the exchange. In that case, the first correspondence information and the second correspondence information are updated. Since the exchange calculation circuit 21d uses the temperature instead of the temperature identification information when determining the exchange probability, the replica number that identifies each of the first annealed portion and the second annealed portion based on the third correspondence information. Converts the temperature identification information associated with to temperature. When updating the first correspondence information, the exchange calculation circuit 21d may replace the temperature identification information associated with the above two replica numbers.

交換演算回路21dは、例えば、以下に示すような回路によって実現される。
交換演算回路21dは、第1対応情報からレプリカ番号を上から2つずつ選択していく回路、焼鈍部11a0~11anから供給されるエネルギーEのうち、選択した2つのレプリカ番号に対応したものを選択する回路を有する。また交換演算回路21dは、第1対応情報から選択した2つのレプリカ番号に対応付けられた温度識別情報を、第3対応情報に基づいて温度に変換する回路を有する。また、交換演算回路21dは、温度と選択した2つのエネルギーとに基づいて、(式3)で示される交換確率pijを演算する回路(減算回路やexp関数の計算回路などを含む)を有する。さらに、交換演算回路21dは乱数を生成する回路と、その乱数と交換確率pijとの比較結果に基づいて交換可否を決定する回路、交換を行う場合に、第1対応情報と第2対応情報とを更新する回路などを用いて実現できる。
The exchange operation circuit 21d is realized by, for example, a circuit as shown below.
The exchange calculation circuit 21d is a circuit that selects two replica numbers from the top from the first correspondence information, and one of the energies E supplied from the annealing portions 11a0 to 11an corresponding to the two selected replica numbers. Have a circuit to choose from. Further, the exchange calculation circuit 21d has a circuit that converts the temperature identification information associated with the two replica numbers selected from the first correspondence information into the temperature based on the third correspondence information. Further, the exchange calculation circuit 21d has a circuit (including a subtraction circuit, an exp function calculation circuit, etc.) for calculating the exchange probability pij represented by (Equation 3) based on the temperature and the two selected energies. .. Further, the exchange calculation circuit 21d is a circuit that generates a random number, a circuit that determines whether or not exchange is possible based on the comparison result between the random number and the exchange probability pij , and a first correspondence information and a second correspondence information when exchanging. It can be realized by using a circuit that updates and.

出力制御回路21eは、第1の実施の形態の最適化装置10の出力制御回路12dと異なり、第3対応情報に基づいて、更新後の第2対応情報の温度識別情報を対応する温度に変換する。そして、出力制御回路21eは、温度を逆温度βに変換し、逆温度βを対応する焼鈍部11a0~11anの各々に供給する。 Unlike the output control circuit 12d of the optimization device 10 of the first embodiment, the output control circuit 21e converts the temperature identification information of the updated second correspondence information into the corresponding temperature based on the third correspondence information. do. Then, the output control circuit 21e converts the temperature into the reverse temperature β, and supplies the reverse temperature β to each of the corresponding annealing portions 11a0 to 11an.

図3は、各対応情報の一例を示す図である。図3の例では、温度識別情報の一例として、温度番号が用いられている。また、図3では、焼鈍部11a0~11anの数、すなわちレプリカ数が、16である場合の例が示されている。 FIG. 3 is a diagram showing an example of each correspondence information. In the example of FIG. 3, the temperature number is used as an example of the temperature identification information. Further, FIG. 3 shows an example in which the number of annealed portions 11a0 to 11an, that is, the number of replicas is 16.

第1対応情報25では、0から15までのレプリカ番号が、温度番号の順に配列されている。第2対応情報26では、0から15までの温度番号が、レプリカ番号の順に配列されている。第3対応情報27では、温度T0~T15が、温度番号の順に配列されている。温度T0~T15は、温度T0,T1,T2,T3,…,T15の順に高くなっていく。したがって、図3の例では、第1対応情報25、第2対応情報26、第3対応情報27において、温度番号は、値が小さいほど、低い温度であることを示している。このため、第1対応情報25は、温度の低い順にレプリカ番号を配列したものである。 In the first correspondence information 25, the replica numbers from 0 to 15 are arranged in the order of the temperature numbers. In the second correspondence information 26, the temperature numbers from 0 to 15 are arranged in the order of the replica numbers. In the third correspondence information 27, the temperatures T0 to T15 are arranged in the order of the temperature numbers. The temperatures T0 to T15 increase in the order of temperatures T0, T1, T2, T3, ..., T15. Therefore, in the example of FIG. 3, in the first correspondence information 25, the second correspondence information 26, and the third correspondence information 27, the smaller the value of the temperature number, the lower the temperature. Therefore, the first correspondence information 25 is an array of replica numbers in ascending order of temperature.

以下、第2の実施の形態の最適化装置20の動作の一例を説明する。
図4は、第2の実施の形態の最適化装置の一例の動作の流れを示すフローチャートである。なお、図示が省略されているが、初期化処理として、例えば、図示しない制御装置の制御により、第1対応情報25、第2対応情報26、第3対応情報27が、第1対応情報保持部21a、第2対応情報保持部21b、第3対応情報保持部21cに書き込まれる。そして、出力制御回路21eが、第2対応情報26に基づいて、焼鈍部11a0~11anの各々に、逆温度βの初期値を供給する。
Hereinafter, an example of the operation of the optimization device 20 according to the second embodiment will be described.
FIG. 4 is a flowchart showing an operation flow of an example of the optimization device according to the second embodiment. Although not shown, as initialization processing, for example, by controlling a control device (not shown), the first correspondence information 25, the second correspondence information 26, and the third correspondence information 27 are the first correspondence information holding unit. It is written in 21a, the second correspondence information holding unit 21b, and the third correspondence information holding unit 21c. Then, the output control circuit 21e supplies the initial value of the reverse temperature β to each of the annealed portions 11a0 to 11an based on the second correspondence information 26.

ステップS1~S5は、焼鈍部11a0~11anの各々で行われる処理である。焼鈍部11a0~11anの各々は、確率的探索の反復回数の初期化を行い(ステップS1)、その後、交換制御部21により与えられた逆温度βを用いて前述の確率的探索を行う(ステップS2)。焼鈍部11a0~11anの各々は、1回の確率的探索を終了するたびに、反復回数をインクリメントする(ステップS3)。そして、焼鈍部11a0~11anの各々は、反復回数が所定の値に達したか否かを判定し(ステップS4)、反復回数が所定の値に達していない場合には、ステップS2の処理を繰り返す。焼鈍部11a0~11anの各々は、反復回数が所定の値に達した場合には、交換制御部21にエネルギーEを送信する(ステップS5)。 Steps S1 to S5 are processes performed in each of the annealed portions 11a0 to 11an. Each of the annealing portions 11a0 to 11an initializes the number of iterations of the stochastic search (step S1), and then performs the above-mentioned stochastic search using the inverse temperature β given by the exchange control unit 21 (step S1). S2). Each of the annealed portions 11a0 to 11an increments the number of iterations each time one stochastic search is completed (step S3). Then, each of the annealing portions 11a0 to 11an determines whether or not the number of iterations has reached a predetermined value (step S4), and if the number of iterations has not reached a predetermined value, the process of step S2 is performed. repeat. Each of the annealing units 11a0 to 11an transmits energy E to the exchange control unit 21 when the number of iterations reaches a predetermined value (step S5).

ステップS6~S15の処理は、交換制御部21で行われる処理である。
交換制御部21の交換演算回路21dは、焼鈍部11a0~11anの各々からエネルギーEを受信する(ステップS6)。交換演算回路21dは、隣接温度が割り当てられている2つの焼鈍部のレプリカ番号を、第1対応情報25において温度番号=0,1に対応したものから順に選択していくため、選択する温度番号(以下選択温度番号という)を0と1に初期化する(ステップS7)。
The processes of steps S6 to S15 are processes performed by the exchange control unit 21.
The exchange calculation circuit 21d of the exchange control unit 21 receives energy E from each of the annealing units 11a0 to 11an (step S6). Since the exchange calculation circuit 21d selects the replica numbers of the two annealing parts to which the adjacent temperatures are assigned in order from the one corresponding to the temperature number = 0, 1 in the first correspondence information 25, the temperature number to be selected is selected. (Hereinafter referred to as the selected temperature number) is initialized to 0 and 1 (step S7).

ステップS7の処理後、交換演算回路21dは、第1対応情報25において、選択温度番号に対応付けられた2つのレプリカ番号を選択することで、隣接温度が割り当てられている2つの焼鈍部を選択する(ステップS8)。例えば、図3に示したような第1対応情報25では、まず、選択温度番号=0に対応付けられたレプリカ番号=6の焼鈍部と、選択温度番号=1に対応付けられたレプリカ番号=8の焼鈍部が選択される。2回目のステップS8の処理では、選択温度番号=1に対応付けられたレプリカ番号で識別される焼鈍部と、選択温度番号=2に対応付けられたレプリカ番号で識別される焼鈍部が選択される。3回目以降も同様に、第1対応情報25の上から順に2つずつレプリカ番号が選択され、選択されたレプリカ番号で識別される焼鈍部が、温度情報を交換する候補として選択される。 After the processing of step S7, the exchange calculation circuit 21d selects the two annealing portions to which the adjacent temperatures are assigned by selecting the two replica numbers associated with the selected temperature numbers in the first correspondence information 25. (Step S8). For example, in the first correspondence information 25 as shown in FIG. 3, first, the annealed portion of the replica number = 6 associated with the selected temperature number = 0 and the replica number associated with the selected temperature number = 1 = The annealed portion of 8 is selected. In the second process of step S8, the annealed portion identified by the replica number associated with the selected temperature number = 1 and the annealed portion identified by the replica number associated with the selected temperature number = 2 are selected. Ru. Similarly, from the third time onward, two replica numbers are selected in order from the top of the first correspondence information 25, and the annealed portion identified by the selected replica number is selected as a candidate for exchanging temperature information.

その後、交換演算回路21dは、交換確率pijを求める際、温度番号ではなく温度を用いるため、現在の2つの選択温度番号を、第3対応情報27に基づいて2つの温度に変換する。そして、交換演算回路21dは、得られた2つの温度と、選択された2つのレプリカ番号で識別される2つの焼鈍部のエネルギーから、交換確率pijを計算する(ステップS9)。 After that, since the exchange calculation circuit 21d uses the temperature instead of the temperature number when obtaining the exchange probability pij , the current two selected temperature numbers are converted into two temperatures based on the third correspondence information 27. Then, the exchange calculation circuit 21d calculates the exchange probability pij from the obtained two temperatures and the energies of the two annealed portions identified by the two selected replica numbers (step S9).

そして、交換演算回路21dは乱数を生成し、その乱数と交換確率pijとの比較結果に基づいて交換可否を決定する(ステップS10)。交換演算回路21dは、例えば、乱数が交換確率pij以上の場合、温度情報の交換を可とし、乱数が交換確率pijよりも小さい場合、温度情報の交換を否とする。 Then, the exchange calculation circuit 21d generates a random number, and determines whether or not the exchange is possible based on the comparison result between the random number and the exchange probability pij (step S10). For example, when the random number is the exchange probability pij or more, the exchange calculation circuit 21d enables the exchange of temperature information, and when the random number is smaller than the exchange probability pij , the exchange of the temperature information is rejected.

温度情報の交換が可である場合、交換演算回路21dは第1対応情報25と第2対応情報26とを更新する(ステップS11)。
図5は、第1対応情報と第2対応情報の更新例を示す図である。
When the temperature information can be exchanged, the exchange calculation circuit 21d updates the first correspondence information 25 and the second correspondence information 26 (step S11).
FIG. 5 is a diagram showing an example of updating the first correspondence information and the second correspondence information.

図5では、図3において、温度番号=10が対応付けられているレプリカ番号=13の焼鈍部と、温度番号=11に対応付けられているレプリカ番号=11の焼鈍部との間で、温度情報の交換を行う場合の更新例が示されている。 In FIG. 5, in FIG. 3, the temperature is between the annealed portion of the replica number = 13 associated with the temperature number = 10 and the annealed portion of the replica number = 11 associated with the temperature number = 11. An update example for exchanging information is shown.

更新後の第1対応情報25aと第2対応情報26aでは、温度番号=10にレプリカ番号=11が対応付けられ、温度番号=11にレプリカ番号=13が対応付けられている。交換演算回路21dは、第1対応情報25の更新の際には、レプリカ番号=11とレプリカ番号=13を入れ替えればよく、第2対応情報26の更新の際には、温度番号=10と温度番号=11を入れ替えればよい。 In the updated first correspondence information 25a and second correspondence information 26a, the temperature number = 10 is associated with the replica number = 11, and the temperature number = 11 is associated with the replica number = 13. The exchange calculation circuit 21d may replace the replica number = 11 and the replica number = 13 when updating the first correspondence information 25, and when updating the second correspondence information 26, the temperature number = 10 and the temperature. The number = 11 may be replaced.

その後、交換演算回路21dは、現在の選択温度番号が、最後の選択温度番号(図3の例では14と15)ではない場合(ステップS12:No)、選択温度番号をインクリメントし(ステップS13)、ステップS8からの処理を繰り返す。一方、現在の選択温度番号が、最後の選択温度番号である場合(ステップS12:Yes)、出力制御回路21eは、更新後の第2対応情報に基づいて、温度情報(逆温度β)を対応する焼鈍部11a0~11anの各々に送信する(ステップS14)。 After that, the exchange calculation circuit 21d increments the selected temperature number (step S13) when the current selected temperature number is not the last selected temperature number (14 and 15 in the example of FIG. 3) (step S12: No). , The process from step S8 is repeated. On the other hand, when the current selected temperature number is the last selected temperature number (step S12: Yes), the output control circuit 21e corresponds to the temperature information (reverse temperature β) based on the updated second correspondence information. It is transmitted to each of the annealed portions 11a0 to 11an (step S14).

その後、終了条件(例えば、上記のような交換制御部21の処理が、所定回数繰り返されたか否か)が満たされていない場合(ステップS15:No)、ステップS1からの処理が繰り返される。終了条件が満たされている場合(ステップS15:Yes)、図示が省略されているが、例えば、焼鈍部11a0~11anの各々のエネルギーの最低値とその最低値のときの各状態変数の値が、図示しない表示装置(またはコンピュータなど)に出力される。そして、最適化装置20の処理が終了する。 After that, when the end condition (for example, whether or not the process of the exchange control unit 21 as described above is repeated a predetermined number of times) is not satisfied (step S15: No), the process from step S1 is repeated. When the end condition is satisfied (step S15: Yes), although not shown, for example, the minimum value of each energy of the annealed portions 11a0 to 11an and the value of each state variable at the minimum value are set. , Output to a display device (or computer, etc.) not shown. Then, the processing of the optimization device 20 is completed.

なお、上記の各処理の順序は一例であり、適宜入れ替えてもよい。
以上のように、第2の実施の形態の最適化装置20でも、交換制御部21が、第1対応情報25と第2対応情報26を保持し、温度の交換時には、第1対応情報25と第2対応情報26を更新する。これにより、第1の実施の形態の最適化装置10と同様の効果が得られる。
The order of each of the above processes is an example, and may be replaced as appropriate.
As described above, even in the optimization device 20 of the second embodiment, the exchange control unit 21 holds the first correspondence information 25 and the second correspondence information 26, and when the temperature is exchanged, the first correspondence information 25 is used. The second correspondence information 26 is updated. As a result, the same effect as that of the optimization device 10 of the first embodiment can be obtained.

さらに、第2の実施の形態の最適化装置20において、交換演算回路21dは、実際の温度(例えば、浮動小数点方式で表される)ではなく、温度よりもデータ量の少ない温度番号を入れ替えるため、移動するデータ量を、温度を用いる場合よりも小さくできる。また、最適化装置20は、第1の実施の形態の最適化装置10と比べて、第3対応情報保持部21cが増えるが、第1対応情報保持部21aや第2対応情報保持部21bでは温度の代わりに温度番号が保持されるため、全体として最適化装置10よりも回路規模を縮小できる。 Further, in the optimization device 20 of the second embodiment, the exchange calculation circuit 21d replaces the temperature number having a smaller amount of data than the temperature, instead of the actual temperature (for example, represented by a floating point method). , The amount of data to be moved can be made smaller than when temperature is used. Further, in the optimization device 20, the third correspondence information holding unit 21c is increased as compared with the optimization device 10 of the first embodiment, but in the first correspondence information holding unit 21a and the second correspondence information holding unit 21b, the third correspondence information holding unit 21c is increased. Since the temperature number is held instead of the temperature, the circuit scale can be reduced as a whole as compared with the optimization device 10.

(比較例)
図6は、図9に示した交換制御部の機能をソフトウェアで実現する場合の一例の処理の流れを示すフローチャートである。
(Comparative example)
FIG. 6 is a flowchart showing a processing flow of an example when the function of the exchange control unit shown in FIG. 9 is realized by software.

ステップS20~S24の処理は、図4に示したステップS1~S5の処理と同じである。ステップS25~S34の処理は、ソフトウェアにて実現される。なお、ソフトウェアにて交換制御部52の機能を実現する場合には、例えば、図3に示したような第1対応情報25と第3対応情報27が用いられる。そのため、ステップS25~S29の処理は、図4に示したステップS6~S10の処理と同じである。 The processing of steps S20 to S24 is the same as the processing of steps S1 to S5 shown in FIG. The processing of steps S25 to S34 is realized by software. When the function of the exchange control unit 52 is realized by software, for example, the first correspondence information 25 and the third correspondence information 27 as shown in FIG. 3 are used. Therefore, the processing of steps S25 to S29 is the same as the processing of steps S6 to S10 shown in FIG.

ステップS30の対応情報の更新処理の際には、図4のステップS11の処理と異なり、ポインタを用いて、温度番号に対応付けられているレプリカ番号の入れ替えが行われる。このため、隣接温度が割り当てられている焼鈍部を探すためのソート処理やサーチ処理は行わなくてもよい。 In the process of updating the correspondence information in step S30, unlike the process of step S11 in FIG. 4, the replica number associated with the temperature number is replaced by using the pointer. Therefore, it is not necessary to perform the sort process or the search process for searching for the annealed portion to which the adjacent temperature is assigned.

ステップS31~S34の処理は、図4に示したステップS12~S15の処理と同じである。
このようにソフトウェアでも交換制御部52の機能を実現できるが、複数の焼鈍部と交換制御部との間のデータの移動を高速化するため、交換制御部をソフトウェアで実現するよりも、専用の回路で実現したほうがよい。
The processing of steps S31 to S34 is the same as the processing of steps S12 to S15 shown in FIG.
In this way, the function of the exchange control unit 52 can be realized by software, but in order to speed up the movement of data between the plurality of annealing units and the exchange control unit, it is more dedicated than the exchange control unit realized by software. It is better to realize it with a circuit.

図7は、図9に示した交換制御部の機能を専用の回路で実現した比較例の最適化装置を示す図である。図7において、図2に示した最適化装置20と同じ要素については、同一符号が付されている。 FIG. 7 is a diagram showing an optimization device of a comparative example in which the function of the exchange control unit shown in FIG. 9 is realized by a dedicated circuit. In FIG. 7, the same elements as those of the optimization device 20 shown in FIG. 2 are designated by the same reference numerals.

比較例の最適化装置30は、交換制御部31が、第2の実施の形態の最適化装置20の交換制御部21と異なっている。
交換制御部31は、第2対応情報保持部31a、第3対応情報保持部31b、ソート処理回路31c、交換処理回路31dを有する。
In the optimization device 30 of the comparative example, the exchange control unit 31 is different from the exchange control unit 21 of the optimization device 20 of the second embodiment.
The exchange control unit 31 includes a second correspondence information holding unit 31a, a third correspondence information holding unit 31b, a sort processing circuit 31c, and an exchange processing circuit 31d.

第2対応情報保持部31aは、図3に示したような第2対応情報26を保持し、第3対応情報保持部31bは、図3に示したような第3対応情報27を保持する。
ソート処理回路31cは、第2対応情報26のレプリカ番号を、割り当てられている温度の低い順(または高い順)に並べるソート処理を行う。
The second correspondence information holding unit 31a holds the second correspondence information 26 as shown in FIG. 3, and the third correspondence information holding unit 31b holds the third correspondence information 27 as shown in FIG.
The sort processing circuit 31c performs a sort process of arranging the replica numbers of the second correspondence information 26 in ascending order (or higher order) of the assigned temperature.

交換処理回路31dは、第2対応情報26をソート処理した情報に基づいて、温度を交換する候補である第1の焼鈍部と第2の焼鈍部とを選択する。そして、交換処理回路31dは、第1の焼鈍部と第2の焼鈍部の各々のエネルギーEと温度とに基づいた交換確率にしたがって、温度の交換を行うか否かを決定し、交換を行う場合には、第2対応情報26を更新する。なお、交換処理回路31dは、交換確率を求める際、温度番号ではなく温度を用いるため、第3対応情報27に基づいて温度番号を対応する温度に変換する。 The exchange processing circuit 31d selects a first annealed portion and a second annealed portion, which are candidates for exchanging temperatures, based on the information obtained by sorting the second correspondence information 26. Then, the exchange processing circuit 31d determines whether or not to exchange the temperature according to the exchange probability based on the energy E and the temperature of each of the first annealed portion and the second annealed portion, and exchanges the temperature. In that case, the second correspondence information 26 is updated. Since the exchange processing circuit 31d uses the temperature instead of the temperature number when obtaining the exchange probability, the exchange processing circuit 31d converts the temperature number into the corresponding temperature based on the third correspondence information 27.

また、交換処理回路31dは、第3対応情報27に基づいて、更新後の第2対応情報の温度番号を対応する温度に変換する。そして、交換処理回路31dは、逆温度βを対応する焼鈍部11a0~11anの各々に供給する。 Further, the exchange processing circuit 31d converts the temperature number of the updated second correspondence information into the corresponding temperature based on the third correspondence information 27. Then, the exchange processing circuit 31d supplies the reverse temperature β to each of the corresponding annealed portions 11a0 to 11an.

図8は、図7に示した比較例の最適化装置の一例の動作の流れを示すフローチャートである。
ステップS40~S46の処理は、図4に示したステップS1~S7の処理と同じである。ステップS46の処理後、上記のようなソート処理が行われる(ステップS47)。ステップS48~S50の処理は、図4に示したステップS8~S10の処理と同じである。
FIG. 8 is a flowchart showing an operation flow of an example of the optimization device of the comparative example shown in FIG. 7.
The processing of steps S40 to S46 is the same as the processing of steps S1 to S7 shown in FIG. After the process of step S46, the sort process as described above is performed (step S47). The processing of steps S48 to S50 is the same as the processing of steps S8 to S10 shown in FIG.

ステップS50の処理後、交換可否の決定結果に応じて第2対応情報26が更新される(ステップS51)。ステップS52~S55の処理は、図4に示したステップS12~S15の処理と同じであるが、選択温度番号のインクリメント後は、ステップS47のソート処理から繰り返される。 After the process of step S50, the second correspondence information 26 is updated according to the result of determining whether or not the exchange is possible (step S51). The processing of steps S52 to S55 is the same as the processing of steps S12 to S15 shown in FIG. 4, but after incrementing the selected temperature number, the sorting processing of step S47 is repeated.

上記のような比較例の最適化装置30では、第2対応情報26のソート処理を行うソート処理回路31cが用いられる。しかし、例えば、N個の要素をバブルソートアルゴリズムによりソート処理するには、N(N-1)/2サイクルの演算時間がかかる。 In the optimization device 30 of the comparative example as described above, the sort processing circuit 31c that performs the sort process of the second correspondence information 26 is used. However, for example, in order to sort N elements by the bubble sort algorithm, it takes N (N-1) / 2 cycle calculation time.

これに対して、第2の実施の形態の最適化装置20では、ソート処理が不要であるため、ソート処理回路31cも不要になり、回路規模の増大を抑えることができるとともに、演算時間も短縮できる。 On the other hand, in the optimization device 20 of the second embodiment, since the sort process is unnecessary, the sort process circuit 31c is also unnecessary, the increase in the circuit scale can be suppressed, and the calculation time is shortened. can.

以上、実施の形態に基づき、本発明の最適化装置及び最適化装置の制御方法の一観点について説明してきたが、これらは一例にすぎず、上記の記載に限定されるものではない。 Although one viewpoint of the optimization device of the present invention and the control method of the optimization device has been described above based on the embodiment, these are merely examples and are not limited to the above description.

10 最適化装置
11a0~11an 焼鈍部
12 交換制御部
12a 第1対応情報保持部
12b 第2対応情報保持部
12c 交換演算回路
12d 出力制御回路
15,15a 第1対応情報
16,16a 第2対応情報
E エネルギー
β 逆温度
10 Optimization device 11a0-11an Annealing part 12 Exchange control unit 12a First correspondence information holding unit 12b Second correspondence information holding unit 12c Exchange calculation circuit 12d Output control circuit 15, 15a First correspondence information 16, 16a Second correspondence information E Energy β reverse temperature

Claims (5)

エネルギーを表す評価関数に含まれる複数の状態変数の何れかの値が変化する状態遷移が起こる場合、前記複数の状態変数の各々の値の変化に伴う前記エネルギーの変化と温度に基づいて、前記複数の状態変数の何れの値の変化を受け入れるかを確率的に決定する複数の焼鈍部と、
前記複数の焼鈍部の各々を識別する第1識別情報と、前記複数の焼鈍部の各々に割り当てられている前記温度との対応関係を示し、前記第1識別情報を前記温度の低い順または高い順に配列した第1対応情報と、前記第1識別情報と前記温度との対応関係を示し、前記温度を前記第1識別情報の順に配列した第2対応情報とを保持し、前記第1対応情報に基づいて、前記複数の焼鈍部から、前記温度を交換する候補である第1の焼鈍部と第2の焼鈍部とを選択し、前記第1の焼鈍部と前記第2の焼鈍部の各々の前記エネルギーと前記温度とに基づいた交換確率にしたがって、前記温度の交換を行うか否かを決定し、交換を行う場合には、前記第1対応情報と前記第2対応情報とを更新し、更新した前記第2対応情報に基づいて、前記温度を表す温度情報を対応する前記複数の焼鈍部の各々に供給する交換制御部と、
を有する最適化装置。
When a state transition occurs in which the value of any of a plurality of state variables included in the evaluation function representing energy changes, the change in energy and the temperature associated with the change in the value of each of the plurality of state variables are used. Multiple burn-in parts that probabilistically determine which value change of multiple state variables is to be accepted,
The correspondence relationship between the first identification information for identifying each of the plurality of annealed portions and the temperature assigned to each of the plurality of annealed portions is shown, and the first identification information is given in ascending order or higher temperature. The first correspondence information arranged in order, the correspondence relationship between the first identification information and the temperature are shown, and the second correspondence information in which the temperature is arranged in the order of the first identification information is held, and the first correspondence information is held. A first and second annealed portions, which are candidates for exchanging the temperature, are selected from the plurality of annealed portions, and each of the first annealed portion and the second annealed portion is selected. It is determined whether or not to exchange the temperature according to the exchange probability based on the energy and the temperature of the above, and when the exchange is performed, the first correspondence information and the second correspondence information are updated. , An exchange control unit that supplies temperature information representing the temperature to each of the corresponding plurality of annealing units based on the updated second correspondence information.
Optimizer with.
前記第1対応情報と前記第2対応情報における前記温度は、前記温度を識別する第2識別情報で表され、
前記交換制御部は、前記温度と前記第2識別情報との対応関係を示す第3対応情報を保持し、前記第3対応情報に基づいて、前記第1の焼鈍部と前記第2の焼鈍部の各々を識別する前記第1識別情報に対応付けられた前記第2識別情報を、前記温度に変換する、請求項1に記載の最適化装置。
The temperature in the first correspondence information and the second correspondence information is represented by the second identification information for identifying the temperature.
The exchange control unit holds a third correspondence information indicating a correspondence relationship between the temperature and the second identification information, and based on the third correspondence information, the first annealing section and the second annealing section. The optimization device according to claim 1, wherein the second identification information associated with the first identification information that identifies each of the above is converted into the temperature.
前記交換制御部は、
前記第1対応情報を保持する第1対応情報保持部と、
前記第2対応情報を保持する第2対応情報保持部と、
前記第1対応情報保持部に保持された前記第1対応情報に基づいて、前記第1の焼鈍部と前記第2の焼鈍部とを選択し、前記交換確率にしたがって、前記温度の交換を行うか否かを決定し、交換を行う場合には、前記第1対応情報と前記第2対応情報とを更新する交換演算回路と、
更新した前記第2対応情報に基づいて、前記温度情報を対応する前記複数の焼鈍部の各々に供給する出力制御回路と、
を有する請求項1または2に記載の最適化装置。
The exchange control unit
The first correspondence information holding unit which holds the first correspondence information and
A second correspondence information holding unit that holds the second correspondence information, and
Based on the first correspondence information held in the first correspondence information holding section, the first annealing section and the second annealing section are selected, and the temperature is exchanged according to the exchange probability. An exchange calculation circuit that updates the first correspondence information and the second correspondence information when it is determined whether or not the information is exchanged and exchange is performed.
An output control circuit that supplies the temperature information to each of the corresponding plurality of annealed portions based on the updated second correspondence information.
The optimization device according to claim 1 or 2.
前記第1の焼鈍部と前記第2の焼鈍部は、前記温度が隣接する2つの焼鈍部である、請求項1乃至3の何れか一項に記載の最適化装置。 The optimization device according to any one of claims 1 to 3, wherein the first annealing portion and the second annealing portion are two annealing portions having adjacent temperatures. 複数の焼鈍部の各々が、エネルギーを表す評価関数に含まれる複数の状態変数の何れかの値が変化する状態遷移が起こる場合、前記複数の状態変数の各々の値の変化に伴う前記エネルギーの変化と温度に基づいて、前記複数の状態変数の何れの値の変化を受け入れるかを確率的に決定し、
交換制御部が、前記複数の焼鈍部の各々を識別する第1識別情報と、前記複数の焼鈍部の各々に割り当てられている前記温度との対応関係を示し、前記第1識別情報を前記温度の低い順または高い順に配列した第1対応情報と、前記第1識別情報と前記温度との対応関係を示し、前記温度を前記第1識別情報の順に配列した第2対応情報とを保持し、前記第1対応情報に基づいて、前記複数の焼鈍部から、前記温度を交換する候補である第1の焼鈍部と第2の焼鈍部とを選択し、前記第1の焼鈍部と前記第2の焼鈍部の各々の前記エネルギーと前記温度とに基づいた交換確率にしたがって、前記温度の交換を行うか否かを決定し、交換を行う場合には、前記第1対応情報と前記第2対応情報とを更新し、更新した前記第2対応情報に基づいて、前記温度を表す温度情報を対応する前記複数の焼鈍部の各々に供給する、
最適化装置の制御方法。
When a state transition occurs in which the value of any of the plurality of state variables included in the evaluation function representing the energy changes in each of the plurality of burned parts, the energy of the plurality of state variables is changed due to the change of the value of each of the plurality of state variables. Based on the change and the temperature, it is probabilistically determined which value of the plurality of state variables is to be changed.
The exchange control unit shows the correspondence between the first identification information for identifying each of the plurality of annealing portions and the temperature assigned to each of the plurality of annealing portions, and the first identification information is the temperature. The first correspondence information arranged in the order of the lowest or the highest, and the second correspondence information in which the temperature is arranged in the order of the first identification information, showing the correspondence relationship between the first identification information and the temperature, are retained. Based on the first correspondence information, the first annealed portion and the second annealed portion, which are candidates for exchanging the temperature, are selected from the plurality of annealed portions, and the first annealed portion and the second ablated portion are selected. It is determined whether or not to exchange the temperature according to the exchange probability based on the energy and the temperature of each of the annealed portions of the annealed portion, and when the exchange is performed, the first correspondence information and the second correspondence The information is updated, and based on the updated second correspondence information, the temperature information representing the temperature is supplied to each of the corresponding plurality of annealing portions.
How to control the optimizer.
JP2018088305A 2018-05-01 2018-05-01 Optimization device and control method of optimization device Active JP7004906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018088305A JP7004906B2 (en) 2018-05-01 2018-05-01 Optimization device and control method of optimization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018088305A JP7004906B2 (en) 2018-05-01 2018-05-01 Optimization device and control method of optimization device

Publications (2)

Publication Number Publication Date
JP2019194765A JP2019194765A (en) 2019-11-07
JP7004906B2 true JP7004906B2 (en) 2022-01-21

Family

ID=68469627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018088305A Active JP7004906B2 (en) 2018-05-01 2018-05-01 Optimization device and control method of optimization device

Country Status (1)

Country Link
JP (1) JP7004906B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7339539B2 (en) 2020-01-15 2023-09-06 富士通株式会社 Optimization device, temperature setting method for optimization device, and temperature setting program for optimization device
US11836651B2 (en) * 2020-03-05 2023-12-05 Fujitsu Limited Automatic adjustment of replica exchange
JP2021184148A (en) 2020-05-21 2021-12-02 富士通株式会社 Optimization device, optimization method, and optimization program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007270659A (en) 2006-03-30 2007-10-18 Toho Gas Co Ltd Cogeneration optimization method and facility proposal system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3215351B2 (en) * 1997-04-30 2001-10-02 富士通株式会社 Arrangement method
JP6468254B2 (en) * 2016-07-01 2019-02-13 富士通株式会社 Information processing apparatus, Ising apparatus, and information processing apparatus control method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007270659A (en) 2006-03-30 2007-10-18 Toho Gas Co Ltd Cogeneration optimization method and facility proposal system

Also Published As

Publication number Publication date
JP2019194765A (en) 2019-11-07

Similar Documents

Publication Publication Date Title
JP6465231B1 (en) Optimization device and control method of optimization device
JP7004906B2 (en) Optimization device and control method of optimization device
CN111210046B (en) Optimizing apparatus and control method of optimizing apparatus
JP7100257B2 (en) Optimization device and control method of optimization device
JP7197789B2 (en) Optimization device and control method for optimization device
JP7007585B2 (en) Optimization device, optimization device control method, and optimization device control program
JP7053995B2 (en) Optimization device and control method of optimization device
JP6923790B2 (en) Optimization device and control method of optimization device
US11244026B2 (en) Optimization problem arithmetic method and optimization problem arithmetic device
CN111381495B (en) Optimization device and control method of optimization device
JP7137064B2 (en) Optimization device and control method for optimization device
JP2020173661A (en) Optimization device and method for controlling optimization device
US20200272682A1 (en) Information processing apparatus and method for controlling sampling apparatus
JP2021039640A (en) Learning device, learning system, and learning method
CN111930007B (en) Optimization device and method for controlling the same
CN113283046A (en) Optimization device, optimization method, and recording medium
JP7111966B2 (en) Optimization device and control method for optimization device
US11409836B2 (en) Optimization problem arithmetic method and optimization problem arithmetic apparatus
JP7256378B2 (en) Optimization system and method of controlling the optimization system
CN116128334A (en) Quality inspection task scheduling method, equipment and medium
JP7489275B2 (en) Information processing device, information processing system, and information processing method
CN115270686A (en) Chip layout method based on graph neural network
WO2020054061A1 (en) Optimization device, control method for optimization device, and control program for optimization device
US20200089475A1 (en) Optimization problem arithmetic method and optimization problem arithmetic apparatus
CN107636765B (en) Matrix processing method and device and machine readable medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210210

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20210218

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20210218

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211124

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211130

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211213

R150 Certificate of patent or registration of utility model

Ref document number: 7004906

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150