Optimization device and optimization method

Transforming discrete optimization problems into continuous ones with penalty functions and rounding operations addresses the exponential complexity issue, providing efficient and accurate solutions.

WO2026239615A1PCT designated stage Publication Date: 2026-11-19NT T INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2025/017923
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Discrete optimization problems, such as delivery planning and resource allocation, become intractable due to the exponential increase in candidate solutions as the number of variables and their values grow, making it difficult to find optimal solutions within a realistic timeframe.

Method used

Transform a discrete optimization problem into a continuous optimization problem by performing continuous relaxation on discrete variables and adding penalty functions to the objective function, then convert the solution back to a feasible discrete optimization problem using rounding operations.

Benefits of technology

Efficiently solves discrete optimization problems by reducing computational complexity and enabling feasible solutions within a realistic timeframe, while maintaining accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2025017923_19112026_PF_FP_ABST
    Figure JP2025017923_19112026_PF_FP_ABST
Patent Text Reader

Abstract

An optimization device according to one embodiment of the present disclosure comprises: a problem conversion unit that converts a given discrete optimization problem into a continuous optimization problem by performing continuous relaxation of discrete variables of the discrete optimization problem and addition of a penalty function to an objective function of the discrete optimization problem; a solution calculation unit that calculates a solution of the continuous optimization problem; and a solution conversion unit that converts the solution into an executable solution of the discrete optimization problem. The penalty function includes a function that outputs a penalty for a fractional portion of variables resulting from the continuous relaxation of the discrete variables.
Need to check novelty before this filing date? Find Prior Art

Description

Optimization apparatus and optimization method

[0001] This disclosure relates to an optimization apparatus and an optimization method.

[0002] Discrete optimization problems (sometimes called "combinatorial optimization problems" or "mixed-integer programming problems") are known as a type of optimization problem (Non-Patent Literature 1). Many problems in the real world can be viewed as discrete optimization problems; for example, delivery planning problems and resource allocation problems are examples of problems that can be viewed as discrete optimization problems.

[0003] In a common method for solving discrete optimization problems, the optimal solution is calculated by first generating a list of possible combinations of values ​​for each variable as candidate solutions, and then evaluating each candidate solution.

[0004] Combinatorial optimization, seemingly simple but difficult, using the internet <URL: https: / / www-or.amp.i.kyoto-u.ac.jp / files / open-campus-04.pdf>

[0005] However, as the number of variables to be combined and their possible values ​​increases, the number of candidate solutions increases exponentially, making it difficult to find the optimal solution by brute force (i.e., difficult to find the optimal solution within a realistic timeframe).

[0006] This disclosure is made in view of the above points and aims to provide a technology that can efficiently solve discrete optimization problems.

[0007] An optimization apparatus according to one aspect of the present disclosure includes: a problem transformation unit that transforms a given discrete optimization problem into a continuous optimization problem by performing continuous relaxation on the discrete variables of the discrete optimization problem and adding a penalty function to the objective function of the discrete optimization problem; a solution calculation unit that calculates a solution to the continuous optimization problem; and a solution transformation unit that transforms the solution into a feasible solution of the discrete optimization problem, wherein the penalty function includes a function that outputs a penalty on the fractional part of the continuously relaxed variable for the discrete variable.

[0008] It can efficiently solve discrete optimization problems.

[0009] This figure shows an example of the hardware configuration of an optimization device according to one embodiment. This figure shows an example of the functional configuration of an optimization device according to one embodiment. This flowchart shows an example of the operation of an optimization device according to one embodiment. This figure shows an example of a microgrid. This figure shows an example of the computation time in a simulation. This figure shows an example of the approximation ratio to the exact solution in a simulation. This figure shows an example of the number of workload movements in a simulation.

[0010] Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings. In the following, a constrained discrete optimization problem is assumed as the discrete optimization problem, and an optimization device 10 capable of efficiently solving the constrained discrete optimization problem will be described.

[0011] Here, the optimization device 10 described below converts a constrained discrete optimization problem into an unconstrained continuous optimization problem, finds a solution to this continuous optimization problem, and then converts that solution into a feasible solution to the original discrete optimization problem. Since brute-force search is unnecessary for unconstrained continuous optimization problems, using the optimization device 10 described below makes it possible to find a feasible solution to the original discrete optimization problem in a realistic amount of time. A feasible solution is a solution that satisfies all constraints, although it is not necessarily the optimal solution.

