JP6663875B2 - 問題解決装置、方法、及びプログラム - Google Patents
問題解決装置、方法、及びプログラム Download PDFInfo
- Publication number
- JP6663875B2 JP6663875B2 JP2017039366A JP2017039366A JP6663875B2 JP 6663875 B2 JP6663875 B2 JP 6663875B2 JP 2017039366 A JP2017039366 A JP 2017039366A JP 2017039366 A JP2017039366 A JP 2017039366A JP 6663875 B2 JP6663875 B2 JP 6663875B2
- Authority
- JP
- Japan
- Prior art keywords
- items
- node
- upper limit
- divided
- item list
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
20 演算部
30 論理制約グラフ作成部
32 求解部
34 中間点決定部
36 初期化部
38 再帰処理部
50 出力部
100 問題解決装置
Claims (3)
- 価値と容量を持つアイテムの集合から、アイテム間の選択の制約条件の下で、容量上限C以下で価値を最大化するアイテムの部分集合上限を選択するナップサック問題を解決する問題解決装置であって、
前記アイテム間の選択の制約条件である論理制約を表す、前記アイテムに対応するノードの各々を含む二分決定グラフを作成する論理制約グラフ作成部と、
前記論理制約グラフ作成部によって作成された前記二分決定グラフに応じて前記アイテムを並べたアイテムリストに基づいて、前記二分決定グラフにおける、前記アイテムリストが表すアイテムの部分集合であって、前記容量上限C以下で価値を最大化するアイテムの部分集合を表す経路を計算する求解部と、
アイテムリストと、容量上限と、前記二分決定グラフのうちの探索範囲の開始ノード、及び終了ノードとを入力とし、前記探索範囲における、アイテムリストが表すアイテムの部分集合であって、前記容量上限以下で価値を最大化するアイテムの部分集合を表す経路上の中間ノード、及び重み合計を決定する中間点決定部と、
を含み、
前記求解部は、前記アイテムリストと、前記容量上限Cと、前記二分決定グラフの根ノードと、1終端ノードとを前記中間点決定部に入力して、前記中間ノード、及び前記重み合計を求め、
前記アイテムリストを、前記中間ノードに対応するアイテムで半分に分け、前記容量上限Cを、前記重み合計で分け、前記二分決定グラフの探索範囲を、前記中間ノードで分けた問題の各々について、分けられたアイテムリストと、分けられた容量上限と、分けられた前記探索範囲の開始ノード、及び終了ノードとを前記中間点決定部に入力して、前記中間ノード、及び前記重み合計を求めることを再帰的に繰り返す
問題解決装置。 - 価値と容量を持つアイテムの集合から、アイテム間の選択の制約条件の下で、容量上限C以下で価値を最大化するアイテムの部分集合上限を選択するナップサック問題を解決する問題解決装置における問題解決方法であって、
論理制約グラフ作成部が、前記アイテム間の選択の制約条件である論理制約を表す、前記アイテムに対応するノードの各々を含む二分決定グラフを作成するステップと、
求解部が、前記論理制約グラフ作成部によって作成された前記二分決定グラフに応じて前記アイテムを並べたアイテムリストに基づいて、前記二分決定グラフにおける、前記アイテムリストが表すアイテムの部分集合であって、前記容量上限C以下で価値を最大化するアイテムの部分集合を表す経路を計算するステップと、
中間点決定部が、アイテムリストと、容量上限と、前記二分決定グラフのうちの探索範囲の開始ノード、及び終了ノードとを入力とし、前記探索範囲における、アイテムリストが表すアイテムの部分集合であって、前記容量上限以下で価値を最大化するアイテムの部分集合を表す経路上の中間ノード、及び重み合計を決定するステップと、
を含み、
前記求解部が計算するステップは、前記アイテムリストと、前記容量上限Cと、前記二分決定グラフの根ノードと、1終端ノードとを前記中間点決定部に入力して、前記中間ノード、及び前記重み合計を求め、
前記アイテムリストを、前記中間ノードに対応するアイテムで半分に分け、前記容量上限Cを、前記重み合計で分け、前記二分決定グラフの探索範囲を、前記中間ノードで分けた問題の各々について、分けられたアイテムリストと、分けられた容量上限と、分けられた前記探索範囲の開始ノード、及び終了ノードとを前記中間点決定部に入力して、前記中間ノード、及び前記重み合計を求めることを再帰的に繰り返す
問題解決方法。 - コンピュータを、請求項1に記載の問題解決装置の各部として機能させるためのプログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017039366A JP6663875B2 (ja) | 2017-03-02 | 2017-03-02 | 問題解決装置、方法、及びプログラム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017039366A JP6663875B2 (ja) | 2017-03-02 | 2017-03-02 | 問題解決装置、方法、及びプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018147088A JP2018147088A (ja) | 2018-09-20 |
JP6663875B2 true JP6663875B2 (ja) | 2020-03-13 |
Family
ID=63592193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017039366A Active JP6663875B2 (ja) | 2017-03-02 | 2017-03-02 | 問題解決装置、方法、及びプログラム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6663875B2 (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112330023A (zh) * | 2020-11-05 | 2021-02-05 | 安庆师范大学 | 考虑主观需求的0-1背包问题的求解方法及电子设备 |
-
2017
- 2017-03-02 JP JP2017039366A patent/JP6663875B2/ja active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018147088A (ja) | 2018-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Needham et al. | Graph algorithms: practical examples in Apache Spark and Neo4j | |
CN106023015B (zh) | 课程学习路径推荐方法及装置 | |
Neapolitan et al. | Foundations of algorithms | |
Stephens | Essential algorithms: a practical approach to computer algorithms using Python and C | |
KR20170037636A (ko) | 데이터 계통 요약 | |
Fercoq et al. | Ergodic control and polyhedral approaches to PageRank optimization | |
Ehrgott et al. | Exact methods for multi-objective combinatorial optimisation | |
Paszyńska et al. | Quasi‐Optimal Elimination Trees for 2D Grids with Singularities | |
Gower et al. | A new framework for the computation of Hessians | |
Karkory et al. | Implementation of heuristics for solving travelling salesman problem using nearest neighbour and minimum spanning tree algorithms | |
Mula et al. | Birough programming approach for solving bi-matrix games with birough payoff elements | |
Ahmad | 40 Algorithms Every Programmer Should Know: Hone your problem-solving skills by learning different algorithms and their implementation in Python | |
CN110020171A (zh) | 数据处理方法、装置、设备及计算机可读存储介质 | |
Balogh et al. | The spectrum of triangle-free graphs | |
JP6663875B2 (ja) | 問題解決装置、方法、及びプログラム | |
CN112948696B (zh) | 具有隐私保护功能的跨域医疗保健设备推荐方法及系统 | |
Hazelton et al. | Geometrically aware dynamic Markov bases for statistical linear inverse problems | |
Adams et al. | A hierarchy of subgraph projection-based semidefinite relaxations for some NP-hard graph optimization problems | |
Lotito | Issues in the implementation of the DSD algorithm for the traffic assignment problem | |
US20170302437A1 (en) | Nondecreasing sequence determining device, method and program | |
JP5555238B2 (ja) | ベイジアンネットワーク構造学習のための情報処理装置及びプログラム | |
Hosseinian et al. | Algorithms for the generalized independent set problem based on a quadratic optimization approach | |
Beisegel et al. | Certifying fully dynamic algorithms for recognition and hamiltonicity of threshold and chain graphs | |
JP6709740B2 (ja) | 厳密敷き詰め計算装置、方法、及びプログラム | |
CN112132614A (zh) | 一种利用量子线路进行偏好预测演示的方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20170303 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190131 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20190131 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20190131 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191226 |
|
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: 20200121 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200217 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6663875 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |