Manuscript Offprint
arXiv:2610.26285Learning SOCP Solver Dynamics with Graph Neural Networks
Abstract
Second-order cone programs (SOCPs) are a fundamental class of convex optimization problems widely applied across engineering domains. Classical interior-point methods are robust and accurate, but their iterative nature can be costly in real-time or repeated-solve settings. This has motivated learning-based solvers that approximate optimizer solutions with neural networks. Recent work has increasingly studied graph neural networks (GNNs) for linear, quadratic, and second-order cone optimization, leveraging their ability to model sparse relational structure among variables, constraints, and objective functions. Most existing GNN-based solvers compress the optimization process into a single forward pass, predicting the optimizer directly without using the intermediate trajectory produced by classical solvers. We introduce SOCPNet, a recursive GNN framework that uses solver trajectories to learn an iterative SOCP solution procedure. A shared GNN model is applied repeatedly, refining the current iterate at each step and enabling inference for a variable number of iterations. Rather than predicting the solution in a single pass, SOCPNet learns from intermediate iterates to progressively refine its estimates using a trajectory-regularized training procedure. We evaluate SOCPNet on multiple datasets spanning standard SOCP problem classes and show that it consistently reduces the final solution error relative to a SOCP-GNN baseline. Finally, we demonstrate how trained SOCPNet models can be used in a hybrid optimization pipeline by warm-starting a classical interior-point solver, reducing solver iterations without loss of accuracy.
1 Introduction
Second-order cone programming (SOCP) is a fundamental class of convex optimization problems underlying a wide range of engineering applications, including wireless communications and signal processing [1, 2]. Traditional SOCP solvers rely on interior-point methods (IPMs) [3, 4], which are robust and accurate but iterative and computationally demanding, limiting their use in real-time [5] or repeated-solve settings. This has motivated learning-based optimization, where graph neural networks (GNNs) exploit the sparsity and variable-constraint structure of the problem [6–10], with applications to SOCP-specific tasks such as power control in telecommunication networks [5, 11] and to SOCP subclasses such as linear and quadratically constrained quadratic programs [12–14].
Most existing learning-based solvers adopt an end-to-end formulation in which a GNN predicts the optimal solution in a single forward pass. This compresses the solver dynamics into a fixed-depth computation and discards the intermediate iterates generated by classical solvers during training-data construction. In contrast, we train a GNN to recursively refine an SOCP iterate using information from the IPM trajectory (Fig. 1). Our empirical hypothesis is that recasting SOCP solving as recursive solution refinement yields more accurate predictions than direct endpoint regression, by decomposing the solution process into a sequence of learned local updates. Moreover, the learned trajectory is operationally useful: it produces increasingly refined, approximately feasible iterates that can be used to warm-start an exact solver.
A. Ghalem et al., Learning SOCP Solver Dynamics with Graph Neural Networks. Proceedings of the Fifth Learning on Graphs Conference (LoG 2026), PMLR 338, Boston, MA, USA, November 20 – 22, 2026.

Figure 1: A single shared SOCPNet is applied recursively.
Our objective is to train a GNN-based solver that, given an SOCP instance, returns an iterate that (i) approximates the optimal solution and (ii) satisfies the problem constraints to high accuracy.
Unlike standard algorithm unrolling, which typically maps a fixed number of optimization iterations to a fixed-depth network with distinct or layer-specific parameters [15], here we introduce SOCPNet which reuses a single shared update model for all iterations. This shared recursion allows the model to be evaluated for more steps at inference than were used during training. It also requires the learned update to remain stable under repeated application. In practice, a naively trained recursive model is not contractive: when unrolled beyond the training horizon, its iterates may stop improving and drift away from the solution (Section 3.2). We therefore introduce training and architectural components that explicitly promote stable long-horizon refinement.
Because the learned recursion is computationally efficient but approximate, we further use SOCPNet as a warm-start mechanism for IPOPT [4], a widely used interior-point solver for constrained nonlinear programming. After a small number of learned refinement steps, the SOCPNet iterate is passed to IPOPT as the initial point, placing the solver closer to the optimum and reducing the number of iterations required for high-accuracy convergence (Section 4.5).
Contributions. (i) We formulate SOCP solving as recursive trajectory learning and introduce SOCPNet, a single shared GNN update applied for a variable number of steps to approximate an IPM trajectory rather than only its endpoint. (ii) We develop a stability-oriented training procedure for long-horizon recursive inference, combining residual updates, step-size control, trajectory and endpoint supervision, KKT-informed features, and feasibility/objective losses. (iii) We evaluate SOCPNet on diverse SOCP datasets, and provide an ablation study to show that a naively trained recursion drifts without the proposed procedure. (iv) We demonstrate that SOCPNet can warm-start IPOPT, reducing interior-point iterations by 33% – 45% without degrading final solution accuracy. Code is available at https://github.com/nokia/SOCPNet.
over decision variables [2]. The vector defines the linear objective. Each conic constraint is specified by , , , and , and constrains the norm of an affine function of by an affine upper bound. The remaining constraints consist of linear inequalities, with , and element-wise lower and upper bounds , .
Interior-point methods (IPMs) solve (1)–(3) by approximately satisfying the Karush-Kuhn-Tucker (KKT) conditions: stationarity of the Lagrangian, primal feasibility, dual feasibility, and complementary slackness between constraints and their associated multipliers [3]. They do so iteratively, relaxing the complementarity conditions by a barrier parameter that is decreased to zero, and produce a sequence of iterates that progressively reduce primal-dual residuals and converges to the optimum, . We take this sequence as our supervision signal. Details about the specific solver and termination tolerances used to generate these trajectories are reported in Appendix C.
Related work. A growing line of work studies the representational power of GNNs for optimization problems of increasing generality, including linear programs [12], convex quadratically constrained quadratic programs [14], broader classes of quadratic programs [13] and second-order cone programs [15]. SOCPs are a natural target for learned optimization because they include linear programs and many widely used convex quadratic and quadratically constrained formulations through standard conic reformulations.
GNNs have also been used to learn solution mappings for optimization problems [6, 7]. Closest to our setting is the heterogeneous SOCP-GNN of Li et al. [15], which predicts the optimal solution in a single forward pass. We retain this graph representation and its message passing operators, but replace one-shot prediction with a recursive trajectory-learning formulation that applies the same learned update repeatedly to model the IPM solution path (Section 3.1). Our formulation is related to algorithm unrolling, which maps a fixed number of iterations of an optimization algorithm to a fixed-depth neural architecture, for example in sparse coding [16], ADMM [17], and primal-dual methods [18]. In contrast to conventional unrolling, which often uses a predetermined number of layers and may employ layer-specific parameters, SOCPNet uses a single shared update block that can be iterated for a variable number of steps at inference [19]. This places our method closer to recurrent architectures and neural algorithmic reasoning, where a shared computation is repeatedly applied to emulate an algorithmic process [8]. We specialize this principle to IPM trajectories for SOCP and study the training conditions required for stable long-horizon refinement. Two recent learned iterative solvers are related. PDHG-Net [20] unrolls PDHG into a fixed-depth network with layer-specific parameters followed by a classical refinement step, and targets linear programs. In contrast, our setting is SOCP, our update is weight-shared across refinement steps, and the inference horizon is decoupled from the training horizon. IPM-LSTM [21] is more closely related: it learns the inner operations of an IPM iteration for nonlinear-programming and warm-starts IPOPT with the result. By contrast, we learn a recursive update directly on the SOCP graph and introduce a stabilization procedure that enables practical long-horizon rollouts. In our experiments, SOCPNet outperforms an SOCP-adapted IPM-LSTM under identical conditions (Appendix F). Finally, classical IPMs [3, 4] benefit from warm-starting [22], and differentiable conic solvers such as CALIPSO [23] still require a full solve per instance. We instead use the learned recursion to generate the warm start.
Our approach. We emulate the IPM behavior of approaching the optimum through a sequence of progressively refined iterates. To this end, we learn a single update rule and apply it recursively, so that the network traces its own trajectory toward the solution. Sharing the same rule across all steps allows the recursion to be evaluated for a variable number of iterations at inference. Section 3 describes the learned update rule.
3 SOCPNet: A Recursive GNN for SOCP Solver Trajectories
SOCPNet learns a single per-iteration update
with the problem instance parameters as defined in Eqs. (1)-(3). The parameters are shared across steps , so the same map is applied recursively for steps at inference. This section specifies the two ingredients of the method, the network that realizes one solver step (Section 3.1) and the training procedure that keeps its recursion accurate far beyond the supervision horizon (Section 3.2).
3.1 Architecture: recursive message passing over the SOCP graph
Graph and node/edge features. Given problem parameters , we build a graph with four node types that mirror the structure of the SOCP. Variable nodes have initial features , consisting of the objective coefficient, lower and upper bounds, and current iterate value. Norm-component nodes , one for each row of , have feature . Conic-constraint nodes have feature , and linear-constraint nodes have feature . Directed edges carry the corresponding problem coefficient as their edge feature: variable-norm edges are weighted by , variable-conic edges by , variable-linear edges by , and each norm node is connected to its conic-constraint node, in both directions, with unit weight. The graph is a direct encoding of the constraint matrices, decomposing the nonlinear cone constraint (2) into linear interactions between typed nodes (Fig. 2).
This graph is the representation of Li et al. [15]. We adopt it together with their message passing layers. In contrast to their end-to-end approach, which runs a single fixed-depth pass, we apply it recursively, feeding each prediction back as input.
Message passing. Let denote the embedding of node after message passing round within recursive step . The initial embedding is obtained by applying a learned linear map to the corresponding node features. Each round aggregates type-specific messages using an edge-type-specific weight matrix . Mes-

