Learning Variable Ordering Heuristics for Solving Constraint Satisfaction Problems
Not on the map. Why?
Abstract (arXiv)
Backtracking search algorithms are often used to solve the Constraint Satisfaction Problem (CSP). The efficiency of backtracking search depends greatly on the variable ordering heuristics. Currently, the most commonly used heuristics are hand-crafted based on expert knowledge. In this paper, we propose a deep reinforcement learning based approach to automatically discover new variable ordering heuristics that are better adapted for a given class of CSP instances. We show that directly optimizing the search cost is hard for bootstrapping, and propose to optimize the expected cost of reaching a leaf node in the search tree. To capture the complex relations among the variables and constraints, we design a representation scheme based on Graph Neural Network that can process CSP instances with different sizes and constraint arities. Experimental results on random CSP instances show that the learned policies outperform classical hand-crafted heuristics in terms of minimizing the search tree size, and can effectively generalize to instances that are larger than those used in training.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 23 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 2; 2024: 1; 2025: 1.
8 papers.
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 268
- 2024Rethinking the Capacity of Graph Neural Networks for Branching Strategycited by 12
- 2022Local Branching Relaxation Heuristics for Integer Linear Programscited by 4
- 2023Racing Control Variable Genetic Programming for Symbolic Regressioncited by 4
- 2022UNSAT Solver Synthesis via Monte Carlo Forest Searchcited by 3
- 2023Learning a Generic Value-Selection Heuristic Inside a Constraint Programming Solvercited by 3
- 2022Enhancing Constraint Programming via Supervised Learning for Job Shop Schedulingcited by 1
- 2025Segment-to-Act: Label-Noise-Robust Action-Prompted Video Segmentation Towards Embodied Intelligencecited by 1
- 2025Segment-to-Act: Label-Noise-Robust Action-Prompted Video Segmentation Towards Embodied Intelligence20 Sep 2025
- 2024Rethinking the Capacity of Graph Neural Networks for Branching Strategy11 Feb 2024
- 2023Racing Control Variable Genetic Programming for Symbolic Regression13 Sep 2023
- 2023Learning a Generic Value-Selection Heuristic Inside a Constraint Programming Solver5 Jan 2023
- 2022Local Branching Relaxation Heuristics for Integer Linear Programs15 Dec 2022
- 2022Enhancing Constraint Programming via Supervised Learning for Job Shop Scheduling26 Nov 2022
- 2022UNSAT Solver Synthesis via Monte Carlo Forest Search22 Nov 2022
- 2021Combinatorial optimization and reasoning with graph neural networks18 Feb 2021