Travelling Salesperson Problem Lecture Notes

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms, algorithms, and concepts from the lecture on the Travelling Salesperson Problem.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

Travelling Salesperson Problem (TSP)

An optimisation problem that seeks the shortest possible tour that visits each of n cities exactly once and returns to the starting city.

2
New cards

NP-Hard

A class of problems for which no known algorithm can guarantee a polynomial-time solution; the TSP belongs to this class.

3
New cards

Tour

A complete cycle that starts at one city, visits every other city exactly once, and returns to the starting city.

4
New cards

Permutation Representation

Encoding a TSP tour as an ordered list of the integers 1…n, each appearing exactly once.

5
New cards

Search Space of TSP

All n! possible permutations (tours) of n cities; grows factorially with n.

6
New cards

Distance Notation d(i,j)

Symbol representing the distance between city i and city j, with d(i,j)=d(j,i) and d(i,i)=0.

7
New cards

Distance Matrix D

An n×n matrix where entry dij equals d(i,j), used to store all pairwise city distances.

8
New cards

Euclidean Distance

The straight-line distance between two points (xi,yi) and (xj,yj), computed as sqrt((xi−xj)^2+(yi−yj)^2).

9
New cards

Fitness Function f(T)

The total length of a tour T, calculated by summing distances between consecutive cities and returning to the start; objective is to minimise f(T).

10
New cards

Random Permutation (RandPerm)

Algorithm that constructs a random TSP tour by repeatedly selecting and removing random elements from a list of remaining cities.

11
New cards

Swap Operator

A small-change operator that exchanges two randomly chosen cities in a tour to produce a neighbouring solution.

12
New cards

Random-Mutation Hill Climbing (RMHC)

A heuristic search method that iteratively applies small changes (e.g., Swap) and accepts improvements to minimise tour length.

13
New cards

Simulated Annealing

A heuristic search technique that probabilistically accepts worse solutions early on to escape local optima; often applied to the TSP.

14
New cards

Minimum Spanning Tree (MST)

A spanning tree of minimum possible total edge weight that connects all nodes of a graph without cycles.

15
New cards

MST Lower Bound

The property that the length of any TSP tour is at least the cost of the corresponding MST: f(TSP) ≥ MST(D).

16
New cards

Efficiency Measure

A ratio used to evaluate solution quality: (MST(D) / f(TSP(D))) × 100%, always ≤ 100%.

17
New cards

Vehicle Routing

A practical application of the TSP where optimal routes for delivery or service vehicles are determined.

18
New cards

Heuristic Search

Approach that uses approximate methods (e.g., Hill Climbing, Simulated Annealing) to find good—but not necessarily optimal—TSP solutions in reasonable time.