Figure 2: Encoding of SOCP instance with parameters into its graph.
sages are summed over neighbors and weighted by the scalar edge feature. The resulting incoming message is concatenated with the previous node embedding and passed through a linear-plus-ReLU update . Each recursive step performs three message passing rounds, (Fig. 3).
Round 1 (variables norm/ conic/ linear) sends the current variable information to all constraint-related nodes. For a norm node, and analogously for conic and linear nodes,
Round 2 (norm conic) exchanges information between each cone and its norm components:
Round 3 (norm/ conic/ linear variables) gathers the constraint information back onto each variable node:
where , , are the edge-weighted sums of , , and over the conic, norm, and linear neighbors of , respectively. These three rounds constitute one learned solver step. Because they define and their parameters are shared across recursive steps, repeated application of this block realizes the recursion in Eq. (4).
Readout to a trajectory prediction. A two-layer MLP maps the final variable embedding , together with four graph-level context vectors, to the next iterate:
where denotes the sum of embeddings over all nodes of type . Thus, each variable readout depends both on its local embedding and on a global summary of the instance. A shared readout maps the final embeddings to , fed back as input; the same weights run all steps (purple feedback in Fig. 3).
Equation (8) defines the base architecture. Two design choices remain: how to parametrize the update and what information each variable node should receive. We therefore treat the corresponding modifications as variants of the same network. These variants leave the message passing scheme in Eqs. (5)–(7) unchanged and modify only the readout or the input features. They are motivated in Section 3.2 and evaluated in the ablation study of Section 4.3.
In the step-size control variant, the readout emits a per-graph log-magnitude and a per-node unit direction for the update . In the KKT-informed variant, the variable feature is augmented with local cone, linear, and box slacks computed at the current iterate before Round 1. Thus, each variable node also receives information about how close its associated constraints are.