[0012] <Preparation> Hereafter, we will assume that the constrained discrete optimization problem is a minimization problem, and let its objective function (hereinafter also called the "first objective function") be f(X'). Here, X' = (x 1 ', ..., x e ', x e+1 , ..., x n ), x i (1 ≤ i ≤ e) are integer variables, x i (e+1 ≤ i ≤ n) is a continuous variable, and e is the number of integer variables. However, a constrained discrete optimization problem may also be a maximization problem. Note that integer variables may also be called discrete variables.

[0013] Furthermore, the constraints of the constrained discrete optimization problem are C h Let (X') (1 ≤ h ≤ L), where L is the constraint number. Below, constraint C h(X') is expressed in the form of an equation or inequality whose right-hand side is 0. That is, constraint C h (X') is C h (X')=0, C h (X')≧0, C h (X')>0, C h (X')≦0 or C h (X')<0. However, the form of constraint C h (X') is not limited thereto, and it is sufficient that it can be converted into the form of an equation or inequality whose right-hand side is 0.

[0014] For example, let C'(X')=x 1 '+x 3 +2x 5 , then the constraint C'(X')≦50 can be converted to C h (X'):=50-C'(X')≧0. Therefore, the constraint C'(X')≦50 is an example of a constraint that can be converted into the form of C h (X')≧0.

[0015] <Example of Hardware Configuration of Optimization Apparatus 10> FIG. 1 is a diagram illustrating an example of the hardware configuration of the optimization apparatus 10 according to an embodiment. As shown in FIG. 1, the optimization apparatus 10 according to an embodiment includes an input device 101, a display device 102, an external I / F 103, a communication I / F 104, a RAM (Random Access Memory) 105, a ROM (Read Only Memory) 106, an auxiliary storage device 107, and a processor 108. These pieces of hardware are communicably connected to each other via a bus 109.

[0016] The input device 101 is, for example, a keyboard, a mouse, a touch panel, a physical button, or the like. The display device 102 is, for example, a display, a display panel, or the like. Note that the optimization apparatus 10 may not include at least one of the input device 101 and the display device 102, for example.

[0017] The external I / F 103 is an interface with external devices such as the recording medium 103a. Examples of recording media 103a include CDs (Compact Discs), DVDs (Digital Versatile Disks), SD memory cards (Secure Digital memory cards), and USB (Universal Serial Bus) memory cards.

[0018] The communication interface 104 is an interface for connecting to a communication network. The RAM 105 is a volatile semiconductor memory (storage device) that temporarily holds programs and data. The ROM 106 is a non-volatile semiconductor memory (storage device) that can retain programs and data even when the power is turned off. The auxiliary storage device 107 is a non-volatile storage device such as an HDD (Hard Disk Drive), SSD (Solid State Drive), or flash memory. The processor 108 is a type of arithmetic unit such as a CPU (Central Processing Unit).

[0019] Note that the hardware configuration shown in Figure 1 is just one example, and the hardware configuration of the optimization device 10 is not limited to this. The optimization device 10 may, for example, have multiple auxiliary storage devices 107 and multiple processors 108, or it may not have some of the hardware shown, or it may have various hardware other than the hardware shown.

[0020] <Example of Functional Configuration of Optimization Device 10> Figure 2 is a diagram showing an example of the functional configuration of an optimization device 10 according to one embodiment. As shown in Figure 2, the optimization device 10 according to one embodiment has a problem transformation unit 110, a solution calculation unit 111, and a solution transformation unit 112. Each of these units is realized, for example, by a process in which one or more programs installed in the optimization device 10 are executed by a processor 108 or the like.

[0021] The problem transformation unit 110 transforms a given constrained discrete optimization problem into an unconstrained continuous optimization problem.

[0022] The solution calculation unit 111 calculates the solution to the unconstrained continuous optimization problem after the problem transformation unit 110. The solution calculation unit 111 can calculate the solution to the unconstrained continuous optimization problem using, for example, known continuous optimization methods (e.g., steepest descent method, Nesterov's accelerated gradient method, etc.).

[0023] The solution conversion unit 112 converts the solution calculated by the solution calculation unit 111 into a feasible solution to the constrained discrete optimization problem. This is because the solution calculated by the solution calculation unit 111 only approximately satisfies the constraints of the original constrained discrete optimization problem.

[0024] <Example of Operation of Optimization Device 10> Figure 3 is a flowchart showing an example of the operation of the optimization device 10 according to one embodiment. Hereinafter, the optimization device 10 is assumed to be given a constrained discrete optimization problem.

[0025] The problem transformation unit 110 transforms a given constrained discrete optimization problem into an unconstrained continuous optimization problem (step S101). The problem transformation unit 110 transforms a given constrained discrete optimization problem into an unconstrained continuous optimization problem by, for example, the following steps 1-1 to 1-4.

[0026] Procedure 1-1: The problem transformation unit 110 transforms the integer variable x of the constrained discrete optimization problem into i Convert (1 ≤ i ≤ e) to a continuous variable. This is also called continuous relaxation. Below, integer variable x i 'A continuous variable obtained by continuously relaxing (1 ≤ i ≤ e) is x i Let (1 ≤ i ≤ e). Also, X = (x 1 , ..., x e , x e+1 , ..., x n )

[0027] Step 1-2: The problem transformation unit 110 handles constraint C h Transform (X)(1 ≤ h ≤ L) into a first penalty function. The first penalty function is constraint C h This refers to a function whose value becomes larger as it violates the condition (X) (1 ≤ h ≤ L). Hereafter, the first penalty function will be denoted as P(X). The method for converting to the first penalty function P(X) will be described later.

[0028] Step 1-3: The problem transformation unit 110 transforms the continuous variable x into a continuously relaxed continuous variable. i A second penalty function is created for (1 ≤ i ≤ e). The second penalty function is defined as the number of continuous variables x i This refers to a function whose value increases as the value of (1 ≤ i ≤ e) moves further away from an integer. Below, the second penalty function is Q(X). 1:e ) Let X 1:e = (x 1 , ..., x e ) is the second penalty function Q(X 1:e The method for creating it will be described later.

[0029] Step 1-4: For the first objective function f(X), the first penalty function P(X) and the second penalty function Q(X) 1:e The second objective function is the function obtained by adding ) to g(X; ρ). For example, g(X; ρ) k ): = f(X) + ρ k P(X) + αQ(X) 1:e Let ) be the second objective function. Here, ρ k >0 is the penalty coefficient for the first penalty function P(X), k is the number of steps used when calculating the solution by the solution calculation unit 111, and α>0 is the second penalty function Q(X) 1:e This is the penalty coefficient for ).

