Optimization device, optimization method and recording medium

By dividing large-scale discrete optimization problems into multiple sub-problems and allocating calculations among multiple Ising machines, the problem of low computational efficiency of Ising machines is solved, efficient parallel computing is achieved, and the solution search performance of large-scale problems is improved.

CN113283046BActive Publication Date: 2024-09-06FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110056655.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-02-19
Filing Date
2021-01-15
Publication Date
2024-09-06
Estimated Expiration
2041-01-15

AI Technical Summary

Technical Problem

When using Ising machines to calculate large-scale discrete optimization problems, as the problem size increases, the number of weight coefficients increases sharply, resulting in reduced storage and computing efficiency. It is difficult for existing technologies to effectively utilize Ising machines for parallel computing, resulting in computational efficiency low.

Method used

By dividing the problem into multiple sub-problems and allocating the respective sub-problems among multiple Ising machines, each Ising machine stores and calculates the value of its corresponding set of state variables, and exchanges solution candidates within a unit period, To achieve parallel computing and improve computing efficiency.

Benefits of technology

It improves the computing efficiency of Ising machines, ensures that each Ising machine can work effectively within a unit period, satisfies the principle of minimizing the energy of the Ising model by the Markov chain Monte Carlo method, and improves the solution search performance of large-scale problems. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113283046B_ABST
    Figure CN113283046B_ABST
Patent Text Reader

Abstract

An optimization device, an optimization method, and a recording medium are disclosed. An optimization device includes: a plurality of Ising machines, each of which searches for solutions to subproblems among a plurality of subproblems obtained by dividing a problem represented by an Ising model, each of the plurality of Ising machines including: a storage unit storing values ​​of state variable sets corresponding to subproblems to be calculated for a plurality of groups; a search unit performing a process of calculating a second solution candidate for each of the plurality of groups based on first solution candidates of subproblems calculated by other Ising machines by changing the group to be processed per unit period, so that a second solution candidate is calculated for a state variable set of a group different from that processed by other Ising machines within the same unit period; and a communication unit sending the second solution candidate to other Ising machines at the end of each unit period.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments discussed herein relate to an optimization apparatus, an optimization method, and a recording medium. Background Art

[0002] As a device for calculating large discrete optimization problems that are not easily handled by Neumann-type computers, there is an Ising machine (also called a Boltzmann machine) that uses an Ising-type energy function (also called a cost function or an objective function).

[0003] In calculations by the Ising machine, the problem to be calculated is replaced by the Ising model, which is a model representing the spin behavior of a magnetic body. Based on a Markov chain Monte Carlo method such as a simulated annealing method or a replica exchange method (also known as an exchange Monte Carlo method), a state that minimizes the value of an Ising model-type energy function (corresponding to the energy of the Ising model) is searched.

[0004] In the calculation by the Ising machine, a weight coefficient representing the size of the interaction between each state variable is used. When the number of state variables increases due to the increase in the scale of the problem, the number of weight coefficients also increases. In the fully coupled Ising machine, which is excellent in flexibility when replacing the problem with the Ising model and can consider the interaction between all state variables, the weight coefficients to be stored are proportional to the square of the number of state variables. Therefore, in the case where the Ising machine is implemented by a single device (e.g., a chip), there is a possibility that all weight coefficients cannot be stored in the internal memory. There is a method in which the weight coefficients are stored in a large-capacity storage device, the sub-problems obtained by dividing the problem are transferred to the Ising calculation unit, and the calculation is performed by appropriately swapping the sub-problems to be transferred, but it takes time to swap the weight coefficients used to calculate each sub-problem.

[0005] In the related art, in order to speed up the processing by the Markov chain Monte Carlo method, there is a method in which the same Ising model is assigned to each of a plurality of Ising chips and the processing is performed in parallel. There is also a method in which a problem is divided into a plurality of sub-problems, and the plurality of sub-problems are assigned to a plurality of Ising chips, and calculations for the respective sub-problems are performed in parallel.

[0006] Related technologies are disclosed, for example, in Japanese Laid-Open Patent Publication No. 2018-206127 and Japanese Laid-Open Patent Publication No. 2016-51350.

[0007] The principle of energy minimization of the Ising model by the Markov Chain Monte Carlo method is to sequentially update the values ​​of the state variables (the value of 1 bit is inverted).

[0008] In the case of applying a method of dividing a problem into sub-problems and performing solution search by multiple Ising machines, in order to satisfy the principle, when any one of the multiple Ising machines updates the value of the state variable, the other Ising machines do not perform the update but are in a pause state. Therefore, the operation unit in each Ising machine may not be effectively used, and the calculation efficiency is reduced.

[0009] In one aspect, an object of an embodiment is to provide an optimization method that can improve the computational efficiency of an optimization device. Summary of the invention

[0010] According to one aspect of the implementation, an optimization device includes: multiple Ising machines, each of which searches for solutions to sub-problems among multiple sub-problems obtained by dividing a problem represented by an Ising model, each of the multiple Ising machines includes: a storage unit, which stores values ​​of state variable sets corresponding to sub-problems to be calculated for multiple groups; a search unit, which performs processing of calculating second solution candidates for each of the multiple groups based on first solution candidates of sub-problems calculated by other Ising machines by changing the group to be processed in each unit time period, so that the second solution candidate is calculated for the state variable set of a group different from the group processed by other Ising machines within the same unit time period; and a communication unit, which sends the second solution candidate to other Ising machines whenever the unit time period ends.

[0011] In one aspect, this implementation can improve computational efficiency in an optimization device. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a diagram showing an example of an optimization device according to the first embodiment;

[0013] Figure 2 is a flowchart showing an example flow of control of an optimization device by a control device;

[0014] Figure 3 is a flowchart showing the flow of an example of the operation of an optimization device;

[0015] Figure 4 is a diagram showing an example of an optimization device according to a second embodiment;

[0016] Figure 5 is a diagram showing an example of subproblems to be calculated in each Ising machine, local fields used for calculation, and weight coefficients;

[0017] Figure 6 is a diagram showing an example of an Ising machine;

[0018] Figure 7 is a diagram showing an example in which a state is fixed;

[0019] Figure 8 is a block diagram showing a hardware example of a controller;

[0020] Fig. 9 is a diagram showing an example of the operation of each Ising machine in a case where the processing order of states in each replica group is fixed;

[0021] Fig.10 is a diagram showing a transition example of a state after a search process within a unit period T4;

[0022] Fig.11 is a diagram showing an example of the operation of each Ising machine in the case where the processing order of states in each replica group is changed in the MCMC processing unit; and

[0023] Fig.12 is a diagram showing a transition example of the state after the search process within the unit period T10. DETAILED DESCRIPTION

[0024] Embodiments of the present disclosure are described below with reference to the drawings.

[0025] (First Embodiment)

[0026] Figure 1 is a diagram showing an example of the optimization device according to the first embodiment.

[0027] The optimization apparatus 10 according to the first embodiment includes a plurality of Ising machines 11a1, 11a2, ..., and 11an.

[0028] Each of the Ising machines 11a1 to 11an searches for a solution (a combination of values ​​of state variables that minimizes the energy of the Ising model) to any subproblem among a plurality of subproblems obtained by dividing the problem represented by the Ising model. The problem represented by the Ising model includes various discrete optimization problems.

