Table of Contents
Fetching ...

Colored Points Traveling Salesman Problem

Saeed Asaeedi

TL;DR

This work defines Colored Points TSP, a color-constrained variant of the Traveling Salesman Problem where a set of $n$ points partitioned into $k$ colors must be visited by one representative per color. It establishes NP-hardness and presents two algorithms: an exact brute-force method with runtime $O(x_1 x_2 \cdots x_k)$ and a polynomial-time $(2\pi r/3)$-approximation that leverages the minimum color-spanning circle of radius $r$ and onion peeling to bound the perimeter. The authors implement both approaches in Matlab and provide numerical results on random datasets, showing that the exact method is feasible only for small instances while the approximation scales to larger ones with practical performance. The work contributes a formal definition, hardness results, and concrete algorithms with provable approximation guarantees, offering a tractable tool for problems requiring visiting exactly one representative from each color class across applications such as logistics and inspection.

Abstract

The Colored Points Traveling Salesman Problem (Colored Points TSP) is introduced in this work as a novel variation of the traditional Traveling Salesman Problem (TSP) in which the set of points is partitioned into multiple classes, each of which is represented by a distinct color (or label). The goal is to find a minimum cost cycle $C$ that visits all the colors and only makes each one appears once. This issue has various applications in the fields of transportation, goods distribution network, postal network, inspection, insurance, banking, etc. By reducing the traditional TSP to it, we can demonstrate that Colored Points TSP is NP-hard. Here, we offer a $\frac{2πr}{3}$-approximation algorithm to solve this issue, where $r$ denotes the radius of the points' smallest color-spanning circle. The algorithm has been implemented, executed on random datasets, and compared against the brute force method.

Colored Points Traveling Salesman Problem

TL;DR

This work defines Colored Points TSP, a color-constrained variant of the Traveling Salesman Problem where a set of points partitioned into colors must be visited by one representative per color. It establishes NP-hardness and presents two algorithms: an exact brute-force method with runtime and a polynomial-time -approximation that leverages the minimum color-spanning circle of radius and onion peeling to bound the perimeter. The authors implement both approaches in Matlab and provide numerical results on random datasets, showing that the exact method is feasible only for small instances while the approximation scales to larger ones with practical performance. The work contributes a formal definition, hardness results, and concrete algorithms with provable approximation guarantees, offering a tractable tool for problems requiring visiting exactly one representative from each color class across applications such as logistics and inspection.

Abstract

The Colored Points Traveling Salesman Problem (Colored Points TSP) is introduced in this work as a novel variation of the traditional Traveling Salesman Problem (TSP) in which the set of points is partitioned into multiple classes, each of which is represented by a distinct color (or label). The goal is to find a minimum cost cycle that visits all the colors and only makes each one appears once. This issue has various applications in the fields of transportation, goods distribution network, postal network, inspection, insurance, banking, etc. By reducing the traditional TSP to it, we can demonstrate that Colored Points TSP is NP-hard. Here, we offer a -approximation algorithm to solve this issue, where denotes the radius of the points' smallest color-spanning circle. The algorithm has been implemented, executed on random datasets, and compared against the brute force method.
Paper Structure (4 sections, 3 theorems, 5 figures, 1 table, 2 algorithms)

This paper contains 4 sections, 3 theorems, 5 figures, 1 table, 2 algorithms.

Key Result

Theorem 1

The Colored Points TSP is NP-hard.

Figures (5)

  • Figure 1: All 70 points are associated with one of 7 distinct colors, and the line segments collectively form a polygon with the smallest possible perimeter, encompassing all 7 unique colors.
  • Figure 2: Figures (a) and (b) display the results of both the exact and approximate algorithms for the problem with $n=70$ and $k=7$, while figures (c) and (d) show the results for the problem with $n=50$ and $k=5$.
  • Figure 3: The results of the approximation algorithm are presented for (a) a set of 500 points with 10 distinct colors and (b) a set of 1000 points with 20 distinct colors..
  • Figure 4: Comparison of the algorithms' execution time for $n$ ranging from 10 to 25 points and $k$ spanning from 2 to 8 colors.
  • Figure 5: Comparison of the algorithms' execution time for $n$ ranging from 26 to 40 points and $k$ spanning from 2 to 8 colors.

Theorems & Definitions (6)

  • Theorem 1
  • proof
  • Lemma 1
  • proof
  • Theorem 2
  • proof