Three algorithmic approaches to the general position problem
arXiv:2503.19389 · doi:10.1017/S0004972725100178
Abstract
If is a graph, then is a general position set if for every two vertices and every shortest -path , it holds that no inner vertex of lies in . In this note we propose three algorithms to compute a largest general position set in : 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.