,
Sofia Vazquez Alferez
Creative Commons Attribution 4.0 International license
Greedy local search is especially popular for solving valued constraint satisfaction problems (VCSPs). Since any method will be slow for some VCSPs, we ask: what is the simplest VCSP on which greedy local search is slow? We construct a VCSP on 6n Boolean variables for which greedy local search takes 7(2ⁿ - 1) steps to find the unique peak. Our VCSP is simple in two ways. First, it is very sparse: its constraint graph has pathwidth 2 and maximum degree 3. This is the simplest VCSP on which some local search could be slow. Second, it is "oriented" – there is an ordering on the variables such that later variables are conditionally-independent of earlier ones. Being oriented allows many non-greedy local search methods to find the unique peak in a quadratic number of steps. Thus, we conclude that - among local search methods - greed is particularly slow.
@InProceedings{kaznatcheev_et_al:LIPIcs.CP.2025.18,
author = {Kaznatcheev, Artem and Vazquez Alferez, Sofia},
title = {{Greed Is Slow on Sparse Graphs of Oriented Valued Constraints}},
booktitle = {31st International Conference on Principles and Practice of Constraint Programming (CP 2025)},
pages = {18:1--18:13},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-380-5},
ISSN = {1868-8969},
year = {2025},
volume = {340},
editor = {de la Banda, Maria Garcia},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CP.2025.18},
URN = {urn:nbn:de:0030-drops-238793},
doi = {10.4230/LIPIcs.CP.2025.18},
annote = {Keywords: valued constraint satisfaction problem, local search, algorithm analysis, constraint graphs}
}