Can a Language Model Write the Weights? An Empirical Study of LLM-Written Scoring Networks for Column Generation and MILP Branching, with a Bus-Driver Scheduling Application
Renan Butkeraites
Key points
From the paper's conclusion- We test whether WSP can improve exact operations research algorithms where they rely on cheap scoring rules.
Abstract
This paper was generated by an AI model (Claude Opus 5.5, Anthropic) under the author's direction; all results come from computations run on the author's machine, and every reference was checked. Weight-space programming (WSP) is the idea that a large language model (LLM) can write the weights of a small neural network directly, guided only by reading forward-pass outputs, with no gradient training. We test whether WSP can improve exact operations research algorithms where they rely on cheap scoring rules. In four studies, an LLM wrote small multilayer perceptrons that (i) select arcs, labels and ng-neighbourhoods inside column generation for the vehicle routing problem with time windows, and (ii) choose branching variables in SCIP's branch-and-bound. The algorithms stay exact whatever the weights; a bad network only costs time. In column generation, no lever gave a material gain. In branching on synthetic classes, a hand-written network solved independent-set instances in 0.37x the time of SCIP's default rule (18 paired instances, Wilcoxon $p<10^{-5}$) and matched or beat networks trained by imitation of strong branching, but on 39 MIPLIB 2017 instances it solved 19 versus 24. In an application built from the real GTFS feed of Atlanta's transit agency (MARTA), a crew scheduling set-partitioning model solved by a native C plugin with SCIP's factory settings, the LLM-written rules took 0.63x the default's time on 32 held-out instances ($p<10^{-4}$), but SCIP's plain pseudocost rule did exactly as well (ratio 0.99, $p=0.19$). In these settings, the gains came from being cheap, not from what the LLM wrote. All code, logs and the numbers behind every figure are released.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An LLM-powered MILP modelling engine for workforce scheduling guided by expert knowledgeInternational Journal of Production Research · 2026
- WeightBench: Evaluating Language Models as Weight-Space ProgrammersarXiv · 2026
- Weight-Space Programming of Policies and Their Verification via Model CheckingarXiv · 2026
- LangNCO: Compiling Natural-Language Constraints into Inference-Time Interventions for Neural Combinatorial OptimizationarXiv · 2026
- Revisiting Learning to Delegate: LLM Discovered Heuristics for Large-Scale Vehicle RoutingarXiv · 2026
- Zero-Shot Weight-Space Programming for Prediction and Classification of Target Variables in Structured DatasetsarXiv · 2026