Approximate solution search device, approximate solution search method, and approximate solution search program

The approximate solution search device addresses inefficiencies in simulated annealing by generating relaxed problems and dynamically updating target values, efficiently terminating annealing at valid solution points to reduce processing time and costs.

JP2024119070APending Publication Date: 2024-09-03NEC CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023025666
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing methods for solving combinatorial optimization problems using simulated annealing are inefficient as they require unknown execution times, leading to unnecessary processing when an optimal solution has already been found, and lack effective methods to terminate annealing at valid solution points, increasing processing costs.

Method used

An approximate solution search device that generates a relaxed problem, calculates lower bound energy, and dynamically updates a target value based on convergence status to efficiently terminate annealing when a valid solution is reached, reducing processing time.

Benefits of technology

The device reduces the time required to find an approximate solution by dynamically adjusting the annealing process, ensuring termination at valid points, thereby minimizing processing time and costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119070000001
    Figure 2024119070000001
Patent Text Reader

Abstract

To provide an approximate solution search device that can shorten the time required to search for an approximate solution that satisfies requirements of an optimization problem.SOLUTION: Relaxation problem generation means 181 generates a relaxation problem that is a problem obtained by relaxing an object optimization problem. Lower bound energy calculation means 182 calculates lower bound energy that indicates a lower limit value of an objective function obtained by an optimal solution in the generated relaxation problem. Target value determination means 183 determines a target value that is a value used to determine whether to terminate optimization processing of the optimization problem from an error threshold indicating an error range that is acceptable for the calculated lower bound energy and the lower bound energy. Annealing execution means 184 inputs parameters corresponding to the optimization problem to a device that performs optimization by an annealing method and causes the device to execute the optimization processing. Target value update means 185 updates the target value based on a convergence status of the objective function value caused by the solution obtained by the optimization processing.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an approximate solution searching device, an approximate solution searching method, and an approximate solution searching program for searching for an approximate solution to an optimization problem. [Background technology]

[0002] Simulated Annealing (SA) is used as one of the algorithms for solving combinatorial optimization problems. Annealing is a minimum value search calculation method that takes advantage of the fact that energy values ​​are automatically minimized in the natural world.

[0003] In SA, the problem to be solved is converted into a quadratic coefficient matrix (QUBO) of two-valued variables (spins), and the process of randomly updating the spin values ​​is repeated to search for an optimal solution with low energy. In the following explanation, the step of selecting one spin and determining whether or not to invert it (i.e., repeating the updating process) is referred to as "sweep."

[0004] For example, Patent Document 1 describes an optimization support device that solves an optimization problem using quantum computing technology. The device described in Patent Document 1 sets an objective function of a sub-problem in which some constraints of the optimization problem are relaxed, obtains an optimal solution of the sub-problem from a quantum computer, and finds an optimal value of the objective function of the sub-problem. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2020-181576 A Summary of the Invention [Problem to be solved by the invention]

[0006] Generally, the execution time required for the specified QUBO annealing is unknown in advance. Therefore, the user specifies the desired cutoff time and number of sweeps, and the user has to wait for the annealing to finish for the specified time and number of sweeps. Therefore, there was a problem that the annealing could not be terminated until the specified conditions were met, even if the optimal solution had already been obtained or an acceptable solution (hereinafter referred to as a valid solution) had been found, or even if there was no prospect of improvement even if the process was repeated any further.

[0007] When a problem is formulated for the first time and annealed, the time required for annealing is unknown, so a default value or an acceptable time is generally set. Then, the results of the annealing (e.g., convergence status, etc.) are fed back, and it was necessary to repeatedly go through trial and error to determine whether the annealing time should be extended or shortened, and what the cutoff time and number of sweeps should be.

[0008] If an optimal solution or an approximate solution (for example, an error of ±x% of the optimal solution) is known, it is possible to set the energy value at which annealing should be terminated (hereinafter referred to as the target value), and therefore it is possible to terminate annealing when the target value is reached. However, since annealing is performed to find an optimal solution or an approximate solution in the first place, it is difficult to obtain the target value in advance.

[0009] On the other hand, there are many cases where a non-optimal solution is acceptable if an approximate solution (valid solution) that meets the requirements is found. Therefore, if annealing can be terminated when a valid solution is obtained, it is possible to shorten the time required for processing. However, setting that valid solution is also difficult.

[0010] By using the method described in Patent Document 1, it is possible to estimate the target value and obtain a tentative solution. However, it is difficult to determine whether a solution that does not satisfy the constraints will have an energy close to the true optimal solution. Therefore, the method described in Patent Document 1 requires post-processing to satisfy the constraints on the obtained solution, which increases the processing cost for estimating the target value.

[0011] SUMMARY OF THE PRESENT EMBODIMENTS Accordingly, an object of the present invention is to provide an approximate solution searching device, an approximate solution searching method, and an approximate solution searching program that can reduce the time required to search for an approximate solution that satisfies the requirements of an optimization problem. [Means for solving the problem]