Figure 3: SOCPNet's steps: three-round heterogeneous message passing (Eqs. (5)–(7)).
to becoming active or violated. In all cases, applying the readout at every recursive step yields the predicted trajectory .
For the next iteration, variable-node features are updated by concatenating the prediction with the final embedding through a learnable linear-plus-ReLU layer, which becomes the initial embedding for iteration , realizing the shared-weight recursion of (4).
3.2 Making the recursion work: architecture and loss ingredients
We construct SOCPNet incrementally. We start from the simplest version of the recursion in Eq. (4), namely a recursive GNN trained by direct trajectory matching, and then add architectural and loss components one at a time to improve accuracy and reduce long-horizon drift. This section introduces each component in order. The ablation in Section 4.3 adds these components sequentially (Table 2, steps S1 to S9), so each step in the table corresponds to a paragraph below.
Data and unrolling. A training sample consists of an SOCP instance and the IPOPT trajectory it generates, , whose final iterate is treated as the reference solution . Its prediction feeds the next step. It is supervised at every step , i.e., each readout is scored against the corresponding solver iterate (trajectory supervision) or against the optimum (target supervision). Weight sharing lets the same map unroll for steps at inference. Because solver trajectories have different lengths, we pad each trajectory to a common horizon by repeating . By default, these padded steps are masked out of the losses below; denotes the resulting average over supervised, unmasked steps. For each sample, the recursion is initialized at the solver's starting point, , unrolled for steps on the graph of , and trained by backpropagation through the full unroll. Thus, the shared parameters receive gradient contributions from every supervised step. All losses are also averaged over the instances in each mini-batch.
Trajectory matching (S3). The most direct training objective is to ask the prediction at step t to reproduce the corresponding solver iterate (Fig. 1):
This objective aligns the learned recursion with the solver trajectory step by step.
Residual updates (S4): predicting a correction, not a position. In the base readout of Eq. (8), the network predicts the next iterate directly, . Early in training, this can cause each step to overwrite the current iterate with an arbitrary output. We therefore parametrize the readout as a correction added to the current iterate:
This residual form stabilizes the recursion: when , the iterate remains close to its current value rather than moving arbitrarily. All recursive variants from this point onward use Eq. (10).
Soft-DTW (S5): matching the path, not the pace. A learned update need not move in increments of the same size as an interior-point method. We therefore replace the MSE main loss with soft-DTW [24], which compares the predicted and reference trajectories up to a differentiable monotone realignment over the admissible set :
with . Soft-DTW encourages the learned recursion to follow the solver path while allowing it to progress along that path at a different rate.
Why trajectory matching drifts. In our experiments, both Eq. (9) and Eq. (11) produce recursions that reach SRE within a few steps but then drift when unrolled beyond the training horizon: the iterates stop improving and move away from the solution, causing the error to grow with additional steps (Fig. 4). Because these losses are based on squared errors, their gradients become very small once the residual reaches approximately , creating a precision floor in the regime where further accuracy is needed. Moreover, neither loss explicitly penalizes distance to the terminal solution , so the learned update is not discouraged from moving away from the optimum; under repeated application, such deviations can accumulate.
Target supervision on a log scale (S6). We replace the trajectory-matching loss with one that scores every prediction against the optimum instead of the solver's iterate ,
The normalization makes instances of very different magnitude comparable, and the logarithm weights a relative gain equally at every scale, so an improvement from to counts as much as one from to . The trajectory still shapes training through , the horizon, and the padded tail, but the network is now free to reach along its own path.
With a stable recursion (S4) and a scale-free target loss (S6) in place, we add the remaining ingredients together (S7): three penalties on the shape of the sequence, a step-size parametrization of the update, KKT-informed input features, and objective and constraint supervision.
Shaping the sequence: contraction, anchor, fixed point. The target loss constrains the value of each iterate but not the shape of the trajectory between iterates. We add three penalties for that. Since contraction is a property of consecutive steps rather than single iterates, a Picard penalty enforces step-wise distance reduction to the optimum by a factor [25]. An anchor fixes the last supervised iterate, while a fixed-point term guarantees that remains unchanged once reached.
with the relative error at step , , and the last supervised step. The fixed-point term is the only place is fed to the network as an input.
Step-size control. The residual of (10) is a single vector responsible for two decisions at once: the direction of the move and its length. We let the readout emit two quantities instead, a per-node unit direction with and a single per-graph log-magnitude , and recombine them into the correction,
where is the raw per-node output. Since a solver takes large steps early and very small ones near the optimum, spanning several orders of magnitude, we parametrize the length in the log domain and supervise it against the solver's own step length,
This leaves one interpretable scalar per graph, on which the network can learn to slow down as it approaches the solution instead of overshooting it.
Table 1: Unstructured datasets test results.
| Dataset | Model | SRE | absObj | relObj | Viol |
|---|---|---|---|---|---|
| Small | Direct MLP | ||||
| SOCP-GNN | |||||
| SOCP-GNN | |||||
| SOCPNet | |||||
| SOCPNet | |||||
| IPOPT (reference) | |||||
| Medium | Direct MLP | ||||
| SOCP-GNN | |||||
| SOCP-GNN | |||||
| SOCPNet | |||||
| SOCPNet | |||||
| IPOPT (reference) |
KKT-informed features: tracking feasibility. At an optimum, the objective gradient is balanced by the active constraints and every constraint is either slack or exactly tight; these are the Karush-Kuhn-Tucker conditions [3]. The per-constraint slacks are the residuals an interior-point method monitors on its way there, so we give each variable node the slacks of the current iterate as extra input features,
Each is positive exactly when its constraint holds, and its magnitude says how much room is left, so the next update can depend on how close to, and on which side of, feasibility the iterate lies. The raw coordinates carry the same information only implicitly.
Objective and constraint supervision. A solution is judged not only by its distance to but also by its objective value and its feasibility, so we supervise both along the trajectory: is the squared gap to , normalized by , and is the squared cone, linear, and box violations. This completes S7: the network is now trained on a weighted sum of , , , , , , and (Eq. (22) in Appendix C).
Tail supervision (S8). By default the padded steps beyond the solver's own length are masked out, so the network is supervised only where the solver produced an iterate. Full tail supervision scores those padded steps as well, against , so the losses reward staying at the optimum for the entire unrolled horizon rather than only up to . This directly targets the long-horizon behavior the recursion is actually run for at inference, penalizing any late drift away from .
Capacity (S9). Finally, we widen the node embedding from to . Capacity is added last, once the recursion is already stable, so the extra parameters refine an update that already converges rather than fitting a drifting one. In the experiments, we use the SOCPNet model with .
Inference-time projection. At inference, we add a short projection, not used during training: a few projected-gradient steps on the total constraint violation push toward feasibility while leaving SRE and the objective essentially unchanged. Training details are given in Appendix C.
4 Experiments
Our analysis is organized around four questions. First, does supervision matter? In other words, is a recursive model trained on the solver's whole trajectory more accurate than a network regressing only its endpoint? Second, can our model remain stable beyond its supervision horizon? Third, does our method generalize across SOCP families and to larger problems, with one fixed set of hyperparameters? Fourth, is the learned solution useful as a warm start for an exact solver? We first describe the datasets, protocol and metrics, then answer each question.
4.1 Experimental setup: datasets, protocol, and metrics
Datasets. We consider four families of datasets, each with two different graph sizes, Small (n=50, m=10 conic, b=10 linear constraints) and Medium (n=100, m=50, b=50). The first family, named Unstructured, is composed of SOCP instances randomly generated with the procedure described in Li et al. [15]. In addition to this benchmark, we also build three structured families, whose full SOCP formulations are given in Appendix B. Robust ellipsoid minimizes a linear objective whose coefficients are only known to lie in an ellipsoidal uncertainty set, so the constraint becomes a norm ball and the problem a second-order cone program; this is the canonical construction of robust linear optimization [2, 26]. Block angular programs consist of otherwise independent blocks tied together by a small number of linking constraints, the structure exploited by decomposition methods and typical of large-scale resource-allocation and stochastic programs [27, 28]. Portfolio risk bounds a quadratic risk term, written as a second-order cone constraint, while maximizing expected return, the standard conic form of mean-variance portfolio selection [2, 29]. Each dataset contains 5,000 instances with a 80/10/10 split for training/validation/testing.
Protocol and metrics. All instances are solved with IPOPT to obtain ground-truth trajectories (tolerance ). Our model is trained over unrolling steps on the Small datasets and steps on the Medium datasets. For testing, we compare three learned models against IPOPT. Direct MLP flattens the problem data and infers the optimum in one forward pass. SOCP-GNN is the end-to-end model proposed by Li et al. [15], which processes the graph of Fig. 2 and predicts in a single shot. SOCPNet is our recursive model. They are both reported at two capacities and . The number of unrolling iterations for testing is greater than , i.e., respectively and for Small and Medium. This way we can evaluate the model's accuracy beyond its training horizon. For each of the above models, we report the solution relative error SRE (Eq. (12)), the absolute/relative objective error at median (absObj/relObj), and the mean constraint violation before post-hoc feasibility restoration (Viol) at each iterate. In Table 1, the best learning solution per column, per dataset block is in bold.
4.2 Does recursion help?
Recursion outperforms direct prediction. Table 1 compares the two single-shot baselines with SOCPNet. On Small, SOCPNet reaches SRE = , several orders of magnitude below SOCP-GNN () and the Direct MLP (), and the same ordering holds on Medium. This advantage depends on the training procedure of Section 3.2, as the ablation shows.
In Appendix E, we further compare SOCPNet against a compute-matched SOCP-GNN that repeats the single-shot message passing block 25 times, matching SOCPNet's inference complexity but without iterate feedback. On Small, this deeper one-shot model performs similarly to the shallow SOCP-GNN with SRE of about , whereas SOCPNet achieves SRE . This indicates that the gain is due to recursive refinement rather than additional message passing alone.
4.3 Ablation study: which ingredients make the recursion work?
In Table 2, S1-S2 are single-shot baselines; S3-S8 are ablated variants of SOCPNet, each adding or replacing one component on top of the row above; S9 is the full model. Steps are cumulative.
Design. We run a controlled ablation on the Unstructured Small and Medium datasets, adding one ingredient per step and holding everything else fixed (e.g., same splits, same optimizer). Each step defines one training setting labeled in order of their introduction. S3 is the base version of SOCPNet and S9 is the complete procedure. The ingredients are listed in Table 2, and we refer to the settings by these labels throughout. The ablation results in terms of median SRE,
Table 2: Ablation study and baselines.
| Step | Description | |
|---|---|---|
| Base | S1 | MLP (flatten → MLP, single-shot, MSE) |
| S2 | SOCP-GNN (single-shot, MSE) | |
| Ablated SOCPNet | S3 | Recursive GNN, MSE (base SOCPNet) |
| S4 | + residual updates | |
| S5 | Soft-DTW loss (replaces MSE) | |
| S6 | Log-SRE loss (replaces Soft-DTW) | |
| S7 | + fixed-point/Picard/anchor, step-size control, objective/constraint losses, KKT features | |
| S8 | + full tail supervision | |
| Full | S9 | SOCPNet (width ) |

