Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7617820B2 - Constraint condition optimization device and constraint condition optimization method - Google Patents
[go: Go Back, main page]

JP7617820B2 - Constraint condition optimization device and constraint condition optimization method - Google Patents

Constraint condition optimization device and constraint condition optimization method Download PDF

Info

Publication number
JP7617820B2
JP7617820B2 JP2021121519A JP2021121519A JP7617820B2 JP 7617820 B2 JP7617820 B2 JP 7617820B2 JP 2021121519 A JP2021121519 A JP 2021121519A JP 2021121519 A JP2021121519 A JP 2021121519A JP 7617820 B2 JP7617820 B2 JP 7617820B2
Authority
JP
Japan
Prior art keywords
constraint
scenario
constraint condition
neighborhood
constraint conditions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021121519A
Other languages
Japanese (ja)
Other versions
JP2023017322A (en
Inventor
イレネ ラフマワン
一成 末光
やえみ 寺本
浩也 松葉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2021121519A priority Critical patent/JP7617820B2/en
Publication of JP2023017322A publication Critical patent/JP2023017322A/en
Application granted granted Critical
Publication of JP7617820B2 publication Critical patent/JP7617820B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、最適化問題における制約条件の調整を行う情報処理装置および情報処理方法に関する。 The present invention relates to an information processing device and information processing method that adjusts constraint conditions in an optimization problem.

従来、複数の制約条件を用いた最適化問題の解決手法に関して、特許文献1の技術が知られている。 Conventionally, the technology described in Patent Document 1 is known as a method for solving optimization problems using multiple constraints.

米国特許出願公開第2014/0156334号US Patent Application Publication No. 2014/0156334

特許文献1では、複数の制約条件を用いたポートフォリオの最適化において、各制約条件に対する感度分析の結果を生成してユーザに提示し、ユーザは提示された情報から各制約条件の上限値や下限値を設定することが記載されている。しかしながら、多数の制約条件が存在する場合には、感度分析の実行に対する演算処理負荷が大きく、また各制約条件の上限値や下限値を設定する際のユーザの負荷も大きいため、特許文献1の手法は実現が困難であるという課題がある。 Patent Document 1 describes how, in optimizing a portfolio using multiple constraint conditions, the results of a sensitivity analysis for each constraint condition are generated and presented to the user, and the user sets upper and lower limits for each constraint condition from the presented information. However, when there are many constraint conditions, the computational processing load for performing the sensitivity analysis is large, and the load on the user when setting the upper and lower limits for each constraint condition is also large, so there is an issue that the method of Patent Document 1 is difficult to implement.

本発明は、上記の課題に鑑みて、最適化問題における制約条件の調整を適切に行うことが可能な技術の提供を目的とする。 In view of the above problems, the present invention aims to provide a technology that can appropriately adjust constraint conditions in an optimization problem.

本発明による制約条件最適化装置は、複数の変数に対して設定された制約条件と、前記制約条件の重みの初期値と、を含む定義情報を取得する定義情報取得部と、前記定義情報取得部により取得された前記定義情報に基づいて、前記複数の変数の最適な組み合わせを表す基準解を算出する基準解演算部と、予め設定された複数のシナリオに基づいて、前記制約条件の重みを前記初期値から変化させたときの前記複数の変数の最適な組み合わせを表す近傍解を前記シナリオごとに算出する近傍解演算部と、複数の前記シナリオについて、前記シナリオごとに前記近傍解の算出結果をユーザに提示するユーザ提示部と、を備え、前記シナリオは、複数の前記制約条件のうち重みの調整対象とする制約条件の情報と、前記制約条件に対応する前記変数の目標値からの逸脱度に関する情報と、を含み、複数の前記シナリオは、前記重みの調整対象とする制約条件が前記シナリオごとに異なって設定され、前記ユーザ提示部は、各近傍解における前記制約条件ごとの前記逸脱度と、各近傍解で前記変数が前記目標値から逸脱している前記制約条件の合計数と、を含む画面を表示モニタに表示して、前記シナリオごとの前記近傍解の算出結果を前記ユーザに提示する
本発明による制約条件最適化方法は、複数の変数に対して設定された制約条件と、前記制約条件の重みの初期値と、を含む定義情報を取得し、取得した前記定義情報に基づいて、前記複数の変数の最適な組み合わせを表す基準解をコンピュータにより算出し、予め設定された複数のシナリオに基づいて、前記制約条件の重みを前記初期値から変化させたときの前記複数の変数の最適な組み合わせを表す近傍解を前記コンピュータにより前記シナリオごとに算出し、前記シナリオは、複数の前記制約条件のうち重みの調整対象とする制約条件の情報と、前記制約条件に対応する前記変数の目標値からの逸脱度に関する情報と、を含み、複数の前記シナリオは、前記重みの調整対象とする制約条件が前記シナリオごとに異なって設定され、各近傍解における前記制約条件ごとの前記逸脱度と、各近傍解で前記変数が前記目標値から逸脱している前記制約条件の合計数と、を含む画面を表示モニタに表示して、前記シナリオごとの前記近傍解の算出結果をユーザに提示する
The constraint condition optimization device according to the present invention includes a definition information acquisition unit that acquires definition information including constraint conditions set for a plurality of variables and initial values of weights of the constraint conditions, a reference solution calculation unit that calculates a reference solution that represents an optimal combination of the plurality of variables based on the definition information acquired by the definition information acquisition unit, a neighborhood solution calculation unit that calculates, for each of a plurality of scenarios set in advance, a neighborhood solution that represents an optimal combination of the plurality of variables when the weights of the constraint conditions are changed from their initial values, and a calculation result of the neighborhood solution for each of the plurality of scenarios. and a user presentation unit that presents to the user, wherein the scenario includes information on a constraint condition among the plurality of constraint conditions for which weighting is to be adjusted and information on the degree of deviation of the variable corresponding to the constraint condition from a target value, and the constraint conditions for which weighting is to be adjusted are set differently for each of the plurality of scenarios, and the user presentation unit displays on a display monitor a screen including the degree of deviation for each constraint condition in each neighborhood solution and a total number of constraint conditions in which the variable deviates from the target value in each neighborhood solution, to present the calculation results of the neighborhood solution for each scenario to the user .
A constraint optimization method according to the present invention acquires definition information including constraint conditions set for a plurality of variables and initial values of weights of the constraint conditions, calculates a reference solution representing an optimal combination of the plurality of variables based on the acquired definition information by a computer, and calculates a neighborhood solution representing an optimal combination of the plurality of variables when the weights of the constraint conditions are changed from their initial values based on a plurality of preset scenarios by the computer for each of the scenarios, the scenarios including information on constraint conditions whose weights are to be adjusted among the plurality of constraint conditions and information on the deviation of the variables corresponding to the constraint conditions from target values, the plurality of scenarios having constraint conditions whose weights are to be adjusted differently for each of the scenarios, and displays a screen including the deviation for each of the constraint conditions in each neighborhood solution and the total number of the constraint conditions in which the variables in each neighborhood solution deviate from the target value on a display monitor to present the calculation results of the neighborhood solutions for each of the scenarios to a user .

本発明によれば、最適化問題における制約条件の調整を適切に行うことが可能な技術を提供することができる。 The present invention provides a technology that can appropriately adjust constraints in an optimization problem.

本発明による制約条件調整方法の概要を示すフローチャート。3 is a flowchart outlining a constraint adjustment method according to the present invention. 本発明による制約条件調整を実現するための情報処理装置のハードウェア構成の一例を示す図。FIG. 1 is a diagram showing an example of a hardware configuration of an information processing device for implementing constraint condition adjustment according to the present invention. 本発明の第1の実施形態に係る情報処理装置の機能ブロックの一例を示す図。1 is a diagram showing an example of functional blocks of an information processing apparatus according to a first embodiment of the present invention; 変数DBの例を示す図。FIG. 4 is a diagram showing an example of a variable DB. 制約条件DBの例を示す図。FIG. 13 is a diagram showing an example of a constraint condition DB. 近傍点DBの例を示す図。FIG. 13 is a diagram showing an example of a neighboring point DB. 変数/制約条件DBの例を示す図。FIG. 13 is a diagram showing an example of a variable/constraint DB. 施設/変数DBの例を示す図。FIG. 4 is a diagram showing an example of a facility/variable DB. シナリオ/制約条件DBの例を示す図。FIG. 4 is a diagram showing an example of a scenario/constraint condition DB. シナリオDBの例を示す図。FIG. 4 is a diagram showing an example of a scenario DB. 演算履歴DBの例を示す図。FIG. 13 is a diagram showing an example of a calculation history DB. 本発明の第1の実施形態に係る制約条件調整処理の流れを示すフローチャート。4 is a flowchart showing the flow of a constraint condition adjustment process according to the first embodiment of the present invention. 近傍解演算処理の詳細を示すフローチャート。11 is a flowchart showing details of a neighborhood solution calculation process. 近傍解表示画面の例を示す図。FIG. 13 is a diagram showing an example of a neighborhood solution display screen. 本発明の第1の実施形態に係る情報処理装置の機能ブロックの一例を示す図。1 is a diagram showing an example of functional blocks of an information processing apparatus according to a first embodiment of the present invention; 本発明の第2の実施形態に係る制約条件調整処理の流れを示すフローチャート。10 is a flowchart showing the flow of a constraint condition adjustment process according to a second embodiment of the present invention. スクリーニング処理の詳細を示すフローチャート。11 is a flowchart showing details of a screening process. 感度分析結果表示画面の例を示す図。FIG. 13 is a diagram showing an example of a sensitivity analysis result display screen.

以下では、本発明の実施形態について説明する。本発明は、複数の変数の最適な組み合わせを演算処理によって求める最適化問題において、各変数に対する制約条件の調整を行うものである。なお、説明の明確化のため、以下の記載及び図面は、適宜、省略及び簡略化がなされている。本発明は下記の実施形態に制限されることは無く、本発明の思想に合致するあらゆる応用例が本発明の技術的範囲に含まれる。特に限定しない限り、各構成要素は複数でも単数でも構わない。 The following describes an embodiment of the present invention. The present invention adjusts constraint conditions for each variable in an optimization problem in which the optimal combination of multiple variables is found through computation. For clarity of explanation, the following description and drawings have been omitted or simplified as appropriate. The present invention is not limited to the following embodiment, and all application examples that meet the concept of the present invention are included in the technical scope of the present invention. Unless otherwise specified, each component may be multiple or singular.

(本発明の概要)
図1は、本発明による制約条件調整方法の概要を示すフローチャートである。本発明では、図1のフローチャートに示すステップS101~S105の各処理が情報処理装置によって実行されることにより、制約条件の調整が行われる。
(Summary of the Invention)
1 is a flowchart showing an outline of a constraint condition adjustment method according to the present invention. In the present invention, constraint conditions are adjusted by executing the processes of steps S101 to S105 shown in the flowchart of FIG.

ステップS101では、最適化問題を解くためのモデルの生成に用いられる定義情報を取得する。ステップS102では、ステップS101で取得した定義情報を用いて、最適化問題を解くためのモデルを生成する。ステップS103では、ステップS102で生成した最適化モデルを用いて、複数の変数の組み合わせに対して基準とする解を演算する。ステップS104では、ステップS103で基準解を演算した各変数に対する制約条件を調整し、基準解に対する近傍解を演算する。ステップS105では、ステップS104で求められた近傍解をユーザに提示する。 In step S101, definition information used to generate a model for solving the optimization problem is obtained. In step S102, a model for solving the optimization problem is generated using the definition information obtained in step S101. In step S103, a reference solution for a combination of multiple variables is calculated using the optimization model generated in step S102. In step S104, the constraint conditions for each variable for which a reference solution was calculated in step S103 are adjusted, and a neighboring solution to the reference solution is calculated. In step S105, the neighboring solutions found in step S104 are presented to the user.

次に、本発明の一実施形態に係る情報処理装置のハードウェア構成について説明する。図2は、本発明による制約条件調整を実現するための情報処理装置のハードウェア構成の一例を示す図である。 Next, the hardware configuration of an information processing device according to one embodiment of the present invention will be described. FIG. 2 is a diagram showing an example of the hardware configuration of an information processing device for implementing constraint condition adjustment according to the present invention.

本実施形態に係る情報処理装置100は、図2に示すように、プロセッサ101、メモリ102、記憶装置103、通信インタフェース(IF)104、入出力IF105を備える。 As shown in FIG. 2, the information processing device 100 according to this embodiment includes a processor 101, a memory 102, a storage device 103, a communication interface (IF) 104, and an input/output IF 105.

プロセッサ101は、メモリ102を作業領域に用いて、記憶装置103に格納された所定のプログラムを実行することにより、情報処理装置100が有する様々な機能を実現する。メモリ102は、例えばROM(Read Only Memory)やRAM(Random Access Memory)を組み合わせて構成される。 The processor 101 uses the memory 102 as a working area and executes a predetermined program stored in the storage device 103 to realize various functions of the information processing device 100. The memory 102 is formed by combining, for example, a read only memory (ROM) and a random access memory (RAM).

記憶装置103は、プロセッサ101において実行される各種プログラムや、プログラムの実行時に使用される各種データを記憶保持する。記憶装置103は、例えばHDD(Hard Disk Drive)やSSD(Solid State Drive)、光磁気ディスク、フラッシュメモリ等の不揮発性の記録媒体を用いて構成される。なお、情報処理装置100において必要なプログラムやデータを保存できるものであれば、記憶装置103として使用される記録媒体の数や種類は問わない。 The storage device 103 stores and holds various programs executed by the processor 101 and various data used when executing the programs. The storage device 103 is configured using non-volatile recording media such as a hard disk drive (HDD), a solid state drive (SSD), a magneto-optical disk, or a flash memory. Note that the number and type of recording media used as the storage device 103 are not important as long as they are capable of storing the programs and data required by the information processing device 100.

通信IF104は、情報処理装置100に接続される各種外部装置との間で送受信される通信データのインタフェース処理を行う。本実施形態では、製品ごとの売り上げ情報等の様々な顧客情報を収集可能なPOS(Point Of Sales)システム110や、製品の生産管理を行う生産管理システム120などが、外部装置として通信IF104を介して情報処理装置100に接続されるものとする。なお、これ以外の外部装置を情報処理装置100に接続可能としてもよい。 The communication IF 104 performs interface processing for communication data transmitted and received between various external devices connected to the information processing device 100. In this embodiment, a POS (Point Of Sales) system 110 capable of collecting various customer information such as sales information for each product, and a production management system 120 which manages the production of products are connected to the information processing device 100 as external devices via the communication IF 104. Note that other external devices may also be connectable to the information processing device 100.

情報処理装置100には、入力装置130および出力装置140が接続される。入力装置130は、例えばキーボード、マウス、タッチパネル等により構成され、情報処理装置100を利用するユーザの入力操作を検出し、その検出結果に応じた操作情報を情報処理装置100に出力する。この操作情報は、入出力IF105を介してプロセッサ101に入力され、プロセッサ101の処理に反映される。出力装置140は、例えば表示モニタやプリンタ等により構成され、プロセッサ101から入出力IF105を介して出力される画像情報や文字情報に基づく画面表示や印刷等を行うことにより、これらの情報をユーザに提示する。 An input device 130 and an output device 140 are connected to the information processing device 100. The input device 130 is composed of, for example, a keyboard, a mouse, a touch panel, etc., and detects input operations by a user using the information processing device 100, and outputs operation information corresponding to the detection result to the information processing device 100. This operation information is input to the processor 101 via the input/output IF 105, and is reflected in the processing of the processor 101. The output device 140 is composed of, for example, a display monitor, a printer, etc., and presents this information to the user by performing screen display, printing, etc. based on the image information and text information output from the processor 101 via the input/output IF 105.

(第1の実施形態)
次に、本発明の制約条件調整を実現するための情報処理装置の機能構成の実施形態について説明する。図3は、本発明の第1の実施形態に係る情報処理装置の機能ブロックの一例を示す図である。
(First embodiment)
Next, an embodiment of the functional configuration of an information processing device for implementing the constraint condition adjustment of the present invention will be described. Fig. 3 is a diagram showing an example of functional blocks of the information processing device according to the first embodiment of the present invention.

本実施形態に係る情報処理装置100は、図3に示すように、定義情報取得部201、基準解演算部202、近傍解演算部203、シナリオ設定部204、ユーザ提示部205の各機能を備える。これらの機能は、例えば図2のハードウェア構成において、プロセッサ101が所定のプログラムを実行することにより実現される。また、記憶装置103には、変数DB211、制約条件DB212、近傍点DB213、変数/制約条件DB214、施設/変数DB215、シナリオ/制約条件DB216、シナリオDB217、演算履歴DB218の各データベースが格納されている。これらのデータベースの詳細については、図4~図11を参照して後述する。 As shown in FIG. 3, the information processing device 100 according to this embodiment includes the functions of a definition information acquisition unit 201, a reference solution calculation unit 202, a neighborhood solution calculation unit 203, a scenario setting unit 204, and a user presentation unit 205. These functions are realized by the processor 101 executing a predetermined program in the hardware configuration of FIG. 2, for example. The storage device 103 also stores the following databases: a variable DB 211, a constraint DB 212, a neighborhood point DB 213, a variable/constraint DB 214, a facility/variable DB 215, a scenario/constraint DB 216, a scenario DB 217, and a calculation history DB 218. Details of these databases will be described later with reference to FIGS. 4 to 11.

定義情報取得部201は、情報処理装置100に接続されているPOSシステム110や生産管理システム120(図2参照)等の外部装置から、最適化問題を解くためのモデルの生成に必要な定義情報を取得し、変数DB211、制約条件DB212、変数/制約条件DB214、施設/変数DB215の各データベースに格納する。この定義情報には、例えば、最適化問題で取り扱う対象物の各要素をモデル化して表す関数の情報や、各要素の状態に応じた関数のパラメータを表す変数の情報や、各変数に対して設定された制約条件の情報や、各制約条件の重みの初期値の情報などが含まれる。なお、定義情報取得部201が行う処理は、図1のフローチャートのステップS101に対応する。 The definition information acquisition unit 201 acquires definition information required to generate a model for solving an optimization problem from external devices such as the POS system 110 and the production management system 120 (see FIG. 2) connected to the information processing device 100, and stores the information in the variable DB 211, the constraint DB 212, the variable/constraint DB 214, and the facility/variable DB 215. This definition information includes, for example, information on functions that model and represent each element of the object to be dealt with in the optimization problem, information on variables that represent the parameters of the function according to the state of each element, information on constraints set for each variable, and information on the initial value of the weight of each constraint. The process performed by the definition information acquisition unit 201 corresponds to step S101 in the flowchart in FIG. 1.

基準解演算部202は、定義情報取得部201により取得された定義情報を変数DB211、制約条件DB212、変数/制約条件DB214の各データベースから読み出し、その定義情報に基づいて最適化モデルを生成する。そして、生成した最適化モデルにおける複数の変数の最適な組み合わせを算出し、得られた変数の組み合わせを基準解として記憶装置103に保存する。なお、基準解演算部202が行う処理は、図1のフローチャートのステップS102、S103に対応する。 The reference solution calculation unit 202 reads the definition information acquired by the definition information acquisition unit 201 from each database, the variable DB 211, the constraint DB 212, and the variable/constraint DB 214, and generates an optimization model based on the definition information. It then calculates an optimal combination of multiple variables in the generated optimization model, and stores the obtained combination of variables as a reference solution in the storage device 103. The processing performed by the reference solution calculation unit 202 corresponds to steps S102 and S103 in the flowchart of FIG. 1.

近傍解演算部203は、基準解演算部202により生成された最適化モデルにおいて、制約条件の重みを初期値から変化させたときの複数の変数の最適な組み合わせを算出し、得られた変数の組み合わせを近傍解として演算履歴DB218に格納する。このとき近傍解演算部203は、シナリオ/制約条件DB216に格納されているシナリオと制約条件の対応関係を表す情報に基づき、ユーザが選択したシナリオに対応する制約条件を選択し、その制約条件の重みを変化させる。そして、変化後の重みの値を表す情報を近傍点DB213に格納する。なお、近傍解演算部203が行う処理は、図1のフローチャートのステップS104に対応する。 The neighborhood solution calculation unit 203 calculates the optimal combination of multiple variables when the weights of the constraint conditions are changed from their initial values in the optimization model generated by the reference solution calculation unit 202, and stores the obtained combination of variables in the calculation history DB 218 as a neighborhood solution. At this time, the neighborhood solution calculation unit 203 selects a constraint condition corresponding to the scenario selected by the user based on information representing the correspondence between the scenario and the constraint conditions stored in the scenario/constraint condition DB 216, and changes the weight of the constraint condition. Then, information representing the changed weight value is stored in the neighborhood point DB 213. Note that the process performed by the neighborhood solution calculation unit 203 corresponds to step S104 in the flowchart of FIG. 1.

シナリオ設定部204は、近傍解演算部203が近傍解を算出する際に重みを変化させる制約条件を選択するためのシナリオを設定し、シナリオDB217に格納する。シナリオとは、重みの調整対象とする制約条件の組み合わせを記述した情報であり、例えばユーザが入力装置130を用いて行った入力操作に応じて設定される。さらにシナリオ設定部204は、シナリオDB217に格納されたシナリオに基づいて、シナリオと制約条件の対応関係を設定し、その設定情報をシナリオ/制約条件DB216に格納する。 The scenario setting unit 204 sets a scenario for selecting a constraint condition for which the weight is changed when the neighborhood solution calculation unit 203 calculates a neighborhood solution, and stores the scenario in the scenario DB 217. A scenario is information describing a combination of constraint conditions for which weights are to be adjusted, and is set, for example, according to an input operation performed by a user using the input device 130. Furthermore, the scenario setting unit 204 sets a correspondence between the scenario and the constraint conditions based on the scenario stored in the scenario DB 217, and stores the setting information in the scenario/constraint condition DB 216.

ユーザ提示部205は、演算履歴DB218に格納された近傍解の算出結果をユーザに提示する。ユーザ提示部205は、例えば出力装置140として情報処理装置100に接続された表示モニタに所定の画面表示を行うことにより、近傍解をユーザに提示することができる。なお、ユーザ提示部205が行う処理は、図1のフローチャートのステップS105に対応する。 The user presentation unit 205 presents the calculation results of the neighborhood solutions stored in the calculation history DB 218 to the user. The user presentation unit 205 can present the neighborhood solutions to the user, for example, by performing a predetermined screen display on a display monitor connected to the information processing device 100 as the output device 140. The process performed by the user presentation unit 205 corresponds to step S105 in the flowchart of FIG. 1.

次に、記憶装置103に格納されている変数DB211、制約条件DB212、近傍点DB213、変数/制約条件DB214、施設/変数DB215、シナリオ/制約条件DB216、シナリオDB217、演算履歴DB218の各データベースの詳細について、図4~図11を参照して以下に説明する。 Next, the details of each of the databases stored in the storage device 103, namely the variable DB 211, the constraint DB 212, the neighboring points DB 213, the variable/constraint DB 214, the facility/variable DB 215, the scenario/constraint DB 216, the scenario DB 217, and the calculation history DB 218, will be described below with reference to Figures 4 to 11.

図4は、変数DB211の例を示す図である。図4に示すように、変数DB211は、例えば変数ID2111、定義ファイル2112、プロセスID2113の各フィールドを有する。変数ID2111には、各変数を一意に特定するための情報(例えばJANコード等のコード情報)が格納される。定義ファイル2112には、最適化モデルにおける各変数の定義情報を表すファイルの情報が格納される。この定義ファイル2112が表す定義情報により、最適化問題で取り扱う対象物の各要素をモデル化した関数である最適化モデルが定義されるとともに、その最適化モデルのパラメータとして連続的に変化する各変数の範囲が特定される。プロセスID2113には、各変数が実際の対象物においてどの要素に対応するかを表す情報が格納される。例えば、最適化モデルが表す対象物がショッピングモール等の大型商業施設である場合、当該施設内の各店舗を表す情報がプロセスID2113に格納される。 FIG. 4 is a diagram showing an example of the variable DB 211. As shown in FIG. 4, the variable DB 211 has fields for, for example, a variable ID 2111, a definition file 2112, and a process ID 2113. The variable ID 2111 stores information for uniquely identifying each variable (for example, code information such as a JAN code). The definition file 2112 stores information of a file representing the definition information of each variable in the optimization model. The definition information represented by the definition file 2112 defines an optimization model, which is a function that models each element of the object to be handled in the optimization problem, and specifies the range of each variable that changes continuously as a parameter of the optimization model. The process ID 2113 stores information representing which element each variable corresponds to in the actual object. For example, if the object represented by the optimization model is a large commercial facility such as a shopping mall, information representing each store in the facility is stored in the process ID 2113.

変数DB211には、各変数に対応して設定されたレコードごとに、上記の各フィールドの情報が格納される。このレコード数の上限は、最適化モデルにおいて設定可能な変数の上限個数に応じて決定される。例えば、情報処理装置100におけるプロセッサ101の処理能力などにより、最適化モデルにおいて設定可能な変数の上限個数を予め決定することができる。なお、図4に示したデータベース構成は一例であり、最適化問題が取り扱う対象物に対して最適化モデルを適切に定義することができれば、変数DB211の構成はこれに限定されない。 In the variable DB211, information on each of the above fields is stored for each record set corresponding to each variable. The upper limit on the number of records is determined according to the upper limit on the number of variables that can be set in the optimization model. For example, the upper limit on the number of variables that can be set in the optimization model can be determined in advance based on the processing power of the processor 101 in the information processing device 100. Note that the database configuration shown in FIG. 4 is an example, and the configuration of the variable DB211 is not limited to this as long as an optimization model can be appropriately defined for the object that the optimization problem deals with.

図5は、制約条件DB212の例を示す図である。図5に示すように、制約条件DB212は、例えば制約条件ID2121、定義ファイル2122、初期重み値2123、目標値2124の各フィールドを有する。制約条件ID2121には、各制約条件を一意に特定するための情報として、例えばID番号や名称などの情報が格納される。定義ファイル2122には、最適化モデルにおける各制約条件の定義情報を表すファイルの情報が格納される。この定義ファイル2122が表す定義情報により、最適化モデルの各変数に対して要求される制約条件の内容が定義される。例えば、ビジネス上の制約、物理的な許容値による制約、効率上の制約などに応じて、各変数に対する許容条件を定義することができる。初期重み値2123には、各制約条件に対して設定される重みの初期値が格納される。この重みの初期値は、例えば各制約条件の重要度などに応じて予め決定される。目標値2124には、各制約条件に対する変数の目標値が設定される。 FIG. 5 is a diagram showing an example of the constraint DB 212. As shown in FIG. 5, the constraint DB 212 has fields for, for example, a constraint ID 2121, a definition file 2122, an initial weight value 2123, and a target value 2124. The constraint ID 2121 stores information such as an ID number or name as information for uniquely identifying each constraint. The definition file 2122 stores information of a file representing definition information of each constraint in the optimization model. The definition information represented by this definition file 2122 defines the content of the constraint required for each variable of the optimization model. For example, the allowable conditions for each variable can be defined according to business constraints, constraints due to physical tolerances, efficiency constraints, etc. The initial weight value 2123 stores an initial value of the weight set for each constraint. The initial value of the weight is determined in advance according to, for example, the importance of each constraint. The target value 2124 is set to a target value of the variable for each constraint.

制約条件DB212には、各制約条件に対応して設定されたレコードごとに、上記の各フィールドの情報が格納される。なお、図5に示したデータベース構成は一例であり、最適化モデルの各変数に対して設定される制約条件を適切に定義することができれば、制約条件DB212の構成はこれに限定されない。 In the constraint DB212, information on each of the above fields is stored for each record set corresponding to each constraint. Note that the database configuration shown in FIG. 5 is an example, and the configuration of the constraint DB212 is not limited to this, as long as the constraints set for each variable of the optimization model can be appropriately defined.

図6は、近傍点DB213の例を示す図である。図6に示すように、近傍点DB213は、例えば近傍点ID2131、制約条件ID2132、更新重み値2133、グループID2134の各フィールドを有する。近傍点ID2131には、近傍解演算部203によって算出された近傍解における各近傍点を一意に特定するための情報として、例えばID番号などの情報が格納される。近傍点とは、重みを初期値からある値へと変化させた制約条件のことであり、近傍解を演算する際に近傍解演算部203によって生成される。制約条件ID2132には、各近傍点に対応する制約条件を表す情報として、制約条件DB212の制約条件ID2121と同様の情報が格納される。更新重み値2133は、各近傍点における変化後の重みの値を表す情報が格納される。グループID2134には、各近傍点をその特徴ごとにグループ分けしたときの各近傍点の所属グループの情報が格納される。 6 is a diagram showing an example of the neighborhood point DB 213. As shown in FIG. 6, the neighborhood point DB 213 has fields for, for example, a neighborhood point ID 2131, a constraint condition ID 2132, an updated weight value 2133, and a group ID 2134. The neighborhood point ID 2131 stores information such as an ID number as information for uniquely identifying each neighborhood point in the neighborhood solution calculated by the neighborhood solution calculation unit 203. A neighborhood point is a constraint condition in which the weight is changed from an initial value to a certain value, and is generated by the neighborhood solution calculation unit 203 when calculating a neighborhood solution. The constraint condition ID 2132 stores information similar to the constraint condition ID 2121 of the constraint condition DB 212 as information representing the constraint condition corresponding to each neighborhood point. The updated weight value 2133 stores information representing the weight value after the change at each neighborhood point. The group ID 2134 stores information on the group to which each neighborhood point belongs when each neighborhood point is grouped according to its characteristics.

近傍点DB213には、各近傍点に対応して設定されたレコードごとに、上記の各フィールドの情報が格納される。なお、図6に示したデータベース構成は一例であり、近傍解における各近傍点を適切に表すことができれば、近傍点DB213の構成はこれに限定されない。 In the neighborhood point DB213, information on each of the above fields is stored for each record set corresponding to each neighborhood point. Note that the database configuration shown in FIG. 6 is an example, and the configuration of the neighborhood point DB213 is not limited to this as long as it can appropriately represent each neighborhood point in the neighborhood solution.

図7は、変数/制約条件DB214の例を示す図である。図7に示すように、変数/制約条件DB214は、例えば変数ID2141、制約条件ID2142の各フィールドを有する。変数ID2141には、各変数を表す情報として、変数DB211の変数ID2111と同様の情報が格納される。制約条件ID2142には、各制約条件を表す情報として、制約条件DB212の制約条件ID2121と同様の情報が格納される。 Figure 7 is a diagram showing an example of variable/constraint DB 214. As shown in Figure 7, variable/constraint DB 214 has fields for variable ID 2141 and constraint ID 2142, for example. In variable ID 2141, information similar to variable ID 2111 in variable DB 211 is stored as information representing each variable. In constraint ID 2142, information similar to constraint ID 2121 in constraint DB 212 is stored as information representing each constraint.

変数/制約条件DB214には、最適化モデルにおける変数と制約条件の各組み合わせに対応して設定されたレコードごとに、上記の各フィールドの情報が格納される。すなわち、変数/制約条件DB214の各レコードに格納されている変数ID2141と制約条件ID2142の組み合わせにより、最適化モデルの各変数に対して要求される制約条件が定義される。なお、図7に示したデータベース構成は一例であり、最適化モデルにおける変数と制約条件の対応付けを適切に表すことができれば、変数/制約条件DB214の構成はこれに限定されない。 In the variable/constraint DB214, information on each of the above fields is stored for each record set corresponding to each combination of variables and constraints in the optimization model. That is, the combination of variable ID2141 and constraint ID2142 stored in each record of the variable/constraint DB214 defines the constraint required for each variable in the optimization model. Note that the database configuration shown in FIG. 7 is an example, and the configuration of the variable/constraint DB214 is not limited to this as long as it can appropriately represent the correspondence between variables and constraints in the optimization model.

図8は、施設/変数DB215の例を示す図である。図8に示すように、施設/変数DB215は、例えば施設ID2151、変数ID2152の各フィールドを有する。施設ID2151には、各変数が実際の対象物においてどの施設に属する要素に対応するかを表す情報として、例えば工場、倉庫、店舗等の施設を表す情報が格納される。変数ID2152には、各変数を表す情報として、変数DB211の変数ID2111と同様の情報が格納される。 Figure 8 is a diagram showing an example of facility/variable DB 215. As shown in Figure 8, facility/variable DB 215 has fields for facility ID 2151 and variable ID 2152, for example. Facility ID 2151 stores information representing facilities such as factories, warehouses, and stores, as information representing which facility each variable corresponds to in the actual object. Variable ID 2152 stores information similar to variable ID 2111 of variable DB 211 as information representing each variable.

施設/変数DB215には、最適化問題で取り扱う対象物の各要素が属する施設と各要素を表す変数との各組み合わせに対応して設定されたレコードごとに、上記の各フィールドの情報が格納される。なお、図8に示したデータベース構成は一例であり、対象物の各要素が属する施設と変数との対応付けを適切に表すことができれば、施設/変数DB215の構成はこれに限定されない。 In the facility/variable DB215, information on each of the above fields is stored for each record set corresponding to each combination of the facility to which each element of the object to be dealt with in the optimization problem belongs and the variables representing each element. Note that the database configuration shown in FIG. 8 is only an example, and the configuration of the facility/variable DB215 is not limited to this as long as it can appropriately represent the correspondence between the facility to which each element of the object belongs and the variables.

図9は、シナリオ/制約条件DB216の例を示す図である。図9に示すように、シナリオ/制約条件DB216は、例えばシナリオID2161、ステップID2162、制約条件ID2163、制約種別2164の各フィールドを有する。シナリオID2161には、シナリオ設定部204により設定された各シナリオを一意に特定するための情報が格納される。ステップID2162には、シナリオごとに設定された各ステップを一意に特定するための情報が格納される。シナリオでは、最適化モデルを用いた基準解や近傍解の演算において各変数に適用する制約条件を詳細に指定するために、1つまたは複数のステップから構成されている。ステップID2162には、このシナリオの各ステップを表す情報が格納される。制約条件ID2163には、各シナリオの各ステップに対応する制約条件を表す情報として、制約条件DB212の制約条件ID2121と同様の情報が格納される。制約種別2164には、各変数に対して要求される制約条件の種類を表す情報が格納される。例えば、各変数が適用された制約条件を必ず満たす必要がある場合は、その制約条件の種類を表す情報として“Hard”が制約種別2164に格納され、各変数が適用された制約条件からある程度は逸脱することが可能な場合は、その制約条件の種類を表す情報として“Soft”が制約種別2164に格納される。 9 is a diagram showing an example of the scenario/constraint DB 216. As shown in FIG. 9, the scenario/constraint DB 216 has fields such as a scenario ID 2161, a step ID 2162, a constraint ID 2163, and a constraint type 2164. The scenario ID 2161 stores information for uniquely identifying each scenario set by the scenario setting unit 204. The step ID 2162 stores information for uniquely identifying each step set for each scenario. A scenario is composed of one or more steps in order to specify in detail the constraint conditions to be applied to each variable in the calculation of a reference solution or a neighborhood solution using an optimization model. The step ID 2162 stores information representing each step of this scenario. The constraint ID 2163 stores information similar to the constraint ID 2121 of the constraint DB 212 as information representing the constraint conditions corresponding to each step of each scenario. The constraint type 2164 stores information representing the type of constraint conditions required for each variable. For example, if each variable must satisfy the applied constraint condition, "Hard" is stored in constraint type 2164 as information representing the type of the constraint condition, and if each variable can deviate to some extent from the applied constraint condition, "Soft" is stored in constraint type 2164 as information representing the type of the constraint condition.

シナリオ/制約条件DB216には、シナリオで指定された各制約条件に対応して設定されたレコードごとに、上記の各フィールドの情報が格納される。すなわち、シナリオ/制約条件DB216の各レコードに格納されているシナリオID2161、ステップID2162、制約条件ID2163および制約種別2164の組み合わせにより、各シナリオの内容と、各シナリオにおいて重み調整の対象とされる制約条件と、制約条件に対する各変数の逸脱度とが定義される。なお、図9に示したデータベース構成は一例であり、各シナリオで重み調整の対象に指定する制約条件を適切に表すことができれば、シナリオ/制約条件DB216の構成はこれに限定されない。 In the scenario/constraint DB216, information on each of the above fields is stored for each record set corresponding to each constraint specified in the scenario. That is, the combination of scenario ID 2161, step ID 2162, constraint ID 2163, and constraint type 2164 stored in each record in the scenario/constraint DB216 defines the content of each scenario, the constraint conditions that are subject to weight adjustment in each scenario, and the deviation of each variable from the constraint conditions. Note that the database configuration shown in FIG. 9 is one example, and the configuration of the scenario/constraint DB216 is not limited to this as long as it can appropriately represent the constraint conditions that are specified as subject to weight adjustment in each scenario.

図10は、シナリオDB217の例を示す図である。図10に示すように、シナリオDB217は、例えばシナリオID2171、ルール2172の各フィールドを有する。シナリオID2171には、各シナリオを表す情報として、シナリオ/制約条件DB216のシナリオID2161と同様の情報が格納される。ルール2172には、各シナリオの内容を記述した情報が格納される。 Figure 10 is a diagram showing an example of scenario DB 217. As shown in Figure 10, scenario DB 217 has fields for, for example, scenario ID 2171 and rule 2172. Scenario ID 2171 stores information representing each scenario, similar to scenario ID 2161 in scenario/constraint DB 216. Rule 2172 stores information describing the contents of each scenario.

シナリオDB217には、シナリオ設定部204により設定された各シナリオに対応して設定されたレコードごとに、上記の各フィールドの情報が格納される。なお、図10に示したデータベース構成は一例であり、各シナリオの内容を適切に表すことができれば、シナリオDB217の構成はこれに限定されない。 In the scenario DB217, information on each of the above fields is stored for each record set corresponding to each scenario set by the scenario setting unit 204. Note that the database configuration shown in FIG. 10 is an example, and the configuration of the scenario DB217 is not limited to this as long as it can appropriately represent the contents of each scenario.

図11は、演算履歴DB218の例を示す図である。図11に示すように、演算履歴DB218は、例えば日付2181、選択シナリオ2182、演算結果2183、評価2184の各フィールドを有する。日付2181には、近傍解演算部203による各近傍解の算出日時を表す情報が格納される。選択シナリオ2182には、各近傍解に対してユーザが算出時に選択したシナリオを表す情報として、シナリオ/制約条件DB216のシナリオID2161と同様の情報が格納される。演算結果2183には、各近傍解の算出結果を表すデータの情報が格納される。評価2184には、各近傍解の評価結果を表す情報として、例えば“Best”、“Moderate”等の評価種別が格納される。 FIG. 11 is a diagram showing an example of the calculation history DB 218. As shown in FIG. 11, the calculation history DB 218 has fields for date 2181, selected scenario 2182, calculation result 2183, and evaluation 2184, for example. Date 2181 stores information indicating the date and time when each neighborhood solution was calculated by the neighborhood solution calculation unit 203. Selected scenario 2182 stores information similar to the scenario ID 2161 of the scenario/constraint DB 216 as information indicating the scenario selected by the user at the time of calculation for each neighborhood solution. Calculation result 2183 stores information on data indicating the calculation result of each neighborhood solution. Evaluation 2184 stores an evaluation type such as "Best" or "Moderate" as information indicating the evaluation result of each neighborhood solution.

演算履歴DB218には、近傍解演算部203により算出された各近傍解に対応して設定されたレコードごとに、上記の各フィールドの情報が格納される。なお、図11に示したデータベース構成は一例であり、各近傍解の算出結果を適切に表すことができれば、演算履歴DB218の構成はこれに限定されない。 In the calculation history DB218, information in each of the above fields is stored for each record set corresponding to each neighborhood solution calculated by the neighborhood solution calculation unit 203. Note that the database configuration shown in FIG. 11 is an example, and the configuration of the calculation history DB218 is not limited to this as long as it can appropriately represent the calculation results of each neighborhood solution.

図12は、本発明の第1の実施形態に係る制約条件調整処理の流れを示すフローチャートである。図12のフローチャートに示す処理は、例えば図2のハードウェア構成において、ユーザからの指示に応じてプロセッサ101により実行される。 Fig. 12 is a flowchart showing the flow of the constraint condition adjustment process according to the first embodiment of the present invention. The process shown in the flowchart in Fig. 12 is executed by the processor 101 in response to an instruction from a user in the hardware configuration of Fig. 2, for example.

ステップS210において、プロセッサ101は、定義情報取得部201により、最適化問題を解くためのモデルの生成に用いられる定義情報を取得する。ここでは、例えばユーザからの入力操作に基づいて、最適化の対象とする変数のリストや、各変数に対する制約条件のリストなどを取得し、これらの内容から定義情報を取得して、変数DB211、制約条件DB212、変数/制約条件DB214、施設/変数DB215の各データベースに格納する。 In step S210, the processor 101, through the definition information acquisition unit 201, acquires definition information used to generate a model for solving the optimization problem. Here, for example, based on an input operation from the user, a list of variables to be optimized and a list of constraint conditions for each variable are acquired, and definition information is acquired from the contents of these and stored in each database of the variable DB 211, the constraint DB 212, the variable/constraint DB 214, and the facility/variable DB 215.

ステップS220において、プロセッサ101は、基準解演算部202により、ステップS210で取得した定義情報を各データベースから読み出し、これに基づいて最適化モデルを生成する。ここでは、例えば周知の演算手法により、最適化問題で取り扱う対象物の各要素をモデル化した関数の演算式を生成することで、最適化モデルを生成することができる。 In step S220, the processor 101 reads the definition information acquired in step S210 from each database using the reference solution calculation unit 202, and generates an optimization model based on this. Here, the optimization model can be generated by generating an arithmetic expression for a function that models each element of the object to be dealt with in the optimization problem, for example, using a well-known calculation method.

ステップS230において、プロセッサ101は、基準解演算部202により、ステップS220で生成した最適化モデルに基づいて基準解を演算する。ここでは、最適化モデルを表す演算式の各変数に対して設定された制約条件を満足する変数の組み合わせの中で、演算式の計算値が所望の条件を満たす最適な変数の組み合わせを、最適化問題の基準解として求める。例えば、演算式の計算値を最大化または最小化する変数の組み合わせや、指定された目標値との差分が最小となる計算値が得られる変数の組み合わせなどを、周知の最適化演算アルゴリズム等により求めることができる。ステップS230で基準解を演算できたら、プロセッサ101は、その演算結果を記憶装置103に保存し、処理を次のステップS240へ進める。 In step S230, the processor 101 uses the reference solution calculation unit 202 to calculate a reference solution based on the optimization model generated in step S220. Here, among the combinations of variables that satisfy the constraint conditions set for each variable in the calculation formula representing the optimization model, the optimal combination of variables whose calculated value of the calculation formula satisfies the desired conditions is found as the reference solution of the optimization problem. For example, a combination of variables that maximizes or minimizes the calculated value of the calculation formula, or a combination of variables that produces a calculated value that is the smallest difference from a specified target value, can be found using a well-known optimization calculation algorithm or the like. Once the reference solution has been calculated in step S230, the processor 101 stores the calculation result in the storage device 103 and proceeds to the next step S240.

ステップS240において、プロセッサ101は、予めシナリオ設定部204により設定されてシナリオDB217に格納されているシナリオの中から、いずれかのシナリオを選択する。ここでは、例えばシナリオDB217に格納されているシナリオを先頭から順に、近傍解の生成対象とするシナリオとして選択する。あるいは、ユーザからの入力操作に基づいて、いずれかのシナリオを選択するようにしてもよい。 In step S240, the processor 101 selects one of the scenarios that have been set in advance by the scenario setting unit 204 and stored in the scenario DB 217. Here, for example, the scenarios stored in the scenario DB 217 are selected in order from the top as scenarios for which nearby solutions are to be generated. Alternatively, one of the scenarios may be selected based on an input operation from the user.

ステップS250において、プロセッサ101は、近傍解演算部203により、近傍解演算処理を実施する。この近傍解演算処理では、ステップS240で選択したシナリオに基づいて重み調整の対象とする制約条件を選択し、その制約条件の重みを、ステップS230で基準解を演算したときの初期値から変化させる。そして、変化後の重みにおける最適な変数の組み合わせを、基準解に対する近傍解として求める。なお、ステップS250の近傍解演算処理の詳細については、図13を参照して後述する。 In step S250, the processor 101 performs a neighborhood solution calculation process using the neighborhood solution calculation unit 203. In this neighborhood solution calculation process, a constraint condition to be subjected to weight adjustment is selected based on the scenario selected in step S240, and the weight of the constraint condition is changed from the initial value when the reference solution was calculated in step S230. Then, the optimal combination of variables for the changed weight is obtained as a neighborhood solution for the reference solution. Details of the neighborhood solution calculation process in step S250 will be described later with reference to FIG. 13.

ステップS260において、プロセッサ101は、ステップS250の近傍解演算処理を終了するか否かを判定する。この判定は、例えばシナリオDB217に格納されている各シナリオについて、近傍解が演算済みであるか否かを確認する。その結果、近傍解をまだ演算していないシナリオが存在する場合は、近傍解演算処理を継続すると判定し、現在の近傍解から1つを選択して新たな基準解としてステップS240へ戻り、別のシナリオを選択する。一方、全てのシナリオについて近傍解が演算済みの場合は、近傍解演算処理を終了すると判定して処理を次のステップS270へ進める。このときの近傍解の選択方法の例としては、現在のシナリオが指定した制約条件の逸脱度が最も小さいものを選択してもよいし、後述のペナルティ関数値が最小のものを選択してもよい。さらにこのとき、ユーザの入力操作に基づいてユーザが近傍解演算処理の終了を希望しているか否かを判断し、ユーザが近傍解演算処理の終了を希望している場合は、近傍解をまだ演算していないシナリオが存在しても、近傍解演算処理を終了すると判定して処理を次のステップS270へ進めるようにしてもよい。 In step S260, the processor 101 judges whether or not to end the neighborhood solution calculation process in step S250. For this judgment, for example, for each scenario stored in the scenario DB 217, whether or not the neighborhood solution has been calculated is confirmed. As a result, if there is a scenario for which the neighborhood solution has not yet been calculated, it is judged that the neighborhood solution calculation process is to be continued, one of the current neighborhood solutions is selected as a new reference solution, and the process returns to step S240 to select another scenario. On the other hand, if the neighborhood solutions have been calculated for all scenarios, it is judged that the neighborhood solution calculation process is to be ended, and the process proceeds to the next step S270. As an example of a method for selecting the neighborhood solution at this time, the one with the smallest deviation from the constraint condition specified by the current scenario may be selected, or the one with the smallest penalty function value described later may be selected. Furthermore, at this time, it is judged based on the user's input operation whether or not the user wishes to end the neighborhood solution calculation process, and if the user wishes to end the neighborhood solution calculation process, it may be judged that the neighborhood solution calculation process is to be ended, and the process proceeds to the next step S270, even if there is a scenario for which the neighborhood solution has not yet been calculated.

ステップS270において、プロセッサ101は、ユーザ提示部205により、ステップS250の近傍解演算処理において記憶装置103に保存された各近傍解をユーザに提示する。ここでは、例えば出力装置140である表示モニタの画面表示により、ステップS240で選択したシナリオごとに得られた近傍解の内容をユーザに提示する。なお、ステップS270で表示される画面の例については、図14を参照して後述する。 In step S270, the processor 101 causes the user presentation unit 205 to present to the user each of the neighborhood solutions stored in the storage device 103 in the neighborhood solution calculation process in step S250. Here, the contents of the neighborhood solutions obtained for each scenario selected in step S240 are presented to the user, for example, by displaying them on the screen of a display monitor, which is the output device 140. An example of the screen displayed in step S270 will be described later with reference to FIG. 14.

ステップS270の処理を実施したら、プロセッサ101は、得られた演算結果を生産管理システム120等の外部装置へ出力した後、図12のフローチャートに示す処理を終了する。 After performing the processing of step S270, the processor 101 outputs the obtained calculation results to an external device such as the production management system 120, and then ends the processing shown in the flowchart of FIG. 12.

図13は、近傍解演算処理の詳細を示すフローチャートである。図13のフローチャートに示す処理は、例えば図2のハードウェア構成において、図12のステップS250でプロセッサ101により実行される。 Figure 13 is a flowchart showing details of the neighborhood solution calculation process. The process shown in the flowchart in Figure 13 is executed by the processor 101 in step S250 in Figure 12 in the hardware configuration in Figure 2, for example.

ステップS301において、プロセッサ101は、図12のステップS220で生成された最適化モデルを読み込む。 In step S301, the processor 101 reads the optimization model generated in step S220 of FIG. 12.

ステップS302において、プロセッサ101は、図12のステップS240で選択されたシナリオに基づいて、ステップS301で読み込んだ最適化モデルにおいて重みの調整対象とする制約条件を設定する。ここでは、例えば図9のシナリオ/制約条件DB216において、選択されたシナリオに対応するレコードを選択し、当該レコードの制約条件ID2163に格納されている情報を確認することで、重みの調整対象とする制約条件を設定することができる。 In step S302, the processor 101 sets the constraint condition for which the weight is to be adjusted in the optimization model read in step S301, based on the scenario selected in step S240 of FIG. 12. Here, for example, in the scenario/constraint condition DB 216 of FIG. 9, a record corresponding to the selected scenario is selected, and the information stored in the constraint condition ID 2163 of that record is checked, whereby the constraint condition for which the weight is to be adjusted can be set.

ステップS303において、プロセッサ101は、ステップS302で選択した制約条件の変化後の重み値を決定する。ここでは、例えば予め定められた調整幅の範囲内で、当該制約条件の重み値を初期値からランダムに変化させるようにする。なお、制約条件の重み値を初期値から適切に変化させることができれば、ステップS303では任意の方法により、変化後の重み値を決定することが可能である。 In step S303, the processor 101 determines the weight value after the change of the constraint condition selected in step S302. Here, for example, the weight value of the constraint condition is changed randomly from the initial value within a predetermined adjustment range. Note that if the weight value of the constraint condition can be appropriately changed from the initial value, it is possible to determine the changed weight value in step S303 by any method.

ステップS304において、プロセッサ101は、近傍解演算部203により、ステップS303で決定した重み値を各制約条件に対して設定したときの近傍解を演算する。ここでは、例えばペナルティ関数と呼ばれる関数を用いて演算を簡略化することで、重み調整後の各制約条件を満たす最適な変数の組み合わせを容易に求めることができる。ペナルティ関数とは、制約条件ごとの重みと逸脱度との積の合計値に基づいて定義される関数であり、具体的には、例えば以下の式(1)のように表される。
Fpenalty=Foriginal+Σ(wi×Ni) ・・・(1)
In step S304, the processor 101 uses the neighborhood solution calculation unit 203 to calculate neighborhood solutions when the weight values determined in step S303 are set for each constraint condition. Here, for example, by using a function called a penalty function to simplify the calculation, it is possible to easily find an optimal combination of variables that satisfies each constraint condition after weight adjustment. The penalty function is a function defined based on the total value of the product of the weight and the deviation for each constraint condition, and is specifically expressed, for example, as in the following formula (1).
F penalty = F original + Σ (w i ×N i ) ... (1)

式(1)において、ForiginalはステップS220で生成された最適化モデルの関数を表している。また、wiはi番目の制約条件の重み値を表し、Niはi番目の制約条件に対応する変数の逸脱度を表す。逸脱度とは、例えば図5の制約条件DB212において目標値2124に格納された目標値に対して、その制約条件に対応する変数が目標値からどの程度離れているかを表す値である。なお、近傍解を適切に演算することができれば、ステップS304ではこれ以外にも任意の方法により、近傍解の演算を行うことができる。 In formula (1), F original represents a function of the optimization model generated in step S220. Furthermore, w i represents the weight value of the i-th constraint condition, and N i represents the deviation of the variable corresponding to the i-th constraint condition. The deviation is a value representing how far the variable corresponding to the constraint condition is from the target value stored in the target value 2124 in the constraint condition DB 212 in FIG. 5, for example. Note that if the neighborhood solution can be calculated appropriately, the neighborhood solution can be calculated in step S304 by any other method.

ステップS305において、プロセッサ101は、ステップS304の演算により求められた近傍解と、その近傍解が得られた各制約条件の重み値とを、記憶装置103に保存する。具体的には、例えば図6の近傍点DB213において、重み値を変化させた各制約条件に対応するレコードを追加し、その各レコードの各フィールドに、変化後の重み値に関する情報を近傍点の情報として格納する。また、図11の演算履歴DB218において、近傍解に対応するレコードを追加し、そのレコードの各フィールドに、近傍解の演算結果に関する情報を格納する。 In step S305, the processor 101 saves the neighborhood solution obtained by the calculation in step S304 and the weight values of each constraint condition for which the neighborhood solution was obtained in the storage device 103. Specifically, for example, in the neighborhood point DB 213 of FIG. 6, a record corresponding to each constraint condition for which the weight value has been changed is added, and information on the changed weight value is stored in each field of each record as neighborhood point information. Also, in the calculation history DB 218 of FIG. 11, a record corresponding to the neighborhood solution is added, and information on the calculation result of the neighborhood solution is stored in each field of the record.

ステップS305の処理を実施したら、プロセッサ101は、近傍解演算処理を終了して図12のステップS260へ進む。 After performing the processing of step S305, the processor 101 ends the neighborhood solution calculation processing and proceeds to step S260 in FIG. 12.

図14は、近傍解の内容をユーザに提示するための近傍解表示画面の例を示す図である。図14に示す近傍解表示画面141は、表示枠1411,1421と、選択ボタン1431,1432とを含んで構成されている。 Figure 14 is a diagram showing an example of a neighborhood solution display screen for presenting the contents of the neighborhood solution to the user. The neighborhood solution display screen 141 shown in Figure 14 is configured to include display frames 1411, 1421 and selection buttons 1431, 1432.

表示枠1411は、近傍解演算処理によって得られた複数の近傍解のうち任意の近傍解(近傍解1とする)の内容を示す部分であり、重み一覧表1412、逸脱度グラフ1413、演算結果1414、チェックボックス1415を含む。重み一覧表1412は、近傍解1が得られたときの各制約条件の重み値を表す。逸脱度グラフ1413は、各制約条件に対応する変数の目標値からの逸脱度を表す。演算結果1414は、近傍解1の演算結果として得られたプロセス値と、変数が目標値から逸脱している制約条件の合計数とを表す。チェックボックス1415は、ユーザの入力操作によりチェックされることで、現在の近傍解のうち、次の基準解とするものを選択するための部分である。 The display frame 1411 is a portion showing the contents of an arbitrary neighborhood solution (neighborhood solution 1) among the multiple neighborhood solutions obtained by the neighborhood solution calculation process, and includes a weight list 1412, a deviation graph 1413, a calculation result 1414, and a check box 1415. The weight list 1412 shows the weight value of each constraint condition when the neighborhood solution 1 is obtained. The deviation graph 1413 shows the deviation of the variable corresponding to each constraint condition from the target value. The calculation result 1414 shows the process value obtained as the calculation result of the neighborhood solution 1 and the total number of constraint conditions in which the variable deviates from the target value. The check box 1415 is a portion for selecting one of the current neighborhood solutions to be used as the next reference solution by checking it by the user's input operation.

表示枠1421は、近傍解演算処理によって得られた複数の近傍解のうち近傍解1を除いた任意の近傍解(近傍解2とする)の内容を示す部分であり、表示枠1411と同様に、重み一覧表1422、逸脱度グラフ1423、演算結果1424、チェックボックス1425を含む。 Display frame 1421 is a portion that shows the contents of an arbitrary nearby solution (called nearby solution 2) excluding nearby solution 1 from among the multiple nearby solutions obtained by the nearby solution calculation process, and similar to display frame 1411, includes a weight list 1422, a deviation graph 1423, calculation results 1424, and a check box 1425.

近傍解表示画面141の表示後、選択ボタン1431がユーザの入力操作により選択されると、情報処理装置100は近傍解の演算処理を継続する。一方、選択ボタン1432がユーザの入力操作により選択されると、情報処理装置100は近傍解の演算処理を終了する。ユーザは、選択ボタン1431,1432のいずれかを選択することで、近傍解の演算を継続するか否かを情報処理装置100に指示することができる。 After the neighborhood solution display screen 141 is displayed, when the selection button 1431 is selected by the user's input operation, the information processing device 100 continues the calculation process of the neighborhood solution. On the other hand, when the selection button 1432 is selected by the user's input operation, the information processing device 100 ends the calculation process of the neighborhood solution. By selecting either the selection button 1431 or 1432, the user can instruct the information processing device 100 whether or not to continue the calculation of the neighborhood solution.

なお、図14に示した近傍解表示画面は一例であり、他の画面構成としてもよい。近傍解演算処理によって得られたシナリオごとの近傍解の算出結果をユーザに対して適切に提示できるものであれば、任意の画面構成を採用することが可能である。 Note that the neighborhood solution display screen shown in FIG. 14 is just one example, and other screen configurations may be used. Any screen configuration may be used as long as it can appropriately present to the user the calculation results of the neighborhood solutions for each scenario obtained by the neighborhood solution calculation process.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。本実施形態では、近傍解の演算を行う際に重みの調整対象とする制約条件の選択方法を、第1の実施形態とは異なる方法で行う例を説明する。
Second Embodiment
Next, a second embodiment of the present invention will be described. In this embodiment, an example will be described in which a method of selecting constraint conditions to be subjected to weight adjustment when calculating a neighborhood solution is performed using a method different from that of the first embodiment.

図15は、本発明の第2の実施形態に係る情報処理装置の機能ブロックの一例を示す図である。本実施形態に係る情報処理装置100Aは、第1の実施形態で説明した図3の情報処理装置100と比較して、シナリオ設定部204の代わりにスクリーニング処理部206を備える点と、記憶装置103にシナリオ/制約条件DB216およびシナリオDB217が格納されていない点とが異なっている。 Figure 15 is a diagram showing an example of functional blocks of an information processing device according to the second embodiment of the present invention. The information processing device 100A according to this embodiment differs from the information processing device 100 of Figure 3 described in the first embodiment in that it has a screening processing unit 206 instead of a scenario setting unit 204, and that the scenario/constraint condition DB 216 and scenario DB 217 are not stored in the storage device 103.

スクリーニング処理部206は、基準解演算部202により生成された最適化モデルにおいて、各制約条件の重みの変化が近傍解に及ぼす影響度を制約条件ごとに取得する。スクリーニング処理部206により取得された制約条件ごとの影響度は、ユーザ提示部205によってユーザに提示されるとともに、近傍解演算部203が近傍解の演算を行う際に重みの調整対象とする制約条件を選択するために利用される。 The screening processing unit 206 acquires, for each constraint condition, the degree of influence that a change in the weight of each constraint condition has on the neighborhood solution in the optimization model generated by the reference solution calculation unit 202. The degree of influence for each constraint condition acquired by the screening processing unit 206 is presented to the user by the user presentation unit 205, and is also used by the neighborhood solution calculation unit 203 to select a constraint condition for which the weight is to be adjusted when the neighborhood solution calculation unit 203 calculates the neighborhood solution.

なお、本実施形態に係る情報処理装置100Aのハードウェア構成は、第1の実施形態で説明した図2のハードウェア構成と同様である。そのため以下では、図2のハードウェア構成を用いて、本実施形態の情報処理装置100Aの説明を行うものとする。 The hardware configuration of the information processing device 100A according to this embodiment is the same as the hardware configuration in FIG. 2 described in the first embodiment. Therefore, hereinafter, the information processing device 100A according to this embodiment will be described using the hardware configuration in FIG. 2.

図16は、本発明の第2の実施形態に係る制約条件調整処理の流れを示すフローチャートである。図16のフローチャートに示す処理は、例えば図2のハードウェア構成において、ユーザからの指示に応じてプロセッサ101により実行される。 Fig. 16 is a flowchart showing the flow of the constraint condition adjustment process according to the second embodiment of the present invention. The process shown in the flowchart in Fig. 16 is executed by the processor 101 in response to an instruction from a user in the hardware configuration of Fig. 2, for example.

ステップS210~S230において、プロセッサ101は、第1の実施形態で説明した図12のフローチャートと同様の処理をそれぞれ行う。 In steps S210 to S230, the processor 101 performs the same processes as those shown in the flowchart of FIG. 12 described in the first embodiment.

ステップS230の処理を実施したら、プロセッサ101は、ステップS241の処理を実施する。ステップS241において、プロセッサ101は、スクリーニング処理部206により、スクリーニング処理を実施する。このスクリーニング処理では、ステップS220で生成した最適化モデルの各制約条件について、その重みの変化が近傍解に及ぼす影響度を取得する。そして、影響度が所定値以上の制約条件を高感度の制約条件として選択し、その制約条件を重みの調整対象に設定する。これにより、調整対象の制約条件が大量にある場合でも、最適化計算の結果に影響を与える制約条件のみを容易に抽出し、短時間でユーザが望む解を得るよう制約条件を調整できる。なお、ステップS241のスクリーニング処理の詳細については、図17を参照して後述する。 After performing the process of step S230, the processor 101 performs the process of step S241. In step S241, the processor 101 performs a screening process by the screening processing unit 206. In this screening process, the degree of influence of a change in weight on a neighboring solution is obtained for each constraint condition of the optimization model generated in step S220. Then, a constraint condition whose influence degree is equal to or greater than a predetermined value is selected as a high sensitivity constraint condition, and the constraint condition is set as a target for weight adjustment. In this way, even if there are a large number of constraint conditions to be adjusted, it is possible to easily extract only the constraint conditions that affect the results of the optimization calculation, and adjust the constraint conditions so as to obtain a solution desired by the user in a short time. Details of the screening process of step S241 will be described later with reference to FIG. 17.

ステップS241の処理を実施したら、ステップS250~S270において、プロセッサ101は、第1の実施形態で説明した図12のフローチャートと同様の処理をそれぞれ行う。ただし、本実施形態ではステップS250の近傍解演算処理において、ステップS241のスクリーニング処理で選択された制約条件の重みを、ステップS230で基準解を演算したときの初期値から変化させるようにする。また、ステップS260で近傍解演算処理を継続すると判定した場合は、ステップS250へ戻るようにする。そして、ステップS270の処理を実施したら、プロセッサ101は、得られた演算結果を生産管理システム120等の外部装置へ出力した後、図16のフローチャートに示す処理を終了する。 After performing the process of step S241, in steps S250 to S270, the processor 101 performs the same processes as those in the flowchart of FIG. 12 described in the first embodiment. However, in this embodiment, in the neighborhood solution calculation process of step S250, the weight of the constraint condition selected in the screening process of step S241 is changed from the initial value when the reference solution was calculated in step S230. Also, if it is determined in step S260 that the neighborhood solution calculation process is to be continued, the process returns to step S250. Then, after performing the process of step S270, the processor 101 outputs the obtained calculation result to an external device such as the production management system 120, and then ends the process shown in the flowchart of FIG. 16.

図17は、スクリーニング処理の詳細を示すフローチャートである。図17のフローチャートに示す処理は、例えば図2のハードウェア構成において、図16のステップS241でプロセッサ101により実行される。 Figure 17 is a flowchart showing the details of the screening process. The process shown in the flowchart in Figure 17 is executed by the processor 101 in step S241 in Figure 16 in the hardware configuration in Figure 2, for example.

ステップS401において、プロセッサ101は、図16のステップS220で生成された最適化モデルを読み込む。 In step S401, the processor 101 reads the optimization model generated in step S220 of FIG. 16.

ステップS402において、プロセッサ101は、ステップS401で読み込んだ最適化モデルのいずれかの制約条件を選択する。 In step S402, the processor 101 selects one of the constraints of the optimization model loaded in step S401.

ステップS403において、プロセッサ101は、スクリーニング処理部206により、ステップS402で選択した制約条件に対する感度分析を実施する。感度分析とは、最適化モデルを表す演算式の各変数に対して要求される制約条件の重みの変化と、その演算式を計算して得られる計算値との関係性を分析する処理のことである。具体的には、例えば制約条件の重みを所定範囲で変化させたときの演算式の計算値の変化を確認することで、感度分析を行うことができる。なお、ステップS403では、これ以外の方法で感度分析を行うようにしてもよい。 In step S403, the processor 101 performs a sensitivity analysis on the constraint condition selected in step S402 using the screening processing unit 206. Sensitivity analysis is a process of analyzing the relationship between the change in the weight of the constraint condition required for each variable of the arithmetic expression representing the optimization model and the calculated value obtained by calculating the arithmetic expression. Specifically, for example, sensitivity analysis can be performed by checking the change in the calculated value of the arithmetic expression when the weight of the constraint condition is changed within a specified range. Note that in step S403, sensitivity analysis may be performed using a method other than this.

ステップS404において、プロセッサ101は、ステップS403の感度分析において最適化モデルに含まれる全ての制約条件を選択済みであるか否かを判定する。未選択の制約条件が存在する場合は、ステップS402へ戻ってその中のいずれかを選択した後、ステップS403の処理を繰り返す。全ての制約条件を選択済みである場合は、処理を次のステップS405へ進める。 In step S404, the processor 101 determines whether or not all constraint conditions included in the optimization model have been selected in the sensitivity analysis in step S403. If there are unselected constraint conditions, the process returns to step S402 to select one of them, and then repeats the process of step S403. If all constraint conditions have been selected, the process proceeds to the next step S405.

ステップS405において、プロセッサ101は、スクリーニング処理部206により、各制約条件に対するステップS403の感度分析結果に基づいて、制約条件をグループ化する。ここでは、例えば重みの変化に応じた演算式の計算値の変化が同じ傾向の制約条件同士を同一グループに分類することで、各制約条件を複数のグループに分類する。具体的には、例えば重みの増減方向と計算値の増減方向が同一である制約条件のグループと、重みの増減方向と計算値の増減方向が反対である制約条件のグループと、重みの増減に対して計算値がほとんど変化しない制約条件のグループとに、各制約条件をグループ化することができる。さらにこのとき、計算値の増減量を考慮してグループ分けを細分化してもよい。なお、感度分析結果に応じて制約条件を適切にグループ化できれば、グループ分けの方法はこれに限定されない。 In step S405, the processor 101 uses the screening processing unit 206 to group the constraint conditions based on the sensitivity analysis results of step S403 for each constraint condition. Here, for example, constraint conditions that tend to change in the calculated value of the arithmetic expression in response to changes in weight are classified into the same group, thereby classifying each constraint condition into a plurality of groups. Specifically, for example, each constraint condition can be grouped into a group of constraint conditions in which the weight increase/decrease direction is the same as the calculated value increase/decrease direction, a group of constraint conditions in which the weight increase/decrease direction is opposite to the calculated value increase/decrease direction, and a group of constraint conditions in which the calculated value hardly changes in response to increases/decrease in weight. Furthermore, at this time, the grouping may be further subdivided taking into account the amount of increase/decrease in the calculated value. Note that the method of grouping is not limited to this, as long as the constraint conditions can be appropriately grouped according to the results of the sensitivity analysis.

ステップS406において、プロセッサ101は、ユーザ提示部205により、ステップS403で実施した各制約条件の感度分析結果をユーザに提示する。ここでは、例えば出力装置140である表示モニタにおいて、ステップS405で各制約条件をグループ化した結果を画面表示することにより、感度分析結果をユーザに提示する。なお、ステップS406で表示される画面の例については、図18を参照して後述する。 In step S406, the processor 101 causes the user presentation unit 205 to present to the user the results of the sensitivity analysis of each constraint condition performed in step S403. Here, the results of the sensitivity analysis are presented to the user by displaying the results of grouping each constraint condition in step S405 on a screen, for example, on a display monitor, which is the output device 140. An example of the screen displayed in step S406 will be described later with reference to FIG. 18.

ステップS407において、プロセッサ101は、ステップS403で実施した各制約条件の感度分析結果に基づいて、図16のステップS250で近傍解演算処理を実施する際に重みの調整対象とする制約条件を設定する。ここでは、例えばステップS405のグループ分け結果に基づき、高感度グループに含まれる各制約条件を重みの調整対象に設定する。なお、高感度グループとは、重みの増減量に対して計算値の増減量が比較的大きな制約条件のグループである。これ以外にも、感度分析結果に基づいて任意の制約条件を重みの調整対象に設定することができる。例えば、ステップS406で提示した感度分析結果に対してユーザが行った入力操作に応じて、重みの調整対象に設定する制約条件を選択することも可能である。 In step S407, the processor 101 sets the constraint conditions to be subjected to weight adjustment when performing the neighborhood solution calculation process in step S250 of FIG. 16 based on the results of the sensitivity analysis of each constraint condition performed in step S403. Here, for example, based on the grouping results of step S405, each constraint condition included in the high sensitivity group is set as a weight adjustment target. Note that the high sensitivity group is a group of constraint conditions in which the increase or decrease in the calculated value is relatively large compared to the increase or decrease in the weight. In addition to this, any constraint condition can be set as a weight adjustment target based on the results of the sensitivity analysis. For example, it is also possible to select the constraint condition to be set as a weight adjustment target according to the input operation performed by the user on the sensitivity analysis results presented in step S406.

ステップS407の処理を実施したら、プロセッサ101は、スクリーニング処理を終了して図16のステップS250へ進む。 After performing the processing of step S407, the processor 101 ends the screening processing and proceeds to step S250 in FIG. 16.

図18は、感度分析結果をユーザに提示するための感度分析結果表示画面の例を示す図である。図18に示す感度分析結果表示画面181には、グループ1~3にそれぞれ属する各制約条件について、重みの変化に対してプロセス値(演算式の計算値)がどのように変化するかを示している。 Figure 18 is a diagram showing an example of a sensitivity analysis result display screen for presenting the sensitivity analysis results to the user. The sensitivity analysis result display screen 181 shown in Figure 18 shows how the process values (calculated values of the arithmetic formula) change with respect to changes in weighting for each constraint condition belonging to groups 1 to 3.

なお、図18に示した感度分析結果表示画面は一例であり、他の画面構成としてもよい。感度分析によって得られた制約条件ごとの重みの変化に対する演算式の計算値の増減傾向をユーザに対して適切に提示できるものであれば、任意の画面構成を採用することが可能である。 Note that the sensitivity analysis result display screen shown in FIG. 18 is just one example, and other screen configurations may be used. Any screen configuration may be used as long as it can properly present to the user the increase/decrease tendency of the calculated value of the arithmetic formula in response to changes in the weighting for each constraint condition obtained by the sensitivity analysis.

以上説明した本発明の各実施形態によれば、以下のような作用効果を奏する。 The above-described embodiments of the present invention provide the following advantages:

(1)情報処理装置100,100Aは、複数の変数に対して設定された制約条件と、制約条件の重みの初期値と、を含む定義情報を取得する定義情報取得部201と、定義情報取得部201により取得された定義情報に基づいて、複数の変数の最適な組み合わせを表す基準解を算出する基準解演算部202と、制約条件の重みを初期値から変化させたときの複数の変数の最適な組み合わせを表す近傍解を算出する近傍解演算部203と、を備える。このようにしたので、最適化問題における制約条件の調整を適切に行うことができる。 (1) The information processing device 100, 100A includes a definition information acquisition unit 201 that acquires definition information including constraint conditions set for multiple variables and initial values of weights of the constraint conditions, a reference solution calculation unit 202 that calculates a reference solution that represents an optimal combination of multiple variables based on the definition information acquired by the definition information acquisition unit 201, and a neighborhood solution calculation unit 203 that calculates a neighborhood solution that represents an optimal combination of multiple variables when the weights of the constraint conditions are changed from their initial values. This makes it possible to appropriately adjust the constraint conditions in the optimization problem.

(2)情報処理装置100における近傍解演算部203は、予め設定されたシナリオに基づいて近傍解を算出する(ステップS240,S250)。シナリオは、複数の制約条件のうち重みの調整対象とする制約条件の情報(制約条件ID2163、ルール2172)と、制約条件に対する変数の逸脱度に関する情報(制約種別2164、ルール2172)と、を含む。このようにしたので、近傍解を算出する際に重みの調整対象とする制約条件を容易に選択することができる。 (2) The neighborhood solution calculation unit 203 in the information processing device 100 calculates neighborhood solutions based on a preset scenario (steps S240, S250). The scenario includes information on the constraint condition (constraint condition ID 2163, rule 2172) for which weighting is to be adjusted among multiple constraint conditions, and information on the deviation of variables from the constraint condition (constraint type 2164, rule 2172). This makes it easy to select the constraint condition for which weighting is to be adjusted when calculating neighborhood solutions.

(3)情報処理装置100における近傍解演算部203は、制約条件ごとの重みと逸脱度との積の合計値に基づくペナルティ関数Fpenaltyを用いて、近傍解を算出することができる(ステップS304)。このようにすれば、簡略化された演算処理によって近傍解を容易に求めることができる。 (3) The neighborhood solution calculation unit 203 in the information processing device 100 can calculate the neighborhood solution by using a penalty function F penalty based on the total value of the product of the weight and the deviation for each constraint condition (step S304). In this way, the neighborhood solution can be easily found by a simplified calculation process.

(4)情報処理装置100は、複数のシナリオについて、シナリオごとの近傍解の算出結果をユーザに提示するユーザ提示部205を備える(ステップS270、図14)。このようにしたので、近傍解の算出結果をユーザに分かりやすく提示することができる。 (4) The information processing device 100 includes a user presentation unit 205 that presents the calculation results of the neighborhood solutions for each of a plurality of scenarios to the user (step S270, FIG. 14). In this way, the calculation results of the neighborhood solutions can be presented to the user in an easy-to-understand manner.

(5)情報処理装置100Aは、複数の制約条件について、重みの変化が近傍解に及ぼす影響度を制約条件ごとに取得するスクリーニング処理部206と、スクリーニング処理部206により取得された制約条件ごとの影響度をユーザに提示するユーザ提示部205と、を備える(ステップS241,S406、図18)。このようにしたので、各制約条件の重みの変化が近傍解に及ぼす影響度を、ユーザに分かりやすく提示することができる。さらに、調整対象の制約条件が大量にある場合でも、最適化計算の結果に影響を与える制約条件のみを容易に抽出し、短時間でユーザが望む解を得るよう制約条件を調整できる。 (5) The information processing device 100A includes a screening processing unit 206 that acquires the degree of influence of a change in weight on a neighboring solution for each of a plurality of constraint conditions, and a user presentation unit 205 that presents the degree of influence for each constraint condition acquired by the screening processing unit 206 to the user (steps S241, S406, FIG. 18). In this manner, the degree of influence of a change in the weight of each constraint condition on a neighboring solution can be presented to the user in an easy-to-understand manner. Furthermore, even when there are a large number of constraint conditions to be adjusted, it is possible to easily extract only those constraint conditions that affect the results of the optimization calculation, and adjust the constraint conditions so that the user can obtain the solution he or she desires in a short period of time.

なお、本発明は上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲内で、任意の構成要素を用いて実施可能である。 The present invention is not limited to the above embodiment, and can be implemented using any components without departing from the spirit of the invention.

上記の実施形態や変形例はあくまで一例であり、発明の特徴が損なわれない限り、本発明はこれらの内容に限定されるものではない。また、上記では種々の実施形態や変形例を説明したが、本発明はこれらの内容に限定されるものではない。本発明の技術的思想の範囲内で考えられるその他の態様も本発明の範囲内に含まれる。 The above embodiments and modifications are merely examples, and the present invention is not limited to these contents as long as the characteristics of the invention are not impaired. In addition, although various embodiments and modifications have been described above, the present invention is not limited to these contents. Other aspects that are conceivable within the scope of the technical ideas of the present invention are also included within the scope of the present invention.

100,100A…情報処理装置
101…プロセッサ
102…メモリ
103…記憶装置
104…通信インタフェース
105…入出力インタフェース
110…POSシステム
120…生産管理システム
130…入力装置
140…出力装置
201…定義情報取得部
202…基準解演算部
203…近傍解演算部
204…シナリオ設定部
205…ユーザ提示部
206…スクリーニング処理部
211…変数DB
212…制約条件DB
213…近傍点DB
214…変数/制約条件DB
215…施設/変数DB
216…シナリオ/制約条件DB
217…シナリオDB
218…演算履歴DB
Reference Signs List 100, 100A: Information processing device 101: Processor 102: Memory 103: Storage device 104: Communication interface 105: Input/output interface 110: POS system 120: Production management system 130: Input device 140: Output device 201: Definition information acquisition unit 202: Reference solution calculation unit 203: Neighborhood solution calculation unit 204: Scenario setting unit 205: User presentation unit 206: Screening processing unit 211: Variable DB
212...Constraint condition DB
213...neighborhood point DB
214...Variable/constraint DB
215...Facility/variable DB
216...Scenario/constraint condition DB
217...Scenario DB
218...Calculation history DB

Claims (8)

複数の変数に対して設定された制約条件と、前記制約条件の重みの初期値と、を含む定義情報を取得する定義情報取得部と、
前記定義情報取得部により取得された前記定義情報に基づいて、前記複数の変数の最適な組み合わせを表す基準解を算出する基準解演算部と、
予め設定された複数のシナリオに基づいて、前記制約条件の重みを前記初期値から変化させたときの前記複数の変数の最適な組み合わせを表す近傍解を前記シナリオごとに算出する近傍解演算部と、
複数の前記シナリオについて、前記シナリオごとに前記近傍解の算出結果をユーザに提示するユーザ提示部と、を備え
前記シナリオは、複数の前記制約条件のうち重みの調整対象とする制約条件の情報と、前記制約条件に対応する前記変数の目標値からの逸脱度に関する情報と、を含み、
複数の前記シナリオは、前記重みの調整対象とする制約条件が前記シナリオごとに異なって設定され、
前記ユーザ提示部は、各近傍解における前記制約条件ごとの前記逸脱度と、各近傍解で前記変数が前記目標値から逸脱している前記制約条件の合計数と、を含む画面を表示モニタに表示して、前記シナリオごとの前記近傍解の算出結果を前記ユーザに提示する制約条件最適化装置。
a definition information acquisition unit that acquires definition information including constraint conditions set for a plurality of variables and initial values of weights of the constraint conditions;
a reference solution calculation unit that calculates a reference solution that represents an optimal combination of the plurality of variables based on the definition information acquired by the definition information acquisition unit;
a neighborhood solution calculation unit that calculates , for each of a plurality of scenarios set in advance, a neighborhood solution that represents an optimal combination of the plurality of variables when the weights of the constraint conditions are changed from the initial values; and
a user presentation unit that presents to a user a calculation result of the neighborhood solution for each of the multiple scenarios ,
the scenario includes information on a constraint condition, among the plurality of constraint conditions, whose weight is to be adjusted, and information on a deviation degree from a target value of the variable corresponding to the constraint condition;
The plurality of scenarios are set such that the constraint conditions for which the weights are to be adjusted differ from one another for each scenario;
The user presentation unit displays on a display monitor a screen including the degree of deviation for each constraint condition in each neighborhood solution and the total number of constraint conditions in which the variables deviate from the target value in each neighborhood solution, thereby presenting the calculation results of the neighborhood solutions for each scenario to the user .
請求項1に記載の制約条件最適化装置において、2. The constraint-based optimization apparatus according to claim 1,
複数の前記シナリオを設定するシナリオ設定部を備え、A scenario setting unit that sets a plurality of the scenarios,
前記シナリオ設定部は、複数の前記シナリオの各々について、前記シナリオを構成する1つまたは複数のステップと、各ステップに対応する前記制約条件と、各ステップで前記変数に対して要求される前記制約条件の種類と、を設定する制約条件最適化装置。The scenario setting unit is a constraint condition optimization device that sets, for each of a plurality of scenarios, one or more steps that constitute the scenario, the constraint conditions corresponding to each step, and the type of the constraint conditions required for the variables at each step.
請求項に記載の制約条件最適化装置において、
前記近傍解演算部は、前記制約条件ごとの前記重みと前記逸脱度との積の合計値に基づくペナルティ関数を用いて、前記近傍解を算出する制約条件最適化装置。
2. The constraint-based optimization apparatus according to claim 1 ,
The neighborhood solution calculation unit is a constraint condition optimization device that calculates the neighborhood solution using a penalty function based on the total value of the product of the weight and the deviation for each constraint condition.
請求項1に記載の制約条件最適化装置において、
複数の前記制約条件について、前記重みの変化が前記近傍解に及ぼす影響度を前記制約条件ごとに取得するスクリーニング処理部を備え
前記ユーザ提示部は、前記スクリーニング処理部により取得された前記制約条件ごとの前記影響度を前記ユーザに提示する制約条件最適化装置。
2. The constraint-based optimization apparatus according to claim 1,
a screening processing unit that acquires, for each of a plurality of constraint conditions, a degree of influence of a change in the weight on the neighboring solutions;
The user presentation unit is a constraint condition optimization device that presents the degree of influence for each constraint condition acquired by the screening processing unit to the user.
複数の変数に対して設定された制約条件と、前記制約条件の重みの初期値と、を含む定義情報を取得し、
取得した前記定義情報に基づいて、前記複数の変数の最適な組み合わせを表す基準解をコンピュータにより算出し、
予め設定された複数のシナリオに基づいて、前記制約条件の重みを前記初期値から変化させたときの前記複数の変数の最適な組み合わせを表す近傍解を前記コンピュータにより前記シナリオごとに算出し、
前記シナリオは、複数の前記制約条件のうち重みの調整対象とする制約条件の情報と、前記制約条件に対応する前記変数の目標値からの逸脱度に関する情報と、を含み、
複数の前記シナリオは、前記重みの調整対象とする制約条件が前記シナリオごとに異なって設定され、
各近傍解における前記制約条件ごとの前記逸脱度と、各近傍解で前記変数が前記目標値から逸脱している前記制約条件の合計数と、を含む画面を表示モニタに表示して、前記シナリオごとの前記近傍解の算出結果をユーザに提示する制約条件最適化方法。
Obtaining definition information including constraint conditions set for a plurality of variables and initial values of weights of the constraint conditions;
Calculating a reference solution representing an optimal combination of the plurality of variables by a computer based on the obtained definition information;
calculating, for each of a plurality of preset scenarios, a neighborhood solution that represents an optimal combination of the plurality of variables when the weights of the constraint conditions are changed from the initial values by the computer ;
the scenario includes information on a constraint condition, among the plurality of constraint conditions, whose weight is to be adjusted, and information on a deviation degree from a target value of the variable corresponding to the constraint condition;
The plurality of scenarios are set such that the constraint conditions for which the weights are to be adjusted differ from one another for each scenario;
A constraint optimization method, which displays on a display monitor a screen including the degree of deviation for each constraint condition in each neighborhood solution and the total number of constraint conditions in which the variables deviate from the target value in each neighborhood solution, and presents the calculation results of the neighborhood solutions for each scenario to a user .
請求項5に記載の制約条件最適化方法において、6. The constraint optimization method according to claim 5,
複数の前記シナリオの各々について、前記シナリオを構成する1つまたは複数のステップと、各ステップに対応する前記制約条件と、各ステップで前記変数に対して要求される前記制約条件の種類と、を前記コンピュータにより設定する制約条件最適化方法。A constraint optimization method in which, for each of a plurality of scenarios, the computer sets one or more steps constituting the scenario, the constraint conditions corresponding to each step, and the types of the constraint conditions required for the variables at each step.
請求項に記載の制約条件最適化方法において、
前記制約条件ごとの前記重みと前記逸脱度との積の合計値に基づくペナルティ関数を用いて、前記近傍解を算出する制約条件最適化方法。
6. The constraint optimization method according to claim 5 ,
A constraint condition optimization method for calculating the neighborhood solution using a penalty function based on the total value of the product of the weight and the deviation for each constraint condition.
請求項に記載の制約条件最適化方法において、
複数の前記制約条件について、前記重みの変化が前記近傍解に及ぼす影響度を前記制約条件ごとに取得し、
取得した前記制約条件ごとの前記影響度を前記ユーザに提示する制約条件最適化方法。
6. The constraint optimization method according to claim 5 ,
obtaining, for each of the plurality of constraint conditions, a degree of influence of a change in the weight on the neighboring solutions;
The constraint condition optimization method includes presenting the degree of influence for each of the acquired constraint conditions to the user.
JP2021121519A 2021-07-26 2021-07-26 Constraint condition optimization device and constraint condition optimization method Active JP7617820B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021121519A JP7617820B2 (en) 2021-07-26 2021-07-26 Constraint condition optimization device and constraint condition optimization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021121519A JP7617820B2 (en) 2021-07-26 2021-07-26 Constraint condition optimization device and constraint condition optimization method

Publications (2)

Publication Number Publication Date
JP2023017322A JP2023017322A (en) 2023-02-07
JP7617820B2 true JP7617820B2 (en) 2025-01-20

Family

ID=85157918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021121519A Active JP7617820B2 (en) 2021-07-26 2021-07-26 Constraint condition optimization device and constraint condition optimization method

Country Status (1)

Country Link
JP (1) JP7617820B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024185113A1 (en) * 2023-03-09 2024-09-12 日本電気株式会社 Optimizing device, optimizing system, optimizing method, and recording medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020113161A (en) 2019-01-16 2020-07-27 株式会社日立製作所 Operating plan creation assisting method, and operating plan creation assisting device
JP2020204928A (en) 2019-06-18 2020-12-24 富士通株式会社 Optimization device and optimization method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020113161A (en) 2019-01-16 2020-07-27 株式会社日立製作所 Operating plan creation assisting method, and operating plan creation assisting device
JP2020204928A (en) 2019-06-18 2020-12-24 富士通株式会社 Optimization device and optimization method

Also Published As

Publication number Publication date
JP2023017322A (en) 2023-02-07

Similar Documents

Publication Publication Date Title
US6308162B1 (en) Method for controlled optimization of enterprise planning models
WO2018170595A1 (en) Method and system for generation of adjustable automated forecasts for a promotion
WO2005010700A2 (en) System and method for representing and incorporating available information into uncertainty-based forecasts
JP7167992B2 (en) label correction device
JP6213552B2 (en) Non-functional evaluation project management system, non-functional evaluation project management method, and non-functional evaluation project management program
KR20140045492A (en) System and method for evaluating decision opportunities
CN120471385A (en) A digital store management method and system
JP7617820B2 (en) Constraint condition optimization device and constraint condition optimization method
US20130024237A1 (en) Management decision making support system
JP5017434B2 (en) Information processing apparatus and program
US9720939B1 (en) Method and system for implementing categorically organized relationship effects
JP2005032079A (en) Project pre-evaluation method
JP2020115276A (en) Information processing method, information processing device, program, and generation method of learned model
JP2022041070A (en) Information processor, information processing method and program
JP7623228B2 (en) Measure presentation device, measure presentation method, and measure presentation program
US20160275707A1 (en) Graph processing system, graph processing method, and non-transitory computer readable medium
CN104272294B (en) Generate the method and system of particular system framework
CN118864084A (en) Credit risk assessment model generation method, storage medium and processor
US8407430B2 (en) Analysis technique of computer system
KR102349825B1 (en) Product purchase recommendation time calculation method for member of shopping mall related to e-commerce, apparatus and system using said method
JP7456273B2 (en) Data analysis system, data analysis method, and data analysis program
JP6151435B2 (en) Warehouse profit simulation device
JP2024059400A (en) Analysis device, analysis method, and analysis program
WO2023175921A1 (en) Model analysis device, model analysis method, and recording medium
JP2021170327A (en) Information processing method, electronic device, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241029

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241031

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250107

R150 Certificate of patent or registration of utility model

Ref document number: 7617820

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150