Optimization device, optimization method, and optimization program

The optimization device and method efficiently derive pseudo-optimal solutions for combinatorial optimization problems by maximizing inner products or bilinear forms, addressing the inefficiencies of existing algorithms and achieving faster computation compared to interior point methods.

WO2024214167A1PCT designated stage expired Publication Date: 2024-10-17NEC CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/014670
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-11
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

Existing algorithms for solving optimization problems, such as the interior point method, simplex method, plane cut method, molecule restriction method, and molecule cut method, are computationally inefficient for large-scale calculations and not suitable for obtaining pseudo-optimal solutions quickly.

Method used

An optimization device, method, and program that receives inputs of solution candidates and weights for optimization problems expressed as inner products or bilinear forms, determining the solution candidate that maximizes the inner product or bilinear form to derive a pseudo-optimal solution efficiently.

Benefits of technology

Enables the derivation of pseudo-optimal solutions in combinatorial optimization problems faster than traditional methods like the interior point method, with calculation complexity reduced to O(d|A(s)(n)|, improving computational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023014670_17102024_PF_FP_ABST
    Figure JP2023014670_17102024_PF_FP_ABST
Patent Text Reader

Abstract

An input means 81 receives input of a plurality of solution candidates in an optimization problem, in which an objective function is represented by an inner product of feature amounts and weights or by a bilinear form, and input of the weights of the objective function. An optimum solution determination means 82 determines, among the solution candidates as the optimum solution of the optimization problem, a solution candidate for which the inner product with the weights of the objective function is maximized, or a solution candidate for which the value of the bilinear form is maximized. An output means 83 outputs the optimum solution.
Need to check novelty before this filing date? Find Prior Art

Description

Optimization device, optimization method, and optimization program

[0001] The present invention relates to an optimization device, an optimization method, and an optimization program for deriving a pseudo-optimal solution to an optimization problem.

[0002] Various algorithms for solving combinatorial optimization problems are known. Non-Patent Document 1 describes an interior point method, which is one type of algorithm. The interior point method is a method for approaching an optimal solution from a sequence of interior points that satisfy constraints.

[0003] Other well-known solvers for solving optimization problems include the simplex method, plane resection method, molecular constraint method, and molecular cut method. The simplex method is a method in which, when the constraints are polyhedra, the vertices of the polyhedron are moved to approach the optimal solution. Although it depends on the problem, when it comes to large-scale calculations, the interior point method tends to be more computationally efficient than the simplex method. Furthermore, the plane resection method, molecular constraint method, and molecular cut method are mainly used when solving integer linear programming problems.

[0004] Mizuno, Shinji, "Introduction to the Interior-Point Method," [online], November 9, 2010, [Retrieved December 27, 2022], Internet <URL: http: / / www.me.titech.ac.jp / ~mizu_lab / text / PDF-IP / IP1-IP.pdf>

[0005] The interior point method, simplex method, plane resection method, molecular constraint method, and molecular cut method described above are known to require enormous amounts of calculation when solving optimization problems. For example, even in the interior point method, which is considered to be the fastest, it is known that the calculation speed is proportional to the cube of the dimension of the feature space assumed in the constraint conditions.

[0006] On the other hand, there are cases where a rough optimization result (hereinafter sometimes referred to as a pseudo-optimal solution) is required, emphasizing speed, without requiring a strict optimal solution. However, the above-described algorithm is not suitable for obtaining a pseudo-optimal result. Therefore, it is preferable to emphasize speed and obtain a pseudo-optimal solution faster than, for example, the interior point method.

[0007] Therefore, an object of the present invention is to provide an optimization device, an optimization method, and an optimization program that can derive a pseudo-optimal solution to a combinatorial optimization problem.

[0008] The optimization device according to the present invention is characterized by comprising: input means for receiving input of a plurality of candidate solutions for an optimization problem whose objective function is expressed as the dot product of a feature and a weight, or in a bilinear form, and the weights of the objective function; optimal solution determination means for determining, among the candidate solutions, the candidate solution that maximizes the dot product of the objective function and the weight, or the candidate solution that maximizes the value of the bilinear form, as an optimal solution to the optimization problem; and output means for outputting the optimal solution.

[0009] The optimization method according to the present invention is characterized in that it accepts input of a plurality of candidate solutions for an optimization problem whose objective function is expressed as the dot product of a feature and a weight, or in a bilinear form, and the weights of the objective function, and determines, among the candidate solutions, the candidate solution that maximizes the dot product of the objective function and the weight, or the candidate solution that maximizes the value of the bilinear form, as the optimal solution to the optimization problem, and outputs the optimal solution.

[0010] The optimization program according to the present invention is characterized in that it causes a computer to execute an input process for receiving input of multiple candidate solutions for an optimization problem whose objective function is expressed as the dot product of a feature and a weight or in a bilinear form, and the weights of the objective function; an optimal solution determination process for determining, from among the candidate solutions, the candidate solution that maximizes the dot product of the objective function and the weight or the candidate solution that maximizes the value of the bilinear form, as the optimal solution to the optimization problem; and an output process for outputting the optimal solution.

[0011] According to the present invention, it is possible to derive a pseudo-optimal solution to a combinatorial optimization problem.

[0012] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, and that the invention is not limited to the disclosed general description, and that the invention is not limited to the disclosed general description, but may be modified in various ways.

[0013] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] The present invention will be described in detail below with reference to the accompanying drawings.