[0012] The approximate solution search device according to the present invention is an approximate solution search device that searches for an approximate solution to a target optimization problem using an annealing method, and is characterized by comprising: relaxation problem generation means for generating a relaxed problem which is a relaxed problem of the target optimization problem; lower bound energy calculation means for calculating a lower bound energy indicating a lower limit value of an objective function obtained at an optimal solution of the generated relaxed problem; target value determination means for determining a target value which is a value used for determining whether to terminate the optimization process for the optimization problem, from an error threshold indicating an acceptable error range for the calculated lower bound energy and the lower bound energy; annealing execution means for inputting parameters corresponding to the optimization problem to a device that performs optimization using the annealing method to cause the device to execute the optimization process; and target value update means for updating the target value based on the convergence status of the objective function value based on the solution obtained by the optimization process.

[0013] The approximate solution search method according to the present invention is an approximate solution search method that uses an annealing method to search for an approximate solution to a target optimization problem, and is characterized in that it generates a relaxed problem that is a relaxed version of the target optimization problem, calculates a lower bound energy that indicates a lower limit value of an objective function obtained at an optimal solution of the generated relaxed problem, determines a target value that is a value used for determining whether to terminate an optimization process for the optimization problem, from an error threshold that indicates an acceptable error range for the calculated lower bound energy and the lower bound energy, inputs parameters corresponding to the optimization problem to an apparatus that performs optimization by an annealing method, causes the apparatus to execute the optimization process, and updates the target value based on the convergence status of the objective function value based on the solution obtained by the optimization process.

[0014] The approximate solution search program according to the present invention is an approximate solution search program to be executed by a computer that searches for an approximate solution to a target optimization problem using an annealing method, and is characterized in that it causes the computer to execute a relaxation problem generation process that generates a relaxed problem that is a relaxed problem of the target optimization problem, a lower bound energy calculation process that calculates a lower bound energy that indicates a lower limit value of an objective function obtained at an optimal solution of the generated relaxed problem, a target value determination process that determines a target value that is a value used for determining whether to terminate the optimization process for the optimization problem, from an error threshold that indicates an acceptable error range for the calculated lower bound energy and the lower bound energy, an annealing execution process that inputs parameters corresponding to the optimization problem to an apparatus that performs optimization using the annealing method and causes the apparatus to execute the optimization process, and a target value update process that updates the target value based on the convergence status of the value of the objective function using the solution obtained by the optimization process. Effect of the Invention

[0015] According to the present invention, it is possible to reduce the time required to search for an approximate solution that satisfies the requirements of an optimization problem. [Brief description of the drawings]

[0016] [Figure 1]1 is a block diagram showing a configuration example of a first embodiment of an approximate solution search system of the present invention. [Diagram 2] FIG. 13 is an explanatory diagram showing an example in which an initial target value is appropriately set. [Diagram 3] FIG. 13 is an explanatory diagram showing an example in which the initial target value is small. [Figure 4] FIG. 13 is an explanatory diagram showing an example in which the initial target value is large; [Diagram 5] FIG. 2 is an explanatory diagram showing an overview of a process using the approximate solution search system of the first embodiment; [Figure 6] 4 is a flowchart showing an example of the operation of the approximate solution search system according to the first embodiment; [Figure 7] FIG. 11 is a block diagram showing a configuration example of a second embodiment of an approximate solution search system of the present invention. [Figure 8] FIG. 11 is an explanatory diagram showing an overview of a process using an approximate solution search system according to the second embodiment; [Figure 9] 13 is a flowchart illustrating an example of the operation of the approximate solution search system according to the second embodiment. [Figure 10] 1 is a block diagram showing an overview of an approximate solution searching device according to the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0018] Embodiment 1. 1 is a block diagram showing an example of the configuration of a first embodiment of an approximate solution search system of the present invention. The approximate solution search system 1 of this embodiment includes an approximate solution search device 100 and an annealing means 200. The approximate solution search device 100 is communicatively connected to the annealing means 200. The approximate solution search device 100 may be configured to include the annealing means 200.

[0019] The approximate solution search device 100 of this embodiment is a device that searches for an approximate solution to a target optimization problem by an annealing method. The approximate solution search device 100, for example, causes an annealing means 200 to execute an optimization process by the annealing method.

[0020] The annealing means 200 is a dedicated device for finding the ground state of the Hamiltonian of the Ising model, and is a device that executes annealing in response to instructions from an annealing execution unit 60 described later. More specifically, the annealing means 200 is a device that probabilistically finds the value of a binary variable that minimizes or maximizes an objective function (i.e., a Hamiltonian) of the Ising model that takes a binary variable as an argument.

[0021] The binary variables may be realized by classical bits or quantum bits. The annealing means 200 of this embodiment may be configured in any manner. The annealing means 200 may be configured by any hardware that probabilistically determines the value of a binary variable that minimizes or maximizes an objective function with a binary variable as an argument. The annealing means 200 may be, for example, a non-von Neumann type computer in which the objective function is implemented by hardware in the form of an Ising model. The annealing means 200 may also be a device that performs pseudo-quantum annealing or quantum inspired annealing.

[0022] The approximate solution search device 100 includes a storage unit 10, an input unit 20, a relaxation problem generation unit 30, a lower bound energy calculation unit 40, a target value determination unit 50, an annealing execution unit 60, a target value update unit 70, and an output unit 80.

