Little Algorithm

Link to repository

  • Implemented branch and bound (cost-matrix reduction, penalty-based branching, nearest-neighbour initial bound) and an optimized variant with subtour elimination
  • Benchmarked on 6 to 50 cities: the optimized variant is ≈50× faster at 15 cities (3.4 s vs 171 s)