2-opt explaind | TSP optimization tutorial and visualization

preview_player
Показать описание
This video explains how 2-opt heuristic for TSP (travelling salesman problem) works.
Traveling Salesman Problem playlist:

Register at top cryptocurrency exchange platform via my link to help support the channel:
There will be no additional commissions for you but I will get 20% cut of your commissions.
Рекомендации по теме
Комментарии
Автор

Awesome, thanks for the explanation. Been struggling a while to wrap my head around 2-opt.

nielsbach-srensen
Автор

Nice explanation, but I have some questions.
1.- You said that the selected edges must not be sharing the same vertex, but how can I know which of the edges I have to select?
2.- Why did you reverse the white edges? What is the criteria to change the direction of the edges?
3.- How do you determine the new connection? Im talking about how do you know what vertex will be connected with what vertex after the tour change ?

I hope I was clear with my doubts. Thank you.

crb