[0023] The storage unit 10 stores various types of information used in the processing by the approximate solution search device 100. The storage unit 10 is realized by, for example, a magnetic disk.

[0024] The input unit 20 accepts an input of a target optimization problem. For example, the input unit 20 may accept an input of a mathematical optimization equation represented by the following Equation 1. Alternatively, the input unit 20 may accept an input of a QUBO Hamiltonian equation.

[0025]

number

[0026] The input unit 20 also receives an input of an error threshold value used in the process described below. The error threshold value will be described later.

[0027] The relaxation problem generator 30 generates a relaxation problem of the input target optimization problem. Hereinafter, a problem that is a relaxation of an optimization problem will be referred to as a relaxation problem. The relaxation problem generated in this way is a problem for which it is easier to find an optimal solution than the original optimization problem (e.g., a combinatorial optimization problem).

[0028] Specifically, solving a problem involving continuous real variables is often easier than solving a problem involving discrete variables because it allows differentiation. Therefore, the relaxation problem generator 30 first generates a relaxation problem so that peripheral values ​​of the value (energy) that indicates the optimal solution can be estimated using an easy-to-solve solution method.

[0029] Specifically, the relaxation problem generator 30 of the present embodiment relaxes the optimization problem to generate a continuous relaxation problem. For example, when the above-described formula 1 is input as the optimization problem, the relaxation problem generator 30 may generate a continuous relaxation problem as represented by the following formula 2.

[0030]

number

[0031] The above formula 2 shows an example of continuous relaxation of the 0-1 integer problem. Note that for two-value QUBO, any integer can be expressed in binary notation. For example, for integers between 0 and 10, 0≦xi It may be continuously relaxed, for example, ≦10. Methods for converting mathematical optimization equations and QUBO Hamiltonian equations into continuous relaxation problems are widely known, so a detailed explanation is omitted here.

[0032] The lower bound energy calculation unit 40 calculates the lower bound of the objective function obtained by the optimal solution of the generated relaxation problem (hereinafter, referred to as the lower bound energy). For example, when the relaxation problem is expressed by a Hamiltonian equation, the lower bound can be said to be the lower bound energy. Since the method of finding the optimal solution of a relaxation problem (for example, a continuous relaxation problem) is also widely known, a detailed description is omitted here.

[0033] The target value determination unit 50 determines a value (hereinafter, referred to as a target value) used to determine whether to terminate the optimization process for the target optimization problem, based on the calculated lower bound energy and the error threshold. For example, when the relaxation problem is expressed by a Hamiltonian equation, the target value can be said to be an energy value.

[0034] Here, the input error threshold is information indicating the range of an allowable error for the calculated lower bound energy. Specifically, the error threshold is a value indicating what percentage of error is allowable from the lower bound energy, and is set in advance by a user or the like. In other words, this error can be said to be information indicating the range of solutions that are determined to be valid solutions. The error threshold is set, for example, to 10% of the difference between the initial objective function value when annealing begins and the lower bound energy.

[0035] The annealing execution unit 60 inputs parameters corresponding to the optimization problem to the annealing means 200, executes an optimization process for the optimization problem, and obtains an optimal solution and a value of an objective function of the optimization problem. For example, when the optimization problem is expressed by a Hamiltonian of an Ising model, the annealing execution unit 60 obtains an energy value of the optimal solution and the objective function in the optimization problem.

[0036] The target value update unit 70 updates the target value based on the convergence state of the objective function value according to the solution obtained by the optimization process. For example, when the optimization problem is expressed by the Hamiltonian of the Ising model, the target value update unit 70 updates the target value based on the convergence state of the energy according to the solution obtained by the optimization process.

[0037] Thereafter, the processing of the annealing execution unit 60 and the target value update unit 70 is repeated. Specifically, in an optimization process in which sweeps are performed at regular intervals, the annealing execution unit 60 repeatedly executes sweeps in the optimization process until the value of the objective function based on the solution obtained at the timing of the current sweep (hereinafter referred to as the first value) becomes equal to or less than the target value, and the difference between the value of the objective function based on the solution obtained at the timing of the previous sweep (hereinafter referred to as the second value) and the first value becomes equal to or less than a predetermined standard (hereinafter referred to as the convergence determination threshold).

[0038] On the other hand, if the first value is not equal to or less than the target value and the difference between the second value and the first value is equal to or less than the convergence determination threshold, the target value update unit 70 updates the target value to approach the first value. Furthermore, if the first value is equal to or less than the target value and the difference between the second value and the first value exceeds the convergence determination threshold, the target value update unit 70 updates the target value to the first value.

[0039] The output unit 80 outputs the processing results by the lower bound energy calculation unit 40 and the target value determination unit 50, the processing results by the optimization process, etc. Specifically, the output unit 80 may display the lower bound energy calculated by the lower bound energy calculation unit 40, the target value determined by the target value determination unit 50, the value for the solution obtained by the optimization process (energy value), etc.

