Three methods, one problem: Classical and AI approaches to no-three-in-line
Not on the map. Why?
Abstract (arXiv)
The No-Three-In-Line problem asks for the maximum number of points that can be placed on an n by n grid with no three collinear, representing a famous problem in combinatorial geometry. While classical methods like Integer Linear Programming (ILP) guarantee optimal solutions, they face exponential scaling with grid size, and recent advances in machine learning offer promising alternatives for pattern-based approximation. This paper presents the first systematic comparison of classical optimization and AI approaches to this problem, evaluating their performance against traditional algorithms. We apply PatternBoost transformer learning and reinforcement learning (PPO) to this problem for the first time, comparing them against ILP. ILP achieves provably optimal solutions up to 19 by 19 grids, while PatternBoost matches optimal performance up to 14 by 14 grids with 96% test loss reduction. PPO achieves perfect solutions on 10 by 10 grids but fails at 11 by 11 grids, where constraint violations prevent valid configurations. These results demonstrate that classical optimization remains essential for exact solutions while AI methods offer competitive performance on smaller instances, with hybrid approaches presenting the most promising direction for scaling to larger problem sizes.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 8 of its 23 references that are in the map. First posted on arXiv 12 Dec 2025.
Builds on
8 of 23 references.
References · 8
- 2017Attention Is All You Needcited by 60,361
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 2,026
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 268
- 2020Reinforcement Learning for Combinatorial Optimization: A Surveycited by 236
- 2021Combinatorial Optimization with Physics-Inspired Graph Neural Networkscited by 108
- 2021Constructions in combinatorics via neural networkscited by 48
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Unrealized Expectations: Comparing AI Methods vs Classical Algorithms for Maximum Independent Set
- 2026Geometric Self-Supervised Pre-training for Neural Combinatorial Optimization
- 2025ASAP: Exploiting the Satisficing Generalization Edge in Neural Combinatorial Optimization
- 2025FrontierCO: Real-World and Large-Scale Evaluation of Machine Learning Solvers for Combinatorial Optimization
- 2026TriSearch: Learning to Optimize Triangulations via Bistellar Flips
- 2026Geometry-Aware Reinforcement Learning for 2D Irregular Nesting
- 2024Self-Improvement for Neural Combinatorial Optimization: Sample without Replacement, but Improvement
- 2025Complexity Scaling Laws for Neural Models using Combinatorial Optimization