Theoretical and Empirical Analysis of Lehmer Codes to Search Permutation Spaces with Evolutionary Algorithms

Authors

  • Yuxuan Ma Southern University of Science and Technology
  • Valentino Santucci University for Foreigners of Perugia
  • Carsten Witt Technical University of Denmark

DOI:

https://doi.org/10.1609/aaai.v40i43.41039

Abstract

A suitable choice of the representation of candidate solutions is crucial for the efficiency of evolutionary algorithms and related metaheuristics. We focus on problems in permutation spaces, which are at the core of numerous practical applications of such algorithms, e.g., in scheduling and transportation. Inversion vectors (also called Lehmer codes) are an alternative representation of the permutation space S(n) compared to the classical encoding as a vector of n unique entries. In particular, they do not require any constraint handling. Using rigorous mathematical runtime analyses, we compare the efficiency of inversion vector encodings to the classical representation and give theory-guided advice on their choice. Moreover, we link the effect of local changes in the inversion code space to classical measures on permutations like the number of inversions. Finally, through experimental studies on linear ordering and quadratic assignment problems, we demonstrate the practical efficiency of inversion vector encodings.

Published

2026-03-14

How to Cite

Ma, Y., Santucci, V., & Witt, C. (2026). Theoretical and Empirical Analysis of Lehmer Codes to Search Permutation Spaces with Evolutionary Algorithms. Proceedings of the AAAI Conference on Artificial Intelligence, 40(43), 37099–37107. https://doi.org/10.1609/aaai.v40i43.41039

Issue

Section

AAAI Technical Track on Search and Optimization