[0030] Based on the above, the second objective function g(X; ρ) k This yields an unconstrained continuous optimization problem that minimizes ).

[0031] The solution calculation unit 111 calculates the solution to the unconstrained continuous optimization problem obtained in step S101 (step S102). The solution calculation unit 111 calculates the solution to the unconstrained continuous optimization problem by, for example, the following steps 2-1 to 2-3.

[0032] Step 2-1: The solution calculation unit 111 calculates the initial solution X 0 And the initial penalty coefficient ρ 0 Determine the initial solution X. 0 For example, it may be determined randomly or sampled from a predetermined distribution. Also, the initial penalty coefficient ρ 0Similarly, these may be determined randomly or sampled from a predetermined distribution.

[0033] Procedure 2-2: The solution calculation unit 111 repeatedly performs (a) and (b) below for step numbers k = 0, 1, ..., K. Note that K is a predetermined total number of steps.

[0034] (a) The solution calculation unit 111 uses a known continuous optimization method (e.g., steepest descent method, Nesterov's accelerated gradient method, etc.) to calculate g(X k+1 ρ k ) ≤ g(X k ρ k Solution X k+1 Calculate.

[0035] (b) The solution calculation unit 111 is ρ k+1 >ρ k Penalty coefficient ρ that satisfies this condition k+1 A new decision will be made.

[0036] Step 2-3: The solution calculation unit 111 is X K+1 Let X be the solution to the unconstrained continuous optimization problem. Hereafter, X (opt) = X K+1 X (opt) = (x 1 (opt) , ..., x n (opt) )

[0037] The solution conversion unit 112 converts the solution X calculated in step S102 above. (opt) The solution conversion unit 112 converts the result into a feasible solution to a constrained discrete optimization problem. 1 (opt) , ..., x e (opt) By performing rounding operations and converting the result to an integer, we obtain the feasible solution X' of the constrained discrete optimization problem. (opt) = (x 1 ' (opt) , ..., x e ' (opt) , x e+1 ' (opt) , ..., x n (opt) This converts it to a feasible solution X' of the given constrained discrete optimization problem.(opt) is obtained.

[0038] ≪Method of Converting to First Penalty Function P(X)≫ The problem conversion unit 110 converts constraint C h (X) (1≦h≦L) into a constraint penalty function p h (X), and then sets the sum of the respective constraint penalty functions p h (X) as the first penalty function P(X). That is, P(X) = p 1 (X) + ... + p L (X). In the following, an example of the method of converting to the constraint penalty function p h (X) according to the form of constraint C h (X) will be described.

[0039] • Conversion Method 1 Conversion Method 1 is an example of the conversion method in the case where constraint C h (X) is expressed in the form of C h (X)≧0 or C h (X)>0.

[0040] In this case, for example, constraint C h (X) is converted into a constraint penalty function p h (X) = max(0, -C h (X)) 2 . Note that p h (X) = min(0, C h (X)) 2 may be used instead.

[0041] • Conversion Method 2 Conversion Method 2 is an example of the conversion method in the case where constraint C h (X) is expressed in the form of C h (X)≦0 or C h (X)<0.

[0042] In this case, for example, constraint C h (X) is converted into a constraint penalty function p h (X) = max(0, C h (X)) 2 . Note that p h (X) = min(0, -C h (X)) 2 may be used instead.

[0043] • Conversion Method 3 Conversion Method 3 is for constraint Ch (X) is C h This is an example of a conversion method when the expression is in the form (X) = 0.

[0044] In this case, for example, constraint C h (X) to p h (X)=min(0, |C h (X) |) 2 Convert to a constraint penalty function.

[0045] ≪Second penalty function Q(X 1:e ) Method of creation >> The problem transformation unit 110, for example, each continuously relaxed continuous variable x i For (1 ≤ i ≤ e), the decimal part penalty function q(x) becomes larger as the decimal part approaches 0.5. i After creating the ) for each decimal part penalty function q(x i The sum of ) is the second penalty function Q(X 1:e Let Q(X) be the case. 1:e ) = q(x 1 ) + ... + q(x e Let ). Here, the fractional part penalty function q(x i For example, q(x i ) = sin 2 (πx i ) However, this is just one example, and the continuous variable x i Other functions may be used as long as they increase as the decimal part of the expression approaches 0.5.

[0046] <Application Example> Below, as an application example of the optimization device 10 according to the above embodiment, supply and demand adjustment across microgrids will be described. A microgrid is a system that independently supplies electricity in a specific region or facility. By using a microgrid, it becomes possible to realize, for example, "local production for local consumption" of renewable energy. On the other hand, since renewable energy is susceptible to the effects of weather and other factors, it is necessary to stabilize the power supply and demand of the microgrid when "local production for local consumption" of renewable energy using a microgrid.

[0047] Methods for stabilizing the power supply and demand of microgrids (hereinafter also simply referred to as "grids") include, for example, power exchange between grids (self-transmission) and the movement of ICT equipment workloads using virtualization technology to adjust supply and demand across grids (Reference 1).

[0048] In supply and demand adjustment across grids, it is necessary to control supply and demand by combining power sharing (self-transmission), workload transfer of ICT equipment, and charging / discharging of storage batteries and buying and selling of electricity with power companies, in order to minimize the cost of supply and demand control. Examples of costs include the cost of selling electricity, the cost of buying electricity, the cost of transferring workloads, and the cost of charging / discharging storage batteries. However, these are just examples of costs, and other costs may be used, or multiple costs may be combined.

[0049] ≪Problem Setting≫ Let M be the number of grids. Figure 4 shows an example of a microgrid when M = 3. As shown in Figure 4, the amount of power generated at grid i (1 ≤ i ≤ M) at the initial point P i , power consumption L i Battery remaining charge Z i , electricity purchase price U i , electricity selling price R i Assume that the following are given. Also, as shown in Figure 4, assume that the power exchange cost G, workload transfer cost S, and battery degradation cost V (an example of charge / discharge cost) are given.

[0050] In this system, power consumption and supply are adjusted across grids by controlling the transfer of power from one grid to another (self-transmission), the movement of ICT equipment loads (workloads) from one grid to another, the discharge of batteries in one grid, and the buying and selling of power with power companies.

[0051] Below, the amount of power exchanged from grid i to grid j is T. i,j W is the number of workloads moved from grid i to grid j. i,j k B is the amount of battery discharged at grid i. iC i D i Let k be a number representing an ICT device, and let N be the total number of ICT devices (number of workload types), where k = 1, 2, ..., N. i,j k Please note that this is an integer variable.

[0052] The objective function to be minimized in this constrained discrete optimization problem is as follows, where 1 ≤ i and j ≤ M.

[0053] Total cost = GΣ i Σ j T i,j +SΣ i Σ j Σ k W i,j k +VΣ i B i +Σ i U i ・C i -Σ i R i ・D i Furthermore, the following constraints apply.

[0054] Constraint 1: Power supply and demand must be balanced across all grids. This constraint 1 can be expressed as follows:

[0055] P i -L i +C i -D i +B i +Σ j T j,i -Σ j T i,j -aΣ j W j,i k + aΣ j W i,j k = 0 (for all i = 1, ..., M) where a is the amount of power consumed by a single workload. aΣ j W i,j k This represents the total power consumption reduction in grid i due to the shift of workload from grid i to other grids. Also, aΣ j Wj,i k This represents the total power consumption increase in grid i due to the shift of workloads from other grids to grid i. Constraint 1 above assumes that all workloads uniformly generate a common power consumption a; however, the power consumption may differ for each workload.

[0056] The power consumption 'a' generated by each workload can be determined, for example, by adjusting the initial power consumption and the number of workloads. For instance, by assuming a linear relationship between the power consumption of a workload and the number of workloads, the power consumption 'a' generated by each workload can be determined in accordance with the changes in the initial power consumption and the number of workloads. However, assuming a linear relationship between the power consumption of a workload and the number of workloads is just one example; the relationship may be nonlinear.

[0057] Constraint 2: Battery discharge amount B i Initial remaining amount Z i The following applies. This constraint 2 can be expressed as follows.

[0058] B i ≤ Z i (for ∀i=1,...,M) Constraint 3: Power interchange amount T i,j Workload migration count W i,j k , power purchase amount C i , amount of electricity sold D i It is non-negative. This constraint 3 can be expressed as follows:

[0059] T i,j ≥ 0, W i,j k ≥ 0, C i ≥ 0, D i ≥ 0 (for all i, j ∈ {1, ..., M}) Constraint 4: Only surplus power can be transferred to other grids (however, it is not permitted to purchase large amounts of electricity from a grid with a low electricity purchase price and distribute it to other grids). This constraint 4 can be expressed as follows.

[0060] max(0, P) i -L i +max(0, B) i)) - (Σ j T i,j + aΣ j W i,j k +D i ) ≤ 0 (for ∀i = 1, ..., M) <<Conversion to an unconstrained continuous optimization problem>> Convert the constrained discrete optimization problem defined in the above problem setting to an unconstrained continuous optimization problem.

