Greed Is Slow on Sparse Graphs of Oriented Valued Constraints

Publication date

2025-08-08

Authors

Kaznatcheev, Artem
Alferez, Sofia Vazquez

Editors

de la Banda, Maria Garcia

Advisors

Supervisors

Document Type

Part of book
Open Access logo

License

cc_by

Abstract

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(2n - 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.

Keywords

algorithm analysis, constraint graphs, local search, valued constraint satisfaction problem, Software

Citation

Kaznatcheev, A & Alferez, S V 2025, Greed Is Slow on Sparse Graphs of Oriented Valued Constraints. in M G de la Banda (ed.), 31st International Conference on Principles and Practice of Constraint Programming, CP 2025., 18, Leibniz International Proceedings in Informatics, LIPIcs, vol. 340, Dagstuhl Publishing, 31st International Conference on Principles and Practice of Constraint Programming, CP 2025, Glasgow, United Kingdom, 10/08/25. https://doi.org/10.4230/LIPIcs.CP.2025.18, conference