[0029] The energy of the Ising model of the entire problem is defined by, for example, an energy function E(x), which is represented by the following equation (1).

[0030]

[0031] The first term on the right side accumulates the products of the two state variable values ​​and the weight coefficients without missing or overlapping among all combinations of two state variables selected from the N state variables included in the Ising model. i is the i-th state variable. j is the jth state variable. ij is a weight coefficient representing the weight (e.g., the strength of coupling) between the i-th state variable and the j-th state variable. ii =0.ij = W ji 。

[0032] The second term on the right side is the sum of the products of the bias coefficients of the state variables and the values of the state variables for all state variables. b i represents the bias coefficient of the i-th state variable. c is a constant.

[0033] For example, in the Ising model, a spin of "-1" corresponds to a state variable value of "0", and a spin of "+1" corresponds to a state variable value of "1". Therefore, the state variables can be referred to as "bits" with values of 0 or 1.

[0034] The combination of the values of the state variables that minimizes the value of equation (1) is the solution to the problem.

[0035] The energy of the Ising model for handling sub-problems of state variables i = 1 to K (K < N), where the state variables i = 1 to K are some of the N (N-bit) state variables, is defined by the energy function E'(x), and this energy function is represented, for example, by the following equation (2).

[0036]

[0037] In equation (2), b' i and c' can be expressed as equations (3) and (4).

[0038]

[0039]

[0040] When searching for the solution to the sub-problem of handling state variables i = 1 to K (K < N), the values of state variables i = K + 1 to N are fixed. The second term on the right side of equation (3) represents the contribution of the state variables set to fixed values to the bias coefficients, and the third and fourth terms on the right side of equation (4) represent the contribution of the state variables set to fixed values to the constant.

[0041] The case where N state variables are partitioned into n by K and thus n sub-problems are obtained is described below. In this case, a set of state variables (state variable set) corresponding to the sub-problem to be calculated by the Ising machine 11a1 is x1 to x K , and the set of state variables corresponding to the sub-problem to be calculated by the Ising machine 11a2 is x K+1 to x 2K . The set of state variables corresponding to the sub-problem to be calculated by the Ising machine 11an is x (n-1)K+1 to x N .

[0042] Each of the Ising machines 11a1 to 11an includes a storage unit 11b1, 11b2, ..., or 11bn, a search unit 11c1, 11c2, ..., or 11cn, and a communication unit 11d1, 11d2, ..., or 11dn.

[0043] The storage units 11b1 to 11bn store the values ​​of the state variable sets corresponding to the sub-problems to be calculated for multiple groups (n groups in the following example). For example, the storage unit 11b1 stores the state variable sets (x1 to x2) corresponding to the sub-problems under the Ising machine 11a1 for n groups. K ).

[0044] The storage units 11b1 to 11bn also store weight coefficients and the like used in the processing in the search units 11c1 to 11cn. For example, the storage unit 11b1 of the Ising machine 11a1 stores weight coefficients used to calculate equations (2) and (3). The first term on the right side of equation (2) includes W ij is x1 to x K The weight coefficient between . The second term on the right side of equation (3) includes W ij is x1 to x K Each of the K+1 to x N The weight coefficient between each of them.

[0045] The third term on the right side of equation (4) includes W ij is x K+1 to x N The weight coefficient between , and cannot be stored in the storage unit 11b1. The control device 15 outside the Ising machines 11a1 to 11an can be based on x as a fixed value K+1 to x N The value of, its offset value, x K+1 to x N The weight coefficient between and c is used to calculate c' of equation (4). In this case, c' calculated by the control device 15 is sent to the Ising machine 11a1, stored in the storage unit 11b1, and used to calculate E'(x). Therefore, in W ij =W ji In this case, the number of weight coefficients stored in the storage unit 11b1 can be K×N among N×N.

[0046] The same applies to the other storage units 11 b 2 to 11 bn, and K×N weight coefficients may be stored in each of the other storage units 11 b 2 to 11 bn.

[0047] The storage units 11b1 to 11bn are implemented by electronic circuits such as static random access memory (SRAM) and high bandwidth memory (HBM), for example. In the Ising machine 11a1, x1 to x2 are K The weight coefficients between x1 and x K When any value of is updated it is used to calculate the energy change and is therefore stored in, for example, SRAM.

[0048] Each of the search units 11c1 to 11cn calculates a solution candidate for a subproblem for a state variable set of each of n groups assigned with group numbers (g0, g1, . . . , and g n-1 For example, the search unit 11c1 of the Ising machine 11a1 searches for n groups (hereinafter, referred to as groups g0, g1, . . . , and g n-1 ) of the state variable set (x1 to x K ) to calculate solution candidates.

[0049] The solution candidates are calculated by using a Markov chain Monte Carlo method such as a simulated annealing method or a replica exchange method. For example, the search unit 11c1 calculates the solution candidates for x1 to x2. K Each calculation in x1 to x K The change (update) of E'(x) caused by the change (energy change) of one of them, and randomly accepts the following form of change: preferably the change that reduces E'(x). K Among them, due to x i The energy change caused by the change in i ) can be expressed as the following equation (5).

[0050]

[0051] In equation (5), when x i When Δx changes from 1 to 0, i is equal to -1, and when the state variable x i When Δx changes from 0 to 1, i is equal to 1. i is called a local field, and h i According to Δx i The product of the signs (+1 or -1) is ΔE' i .

[0052] Accompany x j The value of h i The change in Δx j When it is 1, it can be expressed as +W ij , and in Δx jWhen it is -1, it means -W ij For example, we can use Δx j By adding i Increase W ij Or from the original h i Subtract W ij To update h i .