[0061] In step 1-1 above, the number of workload moves W is an integer variable. i,j k The variable is continuously relaxed and converted into a continuous variable. Below, the number of continuously relaxed workload movements is also W. i,j k We will express it as follows.

[0062] In steps 1-2 above, constraints 1-4 are converted into the first penalty function. Constraint 1 is converted using method 3 into the constraint penalty function min(0, |P i -L i +C i -D i +B i +Σ j T j,i -Σ j T i,j -aΣ j W j,i k + aΣ j W i,j k |) 2 It can be converted to Z. Constraint 2 is Z i -B i Since ≥ 0, by transformation method 1, the constraint penalty function max(0, -(Z i -B i )) 2 It can be converted to the following. Similarly, constraint 3 can be converted to the constraint penalty function max(0, -T) using conversion method 1. i,j ) 2 , max(0, -W i,j k ) 2 , max(0, -C i ) 2 , max(0, -D i ) 2It can be converted to the following. Constraint 4 can be converted to the constraint penalty function max(0, max(0, P) by conversion method 2. i -L i +max(0, B) i )) - (Σ j T i,j + aΣ j W i,j k +D i )) 2 This can be converted to the first penalty function, which is obtained as the sum of each constraint penalty function.

[0063] In steps 1-3 above, the number of sequentially relaxed workload moves W i,j k For the fractional part penalty function q(W i,j k ) = sin 2 (πW) i,j k After creating the above, the sum of them is used as the second penalty function.

