Constraint Satisfaction Programming for the No-three-in-line Problem
Thomas Prellberg
TL;DR
This work solves the classical no-three-in-line problem on $n\times n$ grids for all $n\le 60$ by formulating it as a constraint-satisfaction problem and employing a symmetry-reduced CP-SAT model. The authors exploit $90^\circ$ rotational symmetry to reduce the search space, enabling construction of $2n$-point configurations and proving $D(n)=2n$ for all $2\le n\le60$, thereby shifting the unknown boundary to $n=61$. They analyze solve-time behavior under a run-until-first-success parallel protocol and introduce a shifted-exponential model to describe early-time performance, providing practical extrapolations for planning large-scale runs. The work also documents data availability and suggests directions for further speedups and deeper structural insights to guide exact search in combinatorial geometry.
Abstract
Using a constraint satisfaction approach, we exhibit configurations of $2n$ points on the $n\times n$ grid for all $n\le60$ with no three collinear. Consequently, the smallest $n$ for which it is unknown whether $D(n)=2n$ increases from $47$ to $61$.
