Min-Conflicts Against Single-Worker CP-SAT on Dense Blocked n-Queens Instances: A Small Replication Note

Blocked n-Queens asks for n non-attacking queens on an n x n board where each cell is forbidden at random with probability p. Gent, Jefferson and Nightingale (2017) showed that hardness peaks at a solvability transition. We ask a practical question on the satisfiable side of that transition: how do an exact CP-SAT model (AllDifferent, one worker), min-conflicts local search, restart backtracking and a hybrid compare as n grows? We use 1,440 instances with n from 30 to 70 (4 s limit, 3 s for n = 40) and 360 instances with n from 100 to 400 (10 s). For n up to 50 CP-SAT is best or within two instances of the best. For n >= 100 and hole density up to 0.88 to 0.94, min-conflicts finds solutions that one-worker CP-SAT does not find in 10 s: at n = 200 and p = 0.85 to 0.90 it solves 20 of 20 instances, all within 0.4 s, against at most 1 of 20 for CP-SAT. The advantage is confined to the satisfiable side of the transition: at n = 100 and p = 0.90 to 0.92 almost no solver finds solutions (min-conflicts 1 of 20 at p = 0.90 and 0 of 20 at p = 0.92), and CP-SAT proves 441 of 1,440 small instances unsatisfiable, mostly at p >= 0.84, which local search cannot do. A phase map of 240 further instances with a SAT-solver baseline shows that the advantage of local search ends at the satisfiability transition, where no solver we tried decides within 5 s, and that the complete solvers (CP-SAT, glucose4 and the backtracking-based hybrid) are the ones that prove unsatisfiability, CP-SAT the most within the limit. A learned per-instance solver selector gives no clear gain. The instances are random, one CP-SAT model and limit were used, and the effect of min-conflicts far from the threshold is well known; this note quantifies it on a documented grid and is not a new result on the threshold.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-25
DOI
https://doi.org/10.21203/rs.3.rs-11855600/v1
Primary Topic
Constraint Satisfaction and Optimization
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Min-Conflicts Against Single-Worker CP-SAT on Dense Blocked n-Queens Instances: A Small Replication Note

Dikshant Bikram Thapa
Research Square
Constraint Satisfaction and Optimization
preprint

Min-Conflicts Against Single-Worker CP-SAT on Dense Blocked n-Queens Instances: A Small Replication Note

Dikshant Bikram Thapa
preprint en

Abstract

Blocked n-Queens asks for n non-attacking queens on an n x n board where each cell is forbidden at random with probability p. Gent, Jefferson and Nightingale (2017) showed that hardness peaks at a solvability transition. We ask a practical question on the satisfiable side of that transition: how do an exact CP-SAT model (AllDifferent, one worker), min-conflicts local search, restart backtracking and a hybrid compare as n grows? We use 1,440 instances with n from 30 to 70 (4 s limit, 3 s for n = 40) and 360 instances with n from 100 to 400 (10 s). For n up to 50 CP-SAT is best or within two instances of the best. For n >= 100 and hole density up to 0.88 to 0.94, min-conflicts finds solutions that one-worker CP-SAT does not find in 10 s: at n = 200 and p = 0.85 to 0.90 it solves 20 of 20 instances, all within 0.4 s, against at most 1 of 20 for CP-SAT. The advantage is confined to the satisfiable side of the transition: at n = 100 and p = 0.90 to 0.92 almost no solver finds solutions (min-conflicts 1 of 20 at p = 0.90 and 0 of 20 at p = 0.92), and CP-SAT proves 441 of 1,440 small instances unsatisfiable, mostly at p >= 0.84, which local search cannot do. A phase map of 240 further instances with a SAT-solver baseline shows that the advantage of local search ends at the satisfiability transition, where no solver we tried decides within 5 s, and that the complete solvers (CP-SAT, glucose4 and the backtracking-based hybrid) are the ones that prove unsatisfiability, CP-SAT the most within the limit. A learned per-instance solver selector gives no clear gain. The instances are random, one CP-SAT model and limit were used, and the effect of min-conflicts far from the threshold is well known; this note quantifies it on a documented grid and is not a new result on the threshold.

Research Square
Kathmandu University (NP)
Constraint Satisfaction and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon