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
850
巡回セールスマン問題での貪欲法の精度 / 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
280
Other Decks in Science
See All in Science
構造設計のための3D生成AI-最新の取り組みと今後の展開-
kojinishiguchi
1
1.1k
SciPyDataJapan 2025
schwalbe10
0
210
化学におけるAI・シミュレーション活用のトレンドと 汎用原子レベルシミュレーター: Matlantisを使った素材開発
matlantis
0
560
ガウス過程回帰とベイズ最適化
nearme_tech
PRO
1
300
統計学入門講座 第1回スライド
techmathproject
0
290
[第62回 CV勉強会@関東] Long-CLIP: Unlocking the Long-Text Capability of CLIP / kantoCV 62th ECCV 2024
lychee1223
1
900
03_草原和博_広島大学大学院人間社会科学研究科教授_デジタル_シティズンシップシティで_新たな_学び__をつくる.pdf
sip3ristex
0
300
ほたるのひかり/RayTracingCamp10
kugimasa
1
600
butterfly_effect/butterfly_effect_in-house
florets1
1
160
ACL読み会2024@名大 REANO: Optimising Retrieval-Augmented Reader Models through Knowledge Graph Generation
takuma_matsubara
0
180
眼科AIコンテスト2024_特別賞_6位Solution
pon0matsu
0
330
実力評価性能を考慮した弓道高校生全国大会の大会制度設計の提案 / (konakalab presentation at MSS 2025.03)
konakalab
2
110
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Six Lessons from altMBA
skipperchong
27
3.7k
A Modern Web Designer's Workflow
chriscoyier
693
190k
How STYLIGHT went responsive
nonsquared
99
5.5k
Adopting Sorbet at Scale
ufuk
76
9.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
135
33k
We Have a Design System, Now What?
morganepeng
52
7.5k
Done Done
chrislema
183
16k
Building Flexible Design Systems
yeseniaperezcruz
329
38k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.4k
Transcript
巡回セールスマン問 題での貪欲法の精度 Thimblee
問題設定 • 巡回セールスマン問題とは • データの⽣成⽅法 • 距離
貪欲法 • まだ訪れていない頂点のうち、今いる頂点から⼀番近い頂点に 移動することを繰り返す • 必ずしも最適な回りかたをするわけではない • 貪欲法 … 頂点0からスタート
• 貪欲法-2 … 全ての頂点から貪欲法をスタートさせた解のうち 最も良いもの
貪欲法と最適解を⽐較 アルゴリズム 最適解 (bitDP) 貪欲法 貪欲法-2 計算量 𝑂(𝑁!2") 𝑂 𝑁!
𝑂 𝑁# 貪欲法の解の経路⻑ 最適解の経路⻑
最適解と貪欲法の解の⽐の分布 ガンマ分布に似ている
ガンマ分布 • 偶発的に起こる事象が⼀定回数起こるまでの時間 • 電⼦部品の寿命 • 体重 • エイズの潜伏期間
まとめ • 貪欲法は計算量が⼩さく、ある程度最適解に近い解を出す • 最適解と貪欲法の解の⽐の分布はだいたいガンマ分布に従う