TRANSMISSION // 2612.02965v1
How symbolic checks help AI build better optimisation models
Source published
A solver can test whether an AI-generated optimisation model follows a set of stated requirements, then give the model concrete counterexamples to guide revisions. The approach improved benchmark accuracy, but its checks are only as complete as the rules it receives.

Turning a word problem into equations is a specialist task—and a language model can produce a plausible-looking formulation that misses an important requirement. Researchers tested a workflow that translates requirements into rules, checks those rules with a satisfiability solver and feeds detected violations back to the model for revision.
From word problem to mathematical model
Optimisation problems arise in tasks such as scheduling workers, routing vehicles and allocating resources. To solve one, a modeller translates its description into decision variables, constraints and an objective: what choices are allowed, what limits they must obey, and what should be maximised or minimised.
Large language models can draft these formulations, but a model that looks reasonable may still misrepresent the problem. Checking every equation by hand takes expertise, while many automated checks depend on having a known correct formulation or optimal answer—information that may not be available for a new real-world task.
In this preprint, Pivithuru Thejan Amarasinghe and colleagues ask whether a language model can be helped by checking its formulation against explicit, problem-specific requirements instead. Their method focuses on mixed-integer linear programming, a common way to represent optimisation problems with linear relationships and variables that may need to be whole numbers.
Turning requirements into checks
The workflow begins with a language model producing an initial mathematical model. It also generates short, plain-language rules describing key requirements—for example, that a machine can process only one job at a time. Those rules are checked against the original problem description by a human or a language model, then translated into symbolic, mathematical rules and checked again.
The researchers’ main experiments used human-verified textual and symbolic rules. A satisfiability solver, Z3, then tested whether the generated model logically implies each symbolic rule. In practical terms, the solver searches for an assignment that obeys the model but violates a requirement. If it finds one, that assignment is a counterexample: a concrete illustration of the mismatch.
The failed rule and counterexample are sent to a language model, which revises the formulation. The check-and-revise cycle runs through variable definitions, constraints and the objective, with at most two refinement attempts in the reported experiments. It can stop with some violations unresolved if the attempt limit is reached.
Better benchmark results, with a notable caveat
On two benchmark datasets, the authors report that expert-checked model accuracy rose from 82.26% to 96.77% on LPWP, and from 30.91% to 49.09% on IndustryOR. The framework also scored higher than four feedback-based approaches adapted for model refinement. These results show that, on these tests, targeted feedback from symbolic checks helped the language model produce more accurate formulations.
The gains were not uniform across datasets: accuracy on IndustryOR remained below half. The process also depends on the quality and coverage of its rules. A solver can rigorously check whether a model meets a stated rule; it cannot establish that the rule set captures every important part of the original problem.
The authors demonstrate a further blind spot: their check tests implication in one direction. A model may impose a stricter condition than the intended rule and still pass. In their example, the model uses equality where the requirement calls for an inequality. Because equality satisfies the inequality, the solver finds no counterexample—even though the two formulations can allow different solutions and produce different objective values. The authors therefore caution that passing all available checks is not proof that the whole model is correct. They also report false positives and false negatives in comparisons between solver checks and expert judgements, including errors associated with inconsistent variable names.
Human involvement matters too. On IndustryOR, having people verify the plain-language rules while a language model checked the symbolic rules led to 45.45% accuracy; human verification at both stages reached 49.09%. When language models performed both checks, accuracy was 34.55%. This suggests that checking whether simple statements reflect the problem may be a useful human role, though it does not remove all specialist judgement.
What the evidence can—and cannot—show
The study used 55 IndustryOR problems and 62 LPWP problems. The authors also tested several language models, but some results use automated measures rather than expert review. In particular, objective-value comparisons depend on translating the mathematical models into executable code; the paper notes that errors in that step can affect the score independently of the formulation itself.
These are benchmark experiments, not evidence that the workflow is ready to verify arbitrary real-world models. The authors identify limited rule coverage, redundant model components and one-way implication checks as open issues, and propose broader testing and equivalence checks as future work. The paper is an arXiv preprint, so its findings should be treated as preliminary rather than as settled evidence. Its central contribution is a practical verification idea: make requirements explicit, test them mechanically, and use specific counterexamples to guide revision—while keeping humans responsible for whether the requirements themselves are right.
- optimisation modelling
- large language models
- symbolic verification
- satisfiability solver
- counterexamples
- mixed-integer linear programming
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
ALBI tests language-model rules with a logic engine
Shared method: Both papers use an iterative loop in which an LLM proposes a candidate, a symbolic tool checks it, and diagnostic feedback guides refinement. Amarasinghe et al. check optimisation models against symbolic requirements with a satisfiability solver; Benterki et al. test logic-program hypotheses with Prolog. The shared workflow does not make their tasks, verification criteria or reported results directly comparable.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.02965v1 — Original paper
Excerpt reference:
static/papers/2612.02965v1.md:92-128
Basis: Paper text
Source file SHA-256:c32738982bb98e51d9990c5fce87773441743c85739a7d15c76c3260f85bd4d12611.05039v1 — Original paper
Excerpt reference:
static/papers/2611.05039v1.md:13-70
Basis: Paper text
Source file SHA-256:df17ab4d67b0e7cb0e5791abd08127f6f6c1989cb654813e44e5fb6897d5adf52611.05039v1 — Original paper
Excerpt reference:
static/papers/2611.05039v1.md:133-209
Basis: Paper text
Source file SHA-256:df17ab4d67b0e7cb0e5791abd08127f6f6c1989cb654813e44e5fb6897d5adf5
How an LLM and a verifier team up to prove loops stop
Shared method: Both papers pair LLM generation with symbolic verification and use verification diagnostics to guide iterative repair. Amarasinghe et al. check generated optimisation models against symbolic rules using satisfiability solving; Li et al. verify candidate ranking functions and translate failures into feedback. These are related generate-check-refine workflows, but they address different formal tasks and benchmark settings, so their performance figures should not be compared directly.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.02965v1 — Original paper
Excerpt reference:
static/papers/2612.02965v1.md:92-128
Basis: Paper text
Source file SHA-256:c32738982bb98e51d9990c5fce87773441743c85739a7d15c76c3260f85bd4d12610.35523v2 — Original paper
Excerpt reference:
static/papers/2610.35523v2.md:15-59
Basis: Paper text
Source file SHA-256:e7bf258708583c5dfb928da062ecb64ca5c857c4e794035d2dab9af50c9fd5532610.35523v2 — Original paper
Excerpt reference:
static/papers/2610.35523v2.md:177-241
Basis: Paper text
Source file SHA-256:e7bf258708583c5dfb928da062ecb64ca5c857c4e794035d2dab9af50c9fd553
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
How an LLM and a verifier team up to prove loops stop
Source published
Shared keywords: large language models, symbolic verification
Why a plausible repair can still fail: teaching AI to respect assembly dependencies
Source published
Shared keywords: symbolic verification
Can AI design better ways to solve hard optimization problems?
Source published
Shared keywords: large language models, mixed integer linear programming
How PatternMiner turns model patterns into mathematical conjectures
Source published
Shared keywords: large language models
Can network optimization improve the routes taken by online ads?
Source published
Shared keywords: mixed integer linear programming