Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
巡回セールスマン問題での貪欲法の精度 / accuracy of greedy method ...
Search
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
320
Other Decks in Science
See All in Science
Ignite の1年間の軌跡
ktombow
0
180
Hakonwa-Quaternion
hiranabe
1
160
AI(人工知能)の過去・現在・未来 —AIは人間を超えるのか—
tagtag
1
210
生成検索エンジン最適化に関する研究の紹介
ynakano
2
1.5k
データから見る勝敗の法則 / The principle of victory discovered by science (open lecture in NSSU)
konakalab
1
240
機械学習 - K-means & 階層的クラスタリング
trycycle
PRO
0
1.2k
機械学習 - pandas入門
trycycle
PRO
0
370
データマイニング - コミュニティ発見
trycycle
PRO
0
180
データベース14: B+木 & ハッシュ索引
trycycle
PRO
0
550
データベース08: 実体関連モデルとは?
trycycle
PRO
0
1k
baseballrによるMLBデータの抽出と階層ベイズモデルによる打率の推定 / TokyoR118
dropout009
2
630
Agent開発フレームワークのOverviewとW&B Weaveとのインテグレーション
siyoo
0
390
Featured
See All Featured
Become a Pro
speakerdeck
PRO
30
5.7k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
Scaling GitHub
holman
464
140k
Balancing Empowerment & Direction
lara
5
780
Mobile First: as difficult as doing things right
swwweet
225
10k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Why You Should Never Use an ORM
jnunemaker
PRO
60
9.6k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Transcript
巡回セールスマン問 題での貪欲法の精度 Thimblee
問題設定 • 巡回セールスマン問題とは • データの⽣成⽅法 • 距離
貪欲法 • まだ訪れていない頂点のうち、今いる頂点から⼀番近い頂点に 移動することを繰り返す • 必ずしも最適な回りかたをするわけではない • 貪欲法 … 頂点0からスタート
• 貪欲法-2 … 全ての頂点から貪欲法をスタートさせた解のうち 最も良いもの
貪欲法と最適解を⽐較 アルゴリズム 最適解 (bitDP) 貪欲法 貪欲法-2 計算量 𝑂(𝑁!2") 𝑂 𝑁!
𝑂 𝑁# 貪欲法の解の経路⻑ 最適解の経路⻑
最適解と貪欲法の解の⽐の分布 ガンマ分布に似ている
ガンマ分布 • 偶発的に起こる事象が⼀定回数起こるまでの時間 • 電⼦部品の寿命 • 体重 • エイズの潜伏期間
まとめ • 貪欲法は計算量が⼩さく、ある程度最適解に近い解を出す • 最適解と貪欲法の解の⽐の分布はだいたいガンマ分布に従う