[0064] In steps 1-4 above, the second objective function is obtained by adding the first and second penalty functions to the total cost mentioned above. This yields an unconstrained continuous optimization problem that minimizes the second objective function.

[0065] <<Calculation of solutions to unconstrained continuous optimization problems>> For example, for the total cost included in the second objective function (first objective function), GΣ i Σ j T i,j +SΣ i Σ j Σ k W i,j k Minimize only that portion using steps 2-1 to 2-3 above. Meanwhile, VΣ i B i +Σ i U i ・C i -Σ i R i ・D i The part will be a fixed value. This will reduce processing costs and the important part (i.e., T) i,j and W i,jk It becomes possible to calculate ).

[0066] ≪Solution Transformation≫ The final solution only approximately satisfies the constraints, therefore, the W included in the solution i,j k The result is converted to an integer by rounding or other operations. This yields a feasible solution to the original constrained discrete optimization problem.

[0067] Here, W is included in the above solution. i,j k By converting to an integer, under the above constraints, the amount of power generated P i and power consumption L i A discrepancy occurs. This discrepancy is, for example, the battery discharge amount B. i This is supplemented by selling and buying electricity. As an example, the amount of electricity generated P i >Power consumption L i In that case, the electricity selling price R i The cost of charging and discharging is compared with the cost of selling surplus generated electricity or charging the battery, and the higher cost is used for selling surplus generated electricity or charging the battery. Meanwhile, the amount of generated electricity P i <Power consumption L i In that case, the electricity purchase price U i The cost of charging and discharging is compared, and the cheaper option is used to purchase electricity to cover the power shortage or to discharge from the battery.

