Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.11 KB

File metadata and controls

13 lines (10 loc) · 1.11 KB

Evolution Algorithm (TSP)

A high-performance C++ implementation of an evolutionary metaheuristic for approximating solutions to the Travelling Salesman Problem (TSP).

C++ TSP

  • Evolutionary Metaheuristic: Employs a population-based approach to explore the solution space of the Travelling Salesman Problem.
  • Inversion Mutation: Utilizes inversion mutation to maintain genetic diversity and escape local optima.
  • Optimized Path Length Calculation: Uses efficient incremental updates for objective function evaluations.
  • Configurable Convergence: The algorithm is finetunable with population size, mutation probability, and stagnation limits.
  • PMX Crossover: Implements the Partially Mapped Crossover (PMX) operator for effective recombination of genetic material.
  • TSPLIB Support: Built-in parser for standard .tsp file formats, supporting coordinate-based problem instances.