English

Three algorithmic approaches to the general position problem

Combinatorics 2026-01-14 v1

Abstract

If GG is a graph, then XV(G)X\subseteq V(G) is a general position set if for every two vertices v,uXv,u\in X and every shortest (u,v)(u,v)-path PP, it holds that no inner vertex of PP lies in XX. In this note we propose three algorithms to compute a largest general position set in GG: an integer linear programming algorithm, a genetic algorithm, and a simulated annealing algorithm. These approaches are supported by examples from different areas of graph theory.

Keywords

Cite

@article{arxiv.2503.19389,
  title  = {Three algorithmic approaches to the general position problem},
  author = {Zahra Hamed-Labbafian and Narjes Sabeghi and Mostafa Tavakoli and Sandi Klavžar},
  journal= {arXiv preprint arXiv:2503.19389},
  year   = {2026}
}
R2 v1 2026-06-28T22:33:25.529Z