[0068] <<Evaluation by Simulation>> The following describes the evaluation of this application example when executed in a simulation.

[0069] In continuous optimization, the quasi-Newton method is generally used. On the other hand, the quasi-Newton method is O(M 4 N 2 This requires a computational complexity of O(M). Therefore, it is preferable to use the steepest descent method or Nesterov's accelerated gradient method, which require less computational complexity. Note that the computational complexity of both the steepest descent method and Nesterov's accelerated gradient method is O(M). 2 N) is such that, in theoretical asymptotic evaluation, Nesterov's accelerated gradient method is known to be the most efficient.

[0070] Therefore, we compared four methods using the optimization device 10 according to the above embodiment: using Nesterov's accelerated gradient method, using the steepest descent method, using a general-purpose solver that performs a quasi-Newton method after continuously relaxing integer variables, and using a general-purpose solver that searches for solutions to constrained discrete optimization problems by brute force.

[0071] In this case, the number of workload types N was fixed at 2, and the number of grids M was increased by two each time from 3 to 11, with simulations performed for M = 3, 5, 7, 9, and 11. In addition, 10 patterns of constrained discrete optimization problems were randomly generated using the following methods (A) to (D).

[0072] (A) The amount of electricity generated, electricity consumed, battery capacity, electricity purchase price, and electricity sale price at the initial point of each grid are each determined uniformly and randomly from a predetermined range.

[0073] (B) The network structure between grids is determined by randomly generating the adjacency matrix.

[0074] (C) If the distance between grids exceeds a predetermined threshold, workloads cannot be moved between those grids.

[0075] (D) Power exchange costs, battery degradation costs, and workload transfer costs are fixed at predetermined values.

[0076] Figure 5 shows an example of computation time in a simulation. In Figure 5, "Nesterov's accelerated gradient method (proposed method, continuous relaxation)" is the case when Nesterov's accelerated gradient method is used in the optimization device 10 according to the above embodiment, and "steepest descent method (proposed method, continuous relaxation)" is the case when the steepest descent method is used in the optimization device 10 according to the above embodiment. On the other hand, "quadratic method (general-purpose solver, continuous relaxation)" is the case when a general-purpose solver is used that performs a quasi-Newton method after continuously relaxing integer variables, and "exact solution method (general-purpose solver, discrete)" is the case when a general-purpose solver is used that searches for solutions to a constrained discrete optimization problem by brute force. Also, in Figure 5, the vertical axis is computation time (minutes), and the horizontal axis is the number of grids M.

[0077] As shown in Figure 5, Nesterov's accelerated gradient method (proposed method, continuous relaxation) is the most efficient when the number of grids M is 9 or greater.

[0078] Figure 6 shows an example of the approximation ratio to the exact solution in the simulation. As shown in Figure 6, it can be seen that Nesterov's accelerated gradient method (proposed method, continuous relaxation) and quadratic method (general-purpose solver, continuous relaxation) provide an approximation of about 20% to the exact solution.

[0079] • Workload Movement Count Figure 7 shows an example of workload movement count in a simulation. The left side of Figure 7 shows the workload movement count W without using a fractional part penalty function. i,j k When continuous relaxation is performed, the right side of Figure 7 shows the case when the optimization device 10 according to the above embodiment is used (i.e., the number of workload movements W). i,j k This is the case when continuous relaxation is applied and a fractional penalty function is used. As shown on the right side of Figure 7, by using a fractional penalty function, the number of continuously relaxed workload movements W i,j k It can be seen that values ​​close to integers are obtained for W. 4,1 1 , W 1,2 1 , W 4,3 1 , W 4,1 2 , W 4,2 2 , W 5,2 2 , W 5,3 2 It can be seen that a value close to an integer is obtained for this. Furthermore, the total cost value after rounding is also smaller.

[0080] <Summary> As described above, the optimization device 10 according to one embodiment converts a given constrained discrete optimization problem into an unconstrained continuous optimization problem, and then converts the solution of the continuous optimization problem into a feasible solution of the original discrete optimization problem. At this time, the optimization device 10 according to one embodiment introduces a penalty function for the fractional part of the continuously relaxed variable to the objective function of the continuous optimization problem. This makes it possible to solve the problem much more efficiently compared to solving the original discrete optimization problem, and makes it possible to reduce the degree of deviation from the exact solution compared to simply using continuous relaxation. In other words, it becomes possible to obtain an efficient and accurate solution.

[0081] It should be noted that the optimization device 10 according to one embodiment can be applied equally to cases where the objective function and constraints of a given constrained discrete optimization problem are linear or nonlinear. Furthermore, when applying the optimization device 10 according to the above embodiment to supply and demand adjustment across microgrids, there is the advantage that the increase in computational load can be suppressed even if the number of grids and workload types increases.

[0082] <Supplement> The functions of the elements disclosed herein may be implemented using circuits or processing circuits that include general-purpose processors, special-purpose processors, integrated circuits, ASICs (Application Specific Integrated Circuits), FPGAs (Field Programmable Gate Arrays), conventional circuits, and / or combinations thereof that are programmed using one or more programs stored in one or more memories, or otherwise configured to perform the disclosed functions. A processor is considered a circuit or processing circuit because it includes transistors and other circuits. A processor may be a programmed processor that executes programs stored in memory. In this disclosure, a circuit, unit, or means is hardware that performs the enumerated functions, or hardware programmed to perform the enumerated functions. Hardware may be any hardware disclosed herein that is programmed or configured to perform the enumerated functions.

[0083] There is a memory for storing a computer program that includes computer instructions. These computer instructions provide logic and routines that enable hardware (e.g., circuits or processing circuits) to perform the methods disclosed herein. This computer program can be implemented in commonly known forms as a computer-readable storage medium, a computer program product, a memory device, a recording medium such as a CD-ROM or DVD, and / or memory of an FPGA or ASIC.

[0084] The following additional information is disclosed regarding the embodiments described above.

