EnerGNN: Learning Optimization-Compatible Energy Functions for Exact Constrained Combinatorial Inference
Niki Triantafyllou, Maria M. Papathanasiou
Key points
From the paper's conclusion- We introduce EnerGNN, a framework that learns energy functions over complete binary configurations and minimizes them under explicit hard constraints through mixed integer programming (MIP).
Abstract
Learning-based approaches to combinatorial optimization often predict solutions directly or use predictions to restrict search, while expressive energy-based models typically rely on approximate inference. We introduce EnerGNN, a framework that learns energy functions over complete binary configurations and minimizes them under explicit hard constraints through mixed integer programming (MIP). EnerGNN combines a graph neural network encoder with an optimization-compatible readout and a nonlinear energy head, enabling exact constrained inference over the learned energy. An optimality-aware contrastive loss trains the energy to reflect solution quality and constraint violations. Across Quadratic Knapsack, Combinatorial Auctions, and a personalized cell therapy supply chain problem, EnerGNN achieves near-optimal solutions with 100% feasibility. On the supply chain problem, it achieves a 0.05% mean primal gap and a 17.4$\times$ speedup over the monolithic MIP. The learned energy also generalizes to larger instances and supports zero-shot constraint injection, adapting to changing constraints without retraining while preserving feasibility.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CONSTRAINER: Promptable Graph-Structured Optimization via Constraint ConditioningarXiv · 2026
- Feasibility-Aware Learning for Network-Constrained Unit CommitmentarXiv · 2026
- Scaling Neuro-symbolic Problem Solving: Solver-Free Learning of Constraints and ObjectivesJournal of Artificial Intelligence Research · 2026
- Teaching LLMs to Generate Challenging MILP Instances via Solver FeedbackarXiv · 2026
- Graph4BiLO: Graph Neural Network Approximation for Bilevel Mixed-Integer Linear OptimizationarXiv · 2026
- Constraint Learning by Optimizing over Trained Neural Networks: A Pragmatic TutorialarXiv · 2026