Program, data processing method, and data processing device
The data processing device improves solution performance in combinatorial optimization problems by dynamically adjusting constraint coefficients based on constraint satisfaction, addressing the challenge of determining appropriate penalty function weights in existing methods.
Patent Information
- Application Number
- PCT/JP2023/046568
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-02
- Filing Date
- 2023-12-26
- Publication Date
- 2024-09-06
AI Technical Summary
Existing methods for solving combinatorial optimization problems, such as binary quadratic programming, face challenges in determining appropriate constraint coefficients for penalty functions, leading to difficulties in finding optimal solutions due to either overly restrictive or insufficient constraint satisfaction.
A data processing device and method that adjusts constraint coefficients based on the satisfaction status of constraints, using a penalty function to dynamically modify the evaluation function, thereby improving solution performance by controlling the influence of constraints during the search process.
The dynamic adjustment of constraint coefficients allows for a balanced influence of constraints, facilitating the discovery of better solutions by relaxing or tightening constraints as needed, thereby enhancing solution-finding performance.
Smart Images

Figure JP2023046568_06092024_PF_FP
Abstract
Description
Program, data processing method and data processing device
[0001] The present invention relates to a program, a data processing method, and a data processing device.
[0002] Information processing devices are sometimes used to solve combinatorial optimization problems. The information processing device searches for a combination of state variable values included in an evaluation function that minimizes the value of the evaluation function, for example. In this case, the combination of state variable values that minimizes the value of the evaluation function corresponds to the ground state or optimal solution represented by the set of state variables. Methods for obtaining an approximate solution to a combinatorial optimization problem in a practical amount of time include tabu search and simulated annealing (SA).
[0003] When a combinatorial optimization problem is a binary quadratic programming problem (BQP), the problem may be converted into an evaluation function that indicates the energy of an Ising model, which is a model that represents the spin behavior of a magnetic material, and the problem may be solved using a quantum annealer or the like. For example, a system has been proposed that uses a quantum annealer to solve the Lagrangian dual of a constrained quadratic programming problem. Also, a system has been proposed that uses a quantum annealer to solve the Lagrangian dual of a binary polynomially constrained polynomial programming problem (BPPCPPP).
[0004] There have also been proposals for systems that use quantum annealing to solve the minimum dominating set problem. Furthermore, there have been proposals for optimization systems that relax BQP into an easier-to-solve problem called a semidefinite programming problem (SDP), and optimize BQP based on the solution of the SDP.
[0005] US Patent Application Publication No. 2016 / 0224515 WO 2017 / 145086 US Patent Application Publication No. 2017 / 0286852 WO 2017 / 056368
[0006] In evaluation functions corresponding to BQP, constraints on state variables are sometimes expressed as penalty functions, which add the amount of violation of constraints corresponding to the values of the state variables to the evaluation function.
[0007] The evaluation function may use a constraint coefficient, which is a coefficient that weights the penalty function. In this case, it is not easy to determine the appropriate constraint coefficient. For example, if the constraint coefficient is too large, the search range for a solution will be narrowed, making it difficult to arrive at a better solution. On the other hand, if the constraint coefficient is too small, it will be difficult to obtain a solution that satisfies the constraint.
[0008] In one aspect, the present invention aims to improve solution performance.
[0009] In one aspect, a program is provided that causes a computer to execute the following processes: store solutions searched for based on an evaluation function including a penalty function indicating constraints on a plurality of state variables and a constraint coefficient by which the penalty function is multiplied in a storage unit; adjust the constraint coefficient based on a satisfaction state of the constraints of each of the plurality of solutions stored in the storage unit; and start a search for a new solution based on the evaluation function including the adjusted constraint coefficient.
[0010] Also, in one aspect, a data processing method is provided. Also, in one aspect, a data processing device is provided having a storage unit and a processing unit.
[0011] In one aspect, the solution performance can be improved.
[0012] FIG. 1 is a diagram illustrating a data processing device according to a first embodiment; FIG. 2 is a diagram illustrating an example of hardware of a data processing device according to a second embodiment; FIG. 3 is a diagram illustrating an example of functions of a data processing device; FIG. 4 is a diagram illustrating an example of data stored in a solution pool; FIG. 5 is a diagram illustrating an example of data stored in an output solution buffer; FIG. 6 is a flowchart illustrating an example of a search process of a data processing device; FIG. 7 is a flowchart illustrating an example of updating a solution pool; FIG. 8 is a flowchart illustrating an example of updating an output solution buffer; FIG. 9 is a flowchart illustrating an example of adjusting a constraint coefficient (α); k 10 is a flowchart showing an example of adjusting the constraint coefficient (α). FIG. 11 is a flowchart showing another example of adjusting the constraint coefficient (λ). k10 is a flowchart showing another example of adjustment of the constraint coefficient.
[0013] The present embodiment will be described below with reference to the drawings. [First Embodiment] The first embodiment will be described.
[0014] 1 is a diagram illustrating a data processing device according to a first embodiment. The data processing device 10 searches for a solution to a combinatorial optimization problem and outputs the searched solution. The data processing device 10 includes a storage unit 11 and a processing unit 12.
[0015] The storage unit 11 may be a volatile semiconductor memory such as a dynamic random access memory (DRAM), or a non-volatile storage such as a hard disk drive (HDD) or flash memory. The storage unit 11 may include an electronic circuit such as a register. The processing unit 12 is a processor such as a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). However, the processing unit 12 may also include an electronic circuit for a specific purpose such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The processor executes a program stored in a memory such as a DRAM (which may be the storage unit 11). A set of multiple processors is sometimes called a "multiprocessor" or simply a "processor."
[0016] A combinatorial optimization problem is formulated by an objective function that indicates the energy of the Ising model, and is converted into a problem of minimizing the value of the objective function, for example. The objective function includes multiple state variables. The state variables are binary variables that take on values of 0 or 1. The state variables may also be called bits. A solution to the combinatorial optimization problem is represented by the values of the multiple state variables.
[0017] For example, a solution that minimizes the value of the objective function represents the ground state of the Ising model and corresponds to the optimal solution of the combinatorial optimization problem. In this case, the combinatorial optimization problem is expressed by Equation (1) using an Ising-type objective function C(x).
[0018] The state vector x has multiple state variables as elements and represents the state of the Ising model. In the case of a problem of maximizing energy, the sign of C(x) can be reversed. The problem represented by C(x) in equation (1) is called an unconstrained quadratic binary problem (QUBO: Quadratic Unconstrained Binary Optimization). C(x) may also be called a cost function.
[0019] The first term on the right side of equation (1) is the sum of the values of two state variables and the weighting coefficients for all combinations of two state variables that can be selected from all state variables, without omissions or duplications. The subscripts i and j are the indexes of the state variables. i is the i-th state variable. xj is the j-th state variable. W ij is a weight coefficient indicating the weight or strength of connection between the i-th state variable and the j-th state variable. ij =W ji and W ii = 0. The total number of state variables is n, where n is an integer of 2 or more.
[0020] The second term on the right side of equation (1) is the sum of the products of the biases of all state variables and the values of the state variables. i denotes the bias for the i-th state variable, and c is a constant.
[0021] Here, when there are constraints on multiple state variables, such as in constrained BQP, the constraints are expressed by equations (2) and (3). Equation (2) represents a second-order equality constraint, and equation (3) represents a first-order inequality constraint.
[0022]
[0023] P(x) in equation (2) represents the amount of violation of the equality constraint. ij , b' iare the W in equation (1), respectively. ij , b i is the coefficient corresponding to W'. ij =W' ji and W' ii = 0. c' is a constant. When the constraint is violated, P(x) is a positive value, and when the constraint is satisfied, P(x) is 0.
[0024] In addition, in equation (3), k is the index of the inequality constraints, k = 1, 2, ..., m, and m is the number of inequality constraints. ki , B k is a constant given according to the content of the inequality constraint.
[0025] When the constraints of equation (2) and equation (3) are imposed, the combinatorial optimization problem is expressed as a problem of minimizing the evaluation function E(x) of equation (4).
[0026] Here, L(x) is expressed by equation (5).
[0027] The max operator indicates that L(x) is the maximum value among the values in the parentheses. L(x) is a positive value when the inequality constraint k is violated, and is 0 when the inequality constraint k is satisfied. α is the constraint coefficient for the equality constraint. λ k are the constraint coefficients for the inequality constraint k. k are, for example, integers equal to or greater than 1. k may be a real number greater than or equal to 1.
[0028] Here, P(x) is called a penalty function. k (x) = λ k ×max(0,Σ i Ax i -B k ), then L(x) = Σ k L k (x). k (x) is also called a penalty function. L(x) is the sum of multiple penalty functions (Σ k L k (x)).
[0029] Note that the evaluation function E(x) may include multiple penalty functions corresponding to multiple equality constraints. When E(x) includes multiple penalty functions corresponding to multiple equality constraints, the number of constraint coefficients α will be the same as the number of equality constraints. m may also be 1. Furthermore, although equations (4) and (5) show an example in which there is one equality constraint and m inequality constraints, E(x) may include only one of the penalty functions corresponding to the equality constraints and the penalty functions corresponding to the inequality constraints.
[0030] The data processing device 10 uses a heuristic method to gradually change the variable x based on E(x) to transition states and search for a better solution. The data processing device 10 can use, for example, a greedy search method, a tabu search method, or an SA method to search for a solution. The greedy search method is also known as the steepest descent method. In addition, in a problem of minimizing energy, the smaller the energy, the better the solution, and the larger the energy, the worse the solution.
[0031] Here, the constraint coefficients α and λ k The values of α and λ affect the solution performance. k If is too large, the effects of P(x) and L(x) become strong in the search for a solution based on E(x), and the solution after the search is likely to satisfy the constraints with P(x) = 0, L(x) = 0, but C(x) is not small enough. k If is too small, the effects of P(x) and L(x) become weak in the search for a solution based on E(x), and C(x) becomes small, but P(x) > 0 and L(x) > 0 occur, which is likely to result in a constraint violation. Therefore, the processing unit 12 adjusts the constraint coefficients as follows based on multiple solutions obtained by multiple searches that are repeatedly executed.
[0032] First, the processing unit 12 stores a solution obtained by a search based on the evaluation function in the storage unit 11. The search for a solution may be executed by the processing unit 12, or may be executed by a search unit different from the processing unit 12. For example, the search unit may be realized by a CPU, GPU, DSP, ASIC, FPGA, or the like provided in the data processing device 10 or an information processing device communicating with the data processing device 10.
[0033] The search for a solution is performed multiple times, for example, by changing the search start state. The search start state is a state that serves as a starting point for the search. The search start state may be generated from a solution stored in the storage unit 11. For example, the processing unit 12 acquires solutions x1, x2, ... as multiple solutions and stores them in the storage unit 11. The number of solutions stored in the storage unit 11 is predetermined.
[0034] The processing unit 12 then adjusts the constraint coefficient included in the evaluation function corresponding to the constraint based on the satisfaction status of the constraint for each of the multiple solutions stored in the storage unit 11. For example, if there is no solution that satisfies a certain constraint among the solutions x1, x2, ..., the processing unit 12 increases the constraint coefficient corresponding to the constraint to strengthen the effect of the constraint. On the other hand, if there is a solution that satisfies a certain constraint among the solutions x1, x2, ..., the processing unit 12 decreases the constraint coefficient corresponding to the constraint to weaken the effect of the constraint. Note that if the number of solutions that satisfy a certain constraint among the multiple solutions stored in the storage unit 11 is equal to or less than a predetermined number, the processing unit 12 may increase the constraint coefficient corresponding to the constraint. Alternatively, if the number of solutions that satisfy a certain constraint among the multiple solutions stored in the storage unit 11 is equal to or greater than a predetermined number, the processing unit 12 may decrease the constraint coefficient corresponding to the constraint.
[0035] Whether a solution satisfies a constraint is determined by the value of the penalty function of the solution. For example, in the case of the evaluation function E(x), the equality constraint is satisfied when P(x)=0, and not satisfied when P(x)>0. k If (x) = 0, then the inequality constraint k is satisfied, and L k Inequality constraint k is not satisfied if (x)>0.
[0036] Here, when an evaluation function includes a plurality of penalty functions corresponding to a plurality of constraints, such as the evaluation function E(x), the processing unit 12 adjusts the constraint coefficient corresponding to the constraint based on the satisfaction state of each constraint of the solutions x1, x2, .... For example, the processing unit 12 adjusts the constraint coefficient λ based on the satisfaction state of the inequality constraint k of the solutions x1, x2, .... k Adjust.
[0037] Furthermore, the processing unit 12 calculates constraint coefficients α and λ for each of the equality constraints and the inequality constraints.k In addition to individually controlling the constraint coefficients α and λ, the constraint coefficients α and λ are also controlled based on the satisfaction status of the equality constraints and inequality constraints. k For example, when there is no solution that satisfies all of the equality constraints and the inequality constraints among the solutions x1, x2, ..., the processing unit 12 adjusts the constraint coefficient α corresponding to the equality constraint and the constraint coefficient λ corresponding to the inequality constraint k. k At least one of the above may be increased with a predetermined probability.
[0038] The processing unit 12 starts a search for a new solution based on the evaluation function including the adjusted constraint coefficients. Starting a search for a new solution can also be considered as initiating a search for a new solution. As described above, the search for a solution may be executed by the processing unit 12 or by a predetermined search unit. Furthermore, the search start state may be generated based on the solutions x1, x2, ... stored in the memory unit 11. The processing unit 12 acquires a new solution obtained by the new search, and if the new solution is better than the worst solution (worst solution) stored in the memory unit 11, replaces one of the worst solutions in the memory unit 11 with the new solution. Note that, in order to compare the energy with the new solution, the processing unit 12 pre-calculates the energy of each solution stored in the memory unit 11 using the evaluation function with the latest constraint coefficients.
[0039] In addition to the solutions for adjusting the constraint coefficients, the processing unit 12 also stores the solutions to be finally output as the solutions to the combinatorial optimization problem in the storage unit 11. For example, the processing unit 12 may store the solutions to be finally output as the solutions to the combinatorial optimization problem in the storage unit 11. k ' are the constraint coefficients α and λ, respectively. k Instead of α', λ, the energy E' of the solution obtained by the search using equation (4) is calculated, and a predetermined number of solutions with smaller energy E' are stored in the storage unit 11 with priority. k A sufficiently large value is set for C(x) in order to give priority to outputting a constraint satisfying solution.
[0040] In this way, after the above solution search has been performed for a certain period of time or a certain number of times, the processing unit 12 preferentially outputs solutions with small energy E' stored in the memory unit 11. As described above, according to the data processing device 10, solutions searched for based on an evaluation function including a penalty function indicating constraints on a plurality of state variables and a constraint coefficient by which the penalty function is multiplied are stored in the memory unit 11. The constraint coefficient is adjusted based on the satisfaction status of the constraints of each of the plurality of solutions stored in the memory unit 11. A search for a new solution is started based on the evaluation function including the adjusted constraint coefficient. This enables the data processing device 10 to improve solution-finding performance in solution search.
[0041] Here, the satisfaction status of a constraint for multiple solutions reflects the impact of the constraint on the search. As described above, if the impact of a constraint is too strong or too weak, it will worsen the solution-finding performance. In response to this, the data processing device 10 dynamically adjusts the constraint coefficients based on the satisfaction status of the constraint for multiple solutions, thereby appropriately controlling the evaluation function so that the impact of the constraint on the search is moderate. This makes it easier to arrive at a better solution than, for example, performing a search using fixed constraint coefficients, improving solution-finding performance.
[0042] For example, the data processing device 10 can control the constraint coefficients so as to vary the boundary around which the constraints are just barely satisfied, and can realize both a search with relaxed constraints and a search that satisfies the constraints. As a result, it becomes easier to arrive at a better solution in the search for a solution, and the solution-finding performance improves.
[0043] Second Embodiment Next, a second embodiment will be described. Fig. 2 is a diagram showing an example of hardware of a data processing device according to the second embodiment.
[0044] The data processing device 100 searches for a solution to the constrained BQP using a greedy search method, a tabu search method, an SA method, or the like, and outputs the searched solution. The constrained BQP is formulated by the evaluation function of Equation (4) and is converted into a problem of minimizing the value of the evaluation function.
[0045] In the second embodiment, an example will be described in which there is one equality constraint and multiple inequality constraints, but the number of equality constraints may be one or more, and the number of inequality constraints may be one or more. Also, the problem to be solved may have only one of the equality constraints and the inequality constraints.
[0046] The data processing device 100 includes a processor 101, a DRAM 102, a HDD 103, a GPU 104, an input interface 105, a media reader 106, a communication interface 107, and an accelerator card 108. These units included in the data processing device 100 are connected to a bus inside the data processing device 100. The processor 101 corresponds to the processing unit 12 in the first embodiment. The DRAM 102 corresponds to the storage unit 11 in the first embodiment.
[0047] The processor 101 is an arithmetic device that executes program instructions. The processor 101 is, for example, a CPU. The processor 101 loads at least a portion of the program and data stored in the HDD 103 into the DRAM 102 and executes the program. The processor 101 may include multiple processor cores. The data processing device 100 may also have multiple processors. The processing described below may be executed in parallel using multiple processors or processor cores. A set of multiple processors may also be called a "multiprocessor" or simply a "processor."
[0048] The DRAM 102 is a volatile semiconductor memory that temporarily stores programs executed by the processor 101 and data used in calculations by the processor 101. Note that the data processing device 100 may include a type of memory other than a DRAM, or may include multiple memories.
[0049] The HDD 103 is a non-volatile storage device that stores software programs such as an OS (Operating System), middleware, and application software, as well as data. Note that the data processing device 100 may also include other types of storage devices, such as flash memory or an SSD (Solid State Drive), or may include multiple non-volatile storage devices.
[0050] The GPU 104 outputs an image to a display 51 connected to the data processing device 100 in accordance with an instruction from the processor 101. The display 51 may be any type of display, such as a CRT (Cathode Ray Tube) display, a liquid crystal display (LCD), a plasma display, or an organic electroluminescence (OEL) display.
[0051] The input interface 105 acquires input signals from input devices 52 connected to the data processing device 100 and outputs them to the processor 101. Examples of the input devices 52 that can be used include pointing devices such as a mouse, a touch panel, a touch pad, and a trackball, a keyboard, a remote controller, and button switches. In addition, multiple types of input devices may be connected to the data processing device 100.
[0052] The medium reader 106 is a reading device that reads programs and data recorded on the recording medium 53. For example, a magnetic disk, an optical disk, a magneto-optical disk (MO: Magneto-Optical disk), a semiconductor memory, etc. can be used as the recording medium 53. Magnetic disks include flexible disks (FD: Flexible Disks) and HDDs. Optical disks include compact discs (CDs) and digital versatile discs (DVDs).
[0053] The medium reader 106 copies, for example, programs and data read from the recording medium 53 to another recording medium such as the DRAM 102 or the HDD 103. The read programs are executed by, for example, the processor 101. The recording medium 53 may be a portable recording medium, which may be used to distribute programs and data. The recording medium 53 and the HDD 103 may also be referred to as computer-readable recording media.
[0054] The communication interface 107 is connected to the network 54 and communicates with other information processing devices via the network 54. The communication interface 107 may be a wired communication interface connected to a wired communication device such as a switch or a router, or may be a wireless communication interface connected to a wireless communication device such as a base station or an access point.
[0055] The accelerator card 108 is a hardware accelerator that searches for solutions to combinatorial optimization problems such as BQP. The accelerator card 108 includes a processor 110 and a DRAM 120. The processor 110 searches for solutions using a greedy search method, a tabu search method, an SA method, or the like. The processor 110 is, for example, a GPU, a DSP, an ASIC, an FPGA, or the like. The DRAM 120 stores data used in processing by the processor 110.
[0056] 3 is a diagram illustrating an example of the functions of the data processing device. The data processing device 100 includes a solution pool 130, an output solution buffer 140, a search unit 150, a solution pool processing unit 160, a constraint coefficient adjustment unit 170, and an output solution control unit 180. The solution pool 130 and the output solution buffer 140 use storage areas of the DRAM 102. The solution pool 130 and the output solution buffer 140 may use storage areas of the HDD 103.
[0057] The solution pool processing unit 160, the constraint coefficient adjustment unit 170, and the output solution control unit 180 are realized by the processor 101 executing a program stored in the DRAM 102. The search unit 150 is realized by the processor 110. However, the search unit 150 may also be realized by the processor 101 executing a program stored in the DRAM 102.
[0058] The solution pool 130 stores a predetermined number of solutions searched by the search unit 150. The solutions stored in the solution pool 130 are obtained by multiplying the constraint coefficients α and λ included in the evaluation function E(x) of Equation (4). k The quality of the solutions stored in the solution pool 130 is determined by the constraint coefficients α and λ. k The determination is based on the energy E calculated by the formulas (4) and (5) including:
[0059] The output solution buffer 140 stores a predetermined number of solutions searched by the search unit 150. The solutions stored in the output solution buffer 140 become candidates for the final solution for the constrained BQP. The quality of the solutions stored in the output solution buffer 140 is determined based on the constraint coefficients α and λ. k Instead of the above, predetermined fixed constraint coefficients α′, λ k The determination is based on the energy E' calculated by equation (5) using '. The solutions stored in the output solution buffer 140 are the final output candidate solutions for the problem to be solved. For this reason, the energy E' may be referred to as the output evaluation energy.
[0060] In the initial state before any search is performed, a predetermined number of solutions created in advance are held in the solution pool 130 and the output solution buffer 140. The number of solutions held in the output solution buffer 140 may be the same as or different from the number of solutions held in the solution pool 130.
[0061] The search unit 150 uses the constraint coefficients α and λ k The search unit 150 searches for a solution based on the evaluation function E(x) of equation (5) including the constraint coefficients α, λ. The search unit 150 uses, for example, a greedy search method, a tabu search method, or an SA method. k is input to the search unit 150 by the constraint coefficient adjustment unit 170. The search unit 150 outputs the searched solution to the solution pool processing unit 160 and the output solution control unit 180.
[0062] The solution pool processing unit 160 acquires a new solution searched for by the search unit 150, and if the new solution is better than the worst solution in the solution pool 130, replaces the worst solution in the solution pool 130 with the new solution. As described above, the solution pool processing unit 160 determines whether a solution in the solution pool 130 is good or bad based on the constraint coefficients α and λ. k The determination is based on the energy E calculated by the formulas (4) and (5) including:
[0063] Furthermore, the solution pool processing unit 160 creates a search start state to be used by the search unit 150 for the next search based on the solutions held in the solution pool 130, and inputs the created search start state to the search unit 150. A method such as Path Relinking may be used to create the search start state. The following literature 1 is useful for learning about Path Relinking.
[0064] Reference 1: Y. Wang and three others, "Path relinking for unconstrained binary quadratic programming", European Journal of Operational Research, volume 223, issue 3, December 16, 2012, pp. 595-604. The constraint coefficient adjustment unit 170 adjusts the constraint coefficients α, λ according to the satisfaction status of the equality constraints and inequality constraints of the multiple solutions held in the solution pool 130. k The constraint coefficient adjustment unit 170 adjusts the adjusted α, λ k is input to the search unit 150, causing the search unit 150 to start searching for a new solution.
[0065] The output solution control unit 180 acquires a new solution searched for by the search unit 150, and if the new solution is better than any of the solutions already stored in the output solution buffer 140, replaces the worst solution in the output solution buffer 140 with the new solution. As described above, the output solution control unit 180 determines whether the solution in the output solution buffer 140 is good or bad based on the constraint coefficients α', λ k The determination is based on the energy E' calculated by the formulas (4) and (5) including '.
[0066] When the search unit 150 has completed a certain period of time or a certain number of searches, the output solution control unit 180 outputs the solutions contained in the output solution buffer 140, giving priority to those with the lowest energy E'. The output solution control unit 180 may output the best solution in the output solution buffer 140, or may output some or all of the solutions in the output solution buffer 140. For example, the output solution control unit 180 may display the solution information on the display 51, or may transmit the solution information to another computer via the network 54.
[0067] 4 is a diagram showing an example of data stored in the solution pool. As an example, the solution pool 130 holds records corresponding to six solutions. Six indexes (idx) "0" to "5" identify records in the solution pool 130. The smaller the index, the better the record, i.e., the smaller the energy E of the solution.
[0068] One record is a state vector x = (x 1 , x 2 , ..., x n ), the value of the energy E(x) corresponding to the solution, the value of the cost function C(x), the value of the penalty function P(x) for the equality constraint, and the penalty function L for the inequality constraint. 1 (x), L 2 (2), ..., L m Contains the value of (x).
[0069] 5 is a diagram showing an example of data stored in the output solution buffer. As an example, the output solution buffer 140 holds records corresponding to four solutions. Four indexes (idx) "0" to "3" identify the records in the output solution buffer 140. The smaller the index, the better the record, i.e., the smaller the solution's energy E'.
[0070] One record is a state vector x = (x 1 , x 2 , ..., x n ), the value of the energy E′(x) corresponding to the solution, the value of the cost function C(x), the value of the penalty function P(x) for the equality constraint, and the penalty function L for the inequality constraint. 1 (x), L 2 (2), ..., L m (x), where the records in the output solution buffer 140 contain the values of C(x), P(x), L 1 (x), L 2 (2), ..., L m (x) may not be included.
[0071] Next, the processing procedure of the data processing device 100 will be described. FIG. 6 is a flowchart showing an example of search processing of the data processing device. (S10) The search unit 150 performs initialization. In the initialization, the search unit 150 is set with an evaluation function E(x) corresponding to the BQP to be solved, the values of various parameters used in the search (for example, the temperature value in the SA method), and the initial search start state. The evaluation function E(x) at the stage of step S10 is calculated based on the constraint coefficients α, λ. k During the initialization, the solution pool processing unit 160 sets a predetermined number of initial solutions in the solution pool 130. During the initialization, the output solution control unit 180 sets a predetermined number of initial solutions in the output solution buffer 140.
[0072] (S11) The search unit 150 searches for a solution based on the evaluation function E(x). Here, a search start state is created by the solution pool processing unit 160 from multiple solutions stored in the solution pool 130 and input to the search unit 150. When the search unit 150 finishes the current search, it outputs the solution obtained by the current search to the solution pool processing unit 160 and the output solution control unit 180. The search unit 150 may output the multiple solutions obtained by the current search to the solution pool processing unit 160 and the output solution control unit 180.
[0073] (S12) The solution pool processing unit 160 updates the solution pool 130. Details of updating the solution pool 130 will be described later. (S13) The output solution control unit 180 updates the output solution buffer 140. Details of updating the output solution buffer 140 will be described later.
[0074] (S14) The constraint coefficient adjustment unit 170 adjusts the constraint coefficients α, λ included in E(x) based on the satisfaction status of the constraints of the multiple solutions held in the solution pool 130. k After adjusting, α and λ k to the search unit 150. The adjustment of the constraint coefficients will be described in detail later.
[0075] (S15) The solution pool processing unit 160 calculates the constraint coefficients α and λ after adjustment in step S14. k E(x) of each solution held in the solution pool 130 is recalculated using equations (4) and (5) and stored in the solution pool 130.
[0076] (S16) The search unit 150 determines whether the search has ended. If the search has ended, the search process ends. If the search has not ended, the process proceeds to step S11. For example, the search unit 150 determines that the search has ended when the search process of steps S11 to S15 has been performed for a certain period of time or a certain number of times. The search unit 150 may also determine that the search has ended when information indicating that the search has been performed for a certain period of time or a certain number of times is input to the search unit 150. Note that if the search has ended, the output solution control unit 180 outputs the solution held in the output solution buffer 140.
[0077] 7 is a flowchart showing an example of updating the solution pool. Updating the solution pool 130 corresponds to step S12. (S20) The solution pool processing unit 160 obtains the solution A after the current search from the searching unit 150.
[0078] (S21) The solution pool processing unit 160 determines whether or not solution A exists in the solution pool 130. If solution A exists in the solution pool 130, the process proceeds to step S26. If solution A does not exist in the solution pool 130, the process proceeds to step S22.
[0079] (S22) The solution pool processing unit 160 selects a solution W with the largest E(x) from the solution pool 130. (S23) The solution pool processing unit 160 determines whether E(x) of solution A is smaller than E(x) of solution W. If E(x) of solution A is smaller than E(x) of solution W, the process proceeds to step S24. If E(x) of solution A is equal to or greater than E(x) of solution W, the process proceeds to step S26.
[0080] (S24) The solution pool processing unit 160 calculates C(x), P(x), and L of the solution A. k (x) is calculated. C(x), P(x), L k The calculation of (x) is based on the constraint coefficients α and λ. k This is done using the current value of
[0081] (S25) The solution pool processing unit 160 replaces solution W in the solution pool 130 with solution A. (S26) The solution pool processing unit 160 determines whether or not all solutions from the current search by the searching unit 150 have been processed. If all solutions from the current search have been processed, the update of the solution pool 130 ends. If all solutions from the current search have not been processed, the process proceeds to step S20. In step S20, the next new solution is acquired as solution A.
[0082] In this way, the solution pool processing unit 160 replaces the worst solution for E(x) in the solution pool 130 with the solution after the search without allowing duplication. Fig. 8 is a flowchart showing an example of updating the output solution buffer.
[0083] Updating the output solution buffer 140 corresponds to step S13. (S30) The output solution control unit 180 obtains solution A after the current search from the search unit 150. (S31) The output solution control unit 180 determines whether solution A exists in the output solution buffer 140. If solution A exists in the output solution buffer 140, the process proceeds to step S37. If solution A does not exist in the output solution buffer 140, the process proceeds to step S32.
[0084] (S32) The output solution control unit 180 calculates the energy E'(x) of the solution A. E'(x) is calculated as follows: k = λ k ' and the values of each state variable of solution A are substituted into equation (5).
[0085] (S33) The output solution control unit 180 selects solution W with the largest E'(x) from the output solution buffer 140. (S34) The output solution control unit 180 determines whether E'(x) of solution A is smaller than E'(x) of solution W. If E'(x) of solution A is smaller than E'(x) of solution W, the process proceeds to step S35. If E'(x) of solution A is equal to or greater than E'(x) of solution W, the process proceeds to step S37.
[0086] (S35) The output solution control unit 180 calculates C(x), P(x), and L of the solution A. k (x) is calculated. C(x), P(x), L k (x) is calculated using the constraint coefficients α' and λ kThis is done using the value of '.
[0087] (S36) The output solution control unit 180 replaces solution W in the output solution buffer 140 with solution A. (S37) The output solution control unit 180 determines whether or not all solutions from the current search by the search unit 150 have been processed. If all solutions from the current search have been processed, updating of the output solution buffer 140 ends. If all solutions from the current search have not been processed, the process proceeds to step S30. In step S30, the next new solution is acquired as solution A.
[0088] In this way, the output solution control unit 180 replaces the worst solution for E'(x) in the output solution buffer 140 with the solution after the search without allowing overlap. Figure 9 is a flowchart showing an example of adjusting the constraint coefficient (α).
[0089] Adjustment of the constraint coefficient (α) corresponds to step S14. (S40) The constraint coefficient adjustment unit 170 determines whether P(x) of all solutions in the solution pool 130 is positive. If P(x) of all solutions in the solution pool 130 is positive, processing proceeds to step S41. If P(x) of at least one solution in the solution pool 130 is 0, processing proceeds to step S42. Here, P(x) being positive (P(x) > 0) indicates that the equality constraint is not satisfied. Furthermore, P(x) being 0 (P(x) = 0) indicates that the equality constraint is satisfied.
[0090] (S41) The constraint coefficient adjustment unit 170 increases α. Then, the adjustment of the constraint coefficient (α) is completed. (S42) The constraint coefficient adjustment unit 170 decreases α. Then, the adjustment of the constraint coefficient (α) is completed.
[0091] FIG. 10 shows the constraint coefficient (λ k 10 is a flowchart showing an example of adjusting the constraint coefficient (λ k ) corresponds to step S14. The following procedure is repeated or executed in parallel for each inequality constraint, i.e., for each k.
[0092] (S50) The constraint coefficient adjustment unit 170 adjusts the L of all solutions in the solution pool 130. k Determine whether (x) is positive.k If (x) is positive, the process proceeds to step S51. k If (x) is 0, the process proceeds to step S52. k (x) is positive (L k (x)>0) indicates that the inequality constraint k is not satisfied. k (x) is 0 (L k (x)=0) indicates that the inequality constraint k is satisfied.
[0093] (S51) The constraint coefficient adjustment unit 170 adjusts λ k Then, increase the constraint coefficient (λ k (S52) The constraint coefficient adjustment unit 170 adjusts λ k Then, reduce the constraint coefficient (λ k ) adjustment is completed.
[0094] In step S14, the constraint coefficient adjustment unit 170 adjusts the constraint coefficients α and λ shown in FIGS. k The adjustment of each constraint coefficient may be performed in any order or in parallel.
[0095] The constraint coefficient adjustment unit 170 may adjust the constraint coefficient α using the following procedure instead of the procedure in Fig. 9. Fig. 11 is a flowchart showing another example of adjustment of the constraint coefficient (α).
[0096] Adjustment of the constraint coefficient (α) corresponds to step S14. (S60) The constraint coefficient adjustment unit 170 determines whether P(x) of all solutions in the solution pool 130 is positive. If P(x) of all solutions in the solution pool 130 is positive, the process proceeds to step S63. If P(x) of at least one solution in the solution pool 130 is 0, the process proceeds to step S61.
[0097] (S61) The constraint coefficient adjustment unit 170 determines whether or not a constraint-satisfying solution exists in the solution pool 130. If a constraint-satisfying solution does not exist, the process proceeds to step S62. If a constraint-satisfying solution exists, the process proceeds to step S64. Here, a constraint-satisfying solution is a solution that satisfies all constraints, and in the example of equation (4), P(x) = 0 and L(x) = Σ k Lk The solution is (x) = 0.
[0098] (S62) The constraint coefficient adjustment unit 170 determines whether r < Pa. If r < Pa, the process proceeds to step S63. If r < Pa is not true, the process proceeds to step S64. Here, r is, for example, a random number greater than or equal to 0 and less than 1 generated by the constraint coefficient adjustment unit 170. In one example, Pa = 0.1. However, Pa may be another value.
[0099] (S63) The constraint coefficient adjustment unit 170 increases α. Then, the adjustment of the constraint coefficient (α) is completed. (S64) The constraint coefficient adjustment unit 170 decreases α. Then, the adjustment of the constraint coefficient (α) is completed.
[0100] The constraint coefficient adjustment unit 170 adjusts the constraint coefficient λ by the following procedure instead of the procedure of FIG. 10 . k 12 shows the constraint coefficient (λ k 10 is a flowchart showing another example of adjustment of the temperature.
[0101] Constraint coefficient (λ k The adjustment of L ) corresponds to step S14. The following procedure is repeated or executed in parallel for each inequality constraint, i.e., for each k. (S70) The constraint coefficient adjustment unit 170 adjusts L ) of all solutions in the solution pool 130. k Determine whether (x) is positive. k If (x) is positive, the process proceeds to step S73. k If (x) is 0, the process proceeds to step S71.
[0102] (S71) The constraint coefficient adjustment unit 170 determines whether or not a constraint-satisfying solution exists in the solution pool 130. If a constraint-satisfying solution does not exist, the process proceeds to step S72. If a constraint-satisfying solution exists, the process proceeds to step S74.
[0103] (S72) The constraint coefficient adjustment unit 170 determines whether r < Pl. If r < Pl, the process proceeds to step S73. If r < Pl is not true, the process proceeds to step S74. Here, r is, for example, a random number greater than or equal to 0 and less than 1 generated by the constraint coefficient adjustment unit 170. In one example, Pl = 0.1. However, Pl may be another value, or may be a value different from Pa.
[0104] (S73) The constraint coefficient adjustment unit 170 adjusts λ k Then, increase the constraint coefficient (λ k (S74) The constraint coefficient adjustment unit 170 adjusts λ k Then, reduce the constraint coefficient (λ k ) adjustment is completed.
[0105] Here, a specific method for increasing or decreasing the constraint coefficient by the constraint coefficient adjustment unit 170 will be described. For example, the constraint coefficient adjustment unit 170 increases or decreases the constraint coefficient α of the equality constraint as follows. In the following description, α1 indicates the current constraint coefficient, and α2 indicates the next constraint coefficient (the adjusted constraint coefficient).
[0106] When the constraint coefficient α is increased, the constraint coefficient adjustment unit 170 determines α2 using equation (6).
[0107] When the constraint coefficient α is reduced, the constraint coefficient adjustment unit 170 determines α2 using equation (7).
[0108] For example, the increase rate d 0 and the reduction rate d 1 is a fixed value given in advance by the user. 0 is 1.0<d 0 The value is set to satisfy the following. 1 is 0<d 1 < 1.0. 0 = 1.2, d 1= 0.9. max(a, b) is a process that selects the larger value of a and b. Specifically, max(1.0, x) is a process that clips x to 1.0 when it is smaller than 1.0 and outputs it. ceil() is a process that rounds up the decimal point to make it an integer. floor() is a process that rounds down the decimal point to make it an integer.
[0109] Furthermore, the constraint coefficient adjustment unit 170 adjusts the constraint coefficient λ of the inequality constraint k. k In the following description, λ1 k indicates the current constraint coefficient. k indicates the following constraint coefficients (adjusted constraint coefficients):
[0110] Constraint coefficient λ k When increasing λ, the constraint coefficient adjustment unit 170 calculates λ2 k Determine.
[0111] Constraint coefficient λ k When reducing λ, the constraint coefficient adjustment unit 170 reduces λ by equation (9). k Determine.
[0112] The meanings of ceil, floor, and max are the same as those of the constraint coefficient α. 0 , d 1 Similarly to the equality constraint α, a fixed value is set in advance by the user. 0 , d 1 may be the same across multiple equality constraints and multiple inequality constraints, or may be different for each constraint.
[0113] 13 is a diagram showing an example of adjusting the constraint coefficient. As an example, assume that the number of equality constraints is 1 and the number of inequality constraints m is 2. In this case, Equation (5) is expressed as two penalty functions L corresponding to the two inequality constraints. 1 (x), L 2 (x) is included.
[0114] Tables 60, 61, 62, and 63 show the P(x), L(x), and L(x) values of the six solutions in the solution pool 130 in steps S0, S1, S2, and S3, respectively. 1(x), L 2 An example of the constraint satisfaction status of (x) is shown below. 1 (x), L 2 The notation "0" in P(x), L(x) indicates that the corresponding constraint is satisfied. 1 (x), L 2 The notation ">0" in (x) indicates that the corresponding constraint is not satisfied. Step S0 is the case where there is a constraint-satisfying solution. Steps S1 to S3 are the cases where there is no constraint-satisfying solution. The notation "α-" indicates that α is reduced. The notation "λ-" indicates that λ is reduced. k The notation "α+" indicates that α is increased. The notation "λ+" indicates that λ is increased. k indicates an increase.
[0115] 9 and 10, by adjusting the constraint coefficients independently for each constraint, it becomes possible to search near the constraint satisfaction boundary of each constraint. As a result, the solution performance is improved by repeatedly relaxing and strengthening the constraints. However, with only the independent control shown in FIGS. 9 and 10, for example, it is difficult to obtain the α and λ values that can obtain the constraint satisfaction solution of step S0 even if it takes time by starting from step S1 and repeating steps S2 and S3. k It may be possible that the value of
[0116] Therefore, the constraint coefficient adjustment unit 170 may use the procedures of Figures 11 and 12 to adjust the constraint coefficients, instead of the procedures of Figures 9 and 10. That is, when there is no solution (constraint satisfying solution) in the solution pool 130 where P(x) = 0 and L(x) = 0, the constraint coefficient adjustment unit 170 may increase α with a probability Pa. Furthermore, when there is no solution in the solution pool 130 where P(x) = 0 and L(x) = 0, the constraint coefficient adjustment unit 170 may increase λ with a probability Pl. k In this way, the constraint coefficient adjustment unit 170 adjusts α, λ so as to stochastically move from step S2 to step S1 and from step S1 to step S0. k By changing (increasing) , a solution that satisfies all constraints, i.e., a constraint satisfying solution, can be obtained.
[0117] As described above, the data processing device 100 of the second embodiment can achieve high solution performance while reducing the user's effort by automatically and appropriately controlling the constraint coefficients of the equality constraints and inequality constraints in BQP.
[0118] The data processing device 100 can also be said to execute the following process: The processor 101 stores solutions searched for based on an evaluation function including a penalty function indicating constraints on a plurality of state variables and a constraint coefficient by which the penalty function is multiplied in the solution pool 130. The processor 101 adjusts the constraint coefficient based on the satisfaction state of the constraints of each of the plurality of solutions stored in the solution pool 130, and starts a search for a new solution based on the evaluation function including the adjusted constraint coefficient.
[0119] This allows the data processing device 100 to improve the solution-finding performance in searching for a solution based on the evaluation function. The constraints are, for example, equality constraints or inequality constraints. As described above, the solution pool 130 is realized by a storage area such as the DRAM 102 or the HDD 103. The DRAM 102 or the HDD 103 is an example of the storage unit 11 in the first embodiment.
[0120] The evaluation function may also include multiple penalty functions corresponding to multiple constraints. In this case, the processor 101 adjusts the constraint coefficients corresponding to the constraints based on the individual satisfaction status of each of the multiple solutions for each constraint.
[0121] In this way, the processor 101 can improve the solution performance by adjusting the constraint coefficients independently for each constraint. The plurality of constraints may include, for example, either or both of equality constraints and inequality constraints.
[0122] In adjusting the constraint coefficients, if a predetermined number of solutions in the solution pool 130 do not satisfy a constraint, the processor 101 increases the constraint coefficient corresponding to the constraint, and if a predetermined number of solutions satisfying the constraint exist among the solutions, the processor 101 decreases the constraint coefficient corresponding to the constraint. Increasing a constraint coefficient can also be considered as increasing the value of the constraint coefficient. Decreasing a constraint coefficient can also be considered as decreasing the value of the constraint coefficient.
[0123] By adjusting the constraint coefficients in this way, it becomes possible to search near the constraint satisfaction boundary of the constraint. As a result, the constraint is repeatedly relaxed and strengthened, and solution performance is improved.
[0124] Furthermore, when the plurality of constraints includes an equality constraint and an inequality constraint, the processor 101 may adjust the following constraint coefficients: That is, when there is no solution that satisfies all of the equality constraints and the inequality constraints among the plurality of solutions, the processor 101 may increase at least one of the first constraint coefficient corresponding to the equality constraint and the second constraint coefficient corresponding to the inequality constraint with a predetermined probability.
[0125] This allows the data processing device 100 to improve the likelihood of obtaining a constraint-satisfying solution and improve solution-finding performance. Furthermore, after adjusting the constraint coefficients, the processor 101 calculates energy E(x) corresponding to each of the multiple solutions stored in the solution pool 130 based on an evaluation function including the adjusted constraint coefficients. The processor 101 compares the first energy calculated by the evaluation function for the first solution newly obtained by the search with the energy corresponding to the worst solution among the multiple solutions, and replaces the worst solution among the multiple solutions stored in the solution pool 130 with the first solution.
[0126] This allows the data processing device 100 to gradually improve the solutions in the solution pool 130. For example, there is a high possibility that an even better solution exists near a good solution. For this reason, the processor 101 may generate a search start state to be used for the next search using a predetermined method such as the above-mentioned Path Relinking, based on multiple solutions in the solution pool 130. This increases the possibility of arriving at a better solution in the new search.
[0127] In addition, the processor 101 also stores one or more solutions in the output solution buffer 140, separate from the multiple solutions in the solution pool 130. The one or more solutions held in the output solution buffer 140 are candidates to be finally output for the problem to be solved. Furthermore, the processor 101 also stores in the output solution buffer 140 output evaluation energies E′(x) corresponding to each of the one or more solutions, calculated based on an evaluation function in which the constraint coefficients are fixed values that do not change for each search. The processor 101 then compares the first output evaluation energy calculated for a first solution newly obtained by the search using an evaluation function in which the constraint coefficients are fixed values with the output evaluation energy corresponding to the worst solution among the one or more solutions. Based on the comparison, the processor 101 replaces the worst solution among the one or more solutions stored in the output solution buffer 140 with the first solution. After completing the process of repeatedly adjusting the constraint coefficients and searching, the processor 101 outputs at least a portion of the one or more solutions stored in the output solution buffer 140.
[0128] This allows the data processing device 100 to control the solutions to be stored in the output solution buffer 140 according to a certain standard determined by the fixed value of the constraint coefficient, and to appropriately control the solution to be finally output. For example, as described above, in order to output a constraint-satisfying solution with priority, the fixed values of the constraint coefficients (for example, α' and λ') can be set. k ) is set to a sufficiently large value for C(x). For example, the processor 101 can output a solution with a higher output evaluation energy from one or more solutions stored in the output solution buffer 140 with priority.
[0129] The information processing of the first embodiment can be realized by causing the processing unit 12 to execute a program. The information processing of the second embodiment can be realized by causing the processor 101 to execute a program. The program can be recorded on a computer-readable recording medium 53.
[0130] For example, the program can be distributed by distributing the recording medium 53 on which it is recorded. Alternatively, the program may be stored in another computer and distributed via a network. A computer may store (install) a program recorded on the recording medium 53 or a program received from another computer in a storage device such as the DRAM 102 or the HDD 103, and then read and execute the program from the storage device.
[0131] 10 Data processing device 11 Storage unit 12 Processing unit
Claims
1. A program that causes a computer to execute the following process: store in a memory unit a solution searched for based on an evaluation function including a penalty function indicating constraints on a plurality of state variables and a constraint coefficient by which the penalty function is multiplied; adjust the constraint coefficient based on the satisfaction status of the constraints for each of the plurality of solutions stored in the memory unit; and start searching for a new solution based on the evaluation function including the adjusted constraint coefficient.
2. The program according to claim 1, which causes the computer to execute a process in which the evaluation function includes a plurality of penalty functions corresponding to a plurality of the constraints, and the constraint coefficient corresponding to the constraint is adjusted based on the satisfaction status of each of the constraints for each of the plurality of solutions.
3. The program according to claim 1, wherein the constraint is an equality constraint or an inequality constraint.
4. The program according to claim 2, wherein the plurality of constraints include either or both of equality constraints and inequality constraints.
5. The program according to claim 1 or 2, which causes the computer to execute the process of increasing the constraint coefficient corresponding to the constraint when a predetermined number of solutions that satisfy the constraint are not present among the plurality of solutions, and decreasing the constraint coefficient corresponding to the constraint when a predetermined number of solutions that satisfy the constraint are present among the plurality of solutions.
6. The program of claim 2, which causes the computer to execute a process in which the multiple constraints include equality constraints and inequality constraints, and if there is no solution among the multiple solutions that satisfies all of the equality constraints and the inequality constraints, at least one of a first constraint coefficient corresponding to the equality constraint and a second constraint coefficient corresponding to the inequality constraint is increased with a predetermined probability.
7. The program of claim 1, which causes the computer to execute the following process: when the constraint coefficients are adjusted, calculate energy corresponding to each of the multiple solutions stored in the memory unit based on the evaluation function including the adjusted constraint coefficients; and replace the worst solution among the multiple solutions stored in the memory unit with the first solution based on a comparison between a first energy calculated by the evaluation function for a first solution newly obtained by the search and the energy corresponding to the worst solution among the multiple solutions.
8. The program according to claim 7, which causes the computer to execute a process of generating a search start state to be used in the next search based on the plurality of solutions stored in the storage unit.
9. The program of claim 1, which causes the computer to execute the following process: storing in the memory unit, apart from the multiple solutions, one or more solutions that are candidates for final output and output evaluation energies corresponding to each of the one or more solutions, calculated based on the evaluation function in which the constraint coefficient is set to a fixed value that does not change for each search; replacing the worst solution among the one or more solutions stored in the memory unit with the first solution based on a comparison between a first output evaluation energy calculated for a first solution newly obtained by the search using the evaluation function in which the constraint coefficient is set to the fixed value and the output evaluation energy corresponding to the worst solution among the one or more solutions; and outputting at least a portion of the one or more solutions stored in the memory unit when the process of repeating the adjustment of the constraint coefficient and the search is terminated.
10. A data processing method in which a computer stores in a memory unit a solution searched for based on an evaluation function including a penalty function indicating constraints on a plurality of state variables and a constraint coefficient by which the penalty function is multiplied, adjusts the constraint coefficient based on the satisfaction status of the constraints for each of the plurality of solutions stored in the memory unit, and begins a search for a new solution based on the evaluation function including the adjusted constraint coefficient.
11. A data processing device having: a memory unit; and a processing unit that stores in the memory a solution searched for based on an evaluation function including a penalty function indicating constraints on a plurality of state variables and a constraint coefficient by which the penalty function is multiplied, adjusts the constraint coefficient based on the satisfaction status of the constraints for each of the plurality of solutions stored in the memory unit, and starts a search for a new solution based on the evaluation function including the adjusted constraint coefficient.
12. A data processing device as claimed in claim 11, wherein the evaluation function includes a plurality of penalty functions corresponding to a plurality of the constraints, and the processing unit adjusts the constraint coefficient corresponding to the constraint based on the satisfaction status of each of the constraints for each of the plurality of solutions.
13. The data processing apparatus according to claim 11, wherein the constraint is an equality constraint or an inequality constraint.
14. The data processing apparatus of claim 12, wherein the plurality of constraints includes either or both of equality constraints and inequality constraints.
15. A data processing device as claimed in claim 11 or 12, wherein the processing unit increases the constraint coefficient corresponding to the constraint when a predetermined number of solutions that satisfy the constraint are not present among the plurality of solutions, and decreases the constraint coefficient corresponding to the constraint when a predetermined number of solutions that satisfy the constraint are present among the plurality of solutions.
16. A data processing device as claimed in claim 12, wherein the plurality of constraints include equality constraints and inequality constraints, and when there is no solution among the plurality of solutions that satisfies all of the equality constraints and the inequality constraints, the processing unit increases at least one of a first constraint coefficient corresponding to the equality constraint and a second constraint coefficient corresponding to the inequality constraint with a predetermined probability.
17. A data processing device as described in claim 11, wherein the processing unit, when adjusting the constraint coefficient, calculates an energy corresponding to each of the multiple solutions stored in the memory unit based on the evaluation function including the adjusted constraint coefficient, and replaces the worst solution among the multiple solutions stored in the memory unit with the first solution in accordance with a comparison between a first energy calculated by the evaluation function for a first solution newly obtained by the search and the energy corresponding to the worst solution among the multiple solutions.
18. The data processing device according to claim 17, wherein said processing unit generates a search start state to be used in a next search based on said plurality of solutions stored in said memory unit.
19. A data processing device as described in claim 11, wherein the processing unit stores in the memory unit, separately from the multiple solutions, one or more solutions that are candidates for final output and output evaluation energies corresponding to each of the one or more solutions calculated based on the evaluation function in which the constraint coefficient is set to a fixed value that does not change for each search, replaces the worst solution among the one or more solutions stored in the memory unit with the first solution depending on a comparison between a first output evaluation energy calculated for a first solution newly obtained by the search using the evaluation function in which the constraint coefficient is set to the fixed value and the output evaluation energy corresponding to the worst solution among the one or more solutions, and outputs at least a portion of the one or more solutions stored in the memory unit when the process of repeating the adjustment of the constraint coefficient and the search is terminated.
Citation Information
Patent Citations
A method and system for solving the Lagrangian dual of a binary polynomially constrained multinomial programming problem using a binary optimizer.
JP2019512134A
Information processing system, information processing method, and program
JP2021144443A