[0040] The following is a specific description of the processing by the annealing execution unit 60, the target value update unit 70, and the output unit 80. Possible situations include when the target value is appropriately set, when the initially set target value is small, and when the initially set target value is large. First, a description is given of the case where the target value is appropriately set.

[0041] Fig. 2 is an explanatory diagram showing an example in which the initial target value is appropriately set. In the example shown in Fig. 2, the difference between the objective function value (energy) in the first sweep in the optimization process and the lower bound energy is defined as the value (energy) to be lowered, and the error threshold is set to 10% of that. When the error threshold is set to 10%, the target value is a value lowered from the initial value by about 90% of the difference between the initial value (energy) and the lower bound energy.

[0042] In addition, in Fig. 2, the minimum value (minimum energy) of the objective function measured at each timing (time) of the sweep is indicated by a thin dashed line. If an ideal target value can be set as shown in Fig. 2, there is no need to vary the target value. In this case, the optimization process ends at the cutoff time shown in Fig. 2.

[0043] Next, a process when the initially set target value is small will be described. Fig. 3 is an explanatory diagram showing an example when the initial target value is small. Here, it is assumed that a predetermined standard for determining the convergence of the difference between the first value and the second value (i.e., the convergence determination threshold) is set to 1% of the difference between the value at the start of the optimization process (initial energy) and the lower bound energy.

[0044] In the example shown in Fig. 3, since the target value is set small, even if it is determined that convergence has occurred at the timing of time T8, the value of the objective function does not fall below the target value. In this case, the target value update unit 70 updates the target value so as to approach the first value. In the example shown in Fig. 3, the target value is increased by 10% intervals. After that, annealing (sweeping) is repeated, and the optimization process ends when the value of the objective function falls below the target value.

[0045] The method of approaching the value is arbitrary, and for example, a ratio or the like may be determined in advance. In the example shown in Fig. 3, the case where the target value is increased by 10% intervals has been described. Alternatively, for example, the target value update unit 70 may increase the value by 1% intervals, taking into consideration the possibility of falling into a local solution and not changing the energy.

[0046] Next, a process when the initially set target value is large will be described. Fig. 4 is an explanatory diagram showing an example when the initial target value is large. Here, too, the convergence determination threshold for determining the convergence of the difference between the first value and the second value is set to 1% of the difference between the value at the start of the optimization process (initial energy) and the lower bound energy.

[0047] 4, since the target value is set large, for example, the target value falls below the target value at the timing of time T2, but it is not determined that convergence has occurred. In this case, the target value update unit 70 updates the target value to the first value. After that, annealing (sweeping) is repeated, and the optimization process ends at the timing when it is determined that the value of the objective function has converged (here, the timing of time T7).

[0048] Next, an overview of the process using the approximate solution search system 1 of this embodiment will be described. FIG. 5 is an explanatory diagram showing an overview of the process using the approximate solution search system 1 of this embodiment. In general, a problem is extracted from a business or the like (step S101), and a problem (optimization problem) for solving the problem is formulated (step S102). In this embodiment, a relaxation problem is generated from the formulated optimization problem. Then, an error threshold is set (step S111), a lower bound energy is determined (step S112), and an initial target value is determined (step S113).

[0049] Prior to annealing, a process of converting the optimization problem into a QUBO is performed (step S103), and annealing is performed (step S104). In this embodiment, whether or not to end annealing is determined based on whether the value of the objective function is below the target value and whether the difference between the first value and the second value has converged (step S114). Annealing (repeated sweep processing) is performed until it is determined that the value falls below the target value and the difference has converged, and the final result is returned as a valid solution.

[0050] The input unit 20, the relaxation problem generation unit 30, the lower bound energy calculation unit 40, the target value determination unit 50, the annealing execution unit 60, the target value update unit 70, and the output unit 80 are realized by a computer processor (e.g., a CPU (Central Processing Unit)) that operates according to a program (an approximate solution search program).

[0051] For example, a program may be stored in the storage unit 10 of the approximate solution search device 100, and the processor may read the program and operate in accordance with the program as the input unit 20, the relaxation problem generation unit 30, the lower bound energy calculation unit 40, the target value determination unit 50, the annealing execution unit 60, the target value update unit 70, and the output unit 80. Furthermore, the functions of the approximate solution search device 100 may be provided in a SaaS (Software as a Service) format.

[0052] Also, the input unit 20, the relaxation problem generation unit 30, the lower bound energy calculation unit 40, the target value determination unit 50, the annealing execution unit 60, the target value update unit 70, and the output unit 80 may each be realized by dedicated hardware. Also, a part or all of the components of each device may be realized by a general-purpose or dedicated circuit, processor, or the like, or a combination of these. These may be configured by a single chip, or may be configured by multiple chips connected via a bus. A part or all of the components of each device may be realized by a combination of the above-mentioned circuits, etc., and a program.

[0053] Furthermore, when some or all of the components of the approximate solution search device 100 are realized by multiple information processing devices, circuits, etc., the multiple information processing devices, circuits, etc. may be arranged in a centralized or distributed manner. For example, the information processing devices, circuits, etc. may be realized as a client-server system, a cloud computing system, or the like, each of which is connected via a communication network.

