Generalization and Completeness of Stochastic Local Search Algorithms

Daniel Loscos, Narciso Marti-Oliet, Ismael Rodriguez
1/20/2026
cs.NEcs.CL

No confident code implementation found for this paper.

Abstract

We generalize Stochastic Local Search (SLS) heuristics into a unique formal model. This model has two key components: a common structure designed to be as large as possible and a parametric structure intended to be as small as possible. Each heuristic is obtained by instantiating the parametric part in a different way. Particular instances for Genetic Algorithms (GA), Ant Colony Optimization (ACO), and Particle Swarm Optimization (PSO) are presented. Then, we use our model to prove the Turing-completeness of SLS algorithms in general. The proof uses our framework to construct a GA able to simulate any Turing machine. This Turing-completeness implies that determining any non-trivial property concerning the relationship between the inputs and the computed outputs is undecidable for GA and, by extension, for the general set of SLS methods (although not necessarily for each particular method). Similar proofs are more informally presented for PSO and ACO.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{loscos2026generalization,
  title  = {Generalization and Completeness of Stochastic Local Search Algorithms},
  author = {Daniel Loscos and Narciso Marti-Oliet and Ismael Rodriguez},
  year   = {2026},
  eprint = {2601.14212},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.14212v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.14212.svg)](https://codeofpaper.com/paper/2601.14212)

Discussion