- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies constraint-aware neural optimization for graph-structured constrained problems. The authors propose CONSTRAINER, which represents constraints as operator-level DAGs and encodes them into constraint embeddings. These embeddings are injected into a shared heterogeneous graph transformer through cross-attention, allowing the model to condition its predictions on explicit constraint specifications. For continuous power-grid tasks, feasibility is encouraged through constraint-violation penalties, while for combinatorial optimization/MILP tasks, feasible actions are enforced by a masked autoregressive decoder. Experiments across power-grid, routing, packing, graph, and scheduling benchmarks show improved optimality gaps and transfer performance over multi-task and generalist neural optimization baselines.
Strengths and weaknesses
Strengths:
-
The core idea is valuable: explicitly modeling constraint semantics rather than relying solely on task-specific heads or implicit feasibility handling. This direction has significant potential for graph-structured optimization scenarios where constraints are frequently modified or reorganized.
-
The experiments cover a broad range of tasks, including power flow, AC/DC optimal power flow, transmission switching, expansion planning, and several MILP/combinatorial tasks. The reported results show consistent improvements over MTL, OPTFM, GOAL, and several single-task baselines.
-
The ablation studies are useful. Removing constraint conditioning, replacing the DAG encoder with language-based embeddings, and varying the cross-attention insertion layer help support the claim that structured constraint encoding is beneficial.
Weaknesses:
-
The stability theorem is derived for a simplified linear message-passing model, while the implemented architecture uses nonlinear GNN/HGT layers and attention. This limits its direct relevance to the actual model.
-
The stability analysis has a limited scope. It mainly bounds perturbations in the typed adjacency structure of the operator graph, while the operator graph also appears to contain informative node features such as constants, coefficients, RHS values, variable types, and operator embeddings. The paper should clarify whether such node-feature perturbations are covered by the analysis or provide empirical sensitivity tests for them.
-
The granularity of the constraint specifications is unclear, which weakens the scalability and “foundation model” claims. The paper does not specify whether operator graphs are constructed for every grounded constraint, for constraint templates/families, or at some intermediate level. This distinction is important: per-constraint graphs may not scale to large instances, while template-level graphs may ignore instance-specific information such as variable scopes, coefficients, and right-hand-side values. The authors should clarify the construction pipeline and report the average number and size of constraint specifications per instance for each task family.
-
Some experimental settings make the conclusions less clear. In combinatorial MILP tasks, the masked decoder ensures feasibility for all methods, so the benefit of constraint conditioning is primarily reflected in solution quality rather than feasibility. The authors should better separate the effects of constraint conditioning from those of the decoder mask.
-
The current results are not compared against default classical solvers under comparable time budgets, so the practical benefit of the predicted solutions remains unclear.
-
Several experimental details should be clarified to make the comparison more reproducible and easier to interpret. The paper should provide the full training objective for each task family. It should also report the settings of the classical solvers used to generate labels or reference optima, including time limits, average runtimes, and final solver gaps. The authors should clarify which baseline results were reproduced under the same setup and which were taken from prior papers; this is particularly important for single-task baselines with many missing entries and for the GAN baseline, which lacks a clear reference or implementation description.
-
The related work section should be strengthened. The authors are encouraged to discuss prior work on learning-based MILP solution prediction [1-4] more systematically.
References:
[1] Han et al., “A GNN-Guided Predict-and-Search Framework for MILP,” 2023.
[2] Huang et al., “Contrastive Predict-and-Search for Mixed Integer Linear Programs,” ICML 2024.
[3] Liu et al., “Apollo-MILP: An Alternating Prediction-Correction Neural Solving Framework for Mixed-Integer Linear Programming,” 2025.
[4] Geng et al., “Differentiable Integer Linear Programming,” ICLR 2025.
Questions
Questions:
-
How are constraint specifications constructed in practice? Are they defined per grounded constraint, per constraint family/template, or at another level of abstraction? For constraints of the same type but with different variable scopes, coefficients, or right-hand-side values, are they treated as distinct specifications? Please report the average number and size of constraint specifications per instance for each task family, as this is important for evaluating scalability and reproducibility.
-
Could the authors clarify why feasibility is handled differently across domains—via constraint-violation penalties for power-grid tasks, but via masked autoregressive decoding for combinatorial optimization/MILP tasks—and how this affects the interpretation of the role of constraint conditioning?
Limitations
Yes.
Paper formatting concerns
I did not identify any major issues.
Final justification
The rebuttal addresses most of my major concerns, especially by clarifying the template-level construction of constraint specifications, extending the stability discussion to node-feature perturbations, adding sensitivity analyses, and providing additional solver-budget comparisons and experimental details.
These clarifications substantially improve the reproducibility and interpretation of the results. I still think the final version should clearly include these additions and carefully state the scope of the theoretical claims, but overall the response resolves my main concerns. I am willing to raise my score to 4.
We thank the reviewer for the feedback and address each point below.
The linear form is an analytical simplification that isolates structural perturbations in closed form; the argument extends to the nonlinear encoder (ReLU, LayerNorm, attention) whenever the layer maps are Lipschitz, since the proof uses only the telescoping identity and submultiplicativity of norms. The predicted stability is confirmed by direct measurement on the trained encoder (W2). The full discussion is also given in response to Q2 of reviewer Ykch.
Node-feature perturbations are covered by the same analysis once an initial-feature term is added: with
η = ‖H_c⁽⁰⁾ − H_c'⁽⁰⁾‖_F, the bound becomes‖z_c − z_c'‖ ≤ C_H η + C_A δ, and the current theorem is the special caseη = 0. We also report a direct sensitivity test on the trained encoder (mean over 90 base constraints). The edits below preserve topology (δ = 0);dis a normalized embedding distance (d ≈ 1between two unrelated constraints), and the unrelated row is a calibration point.d≤ → ≥)Numeric perturbations produce small shifts that grow smoothly and stay bounded as their magnitude increases, so the encoder is stable in this regime. Semantic edits move the embedding much more: an operator flip gives
d = 0.85, about ten times a 20% coefficient change, and a variable-type change givesd = 0.265. The encoder is stable to numeric perturbations and sensitive to semantic ones, so node-feature changes are captured rather than smoothed away.Constraint specifications are defined at the template level: each constraint
cin a task's constraint set is encoded as its own operator DAG capturing its structural form (operators, comparison types, variable roles), fixed across instances, while instance-specific information (variable scopes, coefficients, right-hand sides) enters through the problem-graph features and the feasibility mask, with the cached template bound to each instance's variables through the cross-attention. Because the template is instance-independent, the constraint embedding is encoded once and cached, so its cost is O(1) per instance. Constraints of the same type that differ only in variable scopes, coefficients, or right-hand sides are the same specification and the same operator DAG; those values are instance data carried on the problem graph, not separate specifications.The number of specifications per instance is small (
|C| ∈ [1,7], typically 3 to 4), so encoding does not scale with instance size. Instance numerics are not lost: on a knapsack capacity sweep (0.4× to 1.6× training capacity) the predicted objective tracks the optimum with Pearson correlation about 0.9 and mean gap 0.35%.The template-level specification is the constraint signal the backbone conditions on via cross-attention (Eq. 13), shaping the shared representation from the constraint set itself; its contribution is isolated by the "No constraint conditioning" ablation (Table 5).
Constraint conditioning improves both feasibility and solution quality, and the two effects are separable. On the grid tasks, where feasibility is not enforced by construction, the feasibility improvement is direct: CONSTRAINER attains the highest feasibility on every grid task in Table 1 (e.g., 99.02% on DCOPF against 97.10% for the shared-backbone multi-task baseline). On the combinatorial tasks the mask is applied to every method equally; with it removed on KP, CONSTRAINER stays feasible on 75.1% of instances against about 55% without conditioning, and with the mask on the effect appears in solution quality (Ykch W1/Q1). The two are separate, complementary components: conditioning improves the representation, raising both feasibility (where the mask does not already guarantee it) and solution quality.
The practical benefit is clearest where obtaining a certified optimum requires substantial search. We compare CONSTRAINER against the exact solver CP-SAT at matched wall-clock, with optimality gaps measured against the exact optimum; CONSTRAINER runs batched inference on one A100, CP-SAT on CPU.
At the model's 53 ms budget CP-SAT is at 3.23% against CONSTRAINER's 0.32%, and needs about 13× the model's time to match its quality. Given seconds the solver does prove optimality (6.1 s), the irreducible cost of certification; the model instead supplies in 53 ms an incumbent the solver reaches only after roughly 700 ms. On throughput it produces near-optimal covers at 18.7 instances/s on one GPU against 3.9 instances/s for CP-SAT on 24 cores, about 5× more on parallel CPU. The same pattern holds on JSSP (10×10): CP-SAT needs about 1.5× the model's time to match its quality and 3.6× to prove optimality.
Where certified optimization is expensive, the predicted solutions deliver near-optimal quality at a fraction of the solver's time. We will add this matched-budget comparison to the paper.
We will expand the experimental details as follows.
We thank the reviewer for these references and will position them in the related work (Sec. 2). These works predict or differentiate solutions for a single fixed MILP instance (Han et al. 2023; Huang et al. ICML 2024; Liu et al. 2025; Geng et al. ICLR 2025), encoding it as a bipartite variable-constraint graph with the constraints consumed numerically. We differ in what is shared: we encode the algebraic form of the constraint set as a promptable input, so a related or reformulated problem becomes a new input to the same model. The two directions are complementary and composable: our prediction can serve as the prediction stage in such a pipeline.
The two mechanisms are chosen by what determines feasibility, not by domain. Masking gives feasibility by construction only when the binding constraints can be maintained incrementally over a discrete action set. In the combinatorial problems feasibility is itself combinatorial (visiting each node once, respecting a capacity), so an autoregressive decoder that masks infeasible actions at each step is feasible by construction, following GOAL (Drakulic et al., 2025). In the grid problems, including the mixed-integer DCOTS and DCTNEP, feasibility is dominated by continuous power-flow and thermal constraints that a discrete mask cannot enforce, so it is handled by a constraint-violation penalty, optionally composed with a projection or repair step when hard feasibility is required (Table 15, ACOPF). The binaries of DCOTS and DCTNEP are predicted as edge selections, and masking them alone would leave the continuous constraints unsatisfied.
Within each family the same feasibility setup applies to CONSTRAINER and the baselines, so any performance difference is attributable to conditioning, not to feasibility enforcement. Conditioning acts on the shared representation, separate from the decoder; where feasibility is not enforced by construction it also shows as higher feasibility (grid, Table 1). We will make this explicit in Sec. 3.4.