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
Thimblee
December 21, 2022
Science
0
950
巡回セールスマン問題での貪欲法の精度 / 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
300
Other Decks in Science
See All in Science
Masseyのレーティングを用いたフォーミュラレースドライバーの実績評価手法の開発 / Development of a Performance Evaluation Method for Formula Race Drivers Using Massey Ratings
konakalab
0
180
データマイニング - グラフデータと経路
trycycle
PRO
1
210
CV_3_Keypoints
hachama
0
200
地質研究者が苦労しながら運用する情報公開システムの実例
naito2000
0
250
Symfony Console Facelift
chalasr
2
460
データマイニング - ウェブとグラフ
trycycle
PRO
0
160
傾向スコアによる効果検証 / Propensity Score Analysis and Causal Effect Estimation
ikuma_w
0
120
サイゼミ用因果推論
lw
1
7.5k
機械学習 - SVM
trycycle
PRO
1
870
データベース02: データベースの概念
trycycle
PRO
2
880
機械学習 - pandas入門
trycycle
PRO
0
300
白金鉱業Meetup Vol.16_数理最適化案件のはじめかた・すすめかた
brainpadpr
4
1.9k
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Pragmatic Product Professional
lauravandoore
36
6.8k
It's Worth the Effort
3n
187
28k
A better future with KSS
kneath
239
17k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Faster Mobile Websites
deanohume
309
31k
Transcript
巡回セールスマン問 題での貪欲法の精度 Thimblee
問題設定 • 巡回セールスマン問題とは • データの⽣成⽅法 • 距離
貪欲法 • まだ訪れていない頂点のうち、今いる頂点から⼀番近い頂点に 移動することを繰り返す • 必ずしも最適な回りかたをするわけではない • 貪欲法 … 頂点0からスタート
• 貪欲法-2 … 全ての頂点から貪欲法をスタートさせた解のうち 最も良いもの
貪欲法と最適解を⽐較 アルゴリズム 最適解 (bitDP) 貪欲法 貪欲法-2 計算量 𝑂(𝑁!2") 𝑂 𝑁!
𝑂 𝑁# 貪欲法の解の経路⻑ 最適解の経路⻑
最適解と貪欲法の解の⽐の分布 ガンマ分布に似ている
ガンマ分布 • 偶発的に起こる事象が⼀定回数起こるまでの時間 • 電⼦部品の寿命 • 体重 • エイズの潜伏期間
まとめ • 貪欲法は計算量が⼩さく、ある程度最適解に近い解を出す • 最適解と貪欲法の解の⽐の分布はだいたいガンマ分布に従う