Skip to content
#small language model Open access

LoMax: LLM‐Driven Local Code Optimization for MaxSAT Solvers

Aug 2026 · Concurrency and Computation · Vol 38 · 0 citations · 25 references

TL;DR

LoMax is presented, a plug‐and‐play framework that leverages an LLM to perform local code optimization for MaxSAT solvers, providing empirical evidence that LLM‐driven local code rewriting can improve the performance of industrial MaxSAT solvers in the evaluated settings.

Abstract

The Maximum Satisfiability (MaxSAT) problem is a fundamental combinatorial optimization task, and state‐of‐the‐art solvers rely on decades of expert‐engineered heuristics and low‐level micro‐optimizations to achieve competitive performance. While recent Large Language Model (LLM)‐driven approaches (e.g., FunSearch, SATLUTION) have shown promise in algorithmic design and global solver evolution, they either focus on high‐level algorithmic sketches or large‐scale code restructuring, leaving the potential of purely local, correctness‐validated code optimization for industrial MaxSAT solvers largely underexplored in prior MaxSAT‐focused studies. This paper presents LoMax, a plug‐and‐play framework that leverages an LLM to perform local code optimization for MaxSAT solvers. Without any human‐written heuristics or instance‐specific domain‐specific templates (The prompts contain general MaxSAT domain knowledge but no instance‐specific or benchmark‐specific optimization templates), LoMax iteratively (i) ranks source files, (ii) scores individual functions, (iii) optimizes the highest‐scoring function body, (iv) performs a fast sanity evaluation on a small instance set, and (v) validates it on full exact‐unweighted and exact‐weighted benchmarks. Experiments on two state‐of‐the‐art solvers (UWrMaxSat‐SCIP‐MaxPre and OpenWBO) show consistent improvements: UWrMaxSat‐SCIP‐MaxPre solves +31$$ +31 $$ additional instances (average runtime 13.11 s →$$ \to $$ 14.27 s) on 553 unweighted instances and +23$$ +23 $$ additional solved instances (average runtime 11.67 s →$$ \to $$ 10.76 s) on 571 weighted instances, both under a uniform 100‐second timeout; OpenWBO solves +12$$ +12 $$ additional instances ( −8.9%$$ -8.9\% $$ average time) on 553 unweighted instances, providing empirical evidence that LLM‐driven local code rewriting can improve the performance of industrial MaxSAT solvers in the evaluated settings.

Read PDF

Similar papers

Conference Open access Sep 2026

Bridging LLMs and SAT Solving: Automated Evolution of High-Performance Heuristics

This paper introduces AESAT (Auto-Evolving SAT solving), a novel neuro-symbolic framework designed to automatically evolve and optimize the heuristic functions of SAT solvers, and represents the first time an LLM-enhanced solver has dominated the world's premier SAT competition.

Mao Luo, Hang Ding, Chumin Li et al. · 0 citations
#natural language process... Preprint Aug 2026

FormuEvo: LLM-Guided Evolution for Discovering Solver-Efficient Mixed-Integer Programming Formulations

A solver-informed diagnosis mechanism that exploits fine-grained solver statistics as verbal gradients for targeted refinement and a structured memory abstracts prior experience into reusable modeling strategies, avoiding redundant exploration while enabling zero-shot transfer to unseen problems and bootstrapping small...

Haofeng Yuan, Jianing Peng, Jieyi Bi et al. · 0 citations
#machine learning Preprint Sep 2026

LLMs as Adaptive Meta-Solvers: Strategy-Diverse RL for Industrial-Scale Optimization

This work shows empirically that solver-integrated reasoning, exact combinatorial algorithm, and heuristic search exhibit complementary strengths across different problem structures and scales, and introduces Strategy-Diverse Reinforcement Learning (SDRL), which trains LLMs as adaptive optimization meta-solvers.

Shi-Hao Zhang, Wei-Ting Liu, Si-Yu Shao et al. · 0 citations
#reinforcement learning Open access Oct 2026

From Greedy Steps to Global Optimization: Learning Sequential Test Suite Generation

This paper formalizes test suite generation as a Markov Decision Process (MDP) and demonstrates that its objective exhibits monotone submodularity, which enables an effective relaxation of this NP-hard global optimization into a tractable step-wise greedy procedure.

Guo-Qing Wang, Cheng-Ran Yang, Xiao-Xuan Zhou et al. · 0 citations
Conference Open access Sep 2026

LLM-guided Cutting-plane Management for Mixed-integer Linear Programming

This work proposes an LLM-guided cutting-plane management framework that removes dependence on domain-specific training data and substantially reduces reliance on expert-crafted configurations.

Zetao Zheng, Zhe Wang, Jie Shao · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.