[0015] In the present embodiment, it is assumed that the objective function in an optimization problem is expressed as an inner product of a feature value and a weight, or in a bilinear form.

[0014] 1 is a block diagram showing an example of the configuration of an embodiment of an optimization device according to the present invention. The optimization device 100 of this embodiment comprises weight input means 10, data input means 20, optimization calculation means 30, and output means 40.

[0015] The weight input means 10 accepts input of an optimization problem. Specifically, the weight input means 10 accepts input of an objective function targeted by the optimization problem. When the format of the objective function is determined, the weight input means 10 may accept input of the weight of the objective function. As described above, in this embodiment, it is assumed that the objective function is expressed as the dot product of a feature and a weight, or the objective function is expressed in a bilinear format. Therefore, the weight input means 10 may accept input of the objective function itself expressed in a bilinear format, or the weight of the dot product.

[0016] For example, if the feature quantity is h(x) and the weight is φ∈H, a combinatorial optimization problem in which the objective function is expressed as the inner product of the feature quantity and the weight is expressed by the following exemplary formula 1. Note that H is a vector space in which an inner product space or dual can be defined. The weight φ used in this embodiment may be determined manually or may be derived by machine learning or the like.

[0017] max x∈X(s(n)) φ T h(x) (Formula 1)

[0018] Here, let H^ be the dual space of the inner product space H, and ψ 1 ∈Η^, ψ 2 For ∈H, define an inner product or bilinear form as ψ 1 T ψ 2 The inner product space H is isomorphic to its dual space H^ and can be identified. An example of an inner product space is the Euclidean space R d Ya, space l 2 Examples include:

[0019] space l2 is a sequence {a m} m So, Σ m |a m | 2 <∞. An example that is not an inner product space is the space l, where p is a number greater than or equal to 1 but not 2. p Space l p is a sequence {a m} m So, Σ m |a m | p <∞. Space l p The dual of is the space l q (However, it is assumed that 1 / p+1 / q=1 is satisfied.) Therefore, ψ 1 = {a m} m ∈ p , ψ 2 = {b m} m ∈ q As a bilinear form ψ 1 T ψ 2 :=Σ m a m b m is well-defined.

[0020] In addition, s in the above formula 1 (n) The contents will be described later.

[0021] The data input means 20 accepts input of solution candidates for the optimization problem. In the following description, the number of solution candidates is defined as n, and the solution candidates are defined as A(s (n) ) In the following description, n=1, ..., N will be referred to as a label. That is, the data input means 20 inputs a candidate solution A(s (n) ) input is accepted.

