TSP Solver

Program na hľadanie optimálnej trasy pre problém obchodného cestujúceho

Program for finding the optimal route for the travelling salesman problem

✓ Beats LKH (world's best TSP heuristic) ✓ Poráža LKH (svetový štandard) ✓ 700× faster than LKH for large instances ✓ 700× rýchlejší ako LKH pre veľké dáta ✓ 3D support (X, Y, Z coordinates) ✓ Podpora 3D (X, Y, Z súradnice) ✓ Road distance (real road network) ✓ Cestné vzdialenosti (reálna cestná sieť) ✓ TSP Art ✓ TSP Art ✓ Runs on a regular home PC ✓ Beží na bežnom domácom PC ✓ 7000 lines of highly optimized NUMBA code ✓ 7000 riadkov optimalizovaného NUMBA kódu

Čo je TSP Solver?

What is TSP Solver?

TSP Solver je program určený na hľadanie optimálnej trasy tzv. problému obchodného cestujúceho (TSP- Travelling Salesman Problem). Tento problém patrí medzi najznámejšie problémy kombinatorickej optimalizácie. Úlohou je nájsť najkratšiu možnú trasu, ktorá prechádza všetkými zadanými bodmi (mestami) práve raz a vráti sa do východiskového bodu. Program podporuje 2D aj 3D súradnice (x, y, z) s interaktívnou 3D vizualizáciou. Je vhodný nielen pre logistiku a plánovanie trás, ale aj pre plánovanie trás pre drony, robotiku, a priemyselné aplikácie ako laserové gravírovanie, vŕtanie DPS (plošných spojov) či 3D tlač a CNC stroje, kde optimalizácia trasy výrazne skracuje čas výroby.

TSP Solver is a program designed to find the optimal route for the travelling salesman problem (TSP). This problem is one of the most famous problems in combinatorial optimization. The task is to find the shortest possible route that passes through all given points (cities) exactly once and returns to the starting point. The program supports both 2D and 3D coordinates (x, y, z) with interactive 3D visualization. It is suitable not only for logistics and route planning, but also for drone flight path planning, robotics, and industrial applications such as laser engraving, PCB drilling (printed circuit boards), or 3D printing and CNC machines, where route optimization significantly reduces production time.

Program bol vyvinutý Ing. Robertom Polákom a obsahuje niekoľko originálnych algoritmov, vrátane Robopol Fast algoritmu s turbo režimom (zvládne aj milióny bodov - 100 000 bodov za cca 1 minútu, omnoho rýchlejší ako LKH) a jeho presnejšej verzie Robopol Precise. Najnovším prírastkom je metóda Robopol Refined, ktorá slúži na hľadanie optimálnych riešení pre male a stredne velke inštancie. Je pomalší ako ostatné heuristiky, ale omnoho rýchlejší ako exaktné algoritmy. Ak LKH nenájde optimum, Refined ho môže nájsť.

The program was developed by Ing. Robert Polák and includes several original algorithms, including the Robopol Fast algorithm with turbo mode (handles even millions of points - 100,000 points in ~1 minute, much faster than LKH) and its more accurate version Robopol Precise. The latest addition is the Robopol Refined method, designed for finding optimal solutions for small and medium-sized instances. It is slower than other heuristics, but much faster than exact algorithms. If LKH doesn't find the optimum, Refined can find it.

Príklad: Robopol Refined vs LKH

Na obrázku nižšie je ukážka, kde metóda Robopol Refined našla výrazne lepšie riešenie ako algoritmus LKH. Tento príklad demonštruje silu ILS (Iterated Local Search) prístupu pri hľadaní globálneho optima.

Robopol Refined našiel lepšie riešenie ako LKH

Robopol Refined dosiahol kratšiu trasu ako LKH pri rovnakom vstupe.

Example: Robopol Refined vs LKH

The image below shows an example where the Robopol Refined method found a significantly better solution than the LKH algorithm. This example demonstrates the power of the ILS (Iterated Local Search) approach in finding the global optimum.

Robopol Refined found better solution than LKH

Robopol Refined achieved a shorter route than LKH with the same input.

Optimalizácia trasy

Route Optimization

Nájdite najkratšiu možnú trasu medzi ľubovoľným počtom bodov. S turbo režimom zvládne aj milióny bodov.

Find the shortest possible route between any number of points. With turbo mode it handles even millions of points.

Podpora 3D bodov

3D Points Support

Pracujte s 3D súradnicami (x, y, z) pre priestorové optimalizácie. Ideálne pre plánovanie letových trás pre drony, optimalizáciu pohybu robotických ramien, navigáciu v viacposchodových skladoch či optimalizáciu dráhy pre 3D tlač a CNC stroje. Interaktívna 3D vizualizácia umožňuje rotáciu a priblíženie výslednej trasy.

Work with 3D coordinates (x, y, z) for spatial optimizations. Ideal for drone flight path planning, optimizing movement of robotic arms, navigation in multi-floor warehouses, or path optimization for 3D printing and CNC machines. Interactive 3D visualization allows rotation and zoom of the resulting route.

TSP Art

TSP Art

Vytvárajte umelecké diela pomocou jednej spojitej čiary prechádzajúcej cez tisíce bodov.

Create artwork using a single continuous line passing through thousands of points.

Pokročilé algoritmy

Advanced Algorithms

Využíva originálne algoritmy Robopol Fast (s turbo režimom pre milióny bodov), Robopol Precise a Robopol Refined, ako aj špičkový LKH algoritmus.

Uses original Robopol Fast (with turbo mode for millions of points), Robopol Precise, and Robopol Refined algorithms, as well as the state-of-the-art LKH algorithm.

Import a Export

Import and Export

Importujte body z textových súborov, exportujte trasy, uložte projekty a vytvárajte obrázky z výsledkov.

Import points from text files, export routes, save projects, and create images from results.

Vzdialenosť po cestách & Google Mapy

Road Distance & Google Maps

Vypočítajte optimálnu trasu s rešpektovaním cestnej siete. Výslednú trasu môžete otvoriť priamo v Google Mapách a odoslať do navigácie vo vašom telefóne.

Calculate the optimal route respecting the actual road network. Open the resulting route directly in Google Maps and send it to your phone for navigation.

Multi-vehicle mTSP

Multi-vehicle mTSP

Rozdeľte trasu medzi viac vozidiel pomocou LKH algoritmu. Podporuje AIR 2D, AIR 3D aj cestné vzdialenosti. Nastavte počet vozidiel, depot, cieľ optimalizácie (MINSUM/MINMAX) a limity zastávok na vozidlo. Dostupné v Professional licencii.

Split routes between multiple vehicles using LKH algorithm. Supports AIR 2D, AIR 3D and road distances. Set number of vehicles, depot, optimization objective (MINSUM/MINMAX) and stops limits per vehicle. Available in Professional license.

Optimalizované pre mobily

Mobile Optimized

Aplikácia je plne responzívna a optimalizovaná pre pohodlné používanie na tabletoch a smartfónoch. Navyše je teraz dostupná aj online na tspsolver.robopol.sk bez nutnosti inštalácie.

The application is fully responsive and optimized for convenient use on tablets and smartphones. Additionally, it is now also available online at tspsolver.robopol.sk without requiring installation.

Vytvárajte umenie s TSP Solverom

Create Art with TSP Solver

Sledujte, ako algoritmus Robopol Fast spojí 100 000 bodov do jedinej čiary a vytvorí portrét Johna Wicka.
Viac o TSP Art →

Watch how the Robopol Fast algorithm connects 100,000 points into a single continuous line to create a John Wick portrait.
More about TSP Art →

Ukážky programu

Program Screenshots

TSP Solver - hlavné okno programu s náhodne generovanými bodmi TSP Solver - main program window with randomly generated points

Hlavné okno programu s náhodne generovanými bodmi

Main program window with randomly generated points

TSP Solver - vizualizácia trasy pre mestá v Českej republike TSP Solver - route visualization for cities in the Czech Republic

Vizualizácia optimálnej trasy pre mestá v Českej republike

Optimal route visualization for cities in the Czech Republic

TSP Solver - príklad 1 TSP Solver - example 1

Príklad 1

Example 1

TSP Solver - TSP Art TSP Solver - TSP Art

3D - TSP

3D - TSP

TSP Solver - TSP Art - portrét TSP Solver - TSP Art - portrait

TSP Art - portrét (100 000 bodov)

TSP Art - portrait (100,000 points)

TSP Solver - TSP Art - Leonardo TSP Solver - TSP Art - Leonardo

TSP Art - portrét (100 000 bodov)

TSP Art - portrait (100,000 points)

TSP Solver - Trasa cez Paríž TSP Solver - Route through Paris

TSP Traveling Salesman Problem - Trasa cez Paríž

TSP Traveling Salesman Problem - Route through Paris

TSP Solver - Trasa cez Finsko TSP Solver - Route through Finland

TSP Traveling Salesman Problem - Trasa cez Finsko

TSP Traveling Salesman Problem - Route through Finland

TSP Solver - Export do Google Maps TSP Solver - Export to Google Maps

TSP Traveling Salesman Problem - Export do Google Maps

TSP Traveling Salesman Problem - Export to Google Maps

TSP Solver - Multi-vehicle mTSP 3D TSP Solver - Multi-vehicle mTSP 3D

Multi-vehicle mTSP - 3D trasy (x, y, z)

Multi-vehicle mTSP - 3D routes (x, y, z)

TSP Solver - Multi-vehicle mTSP Road TSP Solver - Multi-vehicle mTSP Road

Multi-vehicle mTSP - cestné vzdialenosti

Multi-vehicle mTSP - road distances

TSP Solver - Nastavenia metód TSP Solver - Method Settings

Nastavenia metód a parametrov algoritmov

Method and algorithm parameter settings

Ako to funguje

How It Works

1

Zadanie bodov

Input Points

Zadajte body (mestá) buď manuálne kliknutím na plátno, importom zo súboru, alebo zadaním adries pre geocoding (cestné vzdialenosti).

Enter points (cities) either manually by clicking on the canvas, by importing from a file, or by entering addresses for geocoding (road distances).

2

Výber algoritmu

Algorithm Selection

Zvoľte si algoritmus a jeho parametre podľa veľkosti problému a požadovanej presnosti.

Choose an algorithm and its parameters based on the problem size and required accuracy.

3

Výpočet

Calculation

Program vypočíta optimálnu trasu pomocou vybraného algoritmu.

The program calculates the optimal route using the selected algorithm.

4

Výsledky

Results

Prehliadnite si výsledky vrátane grafickej vizualizácie trasy a štatistík.

View the results including graphical route visualization and statistics.

Technické detaily

Technical Details

Použité algoritmy

Algorithms Used

TSP Solver využíva kombináciu nasledujúcich algoritmov:

TSP Solver uses a combination of the following algorithms:

  • LKH algoritmus - jeden z najlepších algoritmov pre riešenie TSP, založený na Lin-Kernighan heuristike. Pre inštancie 1000+ bodov je LKH najlepšia voľba vzhľadom na pomer času a kvality trasy, ak užívateľ potrebuje optimálne alebo blízko optima riešenia.
  • Robopol Fast algoritmus - extrémne rýchly algoritmus vyvinutý autorom Ing. Robertom Polákom, určený práve pre obrovské inštancie s miliónmi bodov. Obsahuje turbo režim (100 000 bodov za cca 1 minútu na bežnom PC). Kvalita trasy sa udržuje na ~2,4% nad optimom aj pri miliónoch bodov, pri symetrických bodoch (TSP Art) ~0,5% nad optimom. Superboost režim je ~3x rýchlejší ako turbo s kvalitou ~2,5% a šetrí RAM pamäť pre veľa bodov - oplatí sa pre inštancie > 40 000 bodov. Omnoho rýchlejší ako LKH, ktorý na takéto veľké inštancie nie je použiteľný.
  • Robopol algoritmus Precise - vylepšená verzia s vyššou presnosťou
  • Robopol Refined - Pokročilá metóda využívajúca Iterated Local Search (ILS) na vylepšenie riešení z Robopol Precise. Je pomalší ako ostatné heuristiky, ale omnoho rýchlejší ako exaktné algoritmy. Slúži na hľadanie optimálnych riešení pre malé a stredne velké inštancie (testované). Pre n > 2000 sa čas stáva veľmi obmedzujúcim faktorom (pre bežné PC). Ak LKH nenájde optimum, Refined ho môže nájsť. Pre dosiahnutie lepšieho výsledku ako LKH (pre n < 1000): Num Runs > 1, Beam Width > 3, ILS Iterations ≥ 2000, Perturbation Candidates = 16, Candidate Edges/Node = 10.
  • Najbližší sosed (Nearest Neighbor) - rýchly, ale nepresný algoritmus pre veľké inštancie
  • LKH algorithm - one of the best algorithms for solving TSP, based on the Lin-Kernighan heuristic. For instances with 1000+ points, LKH is the best choice in terms of time-to-quality ratio when the user needs optimal or near-optimal solutions.
  • Robopol Fast algorithm - extremely fast algorithm developed by the author Ing. Robert Polák, designed specifically for huge instances with millions of points. Includes turbo mode (100,000 points in ~1 minute on a regular PC). Route quality is maintained at ~2.4% above optimum even for millions of points, for symmetric points (TSP Art) ~0.5% above optimum. Superboost mode is ~3x faster than turbo with quality ~2.5% and saves RAM memory for large instances - recommended for instances > 40,000 points. Much faster than LKH, which is not usable for such large instances.
  • Robopol Precise algorithm - improved version with higher accuracy
  • Robopol Refined - Advanced method utilizing Iterated Local Search (ILS) to improve solutions from Robopol Precise. It is slower than other heuristics, but much faster than exact algorithms. Designed for finding optimal solutions for small and medium-sized instances (tested). For n > 2000, time becomes a very limiting factor (for regular PC). If LKH doesn't find the optimum, Refined can find it. For better results than LKH (for n < 1000): Num Runs > 1, Beam Width > 3, ILS Iterations ≥ 2000, Perturbation Candidates = 16, Candidate Edges/Node = 10.
  • Nearest Neighbor - fast but inaccurate algorithm for large instances

Pri optimalizovanom nastavení parametrov pre n < 1000 (Num Runs>1, Beam Width> 3, ILS Iterations ≥ 2000, Perturbation Candidates = 16, Candidate Edges/Node = 10) dokáže metóda Robopol Refined nájsť lepšie riešenia ako LKH, ak LKH nenájde optimum.

With optimized parameter settings for n < 1000 (Num Runs>1, Beam Width> 3, ILS Iterations ≥ 2000, Perturbation Candidates = 16, Candidate Edges/Node = 10), the Robopol Refined method can find better solutions than LKH when LKH doesn't find the optimum.

Výkonnosť

Performance

Program dokáže efektívne riešiť:

The program can efficiently solve:

  • Malé inštancie (do 100 bodov) - exaktné riešenie
  • Stredné inštancie (100-1000 bodov) - Robopol Refined alebo LKH nájdu optimálne riešenie, alebo veľmi blízko optima (do 0,1%)
  • Veľké inštancie (1000-10000 bodov) - kvalitné heuristické riešenia LKH alebo Robopol Refined
  • Veľmi veľké inštancie (státisíce až milióny bodov) - TSP Art a špecializované aplikácie. Robopol Fast s turbo režimom je určený práve pre takéto obrovské inštancie - zvládne milióny bodov v rozumnom čase (100 000 bodov za cca 1 minútu) s kvalitou ~2,5% nad optimom. LKH na takéto veľké inštancie nie je použiteľný.
  • Small instances (up to 100 points) - exact solution
  • Medium instances (100-1000 points) - Robopol Refined or LKH find optimal solution, or very close to optimum (within 0.1%)
  • Large instances (1000-10000 points) - quality heuristic solutions
  • Very large instances (hundreds of thousands to millions of points) - TSP Art and specialized applications. Robopol Fast with turbo mode is designed specifically for such huge instances - handles millions of points in reasonable time (100,000 points in ~1 minute) with quality ~2.4% above optimum. LKH is not usable for such large instances.

Systémové požiadavky

System Requirements

  • Windows 10/11
  • Minimálne 2GB RAM
  • 1 GB voľného miesta na disku
  • Rozlíšenie obrazovky aspoň 1024x768
  • Windows 10/11
  • Minimum 2GB RAM
  • 1 GB free disk space
  • Screen resolution at least 1024x768

Stiahnuť TSP Solver

Download TSP Solver

Najnovšia verzia: TSP Solver 2.0.5 - s vylepšenými funkciami a optimalizovanými algoritmami

Latest version: TSP Solver 2.0.5 - with improved features and optimized algorithms

TSP Solver - Demo verzia

TSP Solver - Demo Version

Bezplatná verzia na vyskúšanie.
Alternatívne môžete aplikáciu vyskúšať priamo online: Spustiť TSP Solver Online.

Free trial version.
Alternatively, you can try the application directly online: Run TSP Solver Online.

  • Vytvárať body, výpočet do 100 bodov
  • Exportovať trasu ako obrázok
  • Meniť grafické nastavenia
  • Testovať metódy výpočtu do 1 000 náhodných bodov
  • TSP Art do 20 000 bodov
  • Vytvárať cestné trasy do 5 adries
  • Import/Export bodov do 100 bodov
  • Odoslanie trasy do Google Maps
  • Odoslanie trasy pre navigáciu na mobil
  • Create points, calculate up to 100 points
  • Export route as an image
  • Change graphical settings
  • Test calculation methods up to 1,000 random points
  • TSP Art up to 20,000 points
  • Create road routes up to 5 addresses
  • Import/Export points up to 100 points
  • Send route to Google Maps
  • Send route for mobile navigation
Stiahnuť pre Windows Používateľská príručka Download for Windows User guide

TSP Solver - Základná licencia

TSP Solver - Basic License

Vhodná pre cestovateľské účely a menšie projekty.

Suitable for travel purposes and smaller projects.

  • Vytvárať body do 5 000 bodov
  • Importovať/Exportovať body z/do .txt súboru
  • Výpočet vzdušnou čiarou do 5 000 bodov
  • Vytvárať cestné trasy do 100 adries
  • Exportovať trasy
  • Importovať, exportovať obrázky
  • TSP Art bez limitu
  • Odoslanie trasy do Google Maps
  • Odoslanie trasy pre navigáciu na mobil
  • Create points up to 5,000 points
  • Import/Export points from/to .txt file
  • Calculate air distance up to 5,000 points
  • Create road routes up to 100 addresses
  • Export routes
  • Import, export images
  • TSP Art unlimited
  • Send route to Google Maps
  • Send route for mobile navigation
Kúpiť licenciu (49 €) Buy license (49 €)
Odporúčané
Recommended

TSP Solver - Profesionál licencia

TSP Solver - Professional License

Vhodná pre firmy v oblasti dopravy a priemyslu.

Suitable for companies in transportation and industry.

  • Vytvárať body
  • Importovať/Exportovať body z/do .txt súboru
  • Výpočet vzdušnou čiarou pre neobmedzený počet bodov
  • Vytvárať cestné trasy bez obmedzenia adries
  • Exportovať trasy
  • Importovať, exportovať obrázky
  • TSP Art (generovanie umeleckých obrázkov)
  • Multi-vehicle mTSP - LKH pre viac vozidiel (2D/3D/Road)
  • Odoslanie trasy do Google Maps
  • Odoslanie trasy pre navigáciu na mobil
  • Create points
  • Import/Export points from/to .txt file
  • Calculate air distance for unlimited number of points
  • Create road routes with unlimited addresses
  • Export routes
  • Import, export images
  • TSP Art (generating artistic images)
  • Multi-vehicle mTSP - LKH for multiple vehicles (2D/3D/Road)
  • Send route to Google Maps
  • Send route for mobile navigation
Kúpiť licenciu (129 €) Buy license (129 €)

Často kladené otázky

Frequently Asked Questions

Čo je problém obchodného cestujúceho?

What is the traveling salesman problem?

Problém obchodného cestujúceho (TSP) je úloha nájsť najkratšiu možnú trasu, ktorá prechádza všetkými zadanými bodmi (mestami) práve raz a vráti sa do východiskového bodu. Tento problém patrí medzi NP-ťažké problémy, čo znamená, že pre veľké inštancie neexistuje efektívny algoritmus, ktorý by našiel presné riešenie v rozumnom čase.

The traveling salesman problem (TSP) is the task of finding the shortest possible route that passes through all given points (cities) exactly once and returns to the starting point. This problem belongs to the NP-hard problems, which means that for large instances there is no efficient algorithm that would find an exact solution in a reasonable time.

Aký je rozdiel medzi základnou a profesionálnou verziou?

What is the difference between the basic and professional version?

Základná verzia je obmedzená na maximálne 5000 bodov. Profesionálna verzia nemá žiadne obmedzenia počtu bodov, obsahuje všetky algoritmy vrátane pokročilých, ponúka rozšírené možnosti importu/exportu a prioritnú technickú podporu.

The basic version is limited to a maximum of 5000 points. The professional version has no limitations on the number of points, includes all algorithms including advanced ones, offers extended import/export options, and priority technical support.

Ako dlho trvá výpočet optimálnej trasy?

How long does it take to calculate the optimal route?

Doba výpočtu závisí od počtu bodov a zvoleného algoritmu. Všetky algoritmy sú vysoko optimalizované:

Calculation time depends on the number of points and the selected algorithm. All algorithms are highly optimized:

  • Prvé spustenie algoritmov je pomalšie z technických dôvodov: Robopol algoritmus využíva knižnicu NUMBA, ktorá pri prvom spustení prekladá Python kód do optimalizovaného strojového kódu (JIT kompilácia), čo výrazne zrýchľuje následné výpočty. Všetky ďalšie výpočty už prebiehajú plnou rýchlosťou.
  • Pre malé inštancie (do 100 bodov) je výpočet takmer okamžitý
  • Pre stredné inštancie (100-1000 bodov) Robopol algoritmus zvláda výpočet v milisekundách, LKH algoritmus tiež zvláda výpočet do 1000 bodov v milisekundách. robopol refined zvláda výpočet do 1000 bodov v desiatkach sekúnd, závisí od nastavenia a výkonu procesora
  • Pre veľké inštancie (1000-10000 bodov) Robopol Fast algoritmus potrebuje len sekundy na výpočet
  • Pre veľmi veľké inštancie (státisíce až milióny bodov) je Robopol Fast s turbo režimom určený práve pre takéto obrovské inštancie - zvládne milióny bodov v rozumnom čase (100 000 bodov za cca 1 minútu) s kvalitou ~2,4% nad optimom. LKH na takéto veľké inštancie nie je použiteľný.
  • The first run of algorithms is slower for technical reasons: The Robopol algorithm uses the NUMBA library, which translates Python code into optimized machine code (JIT compilation) on first run, significantly speeding up subsequent calculations. Similarly, the LKH algorithm, which is implemented as a wrapper around native code, needs to initialize the environment and load necessary libraries on first run. All subsequent calculations already run at full speed.
  • For small instances (up to 100 points), the calculation is almost instantaneous
  • For medium instances (100-1000 points), the Robopol algorithm handles calculation in milliseconds, the LKH algorithm also handles calculation up to 1000 points in milliseconds. Robopol Refined handles calculation up to 1000 points in tens of seconds, depending on settings and processor performance
  • For large instances (1000-10000 points), the Robopol Fast algorithm needs only seconds for calculation
  • For very large instances (hundreds of thousands to millions of points), Robopol Fast with turbo mode is designed specifically for such huge instances - handles millions of points in reasonable time (100,000 points in ~1 minute) with quality ~2.4% above optimum. LKH is not usable for such large instances.

Môžem importovať body z externých zdrojov?

Can I import points from external sources?

Áno, TSP Solver podporuje import bodov z TXT formátov. Presnejšie informácie nájde užívateľ v dokumentácii - help.

Yes, TSP Solver supports importing points from TXT formats. More precise information can be found in the documentation - help.

Aké algoritmy program používa a čím sú výnimočné?

What algorithms does the program use and what makes them special?

TSP Solver používa niekoľko špičkových algoritmov. Medzi najlepšie patria:

TSP Solver uses several cutting-edge algorithms. Among the best are:

  • LKH algoritmus - jeden z najlepších algoritmov pre riešenie TSP, založený na Lin-Kernighan heuristike, ktorý dosáhuje takmer optimálne výsledky aj pre veľké inštancie. Pre inštancie 1000+ bodov je LKH najlepšia voľba vzhľadom na pomer času a kvality trasy, ak užívateľ potrebuje optimálne alebo blízko optima riešenia.
  • Robopol Fast algoritmus - extrémne rýchly originálny algoritmus vyvinutý autorom Ing. Robertom Polákom, určený práve pre obrovské inštancie s miliónmi bodov. Obsahuje turbo režim (100 000 bodov za cca 1 minútu na bežnom PC s dobrým procesorom). Kvalita trasy sa udržuje na ~2,4% nad optimom aj pri miliónoch bodov, pri symetrických bodoch (TSP Art) ~0,5% nad optimom. Superboost režim je ~3x rýchlejší ako turbo s kvalitou ~2,5% a šetrí RAM pamäť pre veľa bodov - oplatí sa pre inštancie > 40 000 bodov. Omnoho rýchlejší ako LKH, ktorý na takéto veľké inštancie nie je použiteľný.
  • Robopol algoritmus Precise - vylepšená verzia s vyššou presnosťou, ktorá dosáhne takmer optimálne výsledky porovnateľné s LKH algoritmom.
  • Robopol Refined - Pokročilá metóda využívajúca Iterated Local Search (ILS) na vylepšenie riešení z Robopol Precise. Je pomalší ako ostatné heuristiky, ale omnoho rýchlejší ako exaktné algoritmy. Slúži na hľadanie optimálnych riešení pre malé a stredne veľké inštancie (testované). Pre n > 2000 sa čas stáva veľmi obmedzujúcim faktorom. Ak LKH nenájde optimum, Refined ho môže nájsť. Pre dosiahnutie lepšieho výsledku ako LKH (pre n < 1000): Num Runs > 1, Beam Width > 3, ILS Iterations ≥ 2000, Perturbation Candidates = 16, Candidate Edges/Node = 10.
  • LKH algorithm - one of the best algorithms for solving TSP, based on the Lin-Kernighan heuristic, which achieves near-optimal results even for large instances. For instances with 1000+ points, LKH is the best choice in terms of time-to-quality ratio when the user needs optimal or near-optimal solutions.
  • Robopol Fast algorithm - extremely fast original algorithm developed by the author Ing. Robert Polák, designed specifically for huge instances with millions of points. Includes turbo mode (100,000 points in ~1 minute on a regular PC with a good processor). Route quality is maintained at ~2.4% above optimum even for millions of points, for symmetric points (TSP Art) ~0.5% above optimum. Superboost mode is ~3x faster than turbo with quality ~2.5% and saves RAM memory for large instances - recommended for instances > 40,000 points. Much faster than LKH, which is not usable for such large instances.
  • Robopol Precise algorithm - improved version with higher accuracy that achieves near-optimal results comparable to the LKH algorithm.
  • Robopol Refined - Advanced method utilizing Iterated Local Search (ILS) to improve solutions from Robopol Precise. It is slower than other heuristics, but much faster than exact algorithms. Designed for finding optimal solutions for small and medium-sized instances (tested). For n > 2000, time becomes a very limiting factor. If LKH doesn't find the optimum, Refined can find it. For better results than LKH (for n < 1000): Num Runs > 1, Beam Width > 3, ILS Iterations ≥ 2000, Perturbation Candidates = 16, Candidate Edges/Node = 10.

Tieto algoritmy sú implementované s dôrazom na výkon a efektivitu, čo umožňuje riešiť aj veľmi veľké inštancie TSP problému vrátane TSP Art s miliónmi bodov.

These algorithms are implemented with an emphasis on performance and efficiency, which allows solving very large instances of the TSP problem including TSP Art with millions of points.

Čo robiť, keď Windows zobrazí bezpečnostné upozornenie pri inštalácii?

What to do when Windows displays a security warning during installation?

Po stiahnutí inštalačného súboru Vám Windows môže zobraziť okno, že nepozná vydavateľa programu. TSP Solver nie je malware, ide len o bezpečnostné opatrenie Windows pre menších vývojárov. Postupujte nasledovne:

After downloading the installation file, Windows may display a window stating that it doesn't recognize the program publisher. TSP Solver is not malware, this is just a Windows security measure for smaller developers. Proceed as follows:

  1. Kliknite na odkaz "Ďalšie informácie" v bezpečnostnom okne
  2. Potom kliknite na tlačidlo "Napriek tomu spustiť"
  3. Program sa spustí a môžete pokračovať v inštalácii
  1. Click on the "More info" link in the security window
  2. Then click on the "Run anyway" button
  3. The program will start and you can continue with the installation

Toto upozornenie sa zobrazuje, pretože program nie je digitálne podpísaný certifikátom od Microsoft, čo je bežné pre menšie aplikácie.

This warning appears because the program is not digitally signed with a Microsoft certificate, which is common for smaller applications.

Je program vhodný pre reálne úlohy?

Is the program suitable for real-world tasks?

Áno, TSP Solver je navrhnutý pre praktické použitie v logistike, plánovaní trás a optimalizácii doručovania. Okrem toho je vhodný aj pre priemyselné aplikácie ako laserové gravírovanie alebo vŕtanie DPS (plošných spojov), kde sú často tisíce až milióny bodov a optimalizácia trasy výrazne skracuje čas výroby.

Yes, TSP Solver is designed for practical use in logistics, route planning, and delivery optimization. Additionally, it is suitable for industrial applications such as laser engraving or PCB drilling (printed circuit boards), where there are often thousands to millions of points and route optimization significantly reduces production time.