[0085] (Note 1) An optimization device comprising a memory and at least one processor connected to the memory, wherein the processor converts a discrete optimization problem into a continuous optimization problem by performing continuous relaxation on the discrete variables of a given discrete optimization problem and adding a penalty function to the objective function of the discrete optimization problem, calculates a solution to the continuous optimization problem, converts the solution into a feasible solution to the discrete optimization problem, and the penalty function includes a function that outputs a penalty on the fractional part of the continuously relaxed variable where the discrete variable is. (Note 2) The optimization device according to Note 1, wherein the function that outputs the penalty on the fractional part is a function that outputs a larger value the closer the fractional part of the continuously relaxed variable is to 0.5. (Note 3) The function that outputs the penalty on the fractional part takes the value of the continuously relaxed variable as input x and sine 2 An optimization device according to Appendix 2, wherein the function outputs a value by (πx). (Appendix 4) An optimization device according to any one of Appendix 1 to 3, wherein the processor converts the continuously relaxed variable among the variables included in the solution into a feasible solution by performing rounding operations on the values ​​of the continuously relaxed variable. (Appendix 5) An optimization device according to Appendix 1, wherein the discrete optimization problem is a constrained discrete optimization problem, and the penalty function includes a function that outputs a value large enough to violate the constraint. (Appendix 6) A non-temporary storage medium storing a program that can perform optimization processing by a computer, wherein the optimization processing converts the discrete optimization problem into a continuous optimization problem by performing continuous relaxation on the discrete variables of a given discrete optimization problem and adding a penalty function to the objective function of the discrete optimization problem, calculates the solution of the continuous optimization problem, converts the solution into a feasible solution of the discrete optimization problem, and the penalty function includes a function that outputs a penalty on the fractional part of the continuously relaxed variable where the discrete variable is.

[0086] The present invention is not limited to the embodiments specifically disclosed above, and various modifications, changes, and combinations with known technologies are possible without departing from the spirit of the claims.

[0087] [References] Reference 1: Virtual Energy Supply and Demand Control Technology, Internet <URL: https: / / www.rd.ntt / se / technology / virtual_supply_demand.html>

[0088] 10 Optimization device 101 Input device 102 Display device 103 External I / F 103a Recording medium 104 Communication I / F 105 RAM 106 ROM 107 Auxiliary storage device 108 Processor 109 Bus 110 Problem conversion unit 111 Solution calculation unit 112 Solution conversion unit

Claims

1. An optimization device comprising: a problem transformation unit that transforms a given discrete optimization problem into a continuous optimization problem by performing continuous relaxation on the discrete variables of the discrete optimization problem and adding a penalty function to the objective function of the discrete optimization problem; a solution calculation unit that calculates the solution of the continuous optimization problem; and a solution transformation unit that transforms the solution into a feasible solution of the discrete optimization problem, wherein the penalty function includes a function that outputs a penalty on the fractional part of the continuously relaxed variable for the discrete variable.

2. The optimization apparatus according to claim 1, wherein the function that outputs the penalty for the fractional part is a function that outputs a larger value the closer the fractional part of the continuously relaxed variable is to 0.

5.

3. The function that outputs the penalty for the fractional part takes the value of the continuously relaxed variable as input x and sine 2 The optimization device according to claim 2, which is a function that outputs a value using (πx).

4. The optimization apparatus according to any one of claims 1 to 3, wherein the solution conversion unit converts the values ​​of the continuously relaxed variables among the variables included in the solution into the feasible solution by performing a rounding operation.

5. The optimization apparatus according to claim 1, wherein the discrete optimization problem is a constrained discrete optimization problem, and the penalty function includes a function that outputs a value large enough to violate the constraint.

6. An optimization method comprising: a problem transformation procedure that transforms a given discrete optimization problem into a continuous optimization problem by performing continuous relaxation on the discrete variables of the discrete optimization problem and adding a penalty function to the objective function of the discrete optimization problem; a solution calculation procedure that calculates the solution of the continuous optimization problem; and a solution transformation procedure that transforms the solution into a feasible solution of the discrete optimization problem, wherein the penalty function includes a function that outputs a penalty on the fractional part of the continuously relaxed variable for the discrete variable.