[0054] Next, the operation of the approximate solution search system of this embodiment will be described. Fig. 6 is a flowchart showing an example of the operation of the approximate solution search system 1 of this embodiment. First, a user or the like completes formulation of an optimization problem (step S1), and sets an error threshold (step S2). When the input unit 20 receives an input of a target optimization problem and an error threshold, the relaxation problem generation unit 30 generates a relaxation problem, and the lower bound energy calculation unit 40 calculates a lower bound energy (step S3).

[0055] Here, the annealing execution unit 60 judges whether or not the optimal solution is within the solution space of the original problem (i.e., the target optimization problem) (step S4). If the optimal solution of the relaxed problem is a solution within the solution space of the original optimization problem, the optimal solution of the optimization problem is also found. Therefore, if the optimal solution is within the solution space of the original problem (Yes in step S4), the approximate solution search device 100 ends the process (step S5).

[0056] On the other hand, if the optimal solution is not within the solution space of the original problem (No in step S4), the annealing execution unit 60 starts annealing and obtains the value of the first objective function of the sweep (step S6). The target value determination unit 50 determines a target value and continues annealing (step S7).

[0057] After a certain number of sweeps have elapsed, the target value update unit 70 calculates the difference in the objective function values ​​(i.e., the difference between the first value and the second value) Δn-1,n (step S8). The target value update unit 70 determines whether the first value (i.e., the objective function value based on the solution obtained at the timing of the current sweep) En is equal to or less than the target value (step S9).

[0058] If the first value En is not equal to or less than the target value (No in step S9) and Δn-1,n is equal to or less than the convergence determination threshold (e.g., 1% interval) (Yes in step S10), the target value update unit 70 increases the target value (e.g., 10% interval) so as to approach the first value (step S11). Then, the processing from step S8 onwards is repeated. On the other hand, if Δn-1,n is not equal to or less than the convergence determination threshold (e.g., 1% interval) (No in step S10), the target value is not changed and the processing from step S8 onwards is repeated.

[0059] On the other hand, if the first value En is equal to or less than the target value (Yes in step S9) and Δn-1,n is greater than the convergence determination threshold (e.g., the interval is 1%) (Yes in step S12), the target value update unit 70 sets the target value to the first value (step S13). Then, the processing from step S8 onwards is repeated. On the other hand, if Δn-1,n is not greater than the convergence determination threshold (e.g., the interval is 1%) (No in step S12), the annealing is terminated (step S14). After that, the output unit 80 outputs the processing result.

[0060] As described above, in this embodiment, the relaxation problem generating unit 30 generates a problem obtained by relaxing the target optimization problem, and the lower bound energy calculating unit 40 calculates the lower bound energy of the relaxation problem generated. The target value determining unit 50 determines a target value from the error threshold and the lower bound energy, and the annealing executing unit 60 inputs parameters corresponding to the optimization problem to the annealing means 200 to cause it to execute the optimization process. The target value updating unit 70 updates the target value based on the convergence status of the objective function value according to the solution obtained by the optimization process. This makes it possible to reduce the time required to search for an approximate solution that satisfies the requirements of the optimization problem.

[0061] That is, in this embodiment, a target value can be set and annealing can be automatically terminated based on the descent and convergence status of the objective function value, eliminating the need for labor to find the optimal cutoff time and number of sweeps, and shortening the annealing time required to search for an approximate solution.

[0062] Embodiment 2. Next, a second embodiment of the approximate solution search system of the present invention will be described. In the first embodiment, a case where the initial optimization process is performed without specifying the candidate solutions (for example, randomly) will be described. In this embodiment, a configuration for determining the candidate solutions (hereinafter, referred to as the initial pattern) when the optimization process is first performed will be described.

[0063] 7 is a block diagram showing a configuration example of a second embodiment of an approximate solution search system of the present invention. The approximate solution search system 2 of this embodiment includes an approximate solution search device 101 and an annealing means 200. The contents of the annealing means 200 are the same as those of the first embodiment.

[0064] The approximate solution search device 101 includes a storage unit 10, an input unit 20, a relaxation problem generation unit 30, a lower bound energy calculation unit 40, a target value determination unit 50, an annealing execution unit 60, a target value update unit 70, an output unit 80, and an initial pattern determination unit 90. That is, the approximate solution search device 101 of this embodiment differs from the approximate solution search device 100 of the first embodiment in that it further includes an initial pattern determination unit 90. Other than that, it is similar to the first embodiment.

[0065] The initial pattern determination unit 90 creates an initial pattern from the optimal solution obtained when the lower bound energy calculation unit 40 calculates the lower bound energy. Here, since the problem when calculating the lower bound energy is a relaxed problem, the solution takes any value among continuous values. Therefore, the initial pattern determination unit 90 converts the above optimal solution into a candidate value for the solution to be treated in annealing.

[0066] The initial pattern determination section 90 may create an initial pattern by, for example, converting values ​​included in the above optimal solution that are equal to or greater than 0 and less than 0.5 to "0" and converting values ​​that are equal to or greater than 0.5 and less than 1 to "1."

