EnerGNN: Learning Optimization-Compatible Energy Functions for Exact Constrained Combinatorial Inference
Niki Triantafyllou, Maria Papathanasiou
NeurIPS 2026
TL;DR. EnerGNN combines energy-based learning with exact mixed integer programming (MIP) inference, allowing learning to shape the objective while optimization enforces hard constraints.
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.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes EnerGNN, which is a framework to learn an optimization compatible energy function over discrete configurations. The energy function is solved by mixed-integer program exactly at inference time. The paper includes theoretical explanations and empirical demonstrations where the proposed approach is applied to Quadratic Knapsack (QKP), Combinatorial Auctions (CA), and Cell Therapy Supply Chain (CART)
It seems that this paper includes a number of issues to be clarified by the authors.
-
Novelty. Some reviewers think that the proposed framework is interesting whereas one reviewer think that the novelty of the proposed framework is limited. Could you please clearly explain the novelty of the proposed framework in comparison with related studies in a convincing manner.
-
Motivation. One reviewer pointed out that the motivation of the proposed framework is unclear. Could you please clearly explain the motivation of the proposed framework in a convincing manner.
-
Relation between the Learned Energy and the Original Combinatorial Optimization Problem. It seems that the learned energy can be viewed as a surrogate model of the original combinatorial optimization problem. Could you please clearly explain the relation between them to avoid creating unnecessary confusions (e.g., confusion between the optimality of the energy function and the optimality of the original problem).
-
Computational Experiments. Most reviewers think that computational experiments are insufficient to support the usefulness of the proposed framework. The main concerns are as follows: (i) The compared baselines are limited. It seems that the proposed approach is not compared with state-of-the-art algorithms. (ii) Training-related computation time (e.g., training data generation, energy training) is not reported. (iii) The scalability of the proposed approach is not examined. For example, in the CART experiment, the strategic decision vector has only six binary variables. In this setting, it is not difficult to examine all combinations.
Final justification
Through the rebuttal, the following issues have been clarified by the authors:
- Novelty
- Motivation
- Relation between the learned energy and the original combinatorial optimization problem
- Training-related computation time
- The scalability of the proposed approach
Based the rebuttal, three reviewers have increases their ratings. As a result, the average rating has been increased from 3.0 to 3.75.
One remaining concern is the presentation quality of the paper. One reviewer has serious concerns about the manuscript's clarity and presentation. Since the overall presentation quality of the paper cannot be improved in the rebuttal phase, this reviewer recommends the rejection of this paper.
I think that this is a borderline paper. I recommend the conference to accept this paper since the technical quality is acceptable. At the same time, I strongly ask the authors to significantly improve the presentation quality of the final version of this paper if this paper is accepted.
Read meta-review
Meta-review
This paper proposes EnerGNN, which is a framework to learn an optimization compatible energy function over discrete configurations. The energy function is solved by mixed-integer program exactly at inference time. The paper includes theoretical explanations and empirical demonstrations where the proposed approach is applied to Quadratic Knapsack (QKP), Combinatorial Auctions (CA), and Cell Therapy Supply Chain (CART)
It seems that this paper includes a number of issues to be clarified by the authors.
-
Novelty. Some reviewers think that the proposed framework is interesting whereas one reviewer think that the novelty of the proposed framework is limited. Could you please clearly explain the novelty of the proposed framework in comparison with related studies in a convincing manner.
-
Motivation. One reviewer pointed out that the motivation of the proposed framework is unclear. Could you please clearly explain the motivation of the proposed framework in a convincing manner.
-
Relation between the Learned Energy and the Original Combinatorial Optimization Problem. It seems that the learned energy can be viewed as a surrogate model of the original combinatorial optimization problem. Could you please clearly explain the relation between them to avoid creating unnecessary confusions (e.g., confusion between the optimality of the energy function and the optimality of the original problem).
-
Computational Experiments. Most reviewers think that computational experiments are insufficient to support the usefulness of the proposed framework. The main concerns are as follows: (i) The compared baselines are limited. It seems that the proposed approach is not compared with state-of-the-art algorithms. (ii) Training-related computation time (e.g., training data generation, energy training) is not reported. (iii) The scalability of the proposed approach is not examined. For example, in the CART experiment, the strategic decision vector has only six binary variables. In this setting, it is not difficult to examine all combinations.
Final justification
Through the rebuttal, the following issues have been clarified by the authors:
- Novelty
- Motivation
- Relation between the learned energy and the original combinatorial optimization problem
- Training-related computation time
- The scalability of the proposed approach
Based the rebuttal, three reviewers have increases their ratings. As a result, the average rating has been increased from 3.0 to 3.75.
One remaining concern is the presentation quality of the paper. One reviewer has serious concerns about the manuscript's clarity and presentation. Since the overall presentation quality of the paper cannot be improved in the rebuttal phase, this reviewer recommends the rejection of this paper.
I think that this is a borderline paper. I recommend the conference to accept this paper since the technical quality is acceptable. At the same time, I strongly ask the authors to significantly improve the presentation quality of the final version of this paper if this paper is accepted.
1 comment
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 1/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper presents a method for “exact combinatorial inference in a constrained setting”. This paradigm can be seen as a layer whose inputs are a mixed integer linear program (MILP), and outputs are a feasible optimum of a transformed MILP (learned transformation). The paper proposes EnerGNN, a graph neural network that can learn an energy function that is “optimization-compatible”, meaning the resulting energy is in a form such that a discrete solver can produce a feasible optimum.
Strengths and weaknesses
Strenghts:
- The paper’s structure is reasonable. The methodology and description of the proposed approach are thorough.
Weaknesses:
-
The current literature review involves broad paragraphs that do not serve the purpose of positioning the proposed approach. Moreover, the idea of using energy in the context of mixed integer linear programming is not new, and the idea of having a MILP embedder and MILP solver as neural network layers is also not new. Therefore, I find the contribution of the proposed approach not explicit.
-
I acknowledge that the experiment in Table 1 suggests that EnerGNN performs well. However, the set of baselines is very limited, so it is difficult to assess the benefits of the proposed approach compared to existing methods. I would also like to see a more thorough experimental evaluation.
-
The paper suffers from the presence of multiple unclear and irregular sentences and wordings. For example, sentences like “Neural networks do not have to replace algorithmic reasoning or only guide it locally. Instead, they can define optimization-compatible objectives that exact algorithms can reason over” are hard to parse from a reader’s perspective. Also, please use hyphenated expressions sparingly. There are many instances of this pattern, and it makes the text harder to read.
Questions
-
I do not understand the motivation of the proposed approach. Please motivate further. Does it improve performance, interpretability, scalability, or another aspect?
-
Finally, what is the benefit of using an “energy-based” formulation? From my understanding, the paper primarily aims for good performance rather than interpretability or scalability. Why does the paper not compare against other data-driven discrete optimization solvers ?
Limitations
yes
Final justification
I would like to thank the authors for adding more experiments and clarifying the purpose of the proposed approach, in particular, that "EnerGNN is motivated by reliable, repeated decision-making under hard constraints" and "first framework to learn a joint, non-factorized energy over complete binary configurations with a GNN and globally minimize that learned energy as a MIP under explicit hard constraints, including constraints introduced at deployment without retraining". I therefore raised my originality score to 2, and my significance to 3. However, I continue to have serious concerns about the manuscript's clarity and presentation. On balance, I have raised my overall recommendation to borderline reject.
Formatting concerns
None
2 comments
Rebuttal
We thank the reviewer for their comments.
Novelty and relation to prior work. Energy-based models provide a natural foundation for learning dependencies across complete structured decisions, and prior work has applied learned energies to structured prediction and decision-making [1,2]. EnerGNN advances this direction by using a graph neural network to learn an energy over complete binary configurations, with a readout and energy head that are exactly MIP-representable. The graph encoder is evaluated once before optimization. At inference, the trained model is fixed and a conventional MIP solver globally minimizes the learned energy subject to the original hard constraints and any constraints introduced at deployment, without retraining.
Modern neural energy-based approaches generally rely on gradient-based, sampling-based, or amortized approximate inference [1,2], whereas EnerGNN formulates inference as an exact MIP. Methods that embed trained ReLU networks inside optimization models use the neural network as a surrogate for an expensive black-box objective or constraint [3]. EnerGNN instead learns a configuration-level energy specifically for constrained inference.
Learning-augmented MIP methods such as Neural Diving and ConPaS predict factorized per-variable scores before fixing variables or restricting the search [4,5]. Their predictions are made at the variable level before the solver resolves the remaining interactions. EnerGNN instead learns a non-factorized energy over complete configurations, allowing the value assigned to one decision to depend explicitly on the other decisions selected. Contrastive training shapes this energy landscape so that solutions with lower primal gaps and better objective quality receive lower energy.
EnerGNN also differs fundamentally from differentiable optimization layer methods such as MIPaaL and CombOptNet [6,7]. These methods place an integer optimization problem inside an end-to-end trainable neural architecture and propagate learning signals through its solution. EnerGNN does not embed a MIP solver as a neural network layer and does not differentiate through the solver during training. The MIP is the inference procedure, not a layer within the neural network.
Together, these design choices allow exact MIP inference to return the feasible configuration ranked best by the learned model, guarantee satisfaction of all encoded constraints, and support zero-shot constraint injection at deployment without retraining.
To our knowledge, EnerGNN is the first framework to combine an energy over complete binary configurations learned by a graph neural network with exact MIP-based inference under explicit hard constraints, including zero-shot constraint injection at deployment. Our experiments further show that the same trained model generalizes to larger problem instances unseen during training.
References:
[1] Belanger, D. and McCallum, A. (2016). Structured Prediction Energy Networks. ICML.
[2] Kong, L. et al. (2022). End-to-End Stochastic Optimization with Energy-Based Model. NeurIPS.
[3] Grimstad, B. and Andersson, H. (2019). ReLU Networks as Surrogate Models in Mixed-Integer Linear Programs. Computers & Chemical Engineering.
[4] Nair, V. et al. (2020). Solving Mixed Integer Programs Using Neural Networks.
[5] Huang, T. et al. (2024). Contrastive Predict-and-Search for Mixed Integer Linear Programs. ICML.
[6] Ferber, A. et al. (2020). MIPaaL: Mixed Integer Program as a Layer. AAAI.
[7] Paulus, A. et al. (2021). CombOptNet: Fit the Right NP-Hard Problem by Learning Integer Programming Constraints. ICML.
Motivation and benefit of the energy formulation. EnerGNN is motivated by reliable, repeated decision-making under hard constraints. Its purpose is to reduce online solution time while retaining feasibility, high solution quality, and the ability to accommodate constraints that arise only at deployment. Interpretability is not the primary objective. Direct per-variable prediction can be fast, but it does not model the value of the complete configuration and may produce mutually inconsistent or infeasible decisions. Repeatedly solving the full optimization problem provides stronger guarantees but may be too slow at the required decision frequency.
EnerGNN addresses this gap by learning a non-factorized energy over complete configurations. Gap-aware contrastive training shapes the energy landscape so that configurations with lower primal gaps and better original objective values receive lower energy. At inference, we solve
where contains the original hard problem constraints together with any constraints introduced at deployment. Exact MIP inference therefore returns the feasible configuration ranked best by the learned model while satisfying every encoded constraint.
This setting arises naturally in personalized cancer cell therapy supply chains, where decisions must be updated repeatedly as patients arrive, manufacturing capacity changes, and treatment deadlines approach. The full patient-level model can contain millions of variables and constraints, making repeated solution from scratch costly, while infeasible decisions may delay treatment or mishandle time-sensitive patient material. Our CART instances use industry data covering real manufacturing facilities, hospitals, clinical centers, and operating costs. EnerGNN amortizes the expensive optimization effort by learning the downstream value of strategic configurations (complicating binary variables) offline and performing faster constrained inference online.
Using the complete offline cost of solver-based label generation and training, this investment is recovered after approximately 125 deployment instances for QKP and 110 for CART. We provide the full wall-clock accounting and amortization calculation in our response to the reviewer’s HSqD offline cost comment.
Additional baselines. We agree that the original baseline set could be strengthened. We therefore add Neural Diving and ConPaS alongside the existing baselines.
The paper already compares against four learned methods. Predict-and-Search fixes confident variable predictions and solves the reduced MIP. Linear+MIP (BCE) learns a linear objective from optimal solutions and optimizes it under explicit constraints. Linear+MIP (Contrastive) uses the same formulation with our contrastive training loss. EnerGNN-Linear replaces the MLP energy head with a linear head.
We additionally evaluated Neural Diving (Nair et al., 2020), which fixes confident predictions and solves reduced subproblems. We also evaluated ConPaS (Huang et al., 2024), which uses contrastive learning to restrict optimization to a neighborhood of its prediction. All learned methods use the same GNN encoder and input features. They differ only in their output heads, training objectives and inference procedures. We selected hyperparameters on validation instances and evaluated every method on the same test instances.
On QKP, ConPaS and Neural Diving obtain mean gaps of 0.06% and 0.10%, while EnerGNN obtains 0.65% in 2.38 s. On CA, EnerGNN-Linear obtains a 0.20% mean gap and places 95% of instances within 1% of optimality, compared with 0.30% and 92% for ConPaS. On CART, EnerGNN obtains a 0.05% mean gap and recovers the exact optimum on 97% of instances in 187 s, compared with 0.27%, 86.4%, and 1708 s for ConPaS.
The results reflect where each method spends computation. ConPaS and Neural Diving retain the original objective and perform best when the reduced MIP remains easy, as in QKP. On CA, Gurobi is already fastest, and the strong EnerGNN-Linear result shows that a complex energy head is unnecessary. On CART, predict-and-search methods still need to solve the full tactical scheduling MIP after making their predictions. EnerGNN learns the downstream effect of the strategic decisions offline, leading to both better solution quality and much shorter inference time.
QKP
| Method | Gap (%) | Time (s) | ≤1% (%) | Feas. (%) |
|---|---|---|---|---|
| Full MIP (Gurobi) | 0.00 | 3600 | 100 | 100 |
| Predict+Search | 1.53 | 0.11 | 94.61 | 98.82 |
| Neural Diving | 0.10 | 7.07 | 98.82 | 100 |
| ConPaS | 0.06 | 6.35 | 100 | 100 |
| Linear+MIP (BCE) | 11.79 | 0.03 | 20.1 | 100 |
| Linear+MIP (Contrastive) | 69.71 | 0.03 | 0.00 | 100 |
| EnerGNN (Linear) | 33.19 | 0.07 | 0.00 | 100 |
| EnerGNN (MLP) | 0.65 | 2.38 | 84.62 | 100 |
QKP gaps in this table are measured relative to Gurobi’s final incumbent after the one-hour limit.
CART
| Method | Gap (%) | Time (s) | Exact Opt. (%) | Feas. (%) |
|---|---|---|---|---|
| Full MIP (Gurobi) | 0.00 | 1351.7 | 100 | 100 |
| Predict+Search | 11.09 | 202.2 | 61.7 | 94 |
| Neural Diving (sequential) | 5.59 | 1632.7 | 35.8 | 100 |
| Neural Diving (parallel) | 5.59 | 242.3 | 35.8 | 100 |
| ConPaS | 0.266 | 1708.2 | 86.4 | 100 |
| Linear+MIP (BCE) | 6.06 | 216.10 | 57 | 100 |
| Linear+MIP (Contrastive) | 29.99 | 271.79 | 15.00 | 100 |
| EnerGNN (Linear) | 35.24 | 288.16 | 14 | 100 |
| EnerGNN (MLP) | 0.05 | 186.98 | 97 | 100 |
CA
| Method | Gap (%) | Time (s) | ≤1% (%) | Feas. (%) |
|---|---|---|---|---|
| Full MIP (Gurobi) | 0.00 | 0.14 | 100 | 100 |
| Predict+Search | 29.81 | 0.01 | 0 | 100 |
| Neural Diving | 2.91 | 1.23 | 5 | 100 |
| ConPaS | 0.30 | 0.17 | 92 | 100 |
| Linear+MIP (BCE) | 83.99 | 0.02 | 0 | 100 |
| Linear+MIP (Contrastive) | 30.82 | 0.02 | 0 | 100 |
| EnerGNN (Linear) | 0.20 | 0.31 | 95 | 100 |
| EnerGNN (MLP) | 0.53 | 8.62 | 77 | 100 |
Clarity and presentation. We will revise the manuscript throughout to shorten dense sentences, reduce hyphenated expressions, and state the motivation and contribution more directly.
Dear Reviewer 7924,
Thank you again for taking the time to review our paper. In our response, we explain more clearly why EnerGNN is needed and how it differs from energy-based models, neural surrogate MIPs, predict-and-search methods, and optimization layers. We also added Neural Diving and ConPaS as baselines and reported results for all three benchmarks. We would be grateful if you could let us know whether this addresses your main concerns or whether anything remains unclear.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes EnerGNN, which learns a MIP-representable energy function as a surrogate of $\phi(y) = \min_{x} f(y, x) \quad \text{s.t.} \quad Bx \le b - Ay $ and optimizes it with a MIP solver to enforce additional constraints on binary variables. The energy is trained from feasible and infeasible candidate solutions using optimality-gap and constraint-violation signals. Experiments on QKP, combinatorial auctions, and CART demonstrate the potential of the proposed method.
Strengths and weaknesses
Strengths. The paper proposes a clear and interesting framework that learns a MIP-representable energy function and optimizes it with a MIP solver to enforce hard constraints. The idea is well motivated, and the experiments suggest that it can produce high-quality feasible solutions in several settings.
Weaknesses. The guarantees are limited to the learned energy, not the original objective. It is also unclear how well the energy generalizes beyond the candidate pool or under constraint shifts. The experimental evidence would be stronger with evaluations on larger-scale and more challenging instances.
Questions
I start with a tentative score which I will update after the rebuttal if concerns can be addressed.
Q1. The training objective appears to use different calibration targets for feasible and infeasible candidates: feasible solutions are calibrated toward their primal gaps , while infeasible solutions are calibrated toward , where is the normalized violation. Since both quantities are nonnegative and may have overlapping ranges, a mildly infeasible solution could receive a lower target energy than a poor but feasible solution. For example, if a feasible candidate has while an infeasible candidate has , then , so the loss would encourage even though is infeasible. Could the authors clarify how this potential scale ambiguity between optimality gaps and constraint violations is handled?
Q2. In this paper, the learned energy appears to act as a surrogate for the value function However, obtaining labels for this surrogate requires sampling candidate binary configurations and solving the corresponding downstream subproblem to evaluate . In the worst case, learning such a value function over binary variables may require evaluating exponentially many configurations, i.e., up to samples. For example, this is feasible in the CART experiment where the strategic decision vector has only 6 binary variables, so all configurations can be enumerated, but it would be infeasible when the number of strategic binaries is in the hundreds or thousands. Could the authors clarify how EnerGNN is expected to scale in settings where evaluating is expensive and the number of binary variables is large?
Q3. A potential scalability concern is the trade-off between energy expressiveness and MIP tractability. For large binary decision spaces, a small energy head may be insufficient, while a larger network would introduce more ReLU binaries and auxiliary variables, potentially making the Neural-MIP harder than the original problem. Moreover, the Neural-MIP encoding may lose problem-specific structure that solvers could exploit in the original formulation. Could the authors provide larger-scale experiments varying both the problem size and the energy-network size, and report how solution quality, MIP size, and runtime scale?
Limitations
Yes.
Final justification
The authors have addressed my main concerns. They acknowledged that the original description of the ranking loss was too strong and evaluated the reviewer-motivated strict-ordering alternative, revealing a clear trade-off between complete feasible–infeasible separation and solution quality. The benchmark-specific definitions and ablations of also substantially clarify the role of the structured readout and its effect on solution quality and MIP runtime. Expanding CART to 16 binary variables alleviates part of my scalability concern. Therefore, I have increased my score.
Formatting concerns
No.
5 comments
Rebuttal
We thank the reviewer for their careful reading and thoughtful, constructive comments. We have performed several new experiments that directly address the concerns raised.
Calibration of feasible and infeasible candidates. The reviewer is correct that the numerical values used for feasible gaps and infeasible violations can overlap. However, these two targets are not intended to define one common absolute ordering. They play different roles in the loss. For feasible candidates, the calibration term teaches the energy model to distinguish better feasible solutions from worse feasible solutions using their primal gaps. For infeasible candidates, the violation-based term is only an auxiliary signal that teaches the model how severely a candidate violates the constraints.
The ordering between feasible and infeasible candidates is instead enforced by the ranking loss. Its target distribution assigns positive mass only to feasible candidates and zero mass to infeasible ones. Therefore, if the model gives an infeasible candidate a low energy, and hence a high predicted probability, the ranking loss penalizes it. In other words, the violation target shapes the infeasible region, while the ranking term teaches the model that infeasible candidates should not be preferred to feasible ones.
This ambiguity cannot produce an infeasible deployment decision. At inference, the learned energy is minimized only over assignments satisfying the explicitly encoded hard constraints. Infeasible assignments are excluded by the MIP, regardless of their predicted energy.
We will clarify in the manuscript that the infeasible calibration term is auxiliary and not directly comparable with feasible primal gap targets.
Scalability beyond six strategic binary variables. We agree that exhaustive evaluation of all configurations is intractable for large strategic decision spaces. EnerGNN does not require labels for every configuration. It learns an energy from a sampled set of informative feasible and infeasible candidates.
CART illustrates the intended setting. It is a real-world strategic decomposition problem built from industry data on hospitals, clinics, and manufacturing facilities. The full monolithic formulation reaches approximately – binary variables and – constraints on the test instances. EnerGNN does not attempt to learn all of these operational decisions. Instead, it learns only the strategic complicating binaries that couple the operational blocks, after which the remaining patient-assignment and scheduling problem is solved using the resulting reduced MIP.
The original six strategic variables should therefore not be interpreted as a simple six variable prediction task. Their value depends on the complete downstream response of the patient-level scheduling MIP. Two instances with the same total demand can require different facility configurations because their locations, arrival times, deadlines, and capacity profiles differ. EnerGNN learns this joint downstream value rather than predicting each strategic decision independently.
To address the scalability concern directly, we extended the setting with ten additional synthetic manufacturing facilities, increasing the strategic dimension from 6 to 16 variables and the decision space from 64 to 65,536 configurations. The model is trained using sampled candidate configurations (1 positive optimum, max 158 feasible negatives, max 48 negatives per instance) rather than exhaustive enumeration and is evaluated at its training scale and, without retraining, on problems with 12 and 20 strategic variables.
| Train → Test | Feasible (%) | Exact optimum (%) | Mean gap | ≤1% |
|---|---|---|---|---|
| 100 | 72 | 0.086% | 100 | |
| 100 | 49 | 0.419% | 87 | |
| 100 | 10 | 1.224% | 55 |
Despite observing only a small fraction of the decision space during training, EnerGNN achieves 100% feasibility and a 0.086% mean gap at , and generalizes without retraining to both smaller and larger numbers of facilities.
Expressiveness–tractability trade-off. We agree that replacing the original objective with a Neural-MIP could, in principle, reduce the solver's ability to exploit problem-specific structure. However, all comparisons against the original formulation use Gurobi with its standard presolve, cutting planes, primal heuristics, branching, and other built-in algorithmic enhancements enabled. Thus, the reported runtimes already reflect Gurobi exploiting the original formulation using its full algorithmic machinery. However, solving the original formulation remains substantially slower than EnerGNN on QKP and CART. Moreover, the Neural-MIP does not discard all problem structure. The deployment constraints that must be satisfied for safe operation are encoded explicitly in the inference MIP, so feasibility with respect to those constraints is guaranteed while the learned energy is optimized. To control the additional Neural-MIP complexity, most representational capacity is placed in the GNN encoder, which captures variable–constraint interactions and is evaluated once before optimization. Only the compact optimization-compatible energy head is embedded in the solver.
The original submission studies the effect of energy-head width and depth on QKP in Appendix F.2. We now repeat the same controlled ablation on the larger CART setting with 16 strategic binary variables.
CART 16
| MLP head width | Layers | ReLU binaries | Total binaries | Gap (%) | Time (s) |
|---|---|---|---|---|---|
| 16 | 1 | 16 | 36 | 0.05 | 1.16 |
| 16 | 2 | 32 | 52 | 0.12 | 1.84 |
| 32 | 1 | 32 | 52 | 0.09 | 2.23 |
| 32 | 2 | 64 | 84 | 0.07 | 6.22 |
| 64 | 1 | 64 | 84 | 0.04 | 3.92 |
| 64 | 2 | 128 | 148 | 0.10 | 46.71 |
QKP
| Head width | Layers | ReLU binaries | Total binaries | Gap (%) | Time (s) |
|---|---|---|---|---|---|
| 16 | 1 | 16 | 166 | 0.55 | 0.78 |
| 16 | 2 | 32 | 182 | 0.52 | 3.09 |
| 32 | 1 | 32 | 182 | 0.65 | 2.38 |
| 32 | 2 | 64 | 214 | 0.53 | 15.12 |
| 64 | 1 | 64 | 214 | 0.50 | 4.05 |
| 64 | 2 | 128 | 278 | 0.64 | 165.65 |
Increasing head width or depth does not systematically improve solution quality, but can substantially increase Neural-MIP size and runtime. For example, moving from a one-layer width-16 head to a two-layer width-64 head increases runtime from 1.16 to 46.71 s on CART and from 0.78 to 165.65 s on QKP, while worsening the gap in both cases. These results support compact, shallow embedded heads as the best expressiveness–tractability trade-off, while allowing the external GNN encoder to remain expressive without adding variables or ReLU binaries to the inference MIP.
OOD constraint injection. To address the reviewer’s question about robustness when unseen constraints force solutions far from the candidate pools used during training, we expanded our zero-shot constraint-injection experiments to the larger CART setting with 16 manufacturing facilities and to CA. The injected deployment constraints explicitly remove substantial parts of the original optimal solution, and every modified problem was solved to global optimality to provide an exact reference.
| CART constraint | Cases | Selected removed | Mean shift | Mean gap | ≤1% | Feasible |
|---|---|---|---|---|---|---|
| Deactivate 1 selected facility | 339 | 29.5% | 3.96 bits | 0.141% | 97.35% | 100% |
| Deactivate 2 selected facilities | 509 | 47.0% | 5.43 bits | 0.234% | 93.71% | 100% |
| Deactivate 3 selected facilities | 472 | 57.2% | 6.33 bits | 0.298% | 91.74% | 100% |
| CA constraint | Cases | Selected removed | Mean shift | Mean gap | ≤1% | Feasible |
|---|---|---|---|---|---|---|
| Remove 5 selected bids | 1,100 | ≈20% | 34.87 bits | 0.215% | 93.36% | 100% |
| Remove 10 selected bids | 1,100 | ≈40% | 38.77 bits | 0.167% | 95.27% | 100% |
| Remove 15 selected bids | 1,100 | ≈60% | 41.36 bits | 0.162% | 95.73% | 100% |
| Force 1 previously unselected high-value bid | 1,100 | — | 31.25 bits | 0.073% | 99.00% | 100% |
In CART, deactivating one, two, or three selected facilities removes 29.5%, 47.0%, or 57.2% of the original selected set on average. The constrained optima move by 3.96–6.33 of the 16 facility decisions, showing that the effect extends beyond the variables directly forced off. EnerGNN nevertheless maintains 100% feasibility, with mean true gaps below 0.30%.
The changes are even larger in CA. The original optimum selects approximately 25 bids, so removing 5, 10, or 15 selected bids eliminates approximately 20%, 40%, or 60% of the selected set. Because bids compete for shared items, these removals trigger broader substitutions throughout the solution. The constrained optimum differs from the original optimum in 34.87–41.36 of the 175 bid variables on average, where the Hamming distance counts both bids removed from and bids added to the selected set. Nevertheless, across 3,300 modified auctions, EnerGNN maintains 100% feasibility, achieves mean true gaps below 0.22%, and returns 94.8% of solutions with gap ≤1% and 99.9% with gap ≤5%. The same robustness holds when removing the highest-value bids selected in the original optimum.
We also force one high-value bid that was not selected in the original optimum to be selected. Although this introduces only one constraint, conflicts between bids cause the new optimum to differ from the original optimum in 31.25 decisions on average. EnerGNN again maintains 100% feasibility, with a mean gap of 0.073% and 99% of solutions with gap ≤1%.
These experiments directly test unseen changes to the feasible set. They show that EnerGNN does not simply reproduce the original optimal configuration, but reoptimizes effectively after unseen constraints force substantial changes to the solution, without retraining, while maintaining 100% feasibility and very small optimality gaps.
Response to Authors
1.The key issue with the authors’ response is that the ranking loss only discourages infeasible candidates from taking probability mass away from high-quality feasible candidates; it does not guarantee that "infeasible candidates should not be preferred to feasible ones". Therefore, it does not fully resolve the scale-overlap issue raised in Q1.
The ranking target is defined as and while the probability mass assigned to feasible candidates depends on their gaps: A smaller makes the target distribution more concentrated on the near optimal candidates. This can help the network focus on identifying good solutions. However, the same concentration reduces the target probability assigned to poorer feasible solutions, making it increasingly difficult for the ranking loss to distinguish them from mildly infeasible solutions.
For example, consider the candidate pool where . Suppose Thus, is an optimal feasible solution, is a poor but feasible solution, and is only mildly infeasible.
If we use which is the same as that used in the paper, then we have , , . Therefore, the ranking loss essentially only requires to have the lowest energy and places almost no constraint on the relative ordering of and . It places almost no pressure on the model to assign this poor feasible solution a lower energy than a mildly infeasible solution. Since we have , the remaining calibration loss and infeasibility loss would encourage even though is infeasible.
This shows that the statement that “the ranking term teaches the model that infeasible candidates should not be preferred to feasible ones” is not strictly correct. More precisely, the ranking loss discourages infeasible candidates from being preferred to high-quality feasible candidates, but it does not prevent them from being preferred to all feasible candidates.
This issue may be particularly problematic under distribution shifts or constraint injection. Consider the following example: the original optimal solution may become infeasible under the new constraints, while the previously inferior but feasible solution may remain feasible and could even become near-optimal. However, when the learned energy assigns , the neural network may prefer over . If the new inference constraints do not exclude , this could lead to an infeasible decision and prevent the method from selecting , even though is now a high-quality feasible solution.
I hope the authors could give more explanation on the above issue.
2.The authors have increased the number of binary variables in the CART experiments to 16. Although this is a modest problem size, the resulting combinatorial state space is larger than before. This alleviates some of my concerns regarding the scalability of the proposed method. I appreciate the authors’ clarification and experiments.
3.The authors’ discussion of the expressiveness–tractability trade-off provides further insight into the proposed method. In essence, the input to the energy network consists of the pooled interaction between the GNN-extracted features and the binary decision variables, together with the graph-level summary and the manually constructed features . To some extent, incorporates problem-specific structural information from the underlying optimization problem.
I would be interested to better understand how much these manually designed features affect both solution quality and MIP solution time. Intuitively, removing entirely may reduce the expressive power of the energy model. At the other extreme, directly feeding the full decision vector into may require less manual feature engineering, but would likely make the resulting MIP substantially harder to solve.
I therefore hope that the authors can provide an illustrative ablation or example comparing these different readout designs. I also hope that the paper can explain more explicitly the role of in and provide practical guidance on how such features should be designed, so that the proposed method can be more readily applied to a broader range of problems in the future.
1. Very suboptimal feasible– slightly infeasible ordering
Feasible–infeasible ordering. We thank the reviewer for the careful counterexample. This is an important observation, and it helped us identify that our previous wording was too strong. The reviewer is correct that the current ranking loss does not guarantee that every feasible candidate has lower energy than every infeasible candidate. When the target distribution is concentrated on the best feasible candidates, it may place little pressure on the ordering between a poor feasible candidate and a mildly infeasible candidate.
During the original loss design, we also considered a stricter alternative that avoids treating feasible gaps and infeasible violations as absolute targets on the same energy scale. We have evaluated this alternative explicitly. Let
be the highest feasible energy in the current candidate pool. In this loss, is treated as constant during backpropagation. We replace the original infeasibility calibration term with
where and is the normalized violation. This adds a penalty whenever an infeasible candidate is not placed at least above the highest-energy feasible candidate in the pool. Because the feasible anchor is detached, this term pushes infeasible energies upward without directly changing feasible energies.
Using the reviewer’s example, suppose
The strict loss requires
Therefore, assigning produces a penalty of approximately . This directly enforces complete feasible–infeasible ordering within the sampled candidate pool.
We evaluated this variant under the same Combinatorial Auctions (CA) protocol in EnerGNN with linear head, as this is the best EnerGNN variant for CA:
| Infeasibility loss | Mean gap | Exact optimum | Feasible | Mean time | |
|---|---|---|---|---|---|
| Current calibration | 0.20% | 67% | 95% | 100% | 0.28 s |
| Strict dominance margin | 3.96% | 4% | 18% | 100% | 0.25 s |
The strict loss enforces the stronger ordering, but substantially reduces solution quality. The mean gap increases from 0.20% to 3.96%, exact recovery decreases from 67% to 4%, and the fraction within 1% decreases from 95% to 18%. Both variants return feasible solutions on all test instances.
This result clarifies the role of the loss. The ranking and calibration terms are not intended to learn a global feasibility certificate. Feasibility is enforced by the MIP constraints, while the learned energy ranks candidates within the admissible feasible set. Complete separation from every infeasible candidate is therefore not needed when the relevant constraints are explicitly encoded, as the reviewer correctly observed. The loss ablation in the paper (Table 4) also shows that removing the infeasibility term changes performance only slightly, which further supports that this term is auxiliary rather than the source of feasibility.
The relevant concern under constraint injection is whether candidates that were feasible but suboptimal under the original problem can still be selected when the original optimum becomes infeasible under the injected constraints. Our experiments for OOD constraint injection in our previous response directly tests this setting. We add substantial unseen constraints that remove large parts of the original feasible space and make the original preferred solutions infeasible. EnerGNN remains effective, with 100% feasibility and small primal gaps in both CART and CA. This shows that the learned energy remains useful over the remaining feasible set even though it is not trained to place every poor feasible candidate below every infeasible one.
If a feasibility requirement is not represented in the inference model, it cannot be guaranteed by the current training objective alone. In EnerGNN, such requirements can be added explicitly to the MIP at deployment without retraining.
We will clarify in the manuscript that the ranking loss discourages assigning probability mass to infeasible candidates, while feasibility with respect to the encoded constraints is guaranteed by the inference MIP. We thank the reviewer again for raising this important point, which helped us clarify the precise role of the ranking loss and the source of the feasibility guarantee.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces a a new framework EnerGNN for combinatorial inference. The idea of the frame work is to learn an optimization compatible energy function over discrete configurations. Specifiaclly the energy function should be representable using a mixed-integer linear program which can be solved exactly at inference time. The paper consists of a detailed description of the architectural framework, theoretical claims on the formal properties of their design and emprical testing. They test there framework problem Quadratic Knapsack, Combinatirial Auctions and Personalized Medicine Supply Chain (CART).
Strengths and weaknesses
The paper is well written and well motivated. Empirical results are believable and significant. The problem benchmarks chosen for empirical testing are appropriate and meaningful. The framework in itself is very interesting and meaningfully different to related work.
Whats arguably missing on the theoretical side is more intuition on why the theorems hold (all proofs are pushed to the appendix). For the untrained reader its not immediate that the technical claims hold. More deatiled description of core arguments would help.
Acronyms QKP, CA and CART are used in section 3 but fixed in section 4. This was a little confusing.
Putting the table values for EnerGNN in bold in Table 1 initially gives the impression taht these values are the best in th column but this is not the case which is a little confusing.
Questions
I'm little confused about the experimental setting in the context of lines 251 to 253 where its claimed that EnerGNN is 3 orders of magnitude faster than Gurobi. Wasn't Gurobi set to run for an hour regardless so it could have founnd its solution earlier but ther was no stop protocol?
Limitations
Yes
Final justification
The authors have sufficiently addressed my main concerns. I elect to maintain my score.
Formatting concerns
No concerns
3 comments
Rebuttal
We sincerely thank the reviewer for their positive assessment of the paper’s motivation, clarity, empirical significance, benchmark selection, and distinction from prior work, as well as for the thoughtful suggestions that will help us improve the presentation.
Acronyms and table formatting. We will define QKP, CA, and CART at first use in Section 3 and revise the bold formatting in Table 1 to avoid implying that the highlighted values are column-best results.
Theoretical intuition. We agree that the main text would benefit from a concise proof sketch. MIP representability follows because the graph encoder is evaluated before inference, while all decision-dependent operations in the readout and ReLU energy head admit exact mixed integer formulations over bounded domains. Combining this representation with the explicit hard constraints yields a MIP whose global optimum is the exact minimum of the learned energy over the feasible set. We will add this proof sketch to the main text and briefly explain that the inference and constraint-injection corollaries follow by combining this representation with the hard constraints, while retaining the complete proofs in the appendix.
Runtime protocol and Quadratic Knapsack (QKP) against proven optima. We thank the reviewer for this careful observation, which helped us identify an important ambiguity in the runtime wording. Gurobi would terminate before the 1 h limit upon proving optimality. For the original evaluation, we deliberately retained as test cases the 169 generated QKP instances on which Gurobi failed to prove optimality within the 1 h limit, in order to stress-test EnerGNN on the hardest subset. The reviewer is correct that Gurobi may have found its final incumbent earlier and then spent the remaining time improving the bound. We will therefore revise the “three orders of magnitude faster” wording and state precisely that EnerGNN returns a feasible solution in seconds, whereas Gurobi did not certify optimality within the 1 h budget.
To provide a comparison, we moved all time-limit instances to training, retrained EnerGNN, and evaluated on 100 held-out instances for which Gurobi proves global optimality.
| Method | Feasible (%) | Mean gap | Median gap | Maximum gap | ≤1% | Mean time | Maximum time |
|---|---|---|---|---|---|---|---|
| Full Gurobi | 100 | 0% | 0% | 0% | 100 | 525.21 s | 3233.70 s |
| EnerGNN | 100 | 0.31% | 0.30% | 1.10% | 99 | 3.42 s | 5.12 s |
EnerGNN returns feasible solutions for all instances, with 99% within 1% of the proven optimum, while reducing mean solution time by approximately 153×. The original evaluation remains a stress test on difficult time-limited instances, while this revised evaluation provides certified optimality gaps.
Dear Reviewer m7tf,
Thank you again for your constructive and positive review. We have clarified the QKP runtime protocol, added evaluation against proven global optima, provided the requested proof intuition, and have corrected the acronym definitions and Table 1 formatting. We would be grateful if you could let us know whether these responses resolve your remaining questions or whether any further clarification would be helpful.
The authors have sufficiently addressed my main concerns. I elect to maintain my score.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes EnerGNN, a framework that learns an energy function over binary configurations and then embeds this learned ReLU-based energy into a mixed-integer program for exact constrained inference. The central design is to keep the graph encoder fixed at inference time, use a MIP-compatible readout, and optimize the learned energy subject to hard feasibility constraints. The method is evaluated on Quadratic Knapsack, Combinatorial Auctions, and a CAR-T cell therapy supply-chain planning problem, with additional experiments on cross-scale generalization, constraint injection, and loss/architecture ablations. The paper’s main empirical claim is that this approach can return feasible near-optimal decisions while allowing deployment-time constraints to be enforced through the inference MIP.
Strengths and weaknesses
The paper studies an important interface problem between learning and exact optimization: how to let a neural model express preferences while a solver enforces hard constraints. The formulation is conceptually clean. Instead of asking the neural network to output a feasible solution, the paper learns a scalar energy and delegates feasibility and search to a MIP layer. This separation is appealing, and the presentation of the high-level method is reasonably clear: the learned energy is made MIP-representable through a structured readout and ReLU MLP, while hard constraints are imposed directly during inference.
A strength is that the paper does not merely report unconstrained neural predictions. It explicitly evaluates feasibility, primal gap, and constraint injection. The main table shows strong results on QKP and CART, with EnerGNN-MLP reporting 0.65% QKP gap, 0.05% CART gap, and 100% feasibility, although CA is weaker and slower than plain Gurobi. The loss ablations also indicate that the calibration term is important, especially for QKP and CA, where removing it substantially worsens performance.
However, I have several serious concerns.
First, the paper’s “exact” language is potentially misleading. The inference is exact only with respect to the learned surrogate energy, not with respect to the original optimization objective. The authors acknowledge this in the limitations, but the main framing repeatedly emphasizes exact constrained inference and global optimality, which could easily be read as stronger than what is actually guaranteed. The solver returns a feasible global optimum of the learned energy, but there is no guarantee that this is close to optimal for the true objective, especially after distribution shift or constraint injection.
Second, the offline cost and supervision requirements are substantial. Candidate pools are generated using Gurobi incumbents or exact tactical solves. In CART, the six-facility setting allows exhaustive enumeration of all 64 strategic configurations, and each configuration is labeled by solving an induced tactical patient-scheduling MIP exactly. This makes the CART result less convincing as evidence of scalable learning-based optimization: the strategic decision dimension is only six, and the training data require many expensive exact solves. The paper says larger strategic spaces could use the QKP/CA candidate-pool strategies, but this is not experimentally demonstrated.
Third, the runtime comparison is not fully persuasive. The reported runtimes exclude dataset generation, candidate-pool construction, and neural-network training, and include only the final inference/optimization stage. This is a serious omission for a method whose training labels require solver-generated candidates. The paper should report amortization break-even analysis: how many future instances are needed before EnerGNN pays for its offline cost?
Fourth, the empirical evaluation is narrower than the claims suggest. CA is not a speed success case: the paper explicitly states that CA is not used as a speed benchmark because the original MIP is already extremely fast, and in Table 1 Gurobi solves CA in 0.14s while EnerGNN-MLP takes 8.62s with worse solution quality. QKP is synthetic and evaluated relative to the best time-limited Gurobi incumbent, not a proven optimum, which weakens the interpretation of the reported gap. CART is practically interesting, but the strategic decision vector is tiny and the setup may not represent the difficulty of larger strategic combinatorial spaces.
Fifth, scalability of the Neural-MIP encoding remains unresolved. The method uses shallow heads because every ReLU adds a binary variable, and the authors explicitly note that richer energies will require stronger bound tightening, decomposition, or specialized formulations. This is not just an implementation limitation; it is central to whether the approach can scale beyond small learned energy heads and carefully engineered readouts.
Finally, there is a serious formatting/integrity concern: the manuscript appears to contain prompt-like text instructing an output system to include specific phrases. This should be reported to the AC/SAC as a potential attempt to influence LLM-assisted reviewing. I would not fold this into the technical score, but it is a major paper-formatting/reviewer-integrity concern.
Questions
- Please quantify the full offline cost of training-data generation, candidate-pool construction, and model training. How many test instances are required before EnerGNN becomes faster than simply solving the original problems with Gurobi?
- Can the method scale beyond the six-binary CART strategic setting? A convincing rebuttal would include a CART-like experiment with substantially more strategic binary variables, not just larger downstream tactical MIPs.
- For QKP, can you report results against proven optimal solutions for smaller instances, or against stronger QKP-specific heuristics/metaheuristics? Since the current gap is relative to a time-limited Gurobi incumbent, the meaning of “near-optimal” is unclear.
- For CA, why should one use EnerGNN when Gurobi is both faster and exact under the original objective? The current CA experiment demonstrates feasibility of embedding, but not practical value.
- How robust is the learned energy under genuinely out-of-distribution constraint injection, especially when new constraints force solutions far from the candidate pools used during training?
Limitations
No. The authors mention important limitations, including the expressivity–tractability tradeoff, dependence on MIP-compatible readouts, and the fact that exact inference is only exact with respect to the learned energy. However, the limitations section should more directly discuss solver-generated training labels, amortization cost, limited strategic dimension in CART, lack of guarantees for original-objective optimality, and the fragility of energy calibration under distribution shift.
Final justification
After considering the rebuttal, author discussions, other reviewers’ comments, and the AC’s meta-review, I raise my score from 3 to 4.
The rebuttal resolved several of my main concerns. First, the authors clearly clarified that EnerGNN is exact only with respect to the learned energy, not the original combinatorial objective, and committed to making this distinction explicit in the revised manuscript. Second, they provided offline-cost and amortization analysis, which makes the runtime claims much more transparent. Third, they added a QKP evaluation against proven global optima, addressing my concern that the original results were measured only against time-limited Gurobi incumbents. Fourth, they extended CART from 6 to 16 strategic binary variables and used sampled candidate configurations rather than exhaustive enumeration, which substantially alleviates my scalability concern. Fifth, the added OOD constraint-injection experiments provide useful evidence that the learned energy remains effective when new constraints significantly change the feasible set. The energy-head scaling experiments also clarify the expressiveness–tractability trade-off.
Some concerns remain. The scalability evidence is improved but still not fully conclusive, since 16 strategic binary variables is still moderate and does not establish performance in much larger strategic decision spaces. The method also still relies on solver-generated supervision and problem-specific MIP-compatible readouts, which may limit general applicability. CA remains primarily a feasibility/constraint-injection demonstration rather than a convincing speedup case.
I assign substantial weight to the new certified QKP results, the amortization analysis, and the expanded CART/OOD experiments, because these directly address the main empirical weaknesses in the original submission. I assign less weight to the remaining concerns because they are now more about the scope and generality of the approach than about fatal flaws in the current paper.
Overall, I view the submission as technically solid and interesting, with reasons to accept now slightly outweighing the remaining limitations. Therefore, my final recommendation is Borderline Accept.
Formatting concerns
Major concern: the PDF appears to contain prompt-like text instructing an output system to include specific phrases. This is inappropriate in a submitted manuscript and should be examined by the area chair/senior area chair. There are also minor formatting artifacts from PDF text extraction, but the prompt-like text is the substantive issue.
4 comments
Rebuttal
We thank the reviewer for their detailed comments, which have helped us strengthen the manuscript.
Formatting concern. The prompt-like text is part of the official NeurIPS template and we invite the Reviewer to check this with the conference organizers and the Chair.
Scope of exactness. We agree that this must be stated unambiguously. EnerGNN globally minimizes the learned energy over the imposed feasible set. It does not claim to globally optimize the original objective. The exact guarantee is that every returned solution satisfies the encoded hard constraints and that no feasible configuration has lower learned energy. Quality under the original objective depends on how accurately the learned energy ranks feasible configurations and is therefore evaluated empirically through primal optimality gaps. We will clarify this at every first use of “exact” and “global optimum” not only in the limitations section.
Offline cost of training data. We agree that offline and online computational costs should be distinguished clearly. We have now quantified the complete offline cost, including solver-based label generation and EnerGNN training, together with an amortization analysis. The total elapsed wall-clock time is 18.1 h for QKP (14.7 h label generation + 3.39 h training), 5.66 h for CA (7 min label generation + 5.54 h training), and 35.1 h for CART (31.6 h label generation + 3.52 h training). Label generation was parallelized across 30 workers.
We calculate the break-even number of deployment instances as
using mean elapsed inference times on the test set. This gives approximately 125 instances for QKP and 110 for CART. We do not report a break-even point for CA because Gurobi is already faster online. CA evaluates solution quality rather than runtime acceleration. As in Neural Diving (Nair et al., 2020) and related learning-based optimization methods, solver-generated supervision is a one-time offline cost amortized over repeated deployment.
Scalability beyond six strategic binary variables. We appreciate the reviewer’s request for a larger strategic decision space. The original 6-variable CART setting represents the real system provided by a company orchestrating personalized cell therapy supply chains. The variables select manufacturing facilities, while each instance contains a different downstream patient-assignment and scheduling problem. Thus, the model must learn how facility configurations perform across heterogeneous demand, capacity, transport, timing, and cost conditions rather than memorize 64 fixed values.
To address the reviewer’s scalability question directly, we extended the real-world setting with ten additional synthetic manufacturing facilities, increasing the strategic dimension from 6 to 16 variables and the decision space from 64 to 65,536 configurations. The model is trained using sampled candidate configurations (1 positive optimum, max 158 feasible negatives, max 48 negatives per instance) rather than exhaustive enumeration. We then evaluate it at its training scale and, without retraining, on problems with 12 and 20 strategic variables.
| Train → Test | Feasible (%) | Exact optimum (%) | Mean gap | ≤1% |
|---|---|---|---|---|
| m=16 → 16 | 100 | 72 | 0.086% | 100 |
| m=16 → 12 | 100 | 49 | 0.419% | 87 |
| m=16 → 20 | 100 | 10 | 1.224% | 55 |
These experiments directly increase the number of strategic binary variables rather than only enlarging the downstream scheduling MIP. They show that EnerGNN can be trained without enumerating the strategic decision space and can generalize to both smaller and larger numbers of manufacturing facilities.
QKP against proven optima. We agree that the original gap to the best one-hour Gurobi incumbent was not a certified optimality gap. We therefore moved all time-limit instances to training and retrained EnerGNN. The revised test set contains 100 held-out instances for which Gurobi proves global optimality.
| Method | Feasible (%) | Mean gap | Median gap | Maximum gap | ≤1% | Mean time | Maximum time |
|---|---|---|---|---|---|---|---|
| Full Gurobi | 100 | 0% | 0% | 0% | 100 | 525.21 s | 3233.70 s |
| EnerGNN | 100 | 0.31% | 0.30% | 1.10% | 99 | 3.42 s | 5.12 s |
EnerGNN returns feasible solutions for all instances, with 99% within 1% of the proven optimum, while reducing mean inference time by approximately 153×. The original evaluation focused on difficult time-limited instances.
OOD constraint injection. To address the reviewer’s question about robustness when unseen constraints force solutions far from the candidate pools used during training, we expanded our zero-shot constraint-injection experiments to the larger CART setting with 16 manufacturing facilities and to CA. The injected deployment constraints explicitly remove substantial parts of the original optimal solution, and every modified problem was solved to global optimality to provide an exact reference.
| CART constraint | Cases | Selected removed | Mean shift | Mean gap | ≤1% | Feasible (%) |
|---|---|---|---|---|---|---|
| Deactivate 1 selected facility | 339 | 29.5% | 3.96 bits | 0.141% | 97.35% | 100 |
| Deactivate 2 selected facilities | 509 | 47.0% | 5.43 bits | 0.234% | 93.71% | 100 |
| Deactivate 3 selected facilities | 472 | 57.2% | 6.33 bits | 0.298% | 91.74% | 100 |
| CA constraint | Cases | Selected removed | Mean shift | Mean gap | ≤1% | Feasible (%) |
|---|---|---|---|---|---|---|
| Remove 5 selected bids | 1,100 | ≈20% | 34.87 bits | 0.215% | 93.36% | 100 |
| Remove 10 selected bids | 1,100 | ≈40% | 38.77 bits | 0.167% | 95.27% | 100 |
| Remove 15 selected bids | 1,100 | ≈60% | 41.36 bits | 0.162% | 95.73% | 100 |
| Force 1 previously unselected high-value bid | 1,100 | — | 31.25 bits | 0.073% | 99.00% | 100 |
In CART, deactivating one, two, or three selected facilities removes 29.5%, 47.0%, or 57.2% of the original selected set on average. The constrained optima differ from the original optima in 3.96–6.33 of the 16 facility decisions, showing that the effect extends beyond the variables directly forced off. EnerGNN nevertheless maintains 100% feasibility, with mean true gaps below 0.30%.
The changes are even larger in CA. In CA, removing 5, 10, or 15 of the approximately 25 selected bids eliminates about 20%, 40%, or 60% of the selected set. Competition for shared items triggers broader substitutions, producing mean Hamming shifts of 34.87–41.36 across the 175 bid variables. Across 3,300 modified auctions, EnerGNN maintains 100% feasibility, mean gaps below 0.22%, 94.8% within 1%, and 99.9% within 5%.
We also force one high-value bid that was not selected in the original optimum to be selected. Although this introduces only one constraint, conflicts between bids cause the new optimum to differ from the original optimum in 31.25 decisions on average. EnerGNN again maintains 100% feasibility, with a mean gap of 0.073% and 99% of solutions with gap ≤1%.
These experiments directly test severe unseen changes to the feasible set. They show that EnerGNN does not simply reproduce the original optimal configuration but reoptimizes effectively after unseen constraints force substantial changes to the solution, without retraining.
Role of CA. CA is not intended as a speed benchmark because Gurobi already solves the original problem in 0.14 s. Instead, it tests whether EnerGNN can learn an energy over complete configurations of 175 bid decisions while the inference MIP enforces approximately 100 packing constraints exactly. The appropriate CA model is the linear-head EnerGNN, which achieves 100% feasibility, a 0.20% primal gap, and 0.31 s inference. Thus, CA shows that EnerGNN can recover near-optimal feasible solutions in a highly constrained setting, where the explicit constraint injection in the inference MIP is stress-tested.
Expressiveness–tractability trade-off. The original submission studies the effect of energy-head width and depth on QKP in Appendix F.2. We now repeat the same controlled ablation on the new CART setting with 16 strategic binary variables.
CART, m=16
| MLP head width | Layers | ReLU binaries | Total binaries | Gap (%) | Time (s) |
|---|---|---|---|---|---|
| 16 | 1 | 16 | 36 | 0.05 | 1.16 |
| 16 | 2 | 32 | 52 | 0.12 | 1.84 |
| 32 | 1 | 32 | 52 | 0.09 | 2.23 |
| 32 | 2 | 64 | 84 | 0.07 | 6.22 |
| 64 | 1 | 64 | 84 | 0.04 | 3.92 |
| 64 | 2 | 128 | 148 | 0.10 | 46.71 |
QKP
| MLP head width | Layers | ReLU binaries | Total binaries | Gap (%) | Time (s) |
|---|---|---|---|---|---|
| 16 | 1 | 16 | 166 | 0.55 | 0.78 |
| 16 | 2 | 32 | 182 | 0.52 | 3.09 |
| 32 | 1 | 32 | 182 | 0.65 | 2.38 |
| 32 | 2 | 64 | 214 | 0.53 | 15.12 |
| 64 | 1 | 64 | 214 | 0.50 | 4.05 |
| 64 | 2 | 128 | 278 | 0.64 | 165.65 |
All configurations remain 100% feasible by construction. Increasing head width or depth does not systematically improve solution quality but can substantially increase runtime. For example, moving from a one-layer width-16 head to a two-layer width-64 head increases runtime from 1.16 to 46.71 s on CART and from 0.78 to 165.65 s on QKP, while worsening the gap in both cases. These results support compact, shallow heads as the best expressiveness–tractability trade-off.
The embedded head is also not the sole source of model expressiveness. The GNN encoder captures interactions between variables and constraints before the inference MIP. Its embeddings are computed once and fixed during inference, so the encoder can be made deeper or wider without adding variables or ReLU binaries to the Neural-MIP. Only the final optimization-compatible head is embedded in the solver. This separates representation learning from MIP complexity and allows an expressive encoder to be combined with a compact optimization head.
Dear Reviewer HSqD,
Thank you again for your detailed and thoughtful review. We have now provided full offline-cost and amortization accounting, a 16-variable CART experiment using sampled rather than exhaustive configurations, evaluation against proven Quadratic Knapsack (QKP) optima, out-of-distribution (OOD) constraint-injection experiments, and controlled energy-head scaling results. We have also clarified the scope of exactness and the role of combinatorial auctions (CA). We would be grateful if you could please indicate whether these additions address your main concerns or if any issues remain.
Thank you for the detailed and constructive rebuttal. I appreciate that the authors have directly addressed most of my main concerns. In particular, the clarification that EnerGNN is exact only with respect to the learned energy, rather than the original objective, resolves my concern about potentially misleading wording, provided that this distinction is made clearly in the revised manuscript at every first use of “exact” or “global optimum.” I also appreciate the added offline-cost and amortization analysis, especially the reported break-even estimates for QKP and CART. This makes the runtime claims much more transparent. The new experiments also strengthen the submission. The evaluation on QKP instances with proven global optima addresses my concern about using time-limited Gurobi incumbents as references. The 16-variable CART experiment, although still moderate in scale, is a useful improvement over the original 6-variable setting and shows that the method does not rely purely on exhaustive enumeration. The OOD constraint-injection experiments are also helpful, since they test whether the learned energy remains useful after substantial changes to the feasible set. Finally, the energy-head scaling results clarify the expressiveness–tractability trade-off and support the choice of compact heads. That said, I still have some reservations. The scalability evidence is improved but not fully conclusive: 16 strategic binary variables is a meaningful extension, but still far from the large strategic decision spaces that may arise in broader applications. The method also remains dependent on solver-generated labels and problem-specific MIP-compatible readouts. I therefore view the paper as technically solid and interesting, but not yet a strong accept. Overall, the rebuttal substantially improves my assessment. I am willing to raise my score from 3 to 4, assuming the promised clarifications and additional experiments are incorporated into the final manuscript.
Additional clarification on scalability and readout design
We thank the reviewer very much for their careful reassessment and for increasing their score. We would like to reassure you that all the promised clarifications and extra experiments are incorporated into the final manuscript. We would like to provide two brief clarifications regarding the remaining reservations.
Scale of the CART experiments. The 16 variables refer only to the complicating manufacturing facility location variables and substantially understate the true size of the complete monolithic MIP. Across the 100 test instances, the full monolithic models have the following dimensions:
| Metric | Minimum | Maximum | Mean |
|---|---|---|---|
| Constraints | 2,284,802 | 92,139,833 | 46,766,602 |
| Binary variables | 532,496 | 21,532,176 | 10,928,170 |
| Continuous variables | 1,177,490 | 47,445,565 | 24,082,020 |
| General integer variables | 8,336 | 336,456 | 170,768 |
| Total variables | 1,718,322 | 69,314,197 | 35,180,958 |
EnerGNN retains 3.59 of the 16 manufacturing sites on average, reducing the induced scheduling models as follows:
| Metric | Full-model mean | EnerGNN-reduced mean | Reduction |
|---|---|---|---|
| Constraints | 46,766,602 | 12,274,271 | 73.8% |
| Binary variables | 10,928,170 | 2,778,447 | 74.6% |
| Continuous variables | 24,082,020 | 6,251,203 | 74.0% |
| General integer variables | 170,768 | 170,756 | 0.01% |
| Total variables | 35,180,958 | 9,200,406 | 73.8% |
Some of the largest monolithic instances required approximately 250 GB of RAM to solve. Increasing the strategic dimension further while retaining exact downstream labels and globally optimal reference solutions was therefore limited by the computational scale of the underlying scheduling problem, rather than by enumeration of the 16 strategic decisions. CART is intended as a strategic decomposition benchmark, where a small set of complicating variables controls a very large downstream scheduling model. Direct scalability in the number of binary decision variables is tested separately on QKP and CA, with 150 item variables in QKP and 175 bid variables in CA.
Role of . We also wish to clarify that the MIP-compatible readout does not necessarily require extensive problem-specific scalar feature engineering. The generic readout is
For CART,
Thus, the CART readout contains pooled learned embeddings of selected facilities and covered demand nodes, with no additional manually designed scalar summaries.
For QKP,
This contains a pooled learned embedding of unselected items, the selected-item fraction, and normalized capacity usage.
For CA,
where indicates whether item is occupied by a selected bid and contains eight compact scalar summaries.
In the “full ” variants in the table below, the additional structured components of are removed and the complete binary decision vector is instead concatenated directly to the selected-variable embedding pool and graph embedding. This exposes every decision bit to the energy head but creates a dimension-specific and order-dependent input.
| Problem | Readout | Mean gap | Exact | Within 1% | Mean time |
|---|---|---|---|---|---|
| CA | Embedding pools only | 0.20% | 68% | 95% | 0.25 s |
| CA | Full proposed | 0.20% | 67% | 95% | 0.28 s |
| CA | Embedding pools + full | 0.21% | 67% | 95% | 0.25 s |
| QKP | Selected-item pool only | 0.81% | 0% | 72% | 0.50 s |
| QKP | Full proposed | 0.31% | 4% | 99% | 2.92 s |
| QKP | Selected-item pool + full | 0.94% | 0% | 61% | 1.17 s |
For CA, removing the eight scalar summaries leaves performance effectively unchanged, while replacing them with the complete decision vector provides no improvement. For QKP, the structured readout reduces the mean gap from 0.81% to 0.31% and increases the fraction within 1% from 72% to 99%, whereas directly supplying performs worse.
These results show that EnerGNN does not require a fixed set of heavily engineered features. The readout can rely primarily on pooled learned embeddings, while compact structural summaries are useful when they capture meaningful consequences of the selected configuration. We will clarify that the general design principles are to use components that are compact, permutation-invariant, compatible with varying problem sizes, and exactly MIP-representable.
Comments on the paper
2 comments
Phase 2 Discussion Period
Dear Reviewers,
The authors have submitted their responses to your comments (see the “Rebuttal by Authors” field after your “Official Review” field). Could you please carefully read the authors’ responses and respond to them as soon as possible so that the authors can answer your additional comments/questions/suggestions? I hope that all of you are active during the Phase 2 discussion period (Authors + Reviewers + AC discussions): July 27 - August 3.
Thank you very much.
Reminder: Phase 2 Discussion Period will close soon (at 23:59 AoE August 3).
Dear Reviewers,
Some reviewers have not responded to authors' rebuttal.
Could you please respond to authors' rebuttal as soon as possible so that the authors can see your responses. After Phase 2 Discussion Period (i.e., during Phase 3 Discussion Period), the authors cannot join our discussions.
Your active involvement would be hihgly appreciated. Thank you very much for your great support for NeurIPS 2026.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Meta Review
We thank the Area Chair for the careful synthesis of the reviews. We summarize how each issue was addressed and where the details are provided.
Novelty and relation to prior work. To our knowledge, EnerGNN is the first framework to learn a joint, non-factorized energy over complete binary configurations with a GNN and globally minimize that learned energy as a MIP under explicit hard constraints, including constraints introduced at deployment without retraining. Only the compact readout and energy head are embedded in the MIP, allowing the GNN encoder to capture rich graph interactions without adding its full architecture to the optimization model.
This is fundamentally different from neural energy-based methods that rely on approximate inference and neural-surrogate MIP methods that approximate an expensive black-box objective or constraint. Unlike predict-and-search methods (e.g. Neural Diving, ConPaS), EnerGNN does not use factorized variable-level predictions to fix variables or restrict the original search. Unlike discrete optimization layers (e.g. MIPaaL, CombOptNet), the solver is not differentiated through during training but is used as the deployment-time inference procedure.
EnerGNN therefore provides three capabilities in one framework: joint configuration-level learning, exact constrained MIP inference, and zero-shot constraint injection without retraining. Please see Reviewer 7924, “Novelty and relation to prior work.”
Motivation. EnerGNN targets repeated decision-making under hard constraints, where repeatedly solving the full original problem may be too expensive. Direct per-variable prediction is fast, but it does not represent the quality of the complete configuration and may produce inconsistent or infeasible decisions. EnerGNN instead learns offline how complete configurations should be ranked and performs constrained optimization online.
Its benefit is faster repeated inference while retaining constraint satisfaction, high empirical quality, and the ability to add unseen deployment constraints without retraining. This is particularly relevant in CART, where strategic manufacturing decisions must be updated as patient demand, capacity, transport conditions, and treatment deadlines change. Predict-and-search methods still need to solve the full tactical scheduling MIP after making their predictions. EnerGNN learns the downstream effect of the strategic decisions offline, avoiding repeated solution of the complete tactical model at inference. Please see Reviewer 7924, “Motivation and benefit of the energy formulation,” and Reviewer HSqD, “Offline cost of training data”.
Relation between the learned energy and the original objective. EnerGNN does not claim to globally optimize the original objective. It globally minimizes the learned energy over the feasible set. Thus, EnerGNN’s exactness guarantee is that every returned solution satisfies all encoded constraints and no feasible configuration has lower learned energy. Quality under the original objective depends on how accurately the energy ranks feasible configurations and is evaluated through primal gaps and exact-optimum recovery. We will clarify this in every first use of “exact” and “global optimum.” Please see Reviewer HSqD, “Scope of exactness,” and Reviewer m7tf, “Theoretical intuition.”
State-of-the-art algorithms. We added Neural Diving and ConPaS alongside the four learned baselines already evaluated. Please see Reviewer 7924, “Additional baselines.”
Training-related computation time. We now report the cost of solver-based label generation and model training, together with the number of deployment instances required to recover this investment. Please see Reviewer HSqD, “Offline cost of training data.”
Scalability. We extended CART from 6 to 16 strategic binary variables, increasing the configuration space from 64 to 65,536 possibilities. We also tested generalization to 12 and 20 variables and varied energy-head width and depth to quantify the trade-off between MIP size, runtime, and solution quality. Please see Reviewers HSqD and tq7t, “Scalability beyond six strategic binary variables” and “Expressiveness–tractability trade-off.”
Additional empirical evidence. We evaluated QKP on instances with proven global optima and expanded zero-shot constraint injection to the 16-variable CART setting and severe CA changes that force solutions far from the original candidate pools. Please see Reviewers HSqD and m7tf, “QKP against proven optima” and “Runtime protocol and QKP against proven optima,” and Reviewers HSqD and tq7t, “OOD constraint injection.”
Revision commitments. We will sharpen the novelty and motivation, distinguish exact minimization of the learned energy at first use, add the new baselines to the main table, include the additional experiments and offline-cost analysis in the appendix, and add a concise proof sketch to the main text.