,
Nikolaos Ploskas
,
Kostas Stergiou
,
Dimos Tsouros
Creative Commons Attribution 4.0 International license
We study the p-dispersion problem with distance constraints (pDD), a variant of the well-known p-dispersion problem. In a pDD, the goal is to locate a set of facilities so as to maximize the minimum distance between any two of them, subject to additional constraints specifying minimum allowed distances. Two CP models for the pDD have recently been proposed. The first is a typical model that includes the global constraints Minimum and Element and explicitly represents the objective function, connecting it to the decision variables. However, as problem size grows, this model becomes increasingly inefficient. The second model adopts a simplistic approach that only uses binary constraints, essentially treating the pDD as a satisfaction problem. In this paper, after demonstrating the deficiencies of these models, we propose a new compact model that captures the problem through ternary constraints, instead of global or binary ones. We prove that, rather surprisingly, the pruning of the decision variables' domains achieved in our new model is equivalent to that achieved in the model with global constraints, resulting in the same search tree under the same variable and value ordering. Experiments demonstrate that our new model is by far superior to the existing ones, both in terms of solution quality and run times.
@InProceedings{iosif_et_al:LIPIcs.CP.2026.30,
author = {Iosif, Panteleimon and Ploskas, Nikolaos and Stergiou, Kostas and Tsouros, Dimos},
title = {{Modeling the p-Dispersion Problem with Distance Constraints}},
booktitle = {32nd International Conference on Principles and Practice of Constraint Programming (CP 2026)},
pages = {30:1--30:20},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-432-1},
ISSN = {1868-8969},
year = {2026},
volume = {379},
editor = {Beldiceanu, Nicolas},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CP.2026.30},
URN = {urn:nbn:de:0030-drops-266629},
doi = {10.4230/LIPIcs.CP.2026.30},
annote = {Keywords: Modeling, facility location, distance constraints, propagation, optimization}
}
archived version
archived version