[0022] s (n) is a parameter that represents a state or space defined for natural numbers n=1, . . . , N (i.e., labels), and s in the above formula 1 (n) Here, if the space H' is a vector space where duality can be defined, then A(s (n)) is a compact set X(s (n) ) ⊂ H', φ'∈H^, continuous vector-valued function h: H'→H max x∈X(s(n)) φ´ T Data a(φ', s) generated from h(x) that achieves h(x) (n) ) is shown.

[0023] Candidate solution A (s (n) As an example of a finite subset B of H, {a(φ', s (n) ) φ´∈B Note that a finite subset B of H may be predetermined, or a specified element may be further added after an element is randomly obtained to generate solution candidates.

[0024] An example of a compact set X ⊂ H is the Euclidean space R d In particular, the set of finite disjoint unions of closed convex polyhedra is a compact set.

[0025] The solution candidates accepted by the data input means 20 are max x∈X(s(n)) φ T It may be a solution generated using an optimization solver to solve for h(x). For example, for any φ∈H, T A continuous vector-valued function h: H'→H may be used such that h is a quasi-convex function. Alternatively, each component of the vector-valued function h may be piecewise linear.

[0026] Here, we will explain about quasi-convex functions. A function f:H→R is a quasi-convex function if it is true that for any x 1 , x 2 For ∈H, t∈[0,1], f(tx 1 +(1-t)x 2 ) ≦ max {f(x 1 ), f(x 2 ) An example of a quasi-convex function is a convex function.

[0027] We will also explain about piecewise linear mappings. A function f: H → R is said to be piecewise linear if it can be divided into a finite number of divisions S of H. i For f, let S iThis means that when you restrict it to , it becomes an affine function or a linear function. Examples of piecewise linear functions are |x| and max{a 1 T x + b 1 , ..., a k T x + b k} is an example of a function.

[0028] More specifically, if h(x)=x and X is a set of finite disjoint closed convex polyhedra, this optimization solver is a solver that solves mixed linear programming. The data input means 20 may accept solutions generated using this solver as candidate solution data.

[0029] In addition, φ T h(x) = x T Ax+b T If x and X are a set of finite disjoint closed convex polyhedra, this optimization solver is a solver that solves mixed quadratic programming. The data input means 20 may accept solutions generated using this solver as candidate solution data.

[0030] The optimization calculation means 30 calculates a candidate solution that maximizes the inner product with the weight, or a candidate solution that maximizes the value of the bilinear form, as a pseudo-optimal solution. Specifically, the optimization calculation means 30 calculates the weight φ and the candidate solution data A(s (n) ) element, the solution that maximizes the value of the bilinear form is calculated. That is, the optimization calculation means 30 calculates the solution that maximizes the value of the bilinear form for the element of (n) ) is given, max a∈A(s(n)) φ T a (φ, s (n) )∈A(s (n) ) is calculated.

[0031] Here, we will explain why the above process can produce a pseudo-optimal solution. T h(x) satisfies a quasi-convex function. Therefore, max x∈X(s(n)) φ T The x that achieves h(x) is X(s (n) ) appears on the boundary of max x∈X(s(n)) φ T h(x) that achieves h(x) is h(X(s(n) )) appears at the boundary.

[0032] Optimization set α(s (n) ) = {a(φ', s (n) ) φ´∈B is h(X(s (n) )) is a subset of the boundary of H, so the optimization result candidates are gathered. On the finite subset B of H, the optimization max x∈X(s(n)) φ T h(x) and pseudo-optimal max a∈A(s(n)) φ T Since the results of a match, the optimization calculation means 30 can calculate a pseudo-optimal solution.

[0033] We will also explain why a pseudo-optimal solution can be obtained even if each component of the vector-valued function h is piecewise linear. (n) ) is expressed as a union of polyhedra, so from the properties of the vector-valued function h, h(X(s (n) )) is a union of polyhedra. Therefore, max x∈X(s(n)) φ T h(x) that achieves h(x) is h(X(s (n) )) Then, by discussing it in the same way as in the case of a quasi-convex function, the optimization calculation means 30 can calculate a pseudo-optimal solution.

[0034] Next, we will explain why the pseudo-optimal solution can be obtained faster than the interior point method. As mentioned above, in the case of the interior point method, the calculation speed is proportional to the cube of the dimension of the feature space assumed in the constraints. On the other hand, when the dimension of the vector space H is d, the calculation amount for each label n is O(d|A(s (n) ) |). Therefore, it is possible to obtain a pseudo-optimal solution faster than the interior point method or the simplex method.

[0035] The output means 40 outputs the solution obtained by the optimization calculation means 30. That is, the output means 40 outputs a(φ, s (n) ) is output.

[0036] The weight input means 10, data input means 20, optimization calculation means 30, and output means 40 are realized by a computer processor (e.g., a CPU (Central Processing Unit), a GPU (Graphics Processing Unit)) that operates according to a program (optimization program).

[0037] For example, the program may be stored in a storage unit (not shown) of the optimization device 100, and the processor may read the program and operate in accordance with the program as the weight input means 10, the data input means 20, the optimization calculation means 30, and the output means 40. Furthermore, the functions of the optimization device 100 may be provided in the form of SaaS (Software as a Service).

[0038] Furthermore, the weight input means 10, data input means 20, optimization calculation means 30, and output means 40 may each be realized by dedicated hardware. Furthermore, some or all of the components of each device may be realized by general-purpose or dedicated circuits, processors, etc., or a combination of these. These may be configured by a single chip, or by multiple chips connected via a bus. Some or all of the components of each device may be realized by a combination of the above-mentioned circuits, etc., and a program.

[0039] Furthermore, when some or all of the components of the optimization device 100 are realized by multiple information processing devices, circuits, etc., the multiple information processing devices, circuits, etc. may be centrally or decentralized. For example, the information processing devices, circuits, etc. may be realized as a client-server system, a cloud computing system, or the like, in a form in which each is connected via a communication network.

[0040] Next, the operation of the optimization device 100 of this embodiment will be described. FIG. 2 is a flowchart showing an example of the operation of the optimization device 100. The weight input means 10 receives input of a weight φ of the objective function (step S11). The data input means 20 receives input of a candidate solution A(s (n)) is input (step S12). The optimization calculation means 30 calculates the weight φ and the solution candidate A(s (n) The solution candidate that maximizes the bilinear form with ∑ ...

[0041] As described above, in this embodiment, the weight input means 10 accepts input of the weights of the objective function, and the data input means 20 accepts input of multiple solution candidates for an optimization problem in which the objective function is expressed as the dot product of the feature value and the weight, or in a bilinear form. The optimization calculation means 30 then determines, among the solution candidates, the solution candidate that maximizes the dot product of the objective function and the weight, or the solution candidate that maximizes the value of the bilinear form, as the optimal solution for the optimization problem, and the output means 40 outputs the optimal solution. With such a configuration, a pseudo-optimal solution can be derived for a combinatorial optimization problem.

[0042] Specifically, the optimization calculation means 30 solves the combinatorial optimization problem max x∈X(s(n)) φ´ T In h(x), the optimization result can be obtained pseudo-wise. In this case, the amount of calculation required for pseudo-optimization for each label n is O(d|A(s (n) ) |). Therefore, it can calculate a pseudo-optimal solution faster than the interior point method or the simplex method.

[0043] Next, a specific example will be described in which the optimization device of this embodiment is applied to a shift scheduling problem. The shift scheduling problem is a type of integer linear programming. In the shift scheduling problem, constraints on the work procedure, the number of people, the time period, etc. are expressed as a compact set X(s (n) ) element. Also, the solution candidate A(s (n) ) is the optimal solution a(φ',s) of the shift scheduling problem with weight φ'. (n) ) represents a set of

[0044] Next, an overview of the present invention will be described. FIG. 3 is a block diagram showing an overview of an optimization device according to the present invention. The optimization device 80 (for example, the optimization device 100) according to the present invention is configured to find a plurality of solution candidates (for example, A(s)) for an optimization problem (for example, the above-mentioned formula 1) in which the objective function is expressed as an inner product of a feature value and a weight, or in a bilinear form. (n) ) and input means 81 (e.g., weight input means 10 and data input means 20) that accepts input of the weight of the objective function (e.g., weight φ), optimal solution determination means 82 (e.g., optimization calculation means 30) that determines, from among the solution candidates, the solution candidate that maximizes the inner product with the weight of the objective function or the solution candidate that maximizes the value of the bilinear form as the optimal solution to the optimization problem, and output means 83 (e.g., output means 40) that outputs the optimal solution.

[0045] Such a configuration makes it possible to derive a pseudo-optimal solution to a combinatorial optimization problem.

[0046] Furthermore, the input means 81 may accept, as a candidate solution, a solution generated by an optimization solver that solves an optimization problem in which the objective function is expressed as the inner product of a feature and a weight, or in a bilinear form, or a solver in which each value of a vector-valued function is piecewise linear.

[0047] Specifically, the input means 81 may accept, as candidate solution data, a solution generated using a solver in which the bilinear form of the weight and the vector value function is a quasi-convex function.

[0048] Alternatively, the input means 81 may accept, as candidate solution data, a solution generated using a solver that solves a mixed integer programming problem (for example, mixed linear programming or mixed quadratic programming).

[0049] Furthermore, the input means 81 may accept, as solution candidates, data generated by randomly acquiring a finite subset in an inner product space or a vector space in which a dual can be defined.

[0050] 4 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. The computer 1000 includes a processor 1001, a main memory device 1002, an auxiliary memory device 1003, and an interface 1004.

[0051] The optimization device 100 described above is implemented in a computer 1000. The operations of the above-described processing units are stored in the form of a program (optimization program) in an auxiliary storage device 1003. The processor 1001 reads the program from the auxiliary storage device 1003, loads it into the main storage device 1002, and executes the above-described processing in accordance with the program.

[0052] In at least one embodiment, the auxiliary storage device 1003 is an example of a non-permanent tangible medium. Other examples of non-transient storage media include a magnetic disk, a magneto-optical disk, a CD-ROM (Compact Disc Read-only memory), a DVD (Read-only memory), and a semiconductor memory connected via the interface 1004. In addition, if this program is distributed to the computer 1000 via a communication line, the computer 1000 that receives the program may load the program into the main storage device 1002 and execute the above processing.

[0053] The program may also be a program for realizing part of the above-described functions. Furthermore, the program may be a so-called differential file (differential program) that realizes the above-described functions in combination with another program already stored in the auxiliary storage device 1003.

[0054] (Application Example) An example in which the optimization device of this embodiment is applied to the medical and healthcare fields will be described below. Specifically, an application example in which an AI (Artificial Intelligence) system incorporating the optimization device 100 of this embodiment is used to determine work shift schedules for medical professionals such as nurses, physical therapists, caregivers, and doctors in a medical facility will be described.

[0055] The AI ​​system includes an optimization device 100 and at least one terminal device. Nurses and doctors use the terminal device to log in to the AI ​​system and input data related to constraints such as desired work days. The terminal device transmits the input data related to the constraints to the optimization device 1010.

[0056] Alternatively, a data scientist may use a terminal device separate from that of the medical staff to input information about the objective function required to determine work shift scheduling. For example, when expressing terms such as increasing the degree to which vacation requests are reflected, reducing overtime, reducing the number of different types of work on the same day, and minimizing the number of people required to work, each component of the objective function may be set to be piecewise linear.

[0057] The constraints used by the optimization device 100 are not limited to information input by nurses or doctors from their terminal devices. The optimization device 100 may acquire the constraints using data stored in an external database. For example, the optimization device 100 may acquire the number of workers specified for each number of days from the external database as a constraint. Furthermore, the constraints used by the optimization device 100 are not limited to desired work days, and any information regarding work shifts of medical professionals may be used. For example, the constraints may be the compatibility or personal relationships between nurses or doctors. If the constraint is the compatibility between nurses or doctors, the optimization device 100 can schedule work shifts so that nurses or doctors who get along well with each other work the same days and times.

[0058] The optimization device 100 determines an optimal work shift schedule based on the constraints and objective function acquired from the terminal device, and notifies nurses and doctors via the terminal device. A description of how the optimization device 100 determines the shift schedule will be omitted.

[0059] Nurses and doctors check the work shift schedule and, if there are no problems, approve it via their terminal device. If there is a problem with the work shift schedule presented by the AI ​​system, the nurse or doctor logs in to the AI ​​system using their terminal device and requests corrections on the screen. In this case, the optimization device 100 may generate a new work schedule based on the requested corrections.

[0060] The above is a description of an example in which this embodiment is applied to the medical and healthcare fields.

[0061] 10 Weight input means 20 Data input means 30 Optimization calculation means 40 Output means 100 Optimization device 1000 Computer 1001 Processor 1002 Main memory device 1003 Auxiliary memory device 1004 Interface

Claims

1. An optimization device comprising: an input means for receiving input of a plurality of solution candidates for an optimization problem in which an objective function is expressed as an inner product of a feature and a weight, or in a bilinear form, and the weight of the objective function; an optimal solution determination means for determining, from among the solution candidates, a solution candidate that maximizes the inner product of the objective function and the weight, or a solution candidate that maximizes the value of the bilinear form, as an optimal solution for the optimization problem; and an output means for outputting the optimal solution.

2. The optimization device according to claim 1, wherein the input means accepts as solution candidates solutions generated by an optimization solver that solves an optimization problem in which an objective function is expressed as an inner product of features and weights, or in a bilinear form.

3. The optimization device according to claim 1 or 2, wherein the input means accepts, as candidate solution data, a solution generated using a solver in which a bilinear form between the weights and the vector value function is a quasi-convex function.

4. The optimization device according to claim 1 or 2, wherein the input means accepts, as candidate solution data, a solution generated using a solver in which each component of a vector value function becomes a piecewise linear map.

5. The optimization device according to claim 1 or 2, wherein the input means accepts, as solution candidate data, a solution generated using a solver that solves a mixed integer programming problem.

6. The optimization device according to claim 1 or 2, wherein the input means accepts data generated by randomly acquiring a finite subset in an inner product space or a vector space in which a dual can be defined as a solution candidate.

7. An optimization method comprising the steps of: receiving input of a plurality of candidate solutions for an optimization problem in which an objective function is expressed as an inner product of a feature and a weight, or in a bilinear form, and the weight of the objective function; determining, among the candidate solutions, a candidate solution which maximizes the inner product of the objective function and the weight, or a candidate solution which maximizes the value of the bilinear form, as an optimal solution for the optimization problem; and outputting the optimal solution.

8. The optimization method according to claim 7, further comprising accepting as a candidate solution a solution generated by an optimization solver that solves an optimization problem in which the objective function is expressed as an inner product of features and weights, or in a bilinear form.

9. An optimization program for causing a computer to execute: an input process for accepting input of multiple solution candidates for an optimization problem in which an objective function is expressed as the dot product of a feature and a weight, or in a bilinear form, and the weights of the objective function; an optimal solution determination process for determining, from among the solution candidates, the solution candidate that maximizes the dot product of the objective function and the weight, or the solution candidate that maximizes the value of the bilinear form, as an optimal solution for the optimization problem; and an output process for outputting the optimal solution.

10. The optimization program according to claim 9, wherein the input process causes the computer to accept as a candidate solution a solution generated by an optimization solver that solves an optimization problem in which an objective function is expressed as an inner product of features and weights, or in a bilinear form.

Citation Information

Patent Citations

  • Control device and control method

    JP2012043206A

  • Linear programming problem solving system, solution candidate calculation device, optimal solution calculation device, thruster control device for spacecraft, flying object control device, and linear programming problem solving method

    WO2019224954A1