S1: MLP (direct)
S3: recursive + MSE
S2: SOCP-GNN (direct)
S4: + residual
S5: + soft-DTW
S6: + log-SRE
S7: + full recipe
S8: + tail supervision
S9: + capacity d=256 (SOCPNet)
IPOPT
Figure 4: Unstructured Small benchmark, nine-step ablation (Table 2). Median SRE, median objective gap, and mean constraint violation vs. unroll step ( better; log axes).
median objective gap, and mean constraint violation are shown in Fig. 4 for Small. The Medium curves show the same trends and are deferred to Appendix D, Fig. 7.
Main findings. We summarize here the three main findings. (i) Recursion alone is not enough. A plain recursive GNN trained by trajectory MSE (S3) is no better than the single-shot GNN (S2), and its error starts growing once it is unrolled past its training horizon. (ii) The training procedure makes recursion effective. Adding residual connections (S4), replacing MSE with Soft-DTW trajectory matching (S5), then supervising against the optimum rather than the solver's iterates (S6), and adding the penalties (S7) lowers the error by orders of magnitude and flattens the curves: the upward drift disappears, and the recursion keeps improving well beyond the horizon it was trained on. (iii) Capacity pays off last. Supervising the padded tail (S8) and widening the embedding (S9) give the final gains, but only once the recursion is stable. S9 achieves a median SRE of about in Unstructured Small and in Unstructured Medium. S9 is the complete model we call SOCPNet.
Additional findings. Constraint violation is driven down to near machine precision ( ) by the post-hoc feasibility pass for every variant, so the accuracy gains do not impact feasibility.
Trajectory dependence. IPOPT trajectories are used in the S9 model only to supervise the step-size control of Eq. (14). To isolate this remaining trajectory dependence, we add an ablation study to Appendix G that keeps the full SOCPNet design unchanged but removes the solver-supervised step-size target. On Small, the median SRE remains comparable to the full model ( versus ), while the mean SRE increases from to . Thus, trajectory supervision through the step-size target mainly improves stability by reducing high-error rollouts.
4.4 Experiments on other SOCP families
The results so far establish SOCPNet on the Unstructured benchmark. Under identical data and protocol, we train both SOCPNet and SOCP-GNN on the three families of Section 4.1.
In Fig. 5 we can observe that SOCPNet converges without drift on every family and reaches a median SRE lower than SOCP-GNN, so the gain is not specific to the Unstructured benchmark the procedure was developed on. The same ordering holds with the Medium datasets on robust ellipsoid and block angular, where SOCPNet again reaches lower error than the SOCP-GNN; on portfolio risk the two are comparable and SOCPNet does not improve on the baseline at Medium scale. Full per-family curves are deferred to Appendix H.
4.5 Hybrid solver: Warm-starting a classical solver with SOCPNet
As a data-driven method, SOCPNet is not guaranteed to find the optimal solution , which is desired in many applications. Here, we propose a hybrid approach that uses SOCPNet to obtain a fast approximation of , then hands off to a classical solver for exactness. We run the trained recursion for steps and use as the initial point for IPOPT, leaving all solver internals unchanged. We sweep , where denotes the cold-start baseline. As seen in Fig. 6, a few SOCPNet steps cut the median iteration count from 11 to 6 in Small and from 15 to 10 in Medium, plateauing at . Final accuracy is unaffected, see Appendix K, Figure 16.

SOCPNet
SOCP-GNN
IPOPT
Figure 5: Small Structured families: SOCPNet vs. SOCP-GNN vs. IPOPT. Per-step median SRE ( better; log axis). Bands are 95% percentile intervals.