[0067] Then, the annealing execution section 60 causes the annealing means 200 to execute an optimization process using the initial pattern.

[0068] In this embodiment, the difference between the objective function value (energy) and the lower bound energy in the first optimization process (sweep) is considered to be smaller than that in the first embodiment. Therefore, it is preferable to set the error threshold and the criterion for determining the convergence of the difference between the first value and the second value smaller than that in the first embodiment.

[0069] Next, an outline of the process using the approximate solution search system 2 of this embodiment will be described. Fig. 8 is an explanatory diagram showing an outline of the process using the approximate solution search system 2 of this embodiment. In comparison with the outline of the process illustrated in Fig. 5, after the lower bound energy is determined, an initial pattern is determined (step S115), and the determined initial pattern is used for annealing.

[0070] The input unit 20, the relaxation problem generation unit 30, the lower bound energy calculation unit 40, the target value determination unit 50, the annealing execution unit 60, the target value update unit 70, the output unit 80, and the initial pattern determination unit 90 are realized by a computer processor that operates according to a program (approximate solution search program).

[0071] Next, the operation of the approximate solution search system of this embodiment will be described. Fig. 9 is a flowchart showing an example of the operation of the approximate solution search system 2 of this embodiment. The process of generating a relaxation problem from a target optimization problem and generating a lower bound energy is similar to the process from step S1 to step S5 shown in Fig. 6. After that, the initial pattern determination unit 90 creates an initial pattern (step S15). Thereafter, the annealing execution unit 60 executes an optimization process using the initial pattern, and the process from step S6 onwards is performed.

[0072] As described above, in this embodiment, the initial pattern determination unit 90 creates an initial pattern from the optimal solution of the relaxation problem. Therefore, in addition to the effects of the first embodiment, the convergence time is more likely to be shortened, and therefore the time required for the optimization process can be shortened.

[0073] Next, an overview of the present invention will be described. Fig. 10 is a block diagram showing an overview of an approximate solution search device according to the present invention. The approximate solution search device according to the present invention is an approximate solution search device 180 (e.g., approximate solution search devices 100, 101) that searches for an approximate solution to a target optimization problem by an annealing method, and includes relaxation problem generation means 181 (e.g., relaxation problem generation unit 30) that generates a relaxation problem (e.g., a continuous relaxation problem) that is a relaxation of the target optimization problem, lower bound energy calculation means 182 (e.g., lower bound energy calculation unit 40) that calculates a lower bound energy that indicates a lower limit of an objective function obtained by an optimal solution in the generated relaxation problem, and an error limit indicating an allowable range of error for the calculated lower bound energy. The system is equipped with target value determination means 183 (e.g., target value determination unit 50) that determines a target value, which is a value used to judge whether to terminate the optimization process for the optimization problem, from the difference threshold value and its lower bound energy, annealing execution means 184 (e.g., annealing execution unit 60) that inputs parameters corresponding to the optimization problem to a device that performs optimization by an annealing method and causes the device to execute the optimization process, and target value update means 185 (e.g., target value update unit 70) that updates the target value based on the convergence status of the objective function value due to the solution obtained by the optimization process.

[0074] Such a configuration can reduce the time required to search for an approximate solution that satisfies the requirements of the optimization problem.

[0075] Furthermore, the annealing execution means 184 may repeatedly execute sweeps in the optimization process until a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, becomes equal to or less than the target value, and a difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined standard (e.g., a convergence determination threshold).

[0076] In addition, the target value update means 185 may update the target value to approach the first value when a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, is not equal to or less than the target value and a difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined standard (e.g., a convergence determination threshold).

[0077] On the other hand, the target value update means 185 may update the target value to the first value when a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, becomes equal to or smaller than the target value, and a difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value exceeds a predetermined criterion (e.g., a convergence determination threshold).

[0078] Furthermore, approximate solution search device 180 may include an input means (e.g., input unit 20) for receiving an input of an error threshold, and a display means (e.g., output unit 80) for displaying a lower bound energy. Then, the display means may display the lower bound energy calculated by lower bound energy calculation means 182, and target value determination means 183 may determine a target value based on the lower bound energy and the input error threshold.

[0079] Furthermore, the approximate solution search device 180 may include an initial pattern determination means (for example, an initial pattern determination unit 90) that creates an initial pattern, which is a candidate for a solution when the annealing execution means 184 executes the optimization process for the first time, from the optimal solution of the relaxation problem. Then, the annealing execution means 184 may execute the optimization process using the initial pattern.

[0080] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes.

[0081] (Appendix 1) An approximate solution search device that searches for an approximate solution to a target optimization problem by an annealing method, comprising: a relaxation problem generating means for generating a relaxation problem which is a relaxation of a target optimization problem; a lower bound energy calculation means for calculating a lower bound energy indicating a lower limit value of an objective function obtained by an optimal solution of the generated relaxation problem; a target value determination means for determining a target value, which is a value used for determining whether to end the optimization process for the optimization problem, from an error threshold value indicating an allowable range of error for the calculated lower bound energy and the lower bound energy; an annealing execution means for inputting parameters corresponding to the optimization problem to the device that performs optimization by the annealing method and causing the device to execute an optimization process; a target value update means for updating the target value based on a convergence state of the value of the objective function according to the solution obtained by the optimization process. An approximate solution search device comprising:

[0082] (Note 2) The annealing execution means repeatedly executes the sweep in the optimization process until a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, becomes equal to or less than a target value, and a difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined standard. 2. The approximate solution search device according to claim 1.

[0083] (Note 3) The target value update means updates the target value so as to approach the first value when a first value, which is a value of the objective function based on a solution obtained at the timing of the current sweep, is not equal to or smaller than the target value and a difference between a second value, which is a value of the objective function based on a solution obtained at the timing of the previous sweep, and the first value becomes equal to or smaller than a predetermined standard. 3. The approximate solution search device according to claim 1 or 2.

[0084] (Note 4) The target value update means updates the target value to the first value when a first value, which is a value of the objective function based on a solution obtained at the timing of the current sweep, becomes equal to or smaller than the target value and a difference between a second value, which is a value of the objective function based on a solution obtained at the timing of the previous sweep, and the first value exceeds a predetermined criterion. 3. The approximate solution search device according to claim 1 or 2.

[0085] (Appendix 5) An input means for receiving an input of an error threshold value; and a display means for displaying the lower bound energy, the display means displays the lower bound energy calculated by the lower bound energy calculation means, The target value determination means determines a target value based on a lower bound energy and the input error threshold value. 5. An approximate solution search device according to claim 1,

[0086] (Appendix 6) The method further includes an initial pattern determination means for creating an initial pattern, which is a candidate for a solution when the annealing execution means executes the optimization process for the first time, from the optimal solution of the relaxation problem; The annealing execution means executes an optimization process using the initial pattern. 6. An approximate solution search device according to claim 1,

[0087] (Appendix 7) The relaxation problem generation means generates a continuous relaxation problem as the relaxation problem. 7. An approximate solution search device according to claim 1.

[0088] (Appendix 8) An annealing device that optimizes a target optimization problem by an annealing method; an approximate solution search device that uses the annealing device to search for an approximate solution to the optimization problem, The approximate solution search device includes: a relaxation problem generating means for generating a relaxation problem which is a relaxation of a target optimization problem; a lower bound energy calculation means for calculating a lower bound energy indicating a lower limit value of an objective function obtained by an optimal solution of the generated relaxation problem; a target value determination means for determining a target value, which is a value used for determining whether to end the optimization process for the optimization problem, from an error threshold value indicating an allowable range of error for the calculated lower bound energy and the lower bound energy; an annealing execution means for inputting parameters corresponding to the optimization problem to the annealing device and causing the annealing device to execute an optimization process; and a target value update means for updating the target value based on a convergence state of a value of an objective function according to a solution obtained by the optimization process. An approximate solution search system comprising:

[0089] (Appendix 9) An approximate solution search method for searching for an approximate solution to a target optimization problem by an annealing method, comprising: A relaxation problem is generated, which is a relaxation of the target optimization problem; calculating a lower bound energy indicating a lower limit value of an objective function obtained by an optimal solution of the generated relaxation problem; determining a target value, which is a value used to determine whether to end the optimization process for the optimization problem, from an error threshold indicating an allowable range of error for the calculated lower bound energy and the lower bound energy; inputting parameters corresponding to the optimization problem to the device that performs optimization using the annealing method, and causing the device to execute an optimization process; The target value is updated based on a convergence state of the value of the objective function according to the solution obtained by the optimization process. 13. An approximate solution search method comprising:

[0090] (Appendix 10) Repeatedly execute sweeps in the optimization process until a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, becomes equal to or less than the target value, and the difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined criterion. The approximate solution search method according to claim 9.

[0091] (Appendix 11) An approximate solution search program for causing a computer to execute an annealing method to search for an approximate solution to a target optimization problem, comprising: The computer includes: A relaxation problem generation process for generating a relaxation problem which is a relaxation of the target optimization problem; a lower bound energy calculation process for calculating a lower bound energy indicating a lower limit value of an objective function obtained by an optimal solution in the generated relaxation problem; a target value determination process for determining a target value, which is a value used for determining whether to end the optimization process for the optimization problem, from an error threshold indicating an allowable range of error for the calculated lower bound energy and the lower bound energy; An annealing execution process for inputting parameters corresponding to the optimization problem to the device that performs optimization by the annealing method and causing the device to execute an optimization process; and A target value update process that updates the target value based on a convergence state of the value of the objective function according to the solution obtained by the optimization process. An approximate solution search program for executing the above.

[0092] (Appendix 12) To the computer, In the annealing execution process, a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, becomes equal to or less than a target value, and a difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined standard. The approximate solution search program described in Appendix 11. [Industrial Applicability]

[0093] The present invention is preferably applied to an approximate solution search device that searches for an approximate solution to an optimization problem. In particular, the present invention can be preferably applied to combinatorial optimization problems where it is sufficient to quickly search for an approximate solution, even if it is not an optimal solution. For example, this is the case when an optimization process needs to be quickly performed again when a problem occurs. Specific examples include production plan optimization, where the production of a scheduled product needs to be completed within a deadline, and delivery plan optimization, where delivery needs to be completed within a specified time with limited resources. [Explanation of symbols]

[0094] 1,2 Approximation solution search system 100,101 Approximate solution search device 10 Storage section 20 Input section 30 Relaxation problem generator 40 Lower bound energy calculation section 50 Target value determination unit 60 Annealing Execution Department 70 Target value update section 80 Output section

Claims

1. An approximate solution search device that searches for an approximate solution to a target optimization problem by an annealing method, comprising: a relaxation problem generating means for generating a relaxation problem which is a relaxation of a target optimization problem; a lower bound energy calculation means for calculating a lower bound energy indicating a lower limit value of an objective function obtained by an optimal solution of the generated relaxation problem; a target value determination means for determining a target value, which is a value used for determining whether to end the optimization process for the optimization problem, from an error threshold value indicating an allowable range of error for the calculated lower bound energy and the lower bound energy; an annealing execution means for inputting parameters corresponding to the optimization problem to the device that performs optimization by the annealing method and causing the device to execute an optimization process; a target value update means for updating the target value based on a convergence state of the value of the objective function according to the solution obtained by the optimization process. An approximate solution search device comprising:

2. The annealing execution means repeatedly executes the sweep in the optimization process until a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, becomes equal to or less than the target value, and the difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined standard.

2. The approximate solution searching device according to claim 1.

3. The target value update means updates the target value to approach the first value when a first value, which is a value of the objective function based on a solution obtained at the timing of the current sweep, does not become equal to or less than the target value and a difference between a second value, which is a value of the objective function based on a solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined standard.

3. The approximate solution searching device according to claim 1.

4. The target value update means updates the target value to the first value when a first value, which is a value of the objective function based on a solution obtained at the timing of the current sweep, becomes equal to or smaller than the target value and a difference between a second value, which is a value of the objective function based on a solution obtained at the timing of the previous sweep, and the first value exceeds a predetermined criterion.

3. The approximate solution searching device according to claim 1.

5. An input means for receiving an input of an error threshold value; and a display means for displaying the lower bound energy, the display means displays the lower bound energy calculated by the lower bound energy calculation means, The target value determination means determines a target value based on a lower bound energy and the input error threshold value.

3. The approximate solution searching device according to claim 1.

6. an initial pattern determination means for creating an initial pattern, which is a candidate for a solution when the annealing execution means executes the optimization process for the first time, from an optimal solution of the relaxation problem; The annealing execution means executes an optimization process using the initial pattern.

3. The approximate solution searching device according to claim 1.

7. An approximate solution search method for searching for an approximate solution to a target optimization problem by an annealing method, comprising the steps of: A relaxation problem is generated, which is a relaxation of the target optimization problem; calculating a lower bound energy indicating a lower limit value of an objective function obtained by an optimal solution of the generated relaxation problem; determining a target value, which is a value used to determine whether to end the optimization process for the optimization problem, from an error threshold indicating an allowable range of error for the calculated lower bound energy and the lower bound energy; inputting parameters corresponding to the optimization problem to the device that performs optimization using the annealing method, and causing the device to execute an optimization process; The target value is updated based on a convergence state of the value of the objective function according to the solution obtained by the optimization process.

13. An approximate solution search method comprising:

8. The sweep in the optimization process is repeatedly executed until a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, becomes equal to or less than the target value, and the difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined criterion. The method for searching for an approximate solution according to claim 7.

9. An approximate solution search program executed by a computer that searches for an approximate solution to a target optimization problem using an annealing method, comprising: The computer includes: A relaxation problem generation process for generating a relaxation problem which is a relaxation of the target optimization problem; a lower bound energy calculation process for calculating a lower bound energy indicating a lower limit value of an objective function obtained by an optimal solution in the generated relaxation problem; a target value determination process for determining a target value, which is a value used for determining whether to end the optimization process for the optimization problem, from an error threshold indicating an allowable range of error for the calculated lower bound energy and the lower bound energy; An annealing execution process for inputting parameters corresponding to the optimization problem to the device that performs optimization by the annealing method and causing the device to execute an optimization process; and A target value update process that updates the target value based on a convergence state of the value of the objective function according to the solution obtained by the optimization process. An approximate solution search program for executing the above.

10. On the computer, In the annealing execution process, a first value, which is the value of the objective function based on the solution obtained at the timing of the current sweep, becomes equal to or less than a target value, and a difference between a second value, which is the value of the objective function based on the solution obtained at the timing of the previous sweep, and the first value becomes equal to or less than a predetermined standard.

10. The approximate solution search program according to claim 9.

Citation Information

Patent Citations

  • Optimization support device, optimization support method, program, and optimization system

    JP2020181576A

  • Autonomous, Closed-Loop and Adaptive Simulated Annealing Based Machine Learning Approach for Intelligent Analytics-Assisted Self-Organizing-Networks (SONs)

    US20160162783A1

  • Optimally stopped optimization systems and methods

    US20190095799A1

  • Quantum computing based hybrid solution strategies for large-scale discrete-continuous optimization problems

    US20220414518A1