Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
巡回セールスマン問題での貪欲法の精度 / accuracy of greedy method ...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Thimblee
December 21, 2022
Science
0
1k
巡回セールスマン問題での貪欲法の精度 / accuracy of greedy method in TSP
Thimblee
December 21, 2022
Tweet
Share
More Decks by Thimblee
See All by Thimblee
ベイズで単回帰モデルを考える /bayes-simple-linear-regression
thimblee
0
340
Other Decks in Science
See All in Science
会社でMLモデルを作るとは @電気通信大学 データアントレプレナーフェロープログラム
yuto16
1
530
Kaggle: NeurIPS - Open Polymer Prediction 2025 コンペ 反省会
calpis10000
0
380
凸最適化からDC最適化まで
santana_hammer
1
350
データベース05: SQL(2/3) 結合質問
trycycle
PRO
0
880
Hakonwa-Quaternion
hiranabe
1
170
データから見る勝敗の法則 / The principle of victory discovered by science (open lecture in NSSU)
konakalab
1
270
タンパク質間相互作⽤を利⽤した⼈⼯知能による新しい薬剤遺伝⼦-疾患相互作⽤の同定
tagtag
PRO
0
140
サイコロで理解する原子核崩壊と拡散現象 〜単純化されたモデルで本質を理解する〜
syotasasaki593876
0
150
Vibecoding for Product Managers
ibknadedeji
0
130
機械学習 - DBSCAN
trycycle
PRO
0
1.5k
People who frequently use ChatGPT for writing tasks are accurate and robust detectors of AI-generated text
rudorudo11
0
190
[Paper Introduction] From Bytes to Ideas:Language Modeling with Autoregressive U-Nets
haruumiomoto
0
190
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Facilitating Awesome Meetings
lara
57
6.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
The untapped power of vector embeddings
frankvandijk
1
1.6k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
GitHub's CSS Performance
jonrohan
1032
470k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
54
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Rails Girls Zürich Keynote
gr2m
96
14k
Transcript
巡回セールスマン問 題での貪欲法の精度 Thimblee
問題設定 • 巡回セールスマン問題とは • データの⽣成⽅法 • 距離
貪欲法 • まだ訪れていない頂点のうち、今いる頂点から⼀番近い頂点に 移動することを繰り返す • 必ずしも最適な回りかたをするわけではない • 貪欲法 … 頂点0からスタート
• 貪欲法-2 … 全ての頂点から貪欲法をスタートさせた解のうち 最も良いもの
貪欲法と最適解を⽐較 アルゴリズム 最適解 (bitDP) 貪欲法 貪欲法-2 計算量 𝑂(𝑁!2") 𝑂 𝑁!
𝑂 𝑁# 貪欲法の解の経路⻑ 最適解の経路⻑
最適解と貪欲法の解の⽐の分布 ガンマ分布に似ている
ガンマ分布 • 偶発的に起こる事象が⼀定回数起こるまでの時間 • 電⼦部品の寿命 • 体重 • エイズの潜伏期間
まとめ • 貪欲法は計算量が⼩さく、ある程度最適解に近い解を出す • 最適解と貪欲法の解の⽐の分布はだいたいガンマ分布に従う