Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “什么是旅行商问题?”

6 keyword matches

Understanding your question. You can explore the search results below now.

Meet the concept

↗

The Traveling Salesman Problem (TSP) is a classic optimization problem that asks for the shortest possible route that visits a given set of cities exactly once and returns to the starting city. For an instance with 8 cities, there are 5040 possible routes.

Conditions: The route must visit every city in the set exactly once.; The route must return to the starting city.; The goal is to minimize the total distance traveled.

Meet the concept

↗

The Traveling Salesman Problem (TSP) is a classical optimization problem that seeks the shortest possible path through a set of nn cities, visiting each city exactly once. The video visualizes this as a route drawn over a fixed point set in a 2D plane.

Conditions: There is a finite set of nn cities.; The objective is to minimize total path length.; Each city must be visited exactly once.

Meet the concept

↗

The temperature parameter in Simulated Annealing controls the probability of accepting worse solutions during the search. Initially, the temperature is high, allowing the algorithm to explore a wide range of solutions, including those that degrade the current route.

Conditions: The algorithm is in the early stages of the search.; The temperature is initially high.; The temperature decreases over time according to a cooling schedule.

Meet the concept

↗

The video points out that routes crossing over themselves (self-intersections) are a sign of a worse solution. This visual cue is paired with a longer final path length in the status bar.

Conditions: Applies to the interactive TSP visualization shown in the clip.; The context is comparing different algorithm runs or parameters.

Meet the concept

↗

In the genetic-algorithm TSP demo, greedy crossover uses a heuristic rule that tries to choose the nearest unvisited city as the next move. This approach is presented as a way to quickly obtain an effectively short route.

Conditions: Used inside the genetic-algorithm TSP implementation.; The crossover option is enabled (greedy crossover: true).; At each step, the next city is chosen by nearest-unvisited-city preference.

Meet the concept

↗

A 2-opt swap is a local search heuristic for the Traveling Salesman Problem. It involves removing two edges from the current tour and reconnecting the resulting paths in a different way to form a new tour.

Conditions: Applied to a valid TSP tour.; Involves exactly two edge removals and reconnections.