Algorithms for NP-Hard Problems (Section 20.4: The 2-OPT Heuristic for the TSP) [Part 2/2]

  Рет қаралды 9,518

Tim Roughgarden Lectures

Tim Roughgarden Lectures

Күн бұрын

Introduction to local algorithms through the 2-OPT heuristic for the Traveling Salesman Problem.
Accompanies Section 20.4 of the book Algorithms Illuminated, Part 4: Algorithms for NP-Hard Problems (www.algorithmsi...)
Full playlist: • Algorithms Illuminated...

Пікірлер: 7
@coemgeincraobhach236
@coemgeincraobhach236 3 жыл бұрын
Thanks for that! really well explained!
@rippi0815
@rippi0815 3 жыл бұрын
How do you calculate the costs of the green tours?
@timgluz
@timgluz 4 жыл бұрын
Question, what's the described algorithm to iterate over k-opt pairs? is it something like this: for i in 1 to n-4: for j in i+2 to n: pair1 = (i, i+1) pair2 = (j, j+1) Thank you
@RayRay-yt5pe
@RayRay-yt5pe Жыл бұрын
Thank you so much
@NS-gr9cy
@NS-gr9cy 3 жыл бұрын
Why the network with score 23 not tried to improve further?
@eng.i8823
@eng.i8823 3 жыл бұрын
Yeah right!
@sayc1333
@sayc1333 10 ай бұрын
the professor is showing you all the possible changes at each iteration, but he explains at 2:36 that for now we are just taking the first discovered improvement
The Traveling Salesman Problem: When Good Enough Beats Perfect
30:27
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 1,8 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 83 МЛН
Это было очень близко...
00:10
Аришнев
Рет қаралды 5 МЛН
Foundations of Blockchains (Lecture 12.22: Mitigations for Long-Range Attacks)
26:00
Algorithms for NP-Hard Problems (Section 19.0: Overview and Prerequisites)
10:05
Tim Roughgarden Lectures
Рет қаралды 8 М.
Graph Data Structure 6. The A* Pathfinding Algorithm
16:48
Computer Science Lessons
Рет қаралды 112 М.
R9. Approximation Algorithms: Traveling Salesman Problem
31:59
MIT OpenCourseWare
Рет қаралды 126 М.
The Travelling Salesman (2 of 3: Nearest Neighbour & SFCs)
11:23
Traveling Salesman Problem Visualization
2:23
n Sanity
Рет қаралды 478 М.
TSP Approximation Algorithms | Solving the Traveling Salesman Problem
12:46
Oggi AI - Artificial Intelligence Today
Рет қаралды 54 М.