Three methods, one problem: classical and AI approaches to no-three-in-line
Pranav Ramanathan, Thomas Prellberg, Matthew James Lewis, Christian Beck, Prathamesh Dinesh Joshi, Raj Abhijit Dandekar, Rajat Dandekar, Sreedath Panat
Key points
From the paper's conclusion- Background The No-Three-In-Line problem asks for the maximum number of points that can be placed on an n × n grid with no three collinear, representing a famous problem in combinatorial geometry.
Abstract
Background The No-Three-In-Line problem asks for the maximum number of points that can be placed on an n × n grid with no three collinear, representing a famous problem in combinatorial geometry. Methods We compare three approaches: (i) integer linear programming (ILP) using Gurobi, (ii) transformer-based pattern learning via PatternBoost, and (iii) reinforcement learning using proximal policy optimization (PPO). Results ILP achieves provably optimal solutions up to 19 × 19 grids. PatternBoost matches optimal performance up to 14 × 14 grids, and finds 29 points on 15 × 15 grids (optimal is 30). PPO achieves perfect solutions on 10 × 10 grids but fails at 11 × 11 grids due to constraint violations. Across four fixed-timeout runs, ILP was reliable through n = 17, PatternBoost through n = 12, and PPO succeeded only once at n = 10. Conclusions Classical optimization remains essential for exact solutions, while AI methods offer competitive performance on smaller instances. Hybrid approaches combining solvers with learned heuristics appear most promising for scaling to larger grids.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Towards Learning-Guided Discovery of Extremal Geometric Constructions: A PatternBoost StudyarXiv · 2026
- RadonBench: A Benchmark of Classical and Learning-Guided Search Techniques for Problems in Combinatorial GeometryarXiv · 2026
- In-Context Preference-Conditioned Pareto Set Learning from Limited Offline DataarXiv · 2026
- Teaching LLMs to Generate Challenging MILP Instances via Solver FeedbackarXiv · 2026
- Graph4BiLO: Graph Neural Network Approximation for Bilevel Mixed-Integer Linear OptimizationarXiv · 2026
- Learning Size Independent Constraint Models from Input Data and Positive and Negative Example SolutionsarXiv · 2026