[0053] However, the search unit 11c1 fixes the value (x K+1 to x N The search unit 11c1 also randomly allows E'(x) to increase. The search unit 11c1 repeats such processing until the search end condition is met (for example, whether the predetermined number of repetitions has ended), and when the search end condition is met, x1 to x K The value of is set to the solution candidate within the unit time period.

[0054] When the solution candidates of the subproblems of each group are obtained, the searching unit 11c1 calculates E'(x) according to equation (2).

[0055] In the case where each of the plurality of Ising machines 11 a 1 to 11 an includes a plurality of replicas, each of the plurality of replicas calculates a solution candidate for each of n groups in the search unit 11 c 1 , and calculates E′(x).

[0056] Each of the search units 11c2 to 11cn also performs an operation similar to the above-described operation.

[0057] However, each of the search units 11c1 to 11cn performs the process of calculating solution candidates by changing the group processed per unit period. Within the same unit period, each of the search units 11c1 to 11cn calculates solution candidates for a state variable set of a group different from the group processed by other Ising machines. For example, within the same unit period, each of the search units 11c1 to 11cn calculates solution candidates for a state variable set of a group assigned a group number different from the group number of other groups processed by other Ising machines. For example, in the search unit 11c1, x1 to x2 of the group g0 are calculated. K Within the unit period of calculating solution candidates, the search units 11c2 to 11cn calculate solution candidates for the state variable sets of the groups different from the group g0.

[0058] The search units 11c1 to 11cn may be implemented, for example, by an electronic circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The configuration is not limited thereto, and part or all of the search units 11c1 to 11cn may be implemented by software processing generated by executing a program by a processor such as a central processing unit (CPU) or a graphics processing unit (GPU).

[0059] Each time a unit period ends, the communication units 11d1 to 11dn send the calculated solution candidates to other Ising machines. For example, the communication unit 11d1 sends x1 to x2 for the group g0. K The calculated solution candidates are sent to the Ising machines 11a2 to 11an.

[0060] The communication units 11d1 to 11dn are realized by various electronic circuits. For example, electronic circuits that perform communication in accordance with an interface standard such as Peripheral Component Interconnect (PCI) Express are used as the communication units 11d1 to 11dn.

[0061] The control device 15 controls the optimization device 10. For example, the control device 15 divides the problem into sub-problems, sets the sub-problems to each of the Ising machines 11a1 to 11an, sets operations, sets the groups to be processed in each unit period, indicates the transfer of the calculated solution candidates, etc. The control device 15 can receive the values ​​of the state variable set sent by the Ising machines 11a1 to 11an, and calculate c' by equation (4). The control device 15 can receive the energy of the Ising model corresponding to the solution candidate of each sub-problem sent by the Ising machines 11a1 to 11an, and calculate the energy E(x) of equation (1) by the sum of the received energies.

[0062] The control device 15 may be a processor such as a CPU or a GPU or a computer such as a personal computer (PC). The control device 15 performs the processing described above by executing a control program for the optimization device 10 stored in a memory (not shown).

[0063] The following describes an example of the operation of the optimization device 10 according to the first embodiment and the control of the optimization device 10 by the control device 15.

[0064] Figure 2 : is a flowchart showing an example flow of control of an optimization device by a control device.

[0065] The control device 15 determines the operation parameters, such as the size of the subproblem according to the scale of the problem to be calculated, the number of Ising machines 11a1 to 11an, etc. (step S1). In the case where an N-bit problem is divided into n subproblems, the control device 15 sets the size of the subproblem to N / n bits.

[0066] In the case where the replica exchange method is used when calculating solution candidates in each of the Ising machines 11a1 to 11an, the control device 15 determines the number of replicas per group = R / n as one of the operating parameters when the number of replicas is R. Other examples of the operating parameters include the maximum and minimum values ​​of the temperature parameter used in the simulated annealing method and the replica exchange method, a change schedule of the temperature parameter, and the like.

[0067] The control device 15 divides the problem based on the determined operating parameters (step S2), and sets a sub-problem in each of the Ising machines 11a1 to 11an (step S3). The sub-problem is set, for example, by sending the index of each state variable in the state variable set corresponding to each sub-problem and the weight coefficient and bias coefficient used to calculate each sub-problem to the Ising machines 11a1 to 11an. The control device 15 may divide the sub-problems x1 to x2 into the sub-problems x1 to x3. N The initial value of is sent to the Ising machines 11a1 to 11an. For example, index (i) = 1 to K, x1 to x N The initial value of x l to x K The weight coefficient between them, and x l to x K Each of the K+1 to x N The weight coefficient between each of the l To b k Sent to Ising machine 11a1.

[0068] The control device 15 sets the operation of the Ising machines 11a1 to 11an (step S4). In the process of step S4, the number of repetitions and various operation parameters of the solution candidate calculation process (hereinafter, referred to as the search process in some cases) performed by the search units 11c1 to 11cn in the unit time period are specified for the Ising machines 11a1 to 11an.

[0069] The control device 15 sets the groups to be processed (step S5). For example, the control device 15 sets the groups to be processed in each of the Ising machines 11a1 to 11an so that the processing order of the state variable sets in the same group is x1 to x2. K 、x K+1 to x 2K , ..., and x (n-1)K+1 to x N The control device 15 may change the processing order of the state variable sets corresponding to each sub-problem in the same group at a predetermined processing time. For example, the control device 15 may randomly determine the processing order by using a random value.

[0070] However, the control device 15 changes the group processed by the same Ising machine for each unit period of the search process, and sets the processing order so that different groups are processed among the Ising machines 11a1 to 11an within the same unit period.

[0071] The control device 15 instructs each of the Ising machines 11a1 to 11an to perform a search process (step S6). In the case that all the Ising machines 11a1 to 11an have not completed the search process within the unit period (step S7: No), the control device 15 stands by until the search process is completed, and in the case that the search process is completed (step S7: Yes), the control device 15 proceeds to the process of step S8.

[0072] In the process of step S8, the control device 15 instructs the Ising machines 11a1 to 11an to shift to the state of becoming solution candidates and perform post-processing. The post-processing includes, for example, calculation of E'(x) of equation (2) and calculation of equation (3) for search processing in the next unit period.

[0073] The control device 15 receives E′(x) and solution candidates of each group calculated by each of the Ising machines 11a1 to 11an, and calculates the total energy of each group (E(x) of equation (1)) by summing E′(x) of each group (step S9 ).

[0074] In the case where a predetermined search end condition is satisfied (e.g., whether a predetermined number of repetitions has ended, whether a target energy has been reached, etc.), the control device 15 determines that the entire search is completed (step S10: Yes), and instructs the optimization device 10 to end the search (step S11). The control device 15 ends the control of the optimization device 10. In the case where the predetermined search end condition is not satisfied, the control device 15 determines that the entire search is not completed (step S10: No), and repeats the process from step S5.

[0075] For example, until it is determined that the entire search is completed, the control device 15 outputs x1 to x2 when the minimum energy is obtained in all groups. N The value of is taken as the solution to the problem. The control device 15 outputs the obtained solution to, for example, a display device (not shown) for display. Alternatively, the control device 15 may output the obtained solution to a memory (not shown) for storage, or send the obtained solution to another information processing device via a network.

[0076] The following describes a flow of an example of the operation of the optimization device 10 (the optimization method of the optimization device 10 ).

[0077] Figure 3 is a flowchart showing the flow of an example of the operation of the optimization device.

[0078] The Ising machines 11a1 to 11an of the optimization device 10 receive the settings of the subproblems by the control device 15 (step S20). In the process of step S20, the communication units 11d1 to 11dn of the Ising machines 11a1 to 11an receive, for example, the index of each state variable in the state variable set corresponding to each subproblem and the weight coefficient and bias coefficient used to calculate each subproblem from the control device 15. The storage units 11b1 to 11bn store the indexes, x1 to x2 received by the communication units 11d1 to 11dn. N For example, the storage unit 11b1 of the Ising machine 11a1 stores index (i) = 1 to K, x1 to x2. N The initial value of x1 to x K The weight coefficient between them, and x l to x K Each of the K+1 to x N The weight coefficient between each of the l To b k .

[0079] The Ising machines 11a1 to 11an receive the operation settings of the control device 15 (step S21). In the process of step S21, the communication units 11d1 to 11dn of the Ising machines 11a1 to 11an receive the number of repetitions and various operation parameters of the search processing in the unit time period by the search units 11c1 to 11cn. The storage units 11b1 to 11bn store the number of repetitions and various operation parameters received by the communication units 11d1 to 11dn.

[0080] The Ising machines 11a1 to 11an accept the setting of the group to be processed by the control device 15 (step S22). In the process of step S22, the communication units 11d1 to 11dn receive information indicating the group to be processed, and the storage units 11b1 to 11bn store the received information.

[0081] When the Ising machines 11a1 to 11an receive an instruction to execute a search process from the control device 15 (step S23), the Ising machines 11a1 to 11an execute a search process based on the operation parameters stored in the storage units 11b1 to 11bn, information indicating a group to be processed, and the like (step S24).

[0082] In the search process of the first unit period, the search units 11c1 to 11cn calculate energy changes for the search process by using the initial values ​​of the state variable sets calculated by other Ising machines as fixed values. For example, the search unit 11c1 calculates the local field (h i ), to calculate ΔE' in equation (5) i. It can be calculated by equation (3) to calculate h i B' i . x in equation (3) j is the fixed value mentioned above.

[0083] The search process is performed by changing the group of state variable sets processed per unit period by setting the processing order by the control device 15. The search process is performed on a group of state variable sets different from the group processed by other Ising machines within the same unit period.

[0084] exist Figure 1 In the example of FIG. 1 , the search unit 11c1 of the Ising machine 11a1 searches for x1 to x2 of the group g0. K During the unit period of performing the search process, the search unit 11c2 of the Ising machine 11a2 searches for x of the group g1. K+1 to x 2K Execute the search process. In this unit period, the search unit 11cn searches the group g n-1 x (n-1)K+1 to x N Perform search processing.

[0085] The search units 11c1 to 11cn determine whether the search process within the unit period is completed, for example, based on whether the search process is performed the number of times stored in the storage units 11b1 to 11bn (step S25). In the case where it is determined that the search process within the unit period is not completed, the process of step S24 is repeated. In the case where it is determined that the search process within the unit period is completed, the process of step S26 is performed.

[0086] In the process of step S26, the communication units 11d1 to 11dn notify the control device 15 that the search process within the unit period has been completed (step S26).

[0087] When each of the Ising machines 11a1 to 11an receives an instruction for state transfer and post-processing from the control device 15 (step S27), each of the Ising machines 11a1 to 11an transfers the state that becomes a solution candidate to another Ising machine and performs post-processing (step S28). The state that becomes a solution candidate may also be transferred to the control device 15.

[0088] For example, Figure 1 As shown, the communication unit 11d1 of the Ising machine 11a1 transmits x1 to x K Transfer to Ising machines 11a2 to 11an, the group x1 to x K The communication unit 11d2 of the Ising machine 11a2 sends x of the group g1 to the communication unit 11d2 of the Ising machine 11a2. K+1 to x 2KTransfer to the Ising machine other than Ising machine 11a2, the x of g1 K+1 to x 2K The communication unit 11dn of the Ising machine 11an sets the group g n-1 x (n-1)K+1 to x N Transfer to the Ising machine other than the Ising machine 11an, the group g n-1 x (n-1)K+1 to x N It is a state that becomes a solution candidate and is obtained in the search process within the unit period. The storage units 11b1 to 11bn of the Ising machines 11a1 to 11an that have received the transferred state store the received state.

[0089] As post-processing, the search units 11c1 to 11cn calculate the local field for each group based on the state stored in the storage units 11b1 to 11bn, the value of the state variable set corresponding to the sub-problem that the search unit itself is responsible for calculating, the weight coefficient, etc., for the next search process. The calculation of the local field is performed for each group.

[0090] For example, the search unit 11c1 calculates ΔE′ used to calculate equation (5): i h i . It can be calculated by equation (3) to calculate h i B' i As x in equation (3) j , x K+1 to x N (The state of transfer from the Ising machines 11a2 to 11an) is used as a fixed value.

[0091] The search units 11c2 to 11cn also use similar equations to calculate the local field. For example, when the search unit 11c2 calculates the local field, in equations (3) and (5), i can be set to K+1 to 2K, and the second term on the right side of equation (3) can be set to W by setting j=1 to K. ij x j The sum of j = 2K + 1 to N W ij x j In equation (5), 2K may be used instead of K, and j may be set to K+1 to 2K.

[0092] In post-processing, search units 11c1 to 11cn calculate E'(x) for each group. Search unit 11c1 calculates E'(x) according to equation (2). In the calculation of E'(x), c' calculated by control device 15 based on equation (4) is used. Search units 11c2 to 11cn also calculate E'(x) using similar equations. For example, when search unit 11c2 calculates E'(x), the second term on the right side of equation (2) may be W in the range of i,j=K+1 to 2K. ij x i x j sum.

[0093] The communication units 11d1 to 11dn of the Ising machines 11a1 to 11an transmit E'(x) of each subproblem to the control device 15 (step S29). In the case where the communication units 11d1 to 11dn of the Ising machines 11a1 to 11an receive an instruction to end the search from the control device 15 (in the case of receiving an instruction to end the search) (step S30: Yes), the search units 11c1 to 11cn end the search process. In the case where no instruction to end the search is received from the control device 15 (step S30: No), the process is repeated from step S22.

[0094] Figure 2 and Figure 3 The processing order in is an example, and the processing order can be appropriately replaced.

[0095] According to the optimization device 10 of the first embodiment as described above, each of the Ising machines 11a1 to 11an uses a state variable set corresponding to the sub-problem that the Ising machine itself is responsible for calculating for n groups. Each of the Ising machines 11a1 to 11an performs a search process by changing the group processed in each unit period, and performs a search process on a state variable set of a group different from the group processed by other Ising machines in the same unit period. Accordingly, since the update of the value of the state variable is performed sequentially in each group, the principle of minimizing the energy of the Ising model by the Markov chain Monte Carlo method is satisfied. When a certain Ising machine performs a search process on the state variable set of a certain group, another Ising machine can perform a search process on the state variable set of another group, and thus each Ising machine can work effectively and the calculation efficiency can be improved. Therefore, the solution search performance of the optimization device 10 for large-scale problems is improved.

[0096] (Second Embodiment)

[0097] Figure 4 is a diagram showing an example of an optimization device according to the second embodiment.

[0098] The optimization device 20 according to the second embodiment includes four Ising machines 21, 22, 23, and 24. For example, the optimization device 20 according to the second embodiment is an example of n=4 in the optimization device 10 according to the first embodiment. The optimization device 20 is controlled by a controller 30. The controller 30 is an example of the above-mentioned control device 15, and has a function similar to that of the control device 15.

[0099] Each of the Ising machines 21 to 24 has a function similar to that of each of the Ising machines 11 a 1 to 11 an of the optimization apparatus 10 according to the first embodiment.

[0100] In the following example, assume that from x1 to x N The problem represented by the N-bit Ising model of is divided into four sub-problems, and K (=N / 4) bits are allocated to each of the Ising machines 21 to 24 .

[0101] Figure 5 is a diagram showing an example of subproblems to be calculated in each Ising machine, local fields used for calculation, and weight coefficients.

[0102] x1 to x N The representation of x1 to x K x0 is the state corresponding to the subproblem calculated by the Ising machine 21. N The representation of x K+1 to x 2K x1 is the state corresponding to the subproblem calculated by the Ising machine 22. N The representation of x 2K+1 to x 3K X2 is the state corresponding to the subproblem calculated by the Ising machine 23. N The representation of x 3K+1 to x N X3 is the state corresponding to the subproblem calculated by the Ising machine 24.

[0103] In the Ising machines 21 to 24, states are used for four groups. Hereinafter, these four groups are referred to as replica groups 0, 1, 2, and 3. Hereinafter, X0 in each of the replica groups 0 to 3 is represented as X0-g0, X0-g1, X0-g2, or X0-g3. X1, X2, and X3 in each of the replica groups 0 to 3 are also represented in the same manner.

[0104] The local fields calculated in the Ising machines 21 to 24 are also calculated for each of the four groups. Hereinafter, the local fields calculated by the Ising machine 21 for each of the replica groups 0 to 3 are represented as LF0-g0, LF0-g1, LF0-g2, or LF0-g3. The local fields calculated by the Ising machines 22 to 24 for each of the replica groups 0 to 3 are also represented in the same manner.

[0105] Figure 5 An example is shown in which a weight coefficient matrix having N×N weight coefficients is divided into 4×4 weight coefficient groups ( W00 to W33 ).

[0106] The set of weight coefficients used by the Ising machine 21 is W00, W10, W20, and W30. W00 is a function of x1 to x K W10 is composed of weight coefficients between x1 and x K Each of the K+1 to x 2K The weight coefficients between each of the two are composed of W20, which is composed of x1 to x K Each of the 2K+1 to x 3K The weight coefficients between each of them are composed, and W30 is composed of x1 to x K Each of the 3K+1 to x N The weight coefficient between each of them.

[0107] The set of weight coefficients used by the Ising machine 22 is W01, W11, W21, and W31. W11 is determined by x K+1 to x 2K W01 is composed of x K+1 to x 2K Each of x1 to x K The weight coefficients between each of the two are composed of x K+1 to x 2K Each of the 2K+1 to x 3K The weight coefficients between each of them are composed of, and W31 is composed of x K+1 to x 2K Each of the 3K+1 to x N The weight coefficient between each of them.

[0108] The set of weight coefficients used by the Ising machine 23 is W02, W12, W22, and W32. W22 is determined by x 2K+1 to x 3K W02 is composed of the weight coefficients between x 2K+1 to x 3KEach of x1 to x K The weight coefficients between each of the two are composed of x 2K+1 to x 3K Each of the K+1 to x 2K The weight coefficients between each of them are composed of, and W32 is composed of x 2K+1 to x 3K Each of the 3K+1 to x N The weight coefficient between each of them.

[0109] The set of weight coefficients used by the Ising machine 24 is W03, W13, W23 and W33. W33 is determined by x 3K+1 to x N The weight coefficients between them are composed of W03 and W04. 3K+1 to x N Each of x1 to x K The weight coefficients between each of the two are composed of x 3K+1 to x N Each of the K+1 to x 2K The weight coefficients between each of them are composed of, and W23 is composed of x 3K+1 to x N Each of the 2K+1 to x 3K The weight coefficient between each of them.

[0110] Figure 6 is a diagram showing an example of an Ising machine. Figure 6 An example of the Ising machine 21 is shown. The Ising machines 22 to 24 are also implemented by a configuration similar to that of the Ising machine 21.

[0111] The Ising machine 21 includes a search unit 21a, a communication unit 21b, a local memory 21c1, and an HBM 21c2. For example, the search unit 21a, the communication unit 21b, and the local memory 21c1 are implemented by a semiconductor integrated circuit of one chip.

[0112] The search unit 21 a is an example of the search unit 11 c 1 of the optimization device 10 according to the first embodiment, and includes a solution search unit 21 a 1 and a LF (Local Field) calculation unit 21 a 2 .

[0113] The solution search unit 21a1 searches for X0-g0 to X0-g3 that minimizes E'(x) as shown in equation (2) based on the states calculated by the Ising machines 22 to 24 as other Ising machines.

[0114] The search process is performed by a Markov chain Monte Carlo method such as a simulated annealing method or a replica exchange method. For example, the solution search unit 21a1 performs a search for x1 to x2. K Each of the equations (5) is calculated due to x1 to x K The change in ΔE' i , preferentially accepting changes that decrease E'(x) and updating the state. The solution search unit 21a1 randomly allows changes that increase E'(x). The equation (5) used to calculate ΔE' i h i Updates as the state is updated.

[0115] In x j Update case h i The change in Δx can be j When it is 1, it means +W ij , and in Δx j When it is -1, it means -W ij Therefore, the solution search unit 21a1 will h i is held in a register (not shown) and can be adjusted according to Δx j It is towards h i Increase W ij Or from h i Subtract W ij To update h i .

[0116] The solution search unit 21a1 repeats such processing for each of the replica groups 0 to 3 until the search end condition within the unit period is satisfied (e.g., whether a predetermined number of repetitions has ended). The solution search unit 21a1 performs the search processing by changing the replica group processed per unit period based on the control of the controller 30. Within the same unit period, the solution search unit 21a1 performs the search processing on the state of the replica group different from the replica group processed by the other Ising machines.

[0117] The LF calculation unit 21 a 2 calculates a local field by fixing the states calculated by the Ising machines 22 to 24 .

[0118] Figure 7 is a diagram showing an example in which a state is fixed.

[0119] Figure 7 The state calculated by the Ising machine 22 includes x K+1 and x included in the state calculated by the Ising machine 24 N Is a fixed position (in Figure 7 In the example x K+1 =1 and x N =0).

[0120] The LF calculation unit 21a2 can determine the weight coefficient for calculating h by using the value of the fixed bit and the weight coefficient between the state variable included in the state calculated by the solution search unit 21a1 and the fixed bit through equation (3). i (i=1 to K) b' i For example, in Figure 7 Medium K With x K+1 The weight coefficient (W K,K+1 ) is used to calculate b' K , and x3 and x K+1 The weight coefficient (W 3,K+1 ) is used to calculate b'3.

[0121] The search unit 21a may be implemented, for example, by a dedicated electronic circuit such as an ASIC or an FPGA. The configuration is not limited thereto, and part or all of the search unit 21a may be implemented by software processing resulting from execution of a program by a processor such as a CPU or a GPU.

[0122] The communication unit 21b has a function similar to that of the communication unit 11d1 of the optimization device 10 according to the first embodiment, and whenever the search process within a unit period ends, sends the state obtained by the search process to the Ising machines 22 to 24. The communication unit 21b is, for example, a transceiver circuit that performs communication in accordance with an interface standard such as PCI Express.

[0123] The local memory 21c1 stores data used for the search process of the replica group currently being processed by the search unit 21a. For example, the local memory 21c1 stores data used for the search process of the replica group currently being processed by the search unit 21a1. Figure 5 W00, local fields ( Figure 5 Any one of LF0-g0 to LF0-g3) and status ( Figure 5 When the LF calculation unit 21a2 calculates b' of equation (3), i When the local memory 21c1 also stores Figure 5 As the local memory 21c1, for example, an SRAM is used.

[0124] The HBM 21c2 stores all data used for calculating the sub-problems to be calculated by the Ising machine 21. The HBM 21c2 stores, for example, Figure 5According to the processing performed by the solution searching unit 21a1 and the LF calculating unit 21a2, data used for the processing is read from the HBM 21c2 to the local memory 21c1.

[0125] Figure 8 is a block diagram showing a hardware example of a controller.

[0126] The controller 30 is, for example, a computer, and includes a CPU 31, a random access memory (RAM) 32, a hard disk drive (HDD) 33, an image signal processing unit 34, an input signal processing unit 35, a medium reader 36, a communication interface 37, and an interface 38. The above units are coupled to a bus.

[0127] The CPU 31 is a processor including an arithmetic circuit that executes program instructions. The CPU 31 loads at least a portion of the program and data stored in the HDD 33 into the RAM 32 and executes the program. The CPU 31 may include a plurality of processor cores, the controller 30 may include a plurality of processors, and the processing to be described below may be performed in parallel using a plurality of processors or processor cores. A group of a plurality of processors (multiprocessor) may be referred to as a "processor".

[0128] The RAM 32 is a volatile semiconductor memory that temporarily stores programs executed by the CPU 31 and data used for calculations by the CPU 31. The controller 30 may include a memory type or a plurality of memories other than the RAM.

[0129] The HDD 33 is a non-volatile storage device that stores programs and data of an operating system (OS) and software such as middleware and application software. The program includes, for example, a control program that causes the controller 30 to perform control of the optimization device 20. The controller 30 may include other types of storage devices such as a flash memory and a solid state drive (SSD) or multiple non-volatile storage devices.

[0130] The image signal processing unit 34 outputs an image to a display 34a coupled to the controller 30 according to an instruction from the CPU 31. As the display 34a, a cathode ray tube (CRT) display, a liquid crystal display (LCD), a plasma display panel (PDP), an organic electroluminescence (OEL) display, etc. can be used.

[0131] The input signal processing unit 35 acquires an input signal from an input device 35a coupled to the controller 30, and outputs the input signal to the CPU 31. As the input device 35a, a pointing device such as a mouse, a touch panel, a touch pad or a trackball, a keyboard, a remote controller, a button switch, etc. can be used. Various types of input devices can be coupled to the controller 30.

[0132] The medium reader 36 is a reading device that reads the program and data recorded in the recording medium 36a. As the recording medium 36a, for example, a magnetic disk, an optical disk, a magneto-optical disk (MO), a semiconductor memory, etc. can be used. The magnetic disk includes a floppy disk (FD) and an HDD. The optical disk includes a compact disc (CD) and a digital versatile disc (DVD).

[0133] For example, the medium reader 36 copies the program and data read from the recording medium 36a to another recording medium such as the RAM 32 or the HDD 33. The read program is executed by the CPU 31, for example. The recording medium 36a may be a portable recording medium, or may be used to distribute the program and data. The recording medium 36a and the HDD 33 may be referred to as computer-readable recording media.

[0134] The communication interface 37 is an interface coupled to the network 37a and communicates with another information processing device via the network 37a. The communication interface 37 may be a wired communication interface coupled to a communication device such as a switch via a cable, or a wireless communication interface coupled to a base station via a wireless link.

[0135] The interface 38 is coupled to the optimization device 20 and exchanges data between the CPU 31 and the optimization device 20. The interface 38 may be, for example, a wired communication interface such as PCI Express or a wireless communication interface.

[0136] Figure 1 The control device 15 shown may also be implemented by using hardware such as described above.

[0137] The following describes the operation of the optimization device 20 according to the second embodiment and an example of control of the optimization device 20 by the controller 30.

[0138] Figure 2 The exemplary process of the control device 15 controlling the optimization device 10 shown in the figure can also be applied to the control of the optimization device 20 by the controller 30. Figure 2 The flow of an example of the control of the optimization device 20 by the controller 30 is briefly described.

[0139] In the operation parameter determination process of step S1, the controller 30 sets the size of the sub-problem of the N-bit problem to N / 4 bits. In the case where the replica exchange method is used in the search process of each of the Ising machines 21 to 24, when the number of replicas is R, the controller 30 determines the number of replicas per group = R / 4 as one of the operation parameters. For example, when R = 8, the number of replicas per group is 2.

[0140] In the processes of steps S2 and S3 , the controller 30 divides the problem based on the determined operation parameters, and sets a sub-problem in each of the Ising machines 21 to 24 .

[0141] In the processing of steps S4 and S5 , the controller 30 sets the operations of the Ising machines 21 to 24 and sets the replica group to be processed.

[0142] In the process of step S6, the controller 30 instructs each of the Ising machines 21 to 24 to perform the search process. In the case that all the Ising machines 21 to 24 have not completed the search process within the unit period (step S7: No), the controller 30 stands by until the search process is completed, and in the case that the search process is completed (step S7: Yes), the controller 30 proceeds to the process of step S8.

[0143] In the process of step S8 , the controller 30 instructs the Ising machines 21 to 24 to shift to a state of becoming solution candidates and perform post-processing.

[0144] In the process of step S9 , the controller 30 receives E′(x) of the replica groups 0 to 3 calculated by each of the Ising machines 21 to 24 and the states as solution candidates, and calculates the total energy of each of the replica groups 0 to 3 .

[0145] In the case where the predetermined search end condition is satisfied, the controller 30 determines that the entire search is completed (step S10: Yes), instructs the optimization device 20 to end the search (step S11), and ends the control of the optimization device 20. In the case where the predetermined search end condition is not satisfied, the controller 30 determines that the entire search is not completed (step S10: No), and repeats the process from step S5.

[0146] For example, until it is determined that the entire search is completed, the controller 30 outputs x1 to x2 when the minimum energy is obtained in all groups. N The value of is taken as the solution of the problem. The controller 30 outputs the obtained solution to the display 34a for display, for example. Alternatively, the controller 30 may store the obtained solution in the HDD 33, or transmit the obtained solution to another information processing device via the network 37a.

[0147] Figure 3The exemplary process of the operation of the optimization device 10 shown can also be applied to the operation of the optimization device 20. Figure 3 A flow of an example of the operation of the optimization device 20 is briefly described.

[0148] In the process of step S20, the Ising machines 21 to 24 receive, for example, the index of each state variable in the state variable set corresponding to each sub-problem, x1 to x2 from the controller 30. N The received data is stored in the HBM (e.g., Figure 6 HBM 21c2 in.

[0149] In the processing of steps S21 and S22, the Ising machines 21 to 24 receive the number of repetitions of the search process within a unit period, various operation parameters, and information indicating the replica group to be processed from the controller 30. The Ising machines 21 to 24 store these in a local memory (e.g., Figure 6 Local storage 21c1).

[0150] In the process of step S23 , the Ising machines 21 to 24 receive an instruction to execute the search process from the controller 30 , and execute the search process of step S24 .

[0151] The Ising machines 21 to 24 determine whether the search process within the unit period is completed based on whether the search process is performed the number of times (step S25). If it is determined that the search process within the unit period is not completed, the process of step S24 is repeated. If it is determined that the search process within the unit period is completed, the process of step S26 is performed.

[0152] In the process of step S26, the Ising machines 21 to 24 notify the controller 30 of the completion of the search process. In the processes of steps S27 and S28, when the Ising machines 21 to 24 receive instructions for state transfer and post-processing from the controller 30, the Ising machines 21 to 24 transfer the states that become solution candidates to other Ising machines and the controller 30, and perform post-processing.

[0153] Thereafter, in the process of step S29, the Ising machines 21 to 24 send E'(x) calculated for each subproblem in the post-processing to the controller 30. In the case where there is an instruction to end the search from the controller 30 (step S30: Yes), the Ising machines 21 to 24 end the search process. In the case where no instruction to end the search is received from the controller 30 (step S30: No), the process is repeated from step S22.

[0154] Next, an operation example of the Ising machines 21 to 24 in the case where the processing order of the states in each of the replica groups 0 to 3 is fixed in the process of step S5 described above is described.

[0155] Fig. 9 is a diagram showing an example of the operation of each Ising machine when the processing order of states in each replica group is fixed. Fig. 9 In the example, the search process by the Markov Chain Monte Carlo method is performed in each of the replica groups 0 to 3 in the order of X0, X1, X2 and X3 (the symbols of "-g0", "-g1", "-g2" and "-g3" are omitted).

[0156] In the first unit period T1, the Ising machine 21 performs a search process on X0-g0 which is the state of the replica group 0. When the search process in the unit period T1 ends, the Ising machine 21 transfers X0-g0 to the Ising machines 22 to 24. The Ising machines 22 to 24 update the received X0-g0 (in Fig. 9 The local fields of copy group 0 (LF1-g0, LF2-g0, and LF3-g0) are represented as LF updates in .

[0157] In the next unit period T2, Ising machine 21 performs a search process on X0-g1 as the state of replica group 1. In the unit period T2, Ising machine 22 performs a search process on X1-g0 as the state of replica group 0. When the search process in the unit period T2 ends, Ising machine 21 transfers X0-g1 to Ising machines 22 to 24, and Ising machine 22 transfers X1-g0 to Ising machines 21, 23, and 24. Ising machines 21 to 24 update the local fields of replica groups 0 and 1 based on the received X0-g1 or X1-g0.

[0158] In the unit period T3, Ising machine 21 performs a search process on X0-g2 as the state of replica group 2, and Ising machine 22 performs a search process on X1-g1 as the state of replica group 1. In the unit period T3, Ising machine 23 performs a search process on X2-g0 as the state of replica group 0. When the search process in the unit period T3 ends, Ising machine 21 transfers X0-g2 to Ising machines 22 to 24, and Ising machine 22 transfers X1-g1 to Ising machines 21, 23, and 24. Ising machine 23 transfers X2-g0 to Ising machines 21, 22, and 24. Ising machines 21 to 24 update the local fields of replica groups 0 to 2 based on the received X0-g2, X1-g1, or X2-g0.

[0159] In the unit period T4, the Ising machine 21 performs a search process on X0-g3 which is the state of the replica group 3, and the Ising machine 22 performs a search process on X1-g2 which is the state of the replica group 2. In the unit period T4, the Ising machine 23 performs a search process on X2-g1 which is the state of the replica group 1, and the Ising machine 24 performs a search process on X3-g0 which is the state of the replica group 0.

[0160] Fig.10 is a diagram showing a transition example of the state after the search process within the unit period T4.

[0161] Ising machine 21 transfers X0-g3 to Ising machines 22 to 24, and Ising machine 22 transfers X1-g2 to Ising machines 21, 23, and 24. Ising machine 23 transfers X2-g1 to Ising machines 21, 22, and 24, and Ising machine 24 transfers X3-g0 to Ising machines 21 to 23.

[0162] Ising machines 21 to 24 update local fields of replica groups 0 to 3 based on received X0-g3, X1-g2, X2-g1, or X3-g0.

[0163] Through the above processing, the first search processing unit (in Fig. 9 denoted as MCMC processing unit in the figure). Thereafter, in each of the replica groups 0 to 3, each of the Ising machines 21 to 24 similarly performs search processing on each state in the order of X0, X1, X2 and X3 in unit time periods T5, T6, T7, T8, T9, T10 and T11. The first MCMC processing unit for replica group 1 ends with state transfer and local field update after search processing within unit time period T5. Although not shown, the first MCMC processing unit for replica group 2 ends with state transfer and local field update after search processing within unit time period T6. The first MCMC processing unit for replica group 3 ends with state transfer and local field update after search processing within unit time period T7. Fig. 9 In the example of , each of the replica groups 0 to 3 is processed twice, and the entire search ends by ending the search processing within the unit period T11.

[0164] like Fig. 9 As shown, the Ising machines 21 to 24 perform a search process on the state corresponding to each sub-problem in a pipeline manner in units of replica groups. In unit periods T4 to T8, the search process on the states of replica groups 0 to 3 is performed in parallel by using all Ising machines 21 to 24.

[0165] Therefore, each of the Ising machines 21 to 24 works effectively and can improve computational efficiency. Therefore, the solution search performance of the optimization device 20 for large problems is improved. Since the update of the value of the state variable is sequentially performed in each of the replica groups 0 to 3, the principle of energy minimization of the Ising model by the Markov chain Monte Carlo method is satisfied.

[0166] Next, an operation example of the Ising machines 21 to 24 in the case where the processing order of the states in each of the replica groups 0 to 3 is changed in the MCMC processing unit in the process of step S5 described above is described.

[0167] Fig.11 is a diagram showing an example of the operation of each Ising machine in the case where the processing order of states in each replica group is changed in the MCMC processing unit.

[0168] In the first unit period T10, the Ising machine 21 performs a search process on X0-g0 which is the state of the replica group 0, and the Ising machine 22 performs a search process on X1-g1 which is the state of the replica group 1. In the unit period T10, the Ising machine 23 performs a search process on X2-g2 which is the state of the replica group 2, and the Ising machine 24 performs a search process on X3-g3 which is the state of the replica group 3.

[0169] Fig.12 is a diagram showing a transition example of the state after the search process within the unit period T10.

[0170] Ising machine 21 transfers X0-g0 to Ising machines 22 to 24, and Ising machine 22 transfers X1-g1 to Ising machines 21, 23, and 24. Ising machine 23 transfers X2-g2 to Ising machines 21, 22, and 24, and Ising machine 24 transfers X3-g3 to Ising machines 21 to 23.

[0171] Ising machines 21 to 24 update local fields of replica groups 0 to 3 based on received X0-g0, X1-g1, X2-g2, or X3-g3.

[0172] In the unit period T11, the Ising machine 21 performs a search process on X0-g1 which is the state of the replica group 1, and the Ising machine 22 performs a search process on X1-g0 which is the state of the replica group 0. In the unit period T11, the Ising machine 23 performs a search process on X2-g3 which is the state of the replica group 3, and the Ising machine 24 performs a search process on X3-g2 which is the state of the replica group 2.

[0173] When the processing in the unit period T11 ends, the Ising machine 21 transfers X0-g1 to the Ising machines 22 to 24, and the Ising machine 22 transfers X1-g0 to the Ising machines 21, 23, and 24. The Ising machine 23 transfers X2-g3 to the Ising machines 21, 22, and 24, and the Ising machine 24 transfers X3-g2 to the Ising machines 21 to 23.

[0174] The Ising machines 21 to 24 update the local fields of the replica groups 0 to 3 based on the received X0-g1, X1-g0, X2-g3, or X3-g2.

[0175] In the unit period T12, the Ising machine 21 performs a search process on X0-g2 which is the state of the replica group 2, and the Ising machine 22 performs a search process on X1-g3 which is the state of the replica group 3. In the unit period T12, the Ising machine 23 performs a search process on X2-g0 which is the state of the replica group 0, and the Ising machine 24 performs a search process on X3-g1 which is the state of the replica group 1.

[0176] When the processing in the unit period T12 ends, the Ising machine 21 transfers X0-g2 to the Ising machines 22 to 24, and the Ising machine 22 transfers X1-g3 to the Ising machines 21, 23, and 24. The Ising machine 23 transfers X2-g0 to the Ising machines 21, 22, and 24, and the Ising machine 24 transfers X3-g1 to the Ising machines 21 to 23.

[0177] Ising machines 21 to 24 update the local fields of replica groups 0 to 3 based on the received X0-g2, X1-g3, X2-g0, or X3-g1.

[0178] In the unit period T13, the Ising machine 21 performs a search process on X0-g3 which is the state of the replica group 3, and the Ising machine 22 performs a search process on X1-g2 which is the state of the replica group 2. In the unit period T13, the Ising machine 23 performs a search process on X2-g1 which is the state of the replica group 1, and the Ising machine 24 performs a search process on X3-g0 which is the state of the replica group 0.

[0179] When the processing in the unit period T13 ends, the Ising machine 21 transfers X0-g3 to the Ising machines 22 to 24, and the Ising machine 22 transfers X1-g2 to the Ising machines 21, 23, and 24. The Ising machine 23 transfers X2-g1 to the Ising machines 21, 22, and 24, and the Ising machine 24 transfers X3-g0 to the Ising machines 21 to 23.

[0180] Ising machines 21 to 24 update local fields of replica groups 0 to 3 based on received X0-g3, X1-g2, X2-g1, or X3-g0.

[0181] Through the above processing, the first MCMC processing unit for each of the replica groups 0 to 3 ends. In the first MCMC processing unit, the processing order of the states in the replica group 0 is X0, X1, X2, and X3, and the processing order of the states in the replica group 1 is X1, X0, X3, and X2. The processing order of the states in the replica group 2 is X2, X3, X0, and X1, and the processing order of the states in the replica group 3 is X3, X2, X1, and X0.

[0182] When the first MCMC processing unit ends, the controller 30 randomly changes the processing order of the states in each of the replica groups 0 to 3, for example. Fig.11 In the processing within the unit time periods T14, T15, T16, and T17, it is indicated that the processing order of the state changes as follows. For example, the processing order of the state after the change in the replica group 0 is X3, X1, X0, and X2, and the processing order of the state after the change in the replica group 1 is X1, X0, X2, and X3. The processing order of the state after the change in the replica group 2 is X0, X2, X3, and X1, and the processing order of the state after the change in the replica group 3 is X2, X3, X1, and X0.

[0183] Even after the change, in the same unit period, the Ising machines 21 to 24 each perform a search process on the state of the different replica groups. Therefore, since the update of the value of the state variable is sequentially performed in each of the replica groups 0 to 3, the principle of energy minimization of the Ising model by the Markov chain Monte Carlo method is satisfied.

[0184] By changing the processing order of X0 to X3 (corresponding to the processing order of the four sub-problems) instead of fixing the processing order, for example making it random, the deviation of the search can be reduced. Therefore, further improvement of the solution search performance of the optimization device 20 can be expected.

[0185] As described above, the details of the processing can be realized by causing the controller 30 to execute a program.

[0186] The program can be recorded on a computer-readable recording medium (e.g., recording medium 36a). As the recording medium, for example, a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. can be used. The magnetic disk includes an FD and an HDD. The optical disk includes a CD, a CD recordable (R) / rewritable (RW), a DVD, and a DVD-R / RW. The program can be recorded and distributed on a portable recording medium. In this case, the program can be copied from the portable recording medium to another recording medium (e.g., HDD 33) and executed.

Claims

1. An optimization device, comprising: a plurality of Ising machines, each Ising machine searching in a pipeline manner for a solution to a subproblem among a plurality of subproblems obtained by dividing the problem represented by the Ising model, Each of the plurality of Ising machines comprises: a storage unit storing values ​​of sets of state variables corresponding to subproblems to be calculated for a plurality of groups; a searching unit that performs a process of calculating a second solution candidate for each of the plurality of groups in a group processing order including all of the plurality of groups by changing a group to be processed per unit period, based on the first solution candidate of the subproblem calculated by the other Ising machine, so that the second solution candidate is calculated for the state variable set of a group different from the group processed by the other Ising machine within the same unit period; and A communication unit is configured to send the second solution candidate to the other Ising machines whenever the unit period ends.

2. The optimization device according to claim 1, wherein The search unit calculates a change in energy of the Ising model due to a change in a value of any one of the state variables included in the state variable set, while fixing a value of the first solution candidate calculated by the other Ising machine.

3. The optimization device according to claim 1 or 2, wherein A processing order of the state variable sets corresponding to each subproblem in the same group processed by the plurality of Ising machines is changed at a predetermined processing time.

4. The optimization device according to claim 1 or 2, wherein Each of the plurality of Ising machines includes a plurality of replicas, and the plurality of replicas respectively calculate the second solution candidates for the plurality of groups.

5. The optimization device according to claim 1 or 2, wherein The search unit calculates the second solution candidate within the same unit period for the state variable sets of groups assigned with group numbers different from group numbers assigned to groups processed by the other Ising machines.

6. An optimization method performed by a plurality of Ising machines, each Ising machine searching in a pipeline manner for a solution to a sub-problem among a plurality of sub-problems obtained by dividing a problem represented by an Ising model, the optimization method comprising: performing, by each of the plurality of Ising machines, a process of calculating a second solution candidate for the subproblem on each of the plurality of groups in a group processing order including all of the plurality of groups by changing the group to be processed per unit period, based on the first solution candidate for the subproblem calculated by the other Ising machines, so that the second solution candidate is calculated for a state variable set of a group different from the group processed by the other Ising machines within the same unit period; as well as Whenever the unit period ends, the second solution candidate is sent to the other Ising machines.

7. A non-transitory computer-readable recording medium storing a program, the program causing each of the computers to execute a process, the each computer searching in a pipeline manner for a solution of a sub-problem among a plurality of sub-problems obtained by dividing a problem represented by an Ising model, the process comprising: By changing the group to be processed per unit period, based on the first solution candidate of the subproblem calculated by the other computer, a process of calculating a second solution candidate of the subproblem is performed on each of the plurality of groups in a group processing order including all the groups in the plurality of groups per unit period, so that the second solution candidate is calculated for a state variable set of a group different from the group processed by the other computer within the same unit period; as well as Whenever the unit period ends, the second solution candidate is sent to the other computer.