LLM4Branch: Large Language Model for Discovering Efficient Branching Policies of Integer Programs

Zhinan Hou, Xingchen Li, Yankai Zhang, Tianxun Li, Keyou You
5/11/2026
7 citations
cs.AImath.OC

Official code: hzn18/LLM4Branch (10 stars, Python, Apache-2.0, last commit 2026-05-12).

Abstract

Efficient branching policies are essential for accelerating Mixed Integer Linear Programming (MILP) solvers. Their design has long relied on hand-crafted heuristics, and now machine learning has emerged as a promising paradigm to automate this process.

Show full abstract

However, existing learning-based methods are often hindered by their dependence on expensive expert demonstrations and the gap between training objectives and the solver's end-to-end performance. In this work, we propose LLM4Branch, a novel framework that leverages Large Language Models (LLMs) to automate the discovery of efficient branching policies. Specifically, the discovered policy is an executable program with a program skeleton generated by the LLM and a parameter vector, which is optimized via a zeroth-order method over a few instances with their end-to-end performance feedback. Extensive experiments on standard MILP benchmarks demonstrate that LLM4Branch establishes a new state-of-the-art among CPU-based methods and achieves performance competitive with advanced GPU-based models. Codes are available at https://github.com/hzn18/LLM4Branch.

View on arXivView PDF

Code Implementations(1)

hzn18/LLM4BranchOfficial100%
Apache-2.0

[ICML2026] LLM4Branch: Large Language Model for Discovering Efficient Branching Policies of Integer Programs

103Python, JavaScriptMay 11, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{hou2026llmbranch,
  title  = {LLM4Branch: Large Language Model for Discovering Efficient Branching Policies of Integer Programs},
  author = {Zhinan Hou and Xingchen Li and Yankai Zhang and Tianxun Li and Keyou You},
  year   = {2026},
  eprint = {2605.10401},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.10401v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.10401.svg)](https://codeofpaper.com/paper/2605.10401)

Discussion