Can LLMs Build a MaxSAT Solver from Papers? The CoreForge Experience
Abstract
We report on CoreForge, an experience in using large language models (LLMs) to build an unweighted MaxSAT solver from research papers rather than from an existing solver codebase. The project focuses on unsatisfiability-based MaxSAT algorithms and follows an iterative workflow that combines paper discussions with ChatGPT, implementation through Codex prompts, and repeated LLM-assisted code audits and revisions. Although the codebase implements several algorithms and solver components, our evaluation focuses on configurations that combine core-guided optimization, lightweight preprocessing, core minimization, integration with integer linear optimization backends, and a new core-sequence lookahead approach. Our experience suggests that LLMs can support solver implementation from papers, while requiring external validation, benchmarking, and human guidance. In our experiments, fuzzing and MaxSAT Evaluation instances did not reveal wrong answers in the tested configurations, although performance remains below the best hand-engineered MaxSAT solvers. We summarize what worked, what remained difficult, and the lessons for future LLM-assisted solver development.
Create a lesson
Metadata
- Categories
- cs.LO, cs.AI
Related papers
Compact MaxSAT Encodings for Balanced Waiting in B2B Meeting Scheduling
Shared title terminologycs.LOTuyen Van Kieu, Long Duc Nguyen, Minh Duc Dang Vu et al.
Does a Self-Learning Migration Agent Learn? An Audited Evaluation of Evidence-Graded Experience Memory for Oracle-to-PostgreSQL Migration
Shared title terminologycs.LOOleg Grynets, Vasyl Lyashkevych, Valeriia Oliferuk et al.
When Proofs Are Abundant, What Is a Paper For?
Shared title terminologycs.LOCharles-Albert Lehalle
Sundance: A Simple SMT Solver for Program Verification
Shared title terminologycs.LOAmar Shah, Benjamin F. Jones, Can Cebeci et al.
Compact SAT and MaxSAT Encodings for Business-to-Business Meeting Scheduling with Idle-Time Balancing
Shared title terminologycs.LOLong Duc Nguyen, Tuyen Van Kieu, Khanh Van To
Some Experiments with Twee-Style Goal-Directedness
Shared title terminologycs.LOStephan Schulz