Figure 6: Hybrid solver: IPOPT iterations to convergence ( better). Cold start, one-shot SOCP-GNN warm start, and SOCPNet warm start (d=256) at handoff step k, on the Unstructured Small (left) and Medium (right) datasets (50 test problems each).
To highlight the benefit of recursion, we also warm-start IPOPT with the SOCP-GNN baseline, shown as the second box in Fig. 6. Cold-start IPOPT requires a median of 11/15 iterations on Small/Medium, the one-shot SOCP-GNN warm start reduces this to 9/13, and the SOCPNet warm start further reduces it to 6/10. Thus, the one-shot predictor provides a modest reduction of 18%/13%, whereas the recursive SOCPNet warm start nearly halves the IPOPT iteration count.
On Small the saved iterations translate directly into end-to-end time, cutting the median runtime from 17.0 s to 8.0 s at (a speed-up, largest over ). On Medium the same reduction gives no speed-up, because a fixed per-call IPOPT overhead dominates. The full breakdown is in Appendix K, Table 6. We therefore report iteration count as the primary hybrid metric.
5 Discussion and Conclusion
Interior-point methods already expose a rich sequence of intermediate states, and our results show that these states can be used to learn a more accurate SOCP solver than direct endpoint regression. However, recursion alone is not sufficient: a shared GNN trained with standard trajectory matching drifts beyond the training horizon. Stable refinement only emerges once the update is explicitly controlled, with step-size control playing a decisive role, together with residual updates, log-SRE target supervision, KKT-informed features, objective and constraint losses, and tail supervision. The learned iterates are also useful for warm-starting a classical solver. When used to initialize a classical solver, namely IPOPT, they reduce its iteration count by 45% on Small and 33% on Medium, with no loss in final accuracy. These gains are not uniform across all settings: on Medium portfolio-risk instances, SOCPNet does not improve over the baseline. A key direction for future work is therefore to identify the problem characteristics that enable stable trajectory learning across different SOCP families and scales.
Acknowledgments
We would like to thank Rémy Flamary, Professor at École Polytechnique, and the anonymous reviewers for their valuable discussions and insights.
References
[1] Stephen Boyd and Lieven Vandenberghe. Convex Optimization. Cambridge University Press, 2004. 1
[2] Miguel Sousa Lobo, Lieven Vandenberghe, Stephen Boyd, and Hervé Lebret. Applications of second-order cone programming. Linear Algebra and its Applications, 284(1-3):193–228, 1998. 1, 2, 8
[3] Jorge Nocedal and Stephen J. Wright. Numerical Optimization. Springer, 2nd edition, 2006. 1, 2, 3, 7
[4] Andreas Wächter and Lorenz T. Biegler. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Mathematical Programming, 106(1):25–57, 2006. 1, 2, 3
[5] Lou Salaün, Hong Yang, Shashwat Mishra, and Chung Shue Chen. A GNN approach for cell-free massive MIMO. In IEEE Global Communications Conference (Globecom), pages 3053–3058, 2022. 1
[6] Yoshua Bengio, Andrea Lodi, and Antoine Prouvost. Machine learning for combinatorial optimization: A methodological tour d'horizon. European Journal of Operational Research, 290(2):405–421, 2021. 1, 3
[7] Maxime Gasse, Didier Chételat, Nicola Ferroni, Laurent Charlin, and Andrea Lodi. Exact combinatorial optimization with graph convolutional neural networks. In Advances in Neural Information Processing Systems (NeurIPS), volume 32, 2019. 3
[8] Borja Ibarz, Vitaly Kurin, George Papamakarios, Kyriacos Nikiforou, Mehdi Bennani, Róbert Csordás, Andrew Joseph Dudzik, Matko Bošnjak, Alex Vitvitskyi, Yulia Rubanova, et al. A generalist neural algorithmic learner. In Learning on Graphs Conference, pages 2–1. PMLR, 2022. 3
[9] Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations (ICLR), 2017.
[10] Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In International Conference on Learning Representations (ICLR), 2018. 1
[11] Benjamin Parlier, Lou Salaün, and Hong Yang. Learning optimal linear precoding for cell-free massive MIMO with GNN. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases (ECML-PKDD), pages 72–88. Springer, 2024. 1
[12] Chendi Qian, Didier Chételat, and Christopher Morris. Exploring the power of graph neural networks in solving linear optimization problems. In International Conference on Artificial Intelligence and Statistics, pages 1432–1440. PMLR, 2024. 1, 3
[13] Chendi Qian and Christopher Morris. Towards graph neural networks for provably solving convex optimization problems. arXiv preprint arXiv:2502.02446, 2025. 3
[14] Chenyang Wu, Qian Chen, Akang Wang, Tian Ding, Ruoyu Sun, Wenguo Yang, and Qingjiang Shi. On representing convex quadratically constrained quadratic programs via graph neural networks. arXiv preprint arXiv:2411.13805, 2024. 1, 3
[15] Ruizhe Li, Enming Liang, and Minghua Chen. On the universality and complexity of GNN for solving second-order cone programs. In International Conference on Learning Representations (ICLR), 2026. 2, 3, 4, 8, 12
[16] Karol Gregor and Yann LeCun. Learning fast approximations of sparse coding. In Proceedings of the 27th International Conference on Machine Learning (ICML), pages 399–406, 2010. 3
[17] Yan Yang, Jian Sun, Huibin Li, and Zongben Xu. Deep ADMM-Net for compressive sensing MRI. In Advances in Neural Information Processing Systems (NeurIPS), volume 29, 2016. 3
[18] Yuntian Chen and Thomas Pock. Trainable nonlinear reaction diffusion: A flexible framework for fast and effective image restoration. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(6):1256–1272, 2018. 3
[19] Vishal Monga, Yuelong Li, and Yonina C Eldar. Algorithm unrolling: Interpretable, efficient deep learning for signal and image processing. IEEE Signal Processing Magazine, 38(2):18–44, 2021. 3
[20] Bingheng Li, Linxin Yang, Yupeng Chen, Senmiao Wang, Qian Chen, Haitao Mao, Yao Ma, Akang Wang, Tian Ding, Jiliang Tang, and Ruoyu Sun. PDHG-unrolled learning-to-optimize method for large-scale linear programming. In International Conference on Machine Learning (ICML), 2024. 3
[21] Xi Gao, Jinxin Xiong, Akang Wang, Qihong Duan, Jiang Xue, and Qingjiang Shi. IPM-LSTM: A learning-based interior point method for solving nonlinear programs. In Advances in Neural Information Processing Systems (NeurIPS), 2024. 3, 14, 15
[22] Nicholas I. M. Gould and Philippe L. Toint. Warm start strategies in interior-point methods for linear programming. SIAM Journal on Optimization, 11(4):1131–1156, 2000. 3
[23] Taylor A. Howell, Simon Le Cleac'h, Kevin Tracy, and Zachary Manchester. CALIPSO: A differentiable solver for trajectory optimization with conic and complementarity constraints. arXiv preprint arXiv:2205.09255, 2022. 3
[24] Marco Cuturi and Mathieu Blondel. Soft-DTW: A differentiable loss function for time-series. Proceedings of the 34th International Conference on Machine Learning (ICML), 2017. 6
[25] Stefan Banach. Sur les opérations dans les ensembles abstraits et leur application aux équations intégrales. Fundamenta Mathematicae, 3(1):133–181, 1922. 6
[26] Aharon Ben-Tal and Arkadi Nemirovski. Robust solutions of uncertain linear programs. Operations Research Letters, 25(1):1–13, 1999. 8
[27] George B. Dantzig and Philip Wolfe. Decomposition principle for linear programs. Operations Research, 8(1):101–111, 1960. 8
[28] John R. Birge and François Louveaux. Introduction to Stochastic Programming. Springer, 2nd edition, 2011. 8
[29] Harry Markowitz. Portfolio selection. The Journal of Finance, 7(1):77–91, 1952. 8
Appendix
This appendix is organized as follows. Appendix A states how generative AI tools were used in this work. Appendix B gives the formulations and the instance generation of the SOCP problem families, and Appendix C details the training setup, hyperparameters, loss definitions, and inference-time projection. Appendix D reports the nine-step ablation on the Unstructured Medium benchmark. Appendix E compares SOCPNet with a compute-matched single-shot SOCP-GNN, and Appendix F compares it with an SOCP adaptation of IPM-LSTM. Appendix G isolates the effect of the solver-derived step-size signal. Appendix H repeats the comparison on the structured families at Medium scale, Appendix I evaluates zero-shot transfer across problem scales, and Appendix J evaluates leave-one-out generalization across problem families. Appendix K reports the final solution accuracy and the wall-clock timing of the hybrid warm-start solver. Finally, Appendix L describes the resources provided to reproduce our experiments.
A Generative AI Usage Statement
In this work, we used generative AI tools (large language models) for language editing and for assistance with writing and refining the manuscript's prose, for basic coding assistance in producing figures and analysis scripts, and for drafting portions of the text that were subsequently revised by the authors. All core research content, including the method, the training procedure, the experimental design, and the analysis of results, was conceived and carried out by the authors. We reviewed all AI-assisted work: AI-assisted text was checked and edited by the authors, AI-assisted code was verified and tested for correctness, and every reference was checked against its primary source to confirm it exists and is cited accurately. We take responsibility for the final content of this work, including all text, claims, and artifacts produced with the aid of generative AI.
B SOCP Problem Families
Every dataset is an instance of the standard SOCP of Eqs. (1)–(3),
The families differ only in how the data (f, , F, g, l, r) are generated. Problem sizes take the Small and Medium values of Section 4, and the Unstructured benchmark follows the random-SOCP generator described in Li et al. [15].
Feasibility by construction. Sampling constraint data at random usually yields an infeasible or unbounded program, so we build each structured instance around a point that is feasible by construction. We first draw a reference point and sample the box so that it brackets . The constraint data and are then sampled as sparse Gaussians, and only the right-hand sides are chosen, so that every constraint holds at with a margin:
(18) with slacks and small margins . By construction, is feasible, so the instance is solvable; it is not in general optimal, and plays no role beyond generation. Instances that IPOPT fails to solve to tolerance are discarded.
Robust ellipsoid. A linear program whose constraint coefficients are uncertain, known only to lie in an ellipsoid, admits a robust counterpart with one cone constraint per uncertain row: asking the row to hold for every realization in the ellipsoid is equivalent to
The left side is the worst-case deviation over the uncertainty set, and the right side the nominal margin left by x; in the notation of (17) this is simply . We sample and, per cone, a sparse Gaussian matrix , a sparse vector , and a sparse Gaussian vector .
Block angular. Here the variables form groups that would be independent were it not for a few constraints that couple them. We partition the coordinates into disjoint blocks , with drawn uniformly from , and let each cone act on a single block,
where denotes the block assigned to cone , so is nonzero only on that block's coordinates. The linear rows are the only constraints spanning several blocks. Dropping them would leave independent subproblems; keeping them yields the classical block-angular structure of large-scale resource-allocation and stochastic programs, where many nearly separable subproblems are tied together by a small number of linking rows.
Portfolio risk. A portfolio x maximizes expected return subject to a bound on its risk. Risk is the standard deviation under an asset covariance , and factoring turns that bound into a cone constraint, since . We impose one such bound per asset subset , together with a budget row,
which is (17) with on the columns and . To sample an instance we form from a Gaussian , the diagonal addition keeping positive definite, and take as the Cholesky factor of the principal submatrix , with a small . The objective uses , so minimizing maximizes expected return. This is the conic form of mean-variance portfolio selection.
C Training Setup and Hyperparameters
All models use AdamW with gradient clipping at 1.0 and a fixed random seed (42). Baseline steps use a constant learning rate . The full procedure (S7 onward) uses a cosine schedule with 5 warmup epochs. Batch size is 16 throughout the ablation. The full model uses batch size 16 (Small). Training horizons are for Small (padded) and for Medium. Training budgets range from 80 epochs to 200 epochs depending on the model and problem size. Embedding dimension is through the procedure build-up (S3-S8) and for the full model (S9). Models are implemented in PyTorch and PyTorch Geometric and trained on NVIDIA RTX A4000 GPUs. IPOPT ground truth is obtained via CyIpopt with tolerance and a 10-minute per-instance timeout. Direct baselines, S1 and S2, are trained end-to-end against with MSE.
Epoch budgets and checkpoint selection. The epoch budget depends on the model. The single-shot baselines (Direct MLP and SOCP-GNN) output one prediction and converge quickly, so they run for 80 (Small) and 100 (Medium) epochs. The recursive SOCPNet has to predict an entire trajectory and trains for up to 200 epochs. For every training run, we monitor the validation loss at each epoch. We keep the best-validation checkpoint for evaluation. Under this policy, the validation loss of all runs has plateaued before their budget is exhausted. Thus, all models have converged. Batch size, optimizer, gradient clipping, and seed are held fixed across every run.
Loss definitions. The complete training objective is

S1: MLP (direct)
S3: recursive + MSE
S2: SOCP-GNN (direct)
S4: + residual
S5: + soft-DTW
S6: + log-SRE
S7: + full recipe
S8: + tail supervision
S9: + capacity d=256 (SOCPNet)
IPOPT
Figure 7: Unstructured Medium benchmark, nine-step ablation. Same conventions and labels as Fig. 4.
with weights chosen through grid search on the Unstructured benchmark’s validation split, then fixed once and reused unchanged across every dataset and problem family we report.
All losses are averaged over the batch and, where indicated, over the unrolled steps. is the prediction and the IPOPT ground-truth iterate (padded with beyond IPOPT's own length, for tail supervision).
Inference-time projection. At inference only (not during training), we take 10 to 40 projected-gradient steps on the total constraint violation, updating with and per-coordinate clipping between 0.03 and 0.05. On the Small benchmark (Section 4.1), this lowers the mean constraint violation from to about while leaving SRE and the objective essentially unchanged.
D Medium-scale Ablation Curves
Figure 7 repeats the nine-step ablation of Section 4.3 on the Unstructured Medium benchmark. The ordering of the steps and the qualitative behavior are the same as at Small scale: the trajectory-matching variants drift past the training horizon, the stabilized variants do not, and the error floor is reached only after S7.
E Compute-matched Comparison
SOCPNet applies its message passing block once per recursive step, so an unrolled SOCPNet performs many times the message passing of a single-shot SOCP-GNN. To check that its advantage is not simply a consequence of that larger budget, we train a single-shot SOCP-GNN (d=256) whose message passing block is repeated 25 times inside one forward pass. This matches the number of block applications SOCPNet performs over the horizon reported in Fig. 8, with no feedback of the predicted iterate. The two models then differ only in the recursion; everything else follows the protocol of Section 4.1.
On Unstructured Small, in Fig. 8, the compute-matched model reaches a median SRE of , indistinguishable from the shallow single-shot SOCP-GNN ( ) and three orders of magnitude above SOCPNet ( ) at the same budget. On Unstructured Medium, the compute-matched model reaches a median SRE of , worse than the shallow single-shot SOCP-GNN at this scale ( , Table 1) and about above SOCPNet ( ). Thus confirming the results again on the larger dataset.
F Comparison with IPM-LSTM
IPM-LSTM [21] is a shared-weight recurrent network trained to accelerate IPM. We compare against it under a matched and fair protocol. We built an SOCP adaptation of IPM-LSTM, which was originally validated only on QPs/QCQPs, and compared it with SOCPNet under identical conditions.
Each cone constraint

Figure 8: Compute-matched comparison on Unstructured Small (d=256). Median SRE ( better; log axis) against the number of message passing block applications. SOCP-GNN is plotted as a constant line because it is single-shot, but it uses the same budget of 25 message passing rounds as SOCPNet at the rightmost point. Repeating its block 25 times does not improve accuracy, whereas SOCPNet descends over that budget.
Table 3: Median SRE on the Small Unstructured test set (500 instances, ) under identical training and evaluation. IPM-LSTM adapted to SOCP against SOCPNet, the single-shot SOCP-GNN, and the IPOPT reference ( better).
| Step | IPOPT | SOCPNet (d=256) | SOCPNet (d=64) | SOCP-GNN | IPM-LSTM |
|---|---|---|---|---|---|
| 25 | ~ 0 |

Figure 9: Median normalized SRE over unroll steps on the Small Unstructured test set (500 instances, ; better, log axis). IPM-LSTM peaks near step 25 and then drifts, while both SOCPNet variants ( and ) converge and hold orders of magnitude below IPM-LSTM.
Table 4: Median SRE on the Medium Unstructured test set (500 instances) under identical training and evaluation ( better).
| Step | IPOPT | SOCPNet (d=256) | SOCPNet (d=64) | SOCP-GNN | IPM-LSTM |
|---|---|---|---|---|---|
| 21 | ~ 0 |
is supplied as a smooth, twice-differentiable inequality, providing the residual, gradient, and Hessian contributions that IPM-LSTM is trained to invert at every interior-point iteration. Each cone residual is evaluated through , which is not differentiable at . To keep the gradient and Hessian used by IPM-LSTM's linear-system model well-defined everywhere, we regularize the norm as with , which is standard practice. The classical IPM loop is otherwise unchanged. We use the same Small Unstructured split as SOCPNet. Relative to the published IPM-LSTM configuration (QP/QCQP benchmarks in Gao et al. [21]), we changed only the outer IPM horizon, from to , to match SOCPNet's training horizon. The dataset size also differs: 10,000 instances in their work and 5,000 in our SOCP dataset. All other hyperparameters are kept at their published values: inner LSTM unroll , hidden size 50, learning rate , KKT preconditioning enabled, centering parameter , and fraction-to-the-

Figure 10: Median normalized SRE over unroll steps on the Medium Unstructured test set (500 instances, h=30; ↓ better, log axis). Both SOCPNet variants remain about an order of magnitude below IPM-LSTM
boundary parameter . We trained for up to 200 epochs with early stopping. Both models use the same initialization , which is also IPOPT's, and we evaluate for 30 steps on the same 500 held-out test instances using the normalized squared relative error.
Results on Small. Under identical training and evaluation conditions on Unstructured Small, SOCPNet with (S9) reaches a median SRE of at step 25, roughly four orders of magnitude below IPM-LSTM ( , Table 3). Even the much smaller model (S8) outperforms IPM-LSTM by approximately three orders of magnitude ( ), showing that capacity is not the primary driver of the gap. Fig. 9 shows that IPM-LSTM's error increases beyond its training horizon, with a minimum of near step 24. This is precisely the drift behavior targeted by our stabilization mechanism. These results support our central claim: the gains come from what is recursively represented and updated, a conic graph with a learned solver.
Results on Medium. We repeat the same protocol on Unstructured Medium (n=100), training IPM-LSTM with and evaluating 30 steps on the same 500 held-out instances. At the training horizon (step 21), Table 4 reports for SOCPNet (d=256) versus for IPM-LSTM. At step 25, SOCPNet remains at versus for IPM-LSTM (about ). The smaller d=64 model reaches SRE = , still about below IPM-LSTM. Unlike on Small, IPM-LSTM's error is still decreasing at step 30, and converges after 50 steps, as shown in Fig. 10. SOCPNet remains well below IPM-LSTM throughout.
Complexity. Per outer iteration, IPM-LSTM is computationally more expensive than SOCPNet (d=256). On Unstructured Small, the costs are ~100M versus ~40M MACs (multiply-accumulate operations) per outer iteration. On Unstructured Medium, they are ~260M versus ~150M MACs per outer iteration.
G Isolating the Solver-derived Step-size Signal
The leave-one-out ranking of Section 4.3 drops the step-size component from an otherwise fixed procedure. Here we retrain the full recipe from scratch without the solver-supervised step-size target of Eq. (15), holding every other loss, feature, and hyperparameter at its S9 value. Both models keep the polar parametrization of Eq. (14), so the comparison isolates the solver-derived information on its own.
On Unstructured Small, Fig. 11 shows that the ablated model attains a median SRE of , about below S9's . Removing the solver signal does not cost median accuracy. Despite the better median, the mean rises to from S9's , so the mean-to-median ratio grows from to . The 90th percentile grows from to , and the fraction of test instances finishing above SRE = grows from 4.4% to 7.8%. The solver-derived step size therefore acts as a stabilizer on the worst trajectories. We also observe that without step-size control, the iterates diverge after the training horizon of 25 steps.
On Unstructured Medium, Fig. 12 shows a similar behavior but with a stronger effect. Without step-size control, the SRE is further improved below the training horizon, with a median value

Figure 11: On Unstructured Small: mean and median SRE for S9 with and without step-size control.

Figure 12: On Unstructured Medium: mean and median SRE for S9 with and without step-size control.
of near step 20. However, by step 25 it has drifted to , and by step 50 to . In contrast, the full S9 recipe stays at .
H Medium-scale Experiments on Other SOCP Families
We repeat the per-family comparison of Fig. 5 at Medium scale in Fig. 13 here. In the left and center panels, SOCPNet reaches median SRE = against for the SOCP-GNN on robust ellipsoid ( ), and against on block angular ( ). Both confirm the direction of the Small-scale result, with SOCPNet remaining more accurate than the SOCP-GNN at Medium scale, though the margin is roughly twice as large on robust ellipsoid as on block angular, so we do not claim a fixed advantage factor across families. Portfolio risk (right panel) is the exception: SOCPNet plateaus at median SRE , slightly above the SOCP-GNN's . Hence, for this family, the advantage of SOCPNet over SOCP-GNN does not carry over from Small to Medium scale.
I Zero-shot Transfer Across Problem Scale
Here we keep a single trained model fixed and evaluate it on the other problem scale without retraining or any change to the network. A Small-trained SOCPNet (n=50) evaluated on Medium instances (n=100) reaches a median SRE of , against for the single-shot SOCP-GNN transferred the same way. In the opposite direction, a Medium-trained SOCPNet evaluated on Small reaches against , so the recursion keeps a advantage over the single-shot baseline in both directions (Fig. 14). Two caveats temper this. Both transferred models remain far from in-domain accuracy, and the Medium→Small recursion reaches its best value, , at step 12 and then drifts upward, so the transferred update is not contractive over the

SOCPNet
SOCP-GNN
IPOPT
unroll iteration
Figure 13: Medium SOCP families: SOCPNet vs. SOCP-GNN vs. IPOPT. As Fig. 5, at Medium scale (n=100, h=25).

Figure 14: Zero-shot scale transfer, no retraining. Per-step median SRE ( better; log axis) for a model trained at one scale and evaluated at the other. Same conventions as Fig. 5.
full horizon. We therefore report scale transfer as a robustness property of the shared update. It is no substitute for training at the target size.
J Cross-family Generalization: Leave-one-out Testing
We also evaluate transfer across problem families at Small scale. For each of the four families, we train on the remaining three and test on the held-out family, under the protocol of Section 4.1, and repeat the same folds for the single-shot SOCP-GNN so that both models see identical data.
SOCPNet is more accurate than the single-shot baseline on every fold, by 2.3 to (Table 5, Fig. 15). Whatever cross-family transfer exists comes from the recursion, one-shot capacity does not supply it. The absolute numbers are nonetheless uneven. Held-out Unstructured is the strongest fold at , comparable to what the single-shot SOCP-GNN reaches when trained on that family (Table 1), though still three orders of magnitude above in-family SOCPNet. Robust ellipsoid and block angular fall to around , and portfolio risk to , which is no better than a coarse approximation. Portfolio risk is also the family on which SOCPNet fails to improve over the baseline at Medium scale (Appendix H). We therefore do not claim that a single SOCPNet generalizes across SOCP families, which structural properties transfer is left to future work.
K Hybrid Warm-Start: Solution Accuracy and Timing
Figure 16 reports the final solution accuracy of the hybrid solver that accompanies the iteration counts of Fig. 6. Warm starting does not compromise accuracy. Indeed, on both the Unstructured Small and Medium datasets, every run (cold or warm-started at any handoff step ) converges to the optimal within the solver’s machine-precision tolerance, SRE .
Table 6 gives a detailed breakdown of the wall-clock times. The speed-up is bold where the warm start reduces total time. In Small, a speed-up is observed for all . At Medium scale,
Table 5: Cross-family leave-one-out at Small scale. Median SRE on the held-out family (500 test instances) after training on the other three ( better). The ratio is the single-shot error divided by SOCPNet's SRE.
| Held-out family | SOCPNet | SOCP-GNN (one-shot) | ratio |
|---|---|---|---|
| Unstructured | 27× | ||
| Robust ellipsoid | 3.3× | ||
| Block angular | 12× | ||
| Portfolio risk | 2.3× |

Figure 15: Cross-family leave-one-out at Small scale. Median SRE on the held-out family ( better; log axis) for SOCPNet and the single-shot SOCP-GNN trained on the other three families.

Figure 16: Hybrid solver: final solution accuracy. Final SRE for cold start vs. SOCPNet warm start at handoff step , on Unstructured Small (left) and Medium (right) (50 test problems each, SOCPNet ).
the iteration saving (15 → 10 median for ) does not result in a significant runtime speed-up because a fixed per-call solver overhead dominates the short forward pass.
L Reproducibility
A code repository accompanying this paper provides all resources required to reproduce the experiments, including the instance generators for all four dataset families, the IPOPT pipeline used to generate the ground-truth trajectories, the SOCPNet implementation and training code, the evaluation and plotting scripts, and the configuration files for all reported runs. To support reproducibility, we release the source code, data-generation scripts, and experimental setup at https://github.com/nokia/SOCPNet.
The generation procedure is specified in Appendix B for the structured families and in Section 4.1 together with Appendix C for the Unstructured benchmarks and the IPOPT ground truth. Each figure and table derives from a single training run whose identifier and configuration are retained in the
Table 6: Hybrid warm start: iteration and wall-clock breakdown. Medians over 50 test problems per dataset. is the handoff step, the cold-start baseline. SOCPNet time is the time spent in the forward passes, IPOPT the subsequent exact solve, and total their sum.
| 0 | 5 | 10 | 15 | 20 | 25 | ||
|---|---|---|---|---|---|---|---|
| Small | IPOPT iterations | 11 | 7 | 6 | 6 | 6 | 6 |
| SOCPNet time (s) | 0.00 | 0.11 | 0.21 | 0.32 | 0.43 | 0.54 | |
| IPOPT time (s) | 17.00 | 8.89 | 7.85 | 7.71 | 7.74 | 7.89 | |
| total time (s) | 17.00 | 9.00 | 8.16 | 8.02 | 8.17 | 8.47 | |
| speed-up | 1.0× | 1.9× | 2.1× | 2.1× | 2.1× | 2.0× | |
| Medium | IPOPT iterations | 15 | 12 | 10.5 | 10 | 10 | 10 |
| SOCPNet time (s) | 0.00 | 0.03 | 0.06 | 0.09 | 0.12 | 0.15 | |
| IPOPT time (s) | 2.18 | 2.02 | 2.07 | 2.06 | 1.99 | 2.09 | |
| total time (s) | 2.18 | 2.05 | 2.13 | 2.15 | 2.14 | 2.25 | |
| speed-up | 1.0× | 1.1× | 1.0× | 1.0× | 1.0× | 1.0× |
repository, so that every reported number can be traced to the checkpoint that produced it. The configurations record the dataset family and scale, the architecture and ablation variant, the loss composition, and the optimization settings (batch size, epochs, optimizer, learning-rate schedule, message passing rounds, hidden dimension, trajectory length, and random seed). All runs use the fixed seed reported in Appendix C.