paper-with-me

Papers

Learning Variable Ordering Heuristics for Solving Constraint Satisfaction Problems

2019-12-23 · Wen Song, Zhiguang Cao, Jie Zhang, Andrew Lim

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.

📄 PDF Abstract BibTeX arXiv:1912.10762

Code (1)

songwenas12/csp-drl 공식 구현

Tasks

Deep Reinforcement LearningGraph Neural NetworkReinforcement Learning

Methods 이 논문이 사용한 방법론

Graph Neural Network 설명 없음

Similar Papers 제목 키워드 기반

A New Approach to Constraint Weight Learning for Variable Ordering in CSPs

2013-12-25 · Muhammad Rezaul Karim

A Constraint Satisfaction Problem (CSP) is a framework used for modeling and solving constrained problems. Tree-search algorithms like backtracking try to construct a solution to a CSP by selecting the variables of the p…

Enhancing Constraint Programming via Supervised Learning for Job Shop Scheduling

2022-11-26 · Yuan Sun, Su Nguyen, Dhananjay Thiruvady, XiaoDong Li 외

Constraint programming (CP) is a powerful technique for solving constraint satisfaction and optimization problems. In CP solvers, the variable ordering strategy used to select which variable to explore first in the solvi…

Job Shop SchedulingScheduling

Generating from Discrete Distributions Using Diffusions: Insights from Random Constraint Satisfaction Problems

2026-03-21 · Alankrita Bhatt, Mukur Gupta, Germain Kolossov, Andrea Montanari arxiv

Generating data from discrete distributions is important for a number of application domains including text, tabular data, and genomic data. Several groups have recently used random $k$-satisfiability ($k$-SAT) as a synt…

Exploring Directional Path-Consistency for Solving Constraint Networks

2017-08-18 · Shufeng Kong, Sanjiang Li, Michael Sioutis

Among the local consistency techniques used for solving constraint networks, path-consistency (PC) has received a great deal of attention. However, enforcing PC is computationally expensive and sometimes even unnecessary…

Scene Labeling

Constraint Satisfaction Approaches to Wordle: Novel Heuristics and Cross-Lexicon Validation

2025-10-03 · Jahidul Arafat, Fariha Tasmin, Sanjaya Poudel arxiv

Wordle presents an algorithmically rich testbed for constraint satisfaction problem (CSP) solving. While existing solvers rely on information-theoretic entropy maximization or frequency-based heuristics without formal co…