Did you know Cards Games

2-opt

2-opt: local search algorithm. No. 604,746 of 4,515,532 cards by fame.

2-opt: quick facts

Description
Local search algorithm
Rarity in the game
Epic card
In its topic
No. 5,876 of 9,102 “Computer science” cards
Wikipedia
article in 5 languages
Wikidata
Q291440
Wikipedia page views
about 1,600 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Picture illustrating “2-opt”
Photo: PierreSelim, CC BY-SA 3.0 (Wikimedia Commons)

2-opt: summary

In optimization, 2-opt is a simple local search algorithm for solving the traveling salesman problem. The 2-opt algorithm was first proposed by Croes in 1958, although the basic move had already been suggested by Flood. The main idea behind it is to take a route that crosses over itself and reorder it so that it does not. A complete 2-opt local search will compare every possible valid combination of the swapping mechanism.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

  • Snark — connected, bridgeless cubic graph with chromatic index equal to 4
  • Amstrad CPC 6128 — home computer produced by Amstrad
  • Dave Thomas — British computer programmer
  • Mylo (Sony) — handheld device made by Sony
  • Lftp — free software command-line client for several file transfer protocols
  • Canaima — Linux distribution
  • ISO 3166-2:SB — entry for the Solomon Islands in ISO 3166-2
  • ISO 3166-2:NE — entry for Niger in ISO 3166-2
  • Macintosh IIsi — Apple personal computer of early 1990s
  • ESIEA — French graduate school of engineering
  • Per Georg Scheutz — Swedish inventor and businessman
  • Poser — 3D computer graphics program optimized for modeling of human figures

The best-known of the 9,102 “Computer science” cards

This card's topics

“2-opt” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.