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 in TSP
Search
Thimblee
December 21, 2022
Science
0
650
巡回セールスマン問題での貪欲法の精度 / 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
240
Other Decks in Science
See All in Science
【健康&筋肉と生産性向上の関連性】 【Google Cloudを企業で運用する際の知識】 をお届け
yasumuusan
0
200
統計的因果探索の方法
sshimizu2006
1
990
第61回コンピュータビジョン勉強会「BioCLIP: A Vision Foundation Model for the Tree of Life」
x_ttyszk
1
1.4k
拡散モデルの原理紹介
brainpadpr
3
3.3k
プロダクト開発を通して学んだナレッジマネジメントの哲学
sonod
0
110
効果検証入門に物申してみた_JapanR_2023
s1ok69oo
6
4.8k
第4回ナレッジグラフ勉強会 Knowledge Graph Embedding
maruru0090
0
160
Leveraging conformal prediction for calibrated probabilistic time series forecasts to accelerate the renewable energy transition
ingevandenende
2
310
事業会社における 機械学習・推薦システム技術の活用事例と必要な能力 / ml-recsys-in-layerx-wantedly-2024
yuya4
3
110
ultraArmをモニター提供してもらった話
miura55
0
150
大規模言語モデルの開発
chokkan
PRO
80
27k
「国と音楽」 ~spotifyrを用いて~ #muana
bob3bob3
2
390
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
689
190k
Visualization
eitanlees
139
14k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
Automating Front-end Workflow
addyosmani
1362
200k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
39
47k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
24
1.8k
Optimizing for Happiness
mojombo
373
69k
Build your cross-platform service in a week with App Engine
jlugia
227
17k
Building Your Own Lightsaber
phodgson
101
5.9k
Agile that works and the tools we love
rasmusluckow
325
20k
Side Projects
sachag
451
42k
Transcript
巡回セールスマン問 題での貪欲法の精度 Thimblee
問題設定 • 巡回セールスマン問題とは • データの⽣成⽅法 • 距離
貪欲法 • まだ訪れていない頂点のうち、今いる頂点から⼀番近い頂点に 移動することを繰り返す • 必ずしも最適な回りかたをするわけではない • 貪欲法 … 頂点0からスタート
• 貪欲法-2 … 全ての頂点から貪欲法をスタートさせた解のうち 最も良いもの
貪欲法と最適解を⽐較 アルゴリズム 最適解 (bitDP) 貪欲法 貪欲法-2 計算量 𝑂(𝑁!2") 𝑂 𝑁!
𝑂 𝑁# 貪欲法の解の経路⻑ 最適解の経路⻑
最適解と貪欲法の解の⽐の分布 ガンマ分布に似ている
ガンマ分布 • 偶発的に起こる事象が⼀定回数起こるまでの時間 • 電⼦部品の寿命 • 体重 • エイズの潜伏期間
まとめ • 貪欲法は計算量が⼩さく、ある程度最適解に近い解を出す • 最適解と貪欲法の解の⽐の分布はだいたいガンマ分布に従う