Manuscript Offprint
arXiv:2611.11973Beyond Prediction Residuals: Conformal Regret Calibration for Robust Contextual Linear Optimization
Abstract
Predict-then-optimize systems convert contextual forecasts into decisions, yet conformal robust optimization typically calibrates prediction residuals rather than downstream loss. For linear optimization, this parameter-space geometry can be badly misaligned with decision risk: large objective perturbations may preserve the optimizer, while small boundary-crossing perturbations may cause substantial regret. We introduce Conformal Regret Sets, a post-hoc, model-agnostic framework that conformalizes an optimization-derived regret surrogate and uses its calibrated level set for minimax-regret refinement. We first show that directly conformalizing exact regret, although sufficient to certify the nominal predict-then-optimize decision, yields a degenerate robust problem: absent an exogenous bounded support, every alternative decision has unbounded worst-case regret. We therefore use SPO+, a pointwise upper bound on exact regret, as the conformal score, obtaining distribution-free finite-sample marginal regret guarantees under exchangeability. For contextual linear programs, the resulting set decomposes into polyhedral pieces aligned with the normal fan of the feasible polytope. A vertex is active if and only if its predicted suboptimality gap is at most half the calibrated threshold , enabling local, output-sensitive generation of all relevant pieces. Moreover, if is the predicted gap to the closest competing vertex, the nominal and refined decisions admit the sharper worst-case-regret certificate , with an exact early exit when . Experiments on contextual fractional knapsack validate the geometry and certificates: continuous refinement reduces the 0.95-quantile and of regret by 9.1% and 13.1% relative to nominal PTO, while vertex-restricted refinement changes only 10.0% of nominal decisions.
1 Introduction
Predictive models are increasingly embedded in downstream optimization systems. In the standard predict-then-optimize (PTO) pipeline, observable features are mapped to uncertain problem parameters, and the resulting point prediction is inserted into a deterministic optimization problem. This modular paradigm is natural for contextual linear programs (LPs) arising in routing, allocation, and portfolio selection (Bertsimas and Tsitsiklis 1998; Bertsimas and Kallus 2020). Yet a point forecast alone offers no protection against prediction error, and optimizing an estimated objective can amplify modest errors into substantial post-decision loss (Smith and Winkler 2006).
A common remedy is to replace the point prediction with a data-driven uncertainty set and solve a robust optimization problem. Conformal prediction (CP) is attractive for this purpose because it is model-agnostic and provides distribution-free, finite-sample marginal coverage under exchangeability (Angelopoulos and Bates 2023). Existing conformal approaches to contextual optimization typically calibrate residual scores, such as coordinatewise errors or norm distances between predicted and realized objective vectors (Sun, Liu, and Li 2023; Patel, Rayan, and Tewari 2024). The resulting boxes, ellipsoids, or norm balls are statistically valid in parameter space, but need not be aligned with downstream decision risk.
For an LP, residual coverage is not decision calibration. The objective space is partitioned by the normal fan of the feasible polytope: all costs in one cone select the same optimal vertex. A large perturbation can remain within a cone and incur no decision loss, whereas a smaller perturbation can cross a nearby boundary, change the optimizer, and cause substantial regret. Some directions also shift every feasible objective value equally and are therefore irrelevant to both the optimizer and pairwise regret. Residual-based scores do not distinguish these decision-invariant directions from decision-sensitive ones. This leads to the following question: Can conformal uncertainty instead be calibrated directly in units of downstream regret while still supporting nontrivial robust re-optimization?
Conformal validity alone is not the obstacle: the score sublevel set must also support meaningful comparison of alternative actions. The most direct score is exact decision regret, or the Smart Predict-then-Optimize (SPO) loss (El-machtoub and Grigas 2022). Although its conformal quantile immediately certifies the nominal PTO decision, we prove that, without an independently imposed bounded objective support, its sublevel set is degenerate for re-optimization: every alternative decision has infinite worst-case regret. Thus, a score that is ideal for certifying one fixed action can be unusable for comparing actions.
We therefore introduce Conformal Regret Sets based on SPO+, a pointwise upper bound on exact regret. Split-conformal calibration produces a threshold in objective-value units, yielding a finite-sample marginal regret guarantee and an objective-space set for minimax-regret refinement. The construction is post hoc and compatible with any black-box predictor. For contextual LPs, the SPO+ level set has an exact normal-fan structure that makes this otherwise non-convex robust problem analyzable and amenable to output-sensitive solution methods.
Our contributions are threefold.
-
Regret calibration and the need for a robustifiable score. We formalize conformal calibration with optimization regret, establish the degeneracy of exact-SPO sub-level sets for robust refinement, and show that SPO+ calibration provides a distribution-free finite-sample guarantee for the regret of the nominal PTO decision.
-
Exact normal-fan geometry and local active-set generation. We derive a closed polyhedral representation of the SPO+ conformal regret set, exact whenever the hindsight optimizer is unique, and show that its unbounded directions are decision-invariant. A vertex generates a nonempty piece if and only if its predicted suboptimality gap is at most . These active vertices form a connected subgraph of the polytope's one-skeleton, enabling output-sensitive generation from the nominal solution rather than enumeration of all vertices.
-
Margin-certified minimax-regret refinement. Let be the predicted gap between the nominal optimizer and its closest competing vertex. We prove that the certified worst-case regret of the nominal, vertex-restricted, and continuous refinements is at most . With , the same bound controls realized regret with probability at least . Hence gives a zero worst-case-regret certificate over the calibrated set and an exact early-exit test. Otherwise, adjacency-based generation and a fixed-piece LP oracle evaluate the regret adversary without enumerating all comparator vertices; once the active pieces are generated, the continuous refinement admits a finite LP formulation.
Decision-aware conformal score design. Beyond residual calibration, recent work makes uncertainty quantification for optimization more decision-aware. End-to-end conditional robust optimization trains predictive and uncertainty models using downstream decision loss (Chenreddy and Delage 2024), while conformal methods learn calibrated convex or polyhedral set geometry from the induced robust loss (Yeh et al. 2025; Chen, Zhou, and Zhu 2026). In particular, Chen,
Zhou, and Zhu (2026) learn geometry within a parameterized polyhedral family and then recalibrate on independent data. Utility-directed CP incorporates a user-specified downstream utility into conformal score design (Cortes-Gomez et al. 2025); Hu et al. (2026) design sets under explicit robustness constraints, and Zhou and Zhu (2026) calibrate downstream robustness levels. CREDO combines conformal and inverse-optimization geometry to audit the probability that a fixed candidate decision is suboptimal (Zhou, Orfanoudaki, and Zhu 2026). Our construction derives set geometry directly from the optimization-based SPO+ score. The resulting nonconvex, normal-fan-aligned sets admit exact active-piece screening, margin-adaptive certificates, and certified minimax-regret refinement for contextual LPs.
Smart predict-then-optimize and decision-focused learning. Decision-focused learning (DFL) addresses the mismatch between prediction accuracy and downstream performance by differentiating through, or otherwise exploiting, the optimization problem during training (Donti, Amos, and Kolter 2017; Wilder, Dilkina, and Tambe 2019; Mandi et al. 2022; Gupta and Huang 2024). The Smart PTO framework uses decision regret as the training objective and introduces SPO+ as a tractable convex surrogate for linear optimization (Elmachtoub and Grigas 2022). Liu and Grigas (2021) study surrogate-risk calibration, relating excess SPO+ risk to excess expected SPO risk to support predictor learning. Subsequent work develops optimization-aware losses and training procedures across linear, combinatorial, probabilistic, and causal settings (Qi, Grigas, and Shen 2025; Berden et al. 2025; Zhang et al. 2025); robust-constraint-aware training is considered through the SPO-RC loss (Im, Benslimane, and Grigas 2025). Our calibration is post hoc: we apply split-conformal calibration to SPO+ scores from a fixed predictor, obtaining finite-sample marginal coverage and regret guarantees for minimax-regret refinement.
3 Problem Setup and Regret Calibration
3.1 Contextual Linear Optimization and Decision Regret
Consider a linear program (LP) that takes the following standard form:
where is the decision variable, is the uncertain parameter, and and () define the deterministic system constraints. We assume throughout that is a nonempty compact polytope. Let be its complete set of distinct geometric vertices, and write . For any realized cost vector , let be a fixed deterministic measurable vertex-valued optimal selector. Throughout the main text, we assume that every cost vector under consideration induces a unique optimizer, so the selector is immaterial there; tie-boundary extensions are treated in the appendix.
For a feasible decision and a realized objective vector c, define its decision regret as
It measures the excess realized cost of x relative to the hindsight optimum and is therefore nonnegative.
In the Predict-Then-Optimize paradigm, a predictor maps observable features to a point estimate of the uncertain parameter . The PTO simply prescribes , but the fragility of decisions based on point forecasts motivates robust methods, i.e., replacing with an uncertainty set and optimizing against its worst-case realization.
3.2 Split Conformal Calibration
To quantify predictive uncertainty, we leverage split conformal prediction (Angelopoulos and Bates 2023). Let be a held-out calibration sample set, and define a conformal score function measuring the discrepancy between the prediction and the realization . Evaluating this score on yields empirical scores and the order statistics . For a target miscoverage level , set
with . For any new test instance z, the conformal uncertainty set is constructed as the level set
Under the standard exchangeability assumption, the foundational result in conformal prediction yields a distribution-free finite-sample marginal coverage guarantee,
The choice of score determines the geometry and downstream meaning of the resulting set. We next specialize the score to decision-aware optimization settings.
3.3 SPO+ Conformal Regret Set and Optimization
Existing conformal robust optimization methods typically calibrate generic parameter-space sets, such as norm balls, boxes, ellipsoids, and budgeted sets. Although these sets admit well-established deterministic reformulations, they often ignore downstream decision geometry. This mismatch motivates constructing uncertainty sets by directly calibrating decision regret. For the nominal PTO decision, the natural score is its realized regret, namely the exact SPO loss (Elmachoub and Grigas 2022):
For any threshold , define the SPO uncertainty set as
By construction, every certifies that the nominal PTO decision incurs regret at most . However, this fixed-decision certificate does not necessarily provide a useful uncertainty representation for selecting alternative prescriptions: as the following proposition shows, regret-robust refinement over the exact-SPO uncertainty sets is degenerate.
Proposition 1 (Degeneracy of exact-SPO refinement). Suppose that contains at least two distinct points and that is a vertex of . For every finite ,
whereas, for every ,
Consequently, is the unique minimizer of the corresponding worst-case regret problem.
Proposition 1 shows that exact SPO is suitable for certifying the nominal PTO decision but cannot support nontrivial refinement: every alternative prescription has infinite worst-case regret over its sublevel set. An independently justified compact objective support can restore boundedness, but this boundedness is supplied externally rather than by the exact-SPO score. Detailed proofs and a comprehensive treatment of the theoretical extensions are provided in the appendix.
This motivates using the SPO+ function for robustification. Unlike the action-specific exact-SPO certificate, SPO+ retains comparator-wise information across alternative decisions. For a realized parameter c and prediction , define
which pointwise bounds the exact regret (SPO function). Applying the split-conformal procedure in Section 3.2 to the SPO+ scores yields the threshold and the conformal regret set
As formalized below, this construction translates conformal validity into a finite-sample guarantee on the regret of the nominal PTO decision.
Theorem 1 (Finite-sample regret validity). Let . If the calibration and test observations are exchangeable and the predictor is trained on data independent of the joint calibration-test sample, then
Moreover, the nominal PTO decision satisfies
Theorem 1 provides an interpretable operational certificate by bounding the regret of a prescribed action before deployment. In conventional robust optimization, conservatism is controlled through geometric parameters, such as uncertainty-set radii or budgets, whose implications for decision quality may be difficult to interpret. In contrast, our framework links the coverage level directly to a regret threshold , allowing practitioners to assess the trade-off between statistical reliability and tolerated suboptimality.
Downstream regret refinement. The conformal set can also be used to select a decision that is less exposed to adverse objective realizations than the nominal PTO prescription. For any and a generic threshold , define its worst-case regret over this set as
Given a nonempty compact admissible decision domain , the corresponding regret-robust refinement is
Later, we consider the two principal choices , which restricts the refinement to feasible vertices, and , which permits any feasible point.
4 Geometry and Regret Refinement
Fix a prediction and a threshold , and write . Because the SPO+ conformal regret set is generally nonconvex, we first exploit its geometry rather than optimize over it monolithically. We first derive a vertex-indexed polyhedral decomposition and establish finite worst-case regret on each piece. We then characterize and locally generate the nonempty pieces, with certified truncation based on predicted gaps. Finally, we develop margin-based certificates and computational formulations for regret refinement without requiring a complete vertex description.
4.1 Polyhedral Decomposition of Set Geometry
Within a region where a fixed vertex is hindsight optimal, the SPO+ score is convex and piecewise linear in c, so its sublevel set is polyhedral. The union of these regional sets need not be convex. Under the main-text unique-optimizer assumption, this yields the following exact decomposition; the tie-safe extension is given in the appendix.
Theorem 2 (Polyhedral Decomposition). At any cost vector c with unique optimizer ,
where
(14)
Although additionally includes cost vectors with tied optimizers, it is the closure of the unique-optimizer portion of and, by continuity of regret, yields the same worst-case regret values. The second group of inequalities makes optimal under , while the first imposes the SPO+ threshold conditional on being hindsight optimal. Hence, on , , and worst-case regret can be evaluated piecewise over the union.
An unbounded piece can still induce finite worst-case regret. The following result characterizes its recession cone and the worst-case regret of a feasible decision x over that piece.
Proposition 2 (Finite regret over each piece). For every nonempty piece ,
Consequently, for every ,
is finite and attained.
Proposition 2 shows that the ambient unboundedness of is harmless for regret evaluation: its recession directions are decision invariant, so every active piece induces a finite and attained adversarial problem. Consequently, worst-case regret over the nonconvex set can be evaluated piecewise over the active pieces.
Let
denote the active-piece index set. It follows that, for every ,
The decomposition is exact but may still be computationally large: K can be exponential, and each in (14) contains constraints indexed by all comparator vertices. The next subsection addresses the first issue through active-piece screening and local generation, while Section 4.3 addresses the second through a constraint-based fixed-piece problem reformulation (oracle).
4.2 Active-Piece Screening and Generation
We first address the number of potential pieces. For each , define its predicted gap relative to as
The following result gives an exact characterization of the nonempty polyhedral pieces.
Theorem 3 (Exact active-piece screening). For every vertex and every finite threshold ,
Therefore,
The relevant complexity is determined by the number of -near-optimal vertices rather than by . It may be much smaller when the nominal optimizer is well separated, although it can remain exponential in the worst case.
Screening alone would still require evaluating for every vertex. We next show that the active vertices can be generated locally. Let denote the one-skeleton of , and for any define
Proposition 3 (Connectivity of predicted near-optimal vertices). For every , the subgraph of induced by is connected. More precisely, for every , there exists an edge path such that
and every vertex on the path belongs to .
Setting , Theorem 3 and Proposition 3 yield a direct local generation procedure. Starting from , we enumerate adjacent vertices, retain those satisfying , and recursively expand every newly retained vertex. Because the induced active subgraph is connected, exhaustive traversal recovers every active piece without expanding an inactive vertex. We call this procedure a margin-truncated adjacency search.
Given an adjacency oracle, the search expands only active vertices while inspecting their incident edges. Its computational effort therefore scales with the explored active subgraph and the oracle cost, rather than with the full vertex set. A best-first search prioritizes vertices by , thereby enumerating active vertices in nondecreasing predicted gap and enabling certified early termination.
This ordering also enables a certified early-stopping rule. For , define the truncated active set and its restricted regret adversary as
(24)
Corollary 1 (Certified gap-ordered truncation). For every , the contribution of the omitted active pieces satisfies
where the maximum over an empty index set is defined as zero.
Let , , and let denote the full refinement value over the same decision domain. Then
Consequently, certifies that is optimal for the full refinement problem.
Corollary 1 turns best-first enumeration into a certified anytime procedure. At any threshold , it provides a lower bound on the full optimum and an upper bound on the full-set regret of the current truncated solution. The search may terminate with a certificate of exact optimality when , or with an approximate certificate when the resulting certified optimality gap falls below a prescribed tolerance.
4.3 Certified Regret Refinement
The connectivity result also yields a locally computable margin certificate. Let denote the vertices adjacent to , and define
The second equality follows from Proposition 3. Hence, is available from the initial adjacency expansion and measures the predicted separation from the closest competing vertex.
We consider two instances of (13): the pure refinement, restricted to vertices, and the continuous refinement over the full feasible polytope:
For , let and denote the corresponding refined decision and robust regret value at .
Theorem 4 (Margin-certified regret refinement). The two refinement problems attain their optima and satisfy
where . Moreover, setting , under the exchangeability condition of Theorem 1,
The deterministic ordering shows that both refinements weakly improve the nominal worst-case certificate, while the larger continuous decision domain cannot perform worse than the vertex-restricted domain. The predicted margin further tightens the calibrated threshold from to . In particular,
Because is available from the initial adjacency expansion, this condition provides an exact early exit: the nominal decision is already certified and refinement is unnecessary. Otherwise, quantifies the remaining worst-case certificate. With , the same bound controls the realized regret of both refinements with probability at least .
Computational Formulations. Continuous refinement is natural for fractional or splittable decisions, whereas pure refinement preserves vertex-valued prescriptions. Since , ; however, this worst-case ordering need not extend to realized mean or tail regret. Moreover, need not be active, because active vertices index adversarial pieces rather than candidate decisions.
Suppose piece has constraint matrix and right-hand-side vector :
With nonnegative dual multipliers , strong duality gives
Aggregating these dual representations over the active pieces, with a scalar upper bound t on worst-case regret, yields the following finite continuous master.
Proposition 4 (Finite continuous master). The continuous refinement value equals the optimal value of the linear program

Figure 1: Geometry of residual and regret sets in cost coordinates . The panels show normal-fan regions, a residual- ball, an exact-regret set, and the active pieces of an SPO+ set.
Thus, once the active pieces are explicitly represented, continuous refinement reduces to a single linear program whose size depends on the active set.
When the explicit piece descriptions are unavailable or prohibitively large, the original constraint representation of yields a fixed-piece oracle that avoids all comparator-vertex constraints.
Proposition 5 (Constraint-based fixed-piece oracle). For any fixed and active vertex , equals the optimal value of
Here and are dual variables for the hindsight minimization and the maximization in the SPO+ score, certifying optimality of under and the SPO+ threshold, respectively. At a master incumbent , an optimizer of (34) yields the valid cut t \geq c_k^*^\top (x - v_k) whenever c_k^*^\top (\bar{x} - v_k) > \bar{t}.
Hence, Propositions 4 and 5 are complementary: explicit pieces yield a single LP, whereas the oracle supports constraint generation for either the continuous or vertex-restricted master directly from . Combined with screening and adjacency generation, they avoid monolithic optimization over the nonconvex conformal set.
5 Experiments
We evaluate the proposed framework using an illustrative example and contextual fractional-knapsack experiments, focusing on set geometry, finite-sample validity, decision performance, and certified active-piece generation.
5.1 Illustrative Geometry of Calibrated Sets
We consider a two-dimensional decision problem with feasible set given by the eight vertices of a regular octagon and objective after is realized. In Figure 1, each point denotes a possible ground-truth cost, while the black cross marks the prediction , which selects the nominal action . From left to right, the panels
show (i) the hindsight-optimal action for each , partitioning cost space into normal-fan regions; (ii) the conventional residual- ball of radius 0.70 centered at ; (iii) the costs for which incurs exact regret at most 1.10; and (iv) the conformal regret set with SPO+ score at the same illustrative threshold, with colors identifying its active normal-fan pieces. The comparison illustrates both the piecewise-convex structure of the SPO+ set and why only predicted near-optimal vertices need to be generated.
5.2 Experiments on the Fractional Knapsack Problem
Following Ho-Nguyen and Künç-Karzan (2022), we generate nonlinear context-dependent item values with multiplicative noise and use their negatives as minimization costs. Complete implementation details are provided in the appendix. Small instances permit exhaustive geometric validation, while larger instances evaluate decision performance and computational efficiency.
Active Pieces and Margin Early Exit We first use instances, for which all vertices can be enumerated. Although the feasible polytope contains 320.3 vertices on average, the mean number of active pieces ranges from only 5.33 to 1.00 across the calibration levels; see Figure 2(a).
The adjacency procedure matches exhaustive enumeration for the active set and second-best margin in all context-level comparisons. At , all nominal certificates satisfy the margin bound within numerical tolerance, and 30.8% of contexts receive a zero certificate (see Theorem 4), allowing the robust master to be skipped. These results validate the exactness and local sparsity of the procedure.
Coverage of Calibrated Sets. Parameter coverage measures inclusion of the realized cost in the calibrated set; decision-regret coverage measures whether realized regret is bounded by the set-based certificate. Table 1 reports both metrics on the exact test split, with the decisions for the “Regret set” obtained using continuous regret refinement (RR). Detailed definitions are given in Appendix B.6.
All four methods attain parameter coverage consistent with the nominal levels. The conventional sets nevertheless give essentially 100% decision-regret coverage, which offers little information about decision risk because their full-set regret

Figure 2: Exact geometry validation for . (a) Active-piece counts across calibration levels. (b) Nominal certificate versus the margin upper bound at ; “Skip” denotes the fraction certified at zero without solving a robust master.
Table 1: Empirical parameter / decision-regret coverage.
| Method | |||
|---|---|---|---|
| Regret set | 0.96/0.97 | 0.91/0.93 | 0.83/0.86 |
| Residual- set | 0.94/1.00 | 0.89/1.00 | 0.80/1.00 |
| Box set | 0.94/1.00 | 0.90/1.00 | 0.80/1.00 |
| KNN-Ellipsoid | 0.94/1.00 | 0.87/1.00 | 0.78/1.00 |
certificates are substantially wider: parameter inclusion implies decision-regret coverage, whereas the converse need not hold. By contrast, the regret set keeps the two coverage notions more closely aligned, providing a more decision-informative description of uncertainty rather than achieving high coverage through conservative bounds. Complete five-level results and certificate scales are reported in appendix.
Decision Performance against Baselines We next evaluate decision performance on larger instances with and . We compare Nominal PTO with pure and continuous SPO+ regret refinement, as well as conformal Residual-, conformal contextual Box, and KNN-Ellipsoid Cost-RO. Here we follow each method's intended objective: worst-case cost for RO and minimax regret for SPO+. Adapting the RO baselines to minimax regret goes beyond their standard formulations and can require more involved optimization. To isolate the role of the calibrated set, Appendix B.8 reports objective-matched comparisons, which retain the performance advantage of SPO+ refinement.
Continuous RR provides the strongest tail protection, reducing Q95 and CVaR by 9.1% and 13.1% relative to Nominal PTO, at the cost of higher mean regret. Pure RR changes only 10.0% of decisions, remains close to the nomi-
Table 2: Decision performance at ; lower regret is better. Q95 is the 0.95 quantile, CVaR95 is the average regret in the upper 5% tail, and Change is the fraction of decisions differing from nominal PTO.
| Method | Mean | Q95 | CVaR95 | Change |
|---|---|---|---|---|
| Nominal PTO | 7.605 | 38.664 | 60.557 | 0.000 |
| Pure RR | 7.763 | 38.956 | 61.814 | 0.100 |
| Continuous RR | 11.117 | 35.137 | 52.618 | 0.990 |
| Residual- RO | 20.001 | 57.090 | 77.027 | 0.956 |
| Box RO | 8.824 | 40.673 | 64.430 | 0.284 |
| KNN RO | 624.111 | 1374.573 | 1682.087 | 1.000 |
nal mean, and achieves the best average performance among all robust methods. These results suggest using PTO when average performance is the priority, Pure RR for selective intervention with limited disruption to nominal decisions, and Continuous RR when upper-tail protection is worth a higher mean regret. Additional experiments on real solar-grid data and sparse transportation LPs are reported in Appendix C.

Figure 3: Certified gap-ordered generation on 500 test contexts. (a) Exact-certification rate. (b) Median and 0.90 quantile of the certified optimality gap normalized by .
Certified Early Termination. We finally evaluate the practical effectiveness of the gap-ordered truncation certificate in Corollary 1 on the main , instances. On average, each feasible polytope has vertices, of which only 44.96 generate active pieces. Let denote the number of generated active pieces. As shown in Figure 3, at , exact optimality is already certified for 99.6% of Pure RR and 91.4% of Continuous RR instances, although only 56.2% of active sets have been fully enumerated. The rates increase to 99.8% and 98.4%, respectively, at , while both the median and 0.90 quantile of the normalized certified gap are already zero at . Thus, the certificate is typically tight enough to establish global optimality well before complete active-set generation. Detailed budget-wise results and runtimes are reported in Appendix B.5.
6 Conclusion
We introduced Conformal Regret Sets, a decision-focused framework that calibrates SPO+ scores to control downstream regret rather than residuals. Split-conformal calibration provides a finite-sample marginal guarantee for the nominal PTO regret, while the induced nonconvex set admits a normal-fan-aligned polyhedral decomposition with exact active-piece screening, local generation, certified truncation, and margin-based certificates. These properties support certified pure and continuous regret-robust refinement without monolithic optimization. Fractional-knapsack experiments validate the theory: pure refinement preserves near-nominal average performance, continuous refinement improves upper-tail protection, and gap-ordered generation often certifies optimality before the full active set is recovered.
References
Angelopoulos, A. N.; and Bates, S. 2023. Conformal Prediction: A Gentle Introduction. Found. Trends Mach. Learn., 16(4): 494–591.
Angelopoulos, A. N.; Bates, S.; Fisch, A.; Lei, L.; and Schuster, T. 2024. Conformal Risk Control. In The Twelfth International Conference on Learning Representations.
Berden, S.; Mahmutogullari, A. İ.; Tsouros, D.; and Guns, T. 2025. Solver-Free Decision-Focused Learning for Linear Optimization Problems. In Advances in Neural Information Processing Systems.
Bertsimas, D.; and Kallus, N. 2020. From predictive to prescriptive analytics. Management Science, 66(3): 1025–1044.
Bertsimas, D.; and Tsitsiklis, J. 1998. Introduction to Linear Optimization. Athena Scientific.
Chan, T.; Delage, E.; and Lin, B. 2024. Conformal inverse optimization for adherence-aware prescriptive analytics. Available at SSRN 4970102.
Chen, S.; Zhou, W.; and Zhu, S. 2026. Learning Polyhedral Conformal Sets for Robust Optimization. arXiv preprint arXiv:2605.08506.
Chenreddy, A. R.; and Delage, E. 2024. End-to-end conditional robust optimization. In Proceedings of the Fortieth Conference on Uncertainty in Artificial Intelligence, 736–748.
Cortes-Gomez, S.; Patiño, C.; Byun, Y.; Wu, Z. S.; Horvitz, E.; and Wilder, B. 2025. Utility-Directed Conformal Prediction: A Decision-Aware Framework for Actionable Uncertainty Quantification. In International Conference on Learning Representations.
Donti, P. L.; Amos, B.; and Kolter, J. Z. 2017. Task-based End-to-end Model Learning in Stochastic Optimization. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc.
Elmachtoub, A. N.; and Grigas, P. 2022. Smart “Predict, then Optimize”. Management Science, 68(1): 9–26.
Gupta, V.; and Huang, M. 2024. Decision-focused learning with directional gradients. Advances in Neural Information Processing Systems, 37: 79194–79220.
Ho-Nguyen, N.; and Kılınc-Karzan, F. 2022. Risk Guarantees for End-to-End Prediction and Optimization Processes. Management Science, 68(12): 8680–8698.
Hu, Y.; Tan, J.; Zou, C.; Bao, Y.; and Ren, H. 2026. Conformal Robustness Control: A New Strategy for Robust Decision. In The Fourteenth International Conference on Learning Representations.
Im, H.; Benslimane, W.; and Grigas, P. 2025. Smart Surrogate Losses for Contextual Stochastic Linear Optimization with Robust Constraints. In The Thirty-ninth Annual Conference on Neural Information Processing Systems.
Johnstone, C.; and Cox, B. 2021. Conformal uncertainty sets for robust optimization. In Carlsson, L.; Luo, Z.; Cherubin, G.; and An Nguyen, K., eds., Proceedings of the Tenth Symposium on Conformal and Probabilistic Prediction and Applications, volume 152 of Proceedings of Machine Learning Research, 72–90. PMLR.
Liu, H.; and Grigas, P. 2021. Risk Bounds and Calibration for a Smart Predict-then-Optimize Method. In Advances in Neural Information Processing Systems, volume 34, 22083–22094.
Mandi, J.; Bucarey, V.; Tchomba, M. M. K.; and Guns, T. 2022. Decision-focused learning: Through the lens of learning to rank. In International conference on machine learning, 14935–14947. PMLR.
Patel, Y. P.; Rayan, S.; and Tewari, A. 2024. Conformal contextual robust optimization. In International Conference on Artificial Intelligence and Statistics, 2485–2493. PMLR.
Qi, M.; Grigas, P.; and Shen, Z.-J. M. 2025. Integrated Conditional Estimation-Optimization. Operations Research.
Smith, J. E.; and Winkler, R. L. 2006. The optimizer's curse: Skepticism and postdecision surprise in decision analysis. Management Science, 52(3): 311–322.
Sun, C.; Liu, L.; and Li, X. 2023. Predict-then-calibrate: A new perspective of robust contextual LP. Advances in Neural Information Processing Systems, 36: 17713–17741.
Wilder, B.; Dilkina, B.; and Tambe, M. 2019. Melding the data-decisions pipeline: decision-focused learning for combinatorial optimization. In Proceedings of the Thirty-Third AAAI Conference on Artificial Intelligence and Thirty-First Innovative Applications of Artificial Intelligence Conference and Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, AAAI'19/IAAI'19/EAAI'19. AAAI Press. ISBN 978-1-57735-809-1.
Yeh, C.; Christianson, N.; Wu, A.; Wierman, A.; and Yue, Y. 2025. End-to-End Conformal Calibration for Optimization Under Uncertainty. Transactions on Machine Learning Research.
Zhang, S.; Zhou, H.; Zheng, J.; Jiang, G.; Cheng, B.; Lin, W.; and Chen, G. 2025. Bi-Level Decision-Focused Causal Learning for Large-Scale Marketing Optimization: Bridging Observational and Experimental Data. In Advances in Neural Information Processing Systems.
Zhao, L.; Jiang, H.; and Qi, W. 2026. Conformal Robustness in Prediction-Driven Decision-Making. Available at SSRN 5338354.
Zhou, W.; Orfanoudaki, A.; and Zhu, S. 2026. Conformalized Decision Risk Assessment. In The Fourteenth International Conference on Learning Representations.
Zhou, W.; and Zhu, S. 2026. Calibrating decision robustness via inverse conformal risk control. In Forty-third International Conference on Machine Learning.
Zhou, W.; Zhu, S.; Qiu, F.; and Wu, X. 2025. Hierarchical Spatio-Temporal Uncertainty Quantification for Distributed Energy Adoption. In 2025 IEEE Power & Energy Society General Meeting (PESGM), 1–5.
A Proofs and extended analysis
Unless stated otherwise, the geometric arguments below fix a prediction , a finite threshold , and a nonempty compact polytope with complete vertex set . We write , let , and let satisfy . We use for the vertices adjacent to in the one-skeleton of . In proofs concerning (14), denotes the generic threshold fixed in the main paper's geometry section; it is specialized to for the calibrated set. All dimensions below follow the main paper: costs and decisions lie in . Throughout the Main Paper subsection, the main text's unique-optimizer convention is in force, and we abbreviate as . Full optimizer-tie statements are deferred to the Extended Analysis subsection; tie-boundary closures are used below only to justify the exact worst-case values.
A.1 Main Paper
Exact-SPO degeneracy and SPO+ dominance
Proof of Proposition 1. The nominal bound is immediate from the definition of the exact-SPO sublevel set. For every ,
Taking the supremum proves the nominal bound in the proposition.
It remains to show that every alternative decision has unbounded regret. Because is a vertex of the polyhedron , it is an exposed point: there exists such that
For completeness, choose in the relative interior of the minimization normal cone of . The face-normal-cone correspondence for polyhedra states that the minimizers exposed by any vector in this relative interior form exactly the face associated with that normal cone. Since the normal cone is the one associated with the vertex , the exposed face is the singleton , which proves (35).
For , set . Equation (35) makes the unique optimizer under , and hence
Thus for every . For any fixed ,
This proves the asserted unboundedness. The robust value at is finite, whereas it is infinite at every other feasible decision, so is the unique robust minimizer.
We next record explicitly the pointwise inequality used by the conformal argument. Let and . Their optimality gives
Selecting in the maximum defining gives . Selecting instead gives
(37)
The last inequality has the stated direction because the second inner product in (36) is nonpositive.
Proof of Theorem 1. We use the standard split-sample interpretation of the theorem: the training data, and hence the fitted predictor, are independent of the joint calibration-test tuple. Condition on those training data. The fitted predictor and all deterministic measurable optimization maps are then fixed functions, while the calibration and test observations remain exchangeable. Applying the same SPO+ score map to them therefore produces exchangeable scores . Independence from the calibration sample alone would not suffice if the fitted predictor were allowed to depend on the test observation.
First suppose these scores are distinct and . The rank of among all scores is uniform on . Consequently,
If , fewer than calibration scores are smaller than , so . Hence
which is exactly (10). When , the convention makes the inclusion event certain. This last branch is a valid but vacuous statistical statement: all recession, screening, and finite-refinement results below require . Calibration-score ties are handled without a continuity assumption in the extended analysis below.
On the same score-inclusion event, (37) yields
The event on the left therefore has probability at least , proving the second assertion.
Polyhedral decomposition under the main-paper convention
Proof of Theorem 2. Consider first a cost having the unique optimizer . Since , a linear objective attains the same maximum over and over . Thus
The score is at most if and only if, for every j,
Meanwhile, optimality of under the minimization objective is equivalent to
These are precisely the two families of inequalities defining in (14). Hence, at every cost with a unique optimizer,
This proves the pointwise tie-free decomposition.
We next justify the use of the closed pieces in the subsequent worst-case regret values. Let denote the subset of consisting of costs whose linear objective has a unique minimizer over . Under the main paper's unique-nominal-optimizer assumption,
The inclusion from left to right follows from the pointwise equivalence above and the fact that a finite union of closed polyhedra is closed. For the reverse inclusion, fix a nonempty and write . Using in the two families defining gives
so .
Suppose first that and . Choose an exposing cost for which is the unique minimizer, so for every . The right-hand side of each upper piece inequality satisfies
Consequently, for all sufficiently small , , and all its lower piece inequalities are strict for . For any and , convexity of then gives
with uniquely optimal under . The pointwise equivalence already proved implies , and as .
If and , the displayed two-sided bound forces throughout . Thus is also optimal under every . Moreover, for every ,
so . Since , the preceding argument applies to .
Finally, if , nonemptiness forces . Uniqueness of under then implies . The cost itself belongs to and uniquely exposes , so mixing any with a positive amount of again produces points of converging to . This proves (39).
For any deterministic vertex-valued extension of to tie costs, the same inequality calculation used above gives
Thus all three sets have the same closure. The regret is continuous in , so taking its supremum over any of these sets gives the same value. Finally, every makes optimal and hence satisfies . It follows that
which therefore justifies (18). The unclosed sets themselves can differ on optimizer-tie boundaries; the precise extension is given in Proposition 6.
Recession directions, screening, and active-piece generation.
Proof of Proposition 2. Fix a nonempty piece and abbreviate
The two families of inequalities in (14) can be written as
Because is nonempty, d is a recession direction if and only if it satisfies the homogeneous version of every row in (40). Thus
which is equivalent to
We next verify the required span identity. The inclusion
is immediate. Conversely, write any as and , where both coefficient vectors are nonnegative and sum to one. Then
because . Hence
Combining this identity with (41) proves (15).
Now fix and set . Then , so for every . To establish finiteness and attainment rather than only the absence of an improving ray, take a finite-generator representation
where , every is a recession direction, and the lineality space is contained in . For arbitrary ,
Here , , , and . Orthogonality to the recession cone yields
The upper bound is finite and is attained by a maximizing generator . This proves that in (16) is finite and attained. The same representation also gives
so is a continuous polyhedral convex function on .
Proof of Theorem 3. Suppose first that is nonempty and choose . Use in the lower and upper inequalities defining the piece. Since ,
(43)
The two endpoints imply .
Conversely, suppose and set . Nominal optimality of gives for every . Therefore
(44)
At , both and are zero, and (44) verifies every remaining upper bound. Hence , proving the reverse implication and (20). In particular, is always nonempty because . This argument concerns the closed algebraic pieces . At , the zero witness can lie entirely on an optimizer-tie boundary; Proposition 6 explains when these pieces are exact score pieces and when they form a conservative outer representation.
Proof of Proposition 3. At a vertex , the tangent cone of a polytope is generated by the directions of its incident edges:
Suppose and every adjacent vertex satisfied . Every vector , belongs to , so the displayed conic representation would imply for every . Then would be a global minimizer of , contradicting uniqueness of . Thus every has an adjacent vertex with strictly smaller predicted objective.
Starting at any vertex v, repeatedly take such a decreasing edge. Because V is finite and the objective decreases strictly at each step, the path terminates; its terminal vertex has no decreasing neighbor and therefore must be the unique minimizer . Reversing the path gives
If , every preceding vertex on this path has predicted objective no larger than that of , and hence also belongs to . The induced subgraph is therefore connected, proving (23).
The same path proves the local-margin identity (26) when . Indeed, because ,
Conversely, the first step on a monotone path from to any is adjacent to and satisfies . Minimizing over gives the reverse inequality.
Certified truncation
Proof of Corollary 1. For the minimum notation in the statement to be literal, the decision domain is assumed nonempty and compact; this includes both and . More generally, the displayed argument is conditional on the stated minimizers existing. Fix and write , with and . For , summing the upper piece inequalities with these weights gives
(45)
The lower piece inequalities make optimal under c, so the left-hand side is nonnegative. Taking the maximum over and then taking the positive part in (45) yields
Every omitted active piece has . Monotonicity of the positive-part map therefore gives
If the omitted set is empty, its contribution is defined as zero, and the same inequality holds.
Because , for every . Consequently,
At , the retained pieces contribute , while all omitted pieces are bounded by . Hence
which proves the full chain. If , then
Thus is optimal for the full problem. Since uses the inclusive condition , a certified gap-ordered implementation must exhaust the entire gap plateau at the cutoff; stopping in the middle of a tied plateau does not produce the set used in this proof. This identification with uses the main-text unique-optimizer convention; Proposition 6 gives the corresponding tie-safe statement.
Margin certification and finite formulations
Proof of Theorem 4. For every active and every , the lower piece inequalities make optimal under . Therefore, for all ,
Taking the attained maximum over and then the finite maximum over shows that .
Equation (42) shows that every is continuous. Hence is continuous as a finite maximum. The pure domain is finite and the continuous domain is compact, so both refinement problems attain their minima. Since , minimizing the same function over these nested domains gives
We now bound the last term piece by piece. The nominal piece contributes
For a nonnominal active vertex , use in the upper piece inequality. For every ,
(47)
The last comparison is used only for ; it is not valid for the nominal index. Taking the maximum of the zero nominal contribution and the nonnominal bounds proves
Together with (46), this proves (29). The singleton convention needed when is given in the extended analysis.
The equality boundary is included. If , every active nonnominal vertex satisfies and, by Theorem 3, . Hence equality holds throughout and (47) forces every nonnominal contribution at to be zero. The nominal contribution is also zero, so and all terms preceding it in (29) are zero.
Finally set and consider the conformal inclusion event from Theorem 1. On this event, . Therefore, for ,
Both choices of are controlled on the same inclusion event, whose probability is at least .
Proof of Proposition 4. Fix an active piece and a decision . The support problem defining is
It is feasible because is active, and it has a finite optimum attained by Proposition 2. Its LP dual is
The equality has the displayed sign because the primal objective coefficient of c is . Strong duality gives equality of the two attained optimal values and proves (32).
For fixed and , weak duality shows that the existence of satisfying
implies . Conversely, if , an optimal dual solution exists and satisfies these two relations. Imposing this equivalence for every gives exactly the epigraph
over . Minimizing therefore yields , proving (33).
Proof of Proposition 5. Fix and . For a candidate cost , consider first the standard-form minimization problem
Its dual is
Because is primal feasible, weak duality implies that the existence of satisfying
certifies optimality of under c. Conversely, if is optimal, LP strong duality supplies such a dual-optimal .
Next set . Conditional on being hindsight-optimal, the SPO+ threshold is
The dual of is
Nonemptiness and compactness of make the primal optimum finite and attained, so strong duality shows that (48) holds if and only if there is such that
The constraints therefore describe exactly the costs for which is optimal, while the constraints describe exactly the SPO+ threshold for that same vertex. Their projection onto the -coordinates is precisely . The objective in (34) is , so maximizing over the extended formulation has the same value as maximizing over , namely . An optimal exists by Proposition 2, and strong duality supplies corresponding and , so the oracle also attains this value.
A.2 Extended Analysis
Calibration-score ties and the augmented threshold. The split-conformal guarantee does not require a continuous score distribution. Conditional on training data that are independent of the joint calibration-test tuple, let be the exchangeable scores. Introduce independent and rank lexicographically. These pairs are exchangeable and almost surely distinct, so the rank of the test pair is uniform on . For ,
If , at least calibration scores are strictly smaller than . Their pairs all precede the test pair, so . Taking the contrapositive gives
Thus the inclusive conformal event has probability at least , including when calibration scores are tied.
If , the augmented threshold is and coverage is one. This is only a vacuous statistical branch. Even when is compact and every SPO+ score is finite, its -sublevel set is all of ; the upper piece inequalities no longer restrict recession directions, and worst-case regret can be infinite. Accordingly, all screening, margin, and finite master results are invoked only when .
Optimizer ties and the closed piecewise adversary
Proposition 6 (Tie-safe SPO+ representation and certificates). Retain the main paper's unique nominal optimizer , but allow realized costs to have optimizer ties and fix any deterministic measurable vertex-valued hindsight selector. For this extension only, define
For finite ,
the two sets agree at every cost having a unique optimizer, and
Moreover, for every ,
Thus passing to the closed union does not change any worst-case regret value, although it can add boundary costs and ensure that the piecewise adversarial maximum is attained. In particular, every additional cost in lies on an optimizer-tie boundary.
Define instead a compatible selector as follows: among all vertices minimizing , first minimize , and break any remaining tie by a fixed deterministic vertex order. If the SPO+ score and its calibration scores use this same rule, then
Proof. Take and let be the vertex returned by the fixed selector. Its optimality gives for every . The score inequality is equivalent to
which is the upper family defining . Hence , proving (49). If the optimizer under is unique, any must use that same in the score, so the upper piece inequalities also prove the reverse inclusion.
The selector-specific set contains and is contained in . Taking closures and applying (39) proves (50).
For any , the lower inequalities make optimal even if other vertices are tied. Regret is invariant to which optimizer is used, and therefore
The regret is continuous in c, so (50), (53), and Proposition 2 give (51).
It remains to prove exactness of the compatible selector. For a fixed , all its optimal vertices share the same value . Let
If v is any c-optimal vertex, the SPO+ score obtained by using v is
The compatible selector minimizes the final term among all -optimal vertices and therefore gives the smallest possible tied-optimizer score. Now take . The vertex is -optimal and its upper piece inequalities say that its score is at most . By (54), the compatible selector has a score no larger than this one, so . This proves the reverse inclusion and hence the set equality in (52). The equality of robust values then follows from (53).
For completeness, Proposition 6 also completes the arguments concerning attainment and probability statements under an arbitrary selector. By (51), the selector-specific is the finite maximum of the continuous functions , and hence is continuous. It therefore attains a minimum on compact , while attainment over finite is immediate. Furthermore,
The nested-domain ordering in Theorem 4 therefore holds for the selector-specific refinements as well. On the conformal event, the realized cost belongs to the selector-specific score set by definition, so its regret is bounded directly by the corresponding . Under any deterministic selector, the piecewise representations, truncation bounds, and continuous master compute the exact worst-case value. A closed-piece maximizer may nevertheless be merely a limit point of the selector-specific set; the compatible selector additionally makes the underlying set equality and closed-piece adversarial attainment exact.
Nominal ties, equality boundaries, and singleton polytopes. Continue to use the closed-union notation introduced above. Suppose now that is any fixed vertex selected from a non-singleton optimal face under . Then still holds for every vertex, and all vertices of the nominal optimal face have zero gap. The graph of a face of a polytope is connected. From , first traverse zero-gap edges inside the nominal face as follows. For a target vertex , apply the decreasing-edge argument from the proof of Proposition 3 until it terminates at some optimal vertex . The nominal face contains both and , and its one-skeleton gives a zero-gap path from to . Concatenating this path with the reversal of the descent from to constructs a nondecreasing path from the selected to . Hence the induced sublevel graph remains connected without nominal uniqueness.
If the nominal face contains another vertex, the first edge of a path to that vertex has zero gap. Consequently,
The margin certificate remains valid but reduces to the un-strengthened bound .
The inclusive screening boundary is also substantive. If , the witness keeps nonempty, while (43) forces throughout the piece. Such a piece may be lower-dimensional. For example, with , , , , and , its constraints reduce to , so . Likewise, at , closest nonnominal pieces are active but (47) forces their regret at to be zero. This is why the zero-certificate condition is inclusive.
If , define and, for finite , . There is no nonnominal or adjacent vertex, so the local-neighbor formula is not invoked. Every feasible decision equals , every regret and refinement value is zero, and all margin conclusions hold under this convention. If a pure or continuous refinement has multiple minimizers in a nons-ingleton problem, every minimizer has the same certificate value; a deterministic measurable tie rule is needed only to make the selected decision a well-defined random variable.
Context-dependent feasible sets and nonpositive costs. The rank argument remains valid when the feasible polytope varies across observations, provided the full observations
are exchangeable, the training data are independent of this joint tuple, and every realized is nonempty and compact. Assume also that the same jointly measurable optimization and tie-selection maps are used to construct every calibration and test score. Conditional on training, the resulting scores are then exchangeable. All geometric proofs are applied pointwise to each realized polytope. This formulation includes instance-specific prices and capacities in the fractional-knapsack experiments after the usual slack-variable standard-form lifting.
Corollary 2 (Validity with the nonpositive-cost support). Assume in addition that almost surely and replace every closed piece by . For finite , exact screening of these supported pieces, finiteness and attainment of piecewise regret, the truncation bound, and the margin certificate remain valid. On the SPO+ conformal event, the realized regret is bounded by the corresponding supported closed-union certificate with probability at least .
Proof. The screening necessity argument is unchanged because a supported piece is a subset of . For sufficiency, the witness used in (44) also belongs to , so
For every nonempty intersection of these polyhedra,
Thus every regret direction remains orthogonal to the recession cone, and the finite-generator proof of finiteness and attainment applies unchanged. Intersecting a piece can only decrease its support value, so all truncation and margin upper bounds remain valid.
On the conformal score event, Proposition 6 places in a closed piece. The almost-sure sign condition also gives , so belongs to the corresponding supported piece and its realized regret is bounded by the supported closed-union maximum. The event has probability at least . In the experiments this support condition follows from the construction with . In the fixed-piece oracle, the same intersection is implemented simply by adding ; all other duality constraints are unchanged.
B Experiment Details
B.1 Data-Generating Process and Split Protocol
All fractional-knapsack experiments use the feasible region
where is the fraction of item j selected, is its price, and b is the budget. We use a global seed of 42 and deterministic child random streams for the signal matrix and observations. We report one fixed split rather than averages over multiple top-level seeds.
For context dimension , a shared signal matrix is generated once for each experimental configuration. Its final two columns are zero. For the remaining columns, we generate a signal-inclusion indicator and a coefficient magnitude and set
The same is used for the training, calibration, and test observations. The context , conditional mean item value , realized value , and multiplicative noise satisfy
The optimization models use the minimization-cost convention .
Each item price is sampled independently and uniformly from the integers 100 through 1000. Let be the total price and the largest item price. With independent , define an upper budget limit and sample as follows:
A single deterministic observation stream is generated and then partitioned into disjoint training, calibration, and test subsets. All predictive models are trained on values. Predictions are transformed back to the original value scale and clipped below at zero before conversion to costs. No finite lower bound inferred from the synthetic value distribution is supplied to an uncertainty set.
B.2 Calibration and Evaluation Definitions
For calibration scores and miscoverage level , the split-conformal threshold is the exact order statistic
Thus, we do not substitute an interpolated empirical quantile for the conformal order statistic.
Let . The SPO+ calibration score is
Nominal, hindsight, and SPO+ score problems are solved as linear programs. Optimal-solution ties use a deterministic secondary objective so that the returned solution is a reproducible polytope vertex.
Reported regret uses the equivalent value convention
For test regrets , the performance summaries are the arithmetic mean, the empirical 0.95 quantile, and
which assigns exactly 5% empirical probability mass to the upper tail, using fractional weight at a tied boundary when necessary. A decision is recorded as changed when its distance from the nominal PTO decision exceeds .
B.3 Illustrative Objective-Space Geometry
The geometry figure is illustrative and is not constructed from a calibration sample. Its action set contains the eight unit-circle points
The predicted cost is . Scores are evaluated on a grid over , using the illustrative values and residual radius 0.70. The four panels show the closed normal-fan regions, the residual set , the exact-regret sublevel set, and the SPO+ sublevel set. In the last panel, a normal-fan piece is active precisely when
These numerical values serve only to visualize the different objective-space geometries.
B.4 Active Pieces and Margin Early Exit
The exact-validation configuration is
with . The predictor is kernel ridge regression with an RBF kernel, regularization 0.1, and kernel parameter 0.03. Both features and multi-output targets are standardized using training data only.
Exact Enumeration Audit For every test context, all vertices of the fractional-knapsack polytope are explicitly enumerated. The complete active set obtained by enumeration is compared with the adjacency-based search. The local margin
is also compared with complete enumeration. No active-piece cap is imposed in this experiment.
The histogram uses complete active-piece counts. The margin diagnostic uses , places on the horizontal axis and the nominal set-relative certificate on the vertical axis, and records the frequency with which the margin rule accepts the nominal decision without solving a robust master.
B.5 Certified Anytime Active-Piece Generation
We empirically examine the certified early-stopping rule in Corollary 1 under the main , setting. The predictor, calibration threshold, and 500 test contexts are held fixed. The feasible polytopes contain vertices on average, while the complete active sets contain only 44.956; the full local traversal evaluates 380.472 distinct vertices on average. For each context, we enumerate active vertices in nondecreasing predicted gap and consider requested prefix budgets
If the th vertex lies on a predicted-gap plateau, the prefix is expanded through the entire plateau. Thus the retained set is exactly for the recorded boundary ; we denote its size by . This tie-safe convention altered only two of the 500 contexts at one grid budget each, changing from 10 to 11 and from 25 to 27.
For each tie-safe prefix and each decision domain, we solve the restricted refinement and record
We declare exact certification only when up to the prespecified scale-aware tolerance, or when the complete active set has been exhausted. The reported optimality gap is zero in either certified case and otherwise, normalized by . As an independent check, every row satisfies . The reference is the full-set certificate established in the main experiment: 472 contexts are exhausted within 100 pieces, and the separate full-set audit verifies the remaining 28 contexts.
Figure 3(a) shows that exact certification arrives substantially before exhaustive enumeration. With , the certification rates are 99.6% for Pure RR and 91.4% for Continuous RR, whereas only 56.2% of the active sets have been fully enumerated. At , these rates rise to 99.8% and 98.4%, respectively; at , they are 100% and 99.8%. Equivalently, the first requested grid budget certifying exactness is at most 25 for 498 Pure RR instances and 457 Continuous RR instances. These are first certifying points on the chosen grid, not theoretical minimum prefix sizes.
As shown in Figure 3(b), the certified gap contracts rapidly even before exact termination. For Pure RR, its median is already zero at M = 5, while its 0.90 quantile falls from 0.700 at M = 5 to 0.128 at M = 10 and zero at M = 25. For Continuous RR, the corresponding median/0.90-quantile values are 0.314/0.739, 0.030/0.395, and 0/0. Hence the gap bound remains informative in the instances that are not yet exactly certified.
Table 3 separates the cost of prefix generation from the robust master. The best-first search takes a median of 15.1 ms and a 0.90 quantile of 51.8 ms by M = 100, whereas the paired master solve has corresponding times of 1.045 and 2.959 seconds. Moreover, the median saturates at 22, because more than half of the active sets are already complete. These results support the output-sensitive interpretation of the method on this benchmark: a small gap-ordered prefix usually suffices for a rigorous full-problem certificate, and the search itself is not the computational bottleneck.
The single Continuous RR instance not certified by is a 4,770-piece extreme case; its normalized certified gap is 0.111. Thus, rather than recommending M = 100 as a general rule, the experiment further supports our conclusion that the number of active pieces required in practice is typically small relative to the total number of vertices.
B.6 Coverage of Calibrated Sets
We compare what the calibrated sets cover in parameter space with what their induced certificates cover at the decision level. This experiment uses the same split, RBF kernel-ridge predictor, and five calibration levels as the exact-validation experiment. For method , let denote its calibrated uncertainty set and let be the decision returned from that set. We record
and
The SPO+ row uses the continuous regret-refinement decision. The other three rows use their method-specific Cost-RO decisions, after which is evaluated over the complete corresponding uncertainty set. Thus, the experiment compares the certificates naturally attached to the decisions each method actually prescribes; it does not replace the Cost-RO objectives of the conventional baselines by regret minimization.
As shown in Table 4, parameter coverage generally follows the nominal sequence, with the modest departures expected from one fixed calibration-test split. The largest Bernoulli standard error for 500 test observations is 0.022, so small differences from should not be interpreted as evidence for or against the marginal guarantee. More importantly, parameter inclusion deterministically implies decision-regret coverage for every method, but the converse need not hold. The conventional sets consequently attain decision-regret coverage between 0.992 and 1.000, even when their parameter coverage is close to the nominal target. The corresponding gap is smaller for the SPO+ set, especially at the lower miscoverage levels. High decision-regret coverage alone, however, may result from a loose certificate rather than a more informative characterization of decision risk.
To distinguish these explanations, Table 5 reports the scale of the same full-set certificates. The SPO+ certificate has a median of 4.990 at and 1.407 at , and its median is exactly zero from onward. Its 0.95 quantile falls from 7.697 to zero across the calibration levels. By contrast, the Residual- and KNN–Ellipsoid certificates remain much larger throughout. The contextual box has a slightly smaller median at , but its 0.95 quantile is 28.944, compared with 7.697 for SPO+. Hence, the near-universal decision-regret coverage of the conventional sets is accompanied by substantially wider regret bounds. This comparison supports the distinction motivating our construction: comparable marginal coverage in parameter space does not by itself imply a decision-informative certificate, whereas calibration in the SPO+ geometry more closely couples coverage to the downstream regret scale. These comparisons concern marginal coverage; they do not assert conditional coverage or uniform dominance in realized decision performance.
B.7 Main Decision-Performance Comparison
Experimental Setup and Refinement Implementation The main comparison uses
All methods use the same observations and test contexts. The principal predictor is polynomial kernel ridge regression, selected by training-only five-fold cross-validation. The tuning grid contains ten logarithmically spaced regularization strengths from to and polynomial degrees . The kernel scale is , and the offset is . The selected configuration is degree 2 with ; its mean cross-validation MSE is 999.114. Feature and multi-output target standardization are fitted inside each training fold, after which the selected model is refitted on all 5000 training observations.
The compared methods are Nominal PTO, SPO+ Pure RR, SPO+ Continuous RR, Conformal Residual- Cost-RO, Conformal Box Cost-RO, and KNN–Ellipsoid Cost-RO. The two SPO+ methods minimize worst-case regret over the calibrated SPO+ set. Pure RR restricts the returned decision to a vertex of the fractional-knapsack polytope, whereas Continuous RR optimizes over the full fractional polytope.
The active-piece search starts at the nominal vertex and uses a priority queue ordered by the predicted objective gap
Canonical vertex keys, rounded to ten decimal places, break equal-gap ties. Only vertices satisfying
are expanded. For computational efficiency, the pure and continuous masters are first solved using the same best-first
Table 3: Certified anytime behavior by requested prefix budget. Exact, full-set, and tie-expansion columns are percentages; effective prefix sizes and runtimes are reported as median / 0.90 quantile. Search time is in milliseconds and paired-solve time is in seconds.
| Domain | Exact | Full set | Tie exp. | Search (ms) | Solve (s) | ||
|---|---|---|---|---|---|---|---|
| Pure RR | 1 | 0.8 | 0.8 | 0.0 | 1.0/1.0 | 0.769/1.231 | 0.049/0.108 |
| Pure RR | 5 | 63.2 | 5.8 | 0.0 | 5.0/5.0 | 3.418/4.577 | 0.312/0.606 |
| Pure RR | 10 | 86.6 | 21.6 | 0.2 | 10.0/10.0 | 6.668/8.487 | 0.483/1.045 |
| Pure RR | 25 | 99.6 | 56.2 | 0.2 | 22.0/25.0 | 14.931/18.760 | 0.833/1.557 |
| Pure RR | 50 | 99.8 | 83.2 | 0.0 | 22.0/50.0 | 15.055/33.920 | 1.045/2.107 |
| Pure RR | 100 | 100.0 | 94.4 | 0.0 | 22.0/72.1 | 15.055/51.759 | 1.045/2.959 |
| Continuous RR | 1 | 0.8 | 0.8 | 0.0 | 1.0/1.0 | 0.769/1.231 | 0.049/0.108 |
| Continuous RR | 5 | 17.8 | 5.8 | 0.0 | 5.0/5.0 | 3.418/4.577 | 0.312/0.606 |
| Continuous RR | 10 | 46.4 | 21.6 | 0.2 | 10.0/10.0 | 6.668/8.487 | 0.483/1.045 |
| Continuous RR | 25 | 91.4 | 56.2 | 0.2 | 22.0/25.0 | 14.931/18.760 | 0.833/1.557 |
| Continuous RR | 50 | 98.4 | 83.2 | 0.0 | 22.0/50.0 | 15.055/33.920 | 1.045/2.107 |
| Continuous RR | 100 | 99.8 | 94.4 | 0.0 | 22.0/72.1 | 15.055/51.759 | 1.045/2.959 |
Table 4: Marginal parameter and decision-regret coverage on the fixed test split. Each entry is parameter coverage / decision-regret coverage; the nominal target is .
| Method | |||||
|---|---|---|---|---|---|
| SPO+ regret set (Continuous RR) | 0.964/0.974 | 0.912/0.926 | 0.826/0.862 | 0.706/0.802 | 0.656/0.816 |
| Residual- Cost-RO | 0.938/0.998 | 0.892/0.998 | 0.804/0.998 | 0.696/0.996 | 0.572/0.992 |
| Contextual Box Cost-RO | 0.942/1.000 | 0.904/1.000 | 0.796/1.000 | 0.714/1.000 | 0.608/0.998 |
| KNN-Ellipsoid Cost-RO | 0.936/1.000 | 0.868/1.000 | 0.778/1.000 | 0.678/1.000 | 0.570/1.000 |
Table 5: Scale of the method-specific full-set regret certificates in Table 4. Each entry is the median / 0.95 quantile over the 500 test observations.
| Method | |||||
|---|---|---|---|---|---|
| SPO+ regret set (Continuous RR) | 4.990/7.697 | 1.407/3.031 | 0.000/0.751 | 0.000/0.073 | 0.000/0.000 |
| Residual- Cost-RO | 35.783/55.768 | 30.142/47.248 | 23.427/37.042 | 18.935/30.515 | 14.934/25.445 |
| Contextual Box Cost-RO | 4.033/28.944 | 3.531/26.607 | 2.792/21.779 | 2.488/20.421 | 2.132/18.512 |
| KNN-Ellipsoid Cost-RO | 88.626/244.809 | 50.288/165.904 | 28.770/90.569 | 20.315/60.454 | 15.750/46.285 |
prefix of at most 100 active pieces. Every returned decision is then reevaluated against the complete active set, so the reported certificates use the full set rather than the retained prefix. The complete set contains at most 100 pieces in 472 of the 500 test contexts. In each of the remaining 28 contexts, the full-set certificate is exactly equal to its prefix certificate for both refinements; hence the prefix solution is also optimal for the full active set. The worst-case pieces have maximum prefix ranks 28 and 27 for Pure and Continuous RR, respectively. Thus, the 100-piece limit is only a computational device and does not alter any reported decision or certificate. When , up to the scale-aware numerical tolerance, the nominal decision is returned directly.
Cost-RO Baselines Unlike the proposed refinements, the three conventional baselines solve
and do not optimize worst-case regret. Each baseline has its own calibration score and conformal threshold. Since item values are nonnegative, the minimization costs satisfy . For solver implementation, strict negativity is represented numerically by
Replacing the boundary value with is primarily intended to improve numerical stability while providing a solver-compatible implementation of . The SPO+ fixed-piece models use the closed limiting support .
For Residual- Cost-RO, the score and calibrated set are
The direct SOCP reformulation uses dual variables for the cost-support constraints and solves
For the contextual Box baseline, a separate gradient-boosting quantile regressor is fitted to the absolute training residuals of each item. Its settings are loss=quantile, alpha=0.8, n_estimators=40, max_depth=2, and random_state=42. Its predicted scale is truncated below at . With scale vector , the calibration score is
The calibrated coordinate bounds are
intersected with . Since , the robust problem is the LP
For KNN–Ellipsoid Cost-RO, features are standardized using the training split. Each calibration or test context uses its nearest training observations. Their observed costs define a local mean ; the local covariance is estimated using Ledoit–Wolf shrinkage. If its smallest eigenvalue is below , the implementation adds the following multiple of the identity matrix :
The calibration score and uncertainty set are
With covariance factor satisfying , the direct SOCP reformulation is
Regret-Distribution Profiles The summary statistics in Table 2 do not identify where the tail benefit of refinement begins. We therefore compare the empirical regret distributions at over 100 evenly spaced quantile levels from 0.50 through 0.99. Figure 4(a) displays the quantile curves, while panel (b) subtracts the corresponding Nominal PTO quantile to make the location and direction of each difference explicit.
Continuous RR performs worse over the center of the distribution but improves upon Nominal PTO from approximately the 0.94 quantile onward, thereby reducing severe regret. Pure RR closely follows the nominal curve and intervenes only in the subset of contexts identified as vulnerable by the calibrated regret model. Hence, continuous refinement emphasizes tail protection, while pure refinement adds robustness with limited disruption to nominal performance.
(a) Regret quantiles

(b) Gap to nominal
Figure 4: Realized-regret distribution at . (a) Empirical regret quantiles. (b) Quantile-wise gap to Nominal PTO, where negative values are better. KNN–Ellipsoid is omitted for scale and retained in Table 2.
B.8 Objective-Matched Regret Comparison
We complement the main comparison with minimax-regret variants of the three residual-based RO baselines. The experiment uses the same fractional-knapsack instances, predictor, calibration sample, and 500 test observations at as Table 2. For each calibrated set , where denotes Residual-, Box, or KNN–Ellipsoid, we solve
Each baseline retains its original calibrated set and support constraints, changing only the downstream objective. The decision domain is the full fractional polytope, as in Continuous RR. All three baseline variants attain a relative optimality gap of at most on all 500 test instances.
Table 6: Objective-matched performance at n = 20 and on 500 test observations. Change is the decision-change rate; Time is mean recorded time per instance (one solver thread for PTO, SPO+, and Box; up to twenty for Residual- and KNN).
| Method | Mean | Q95 | CVaR95 | Change | Time (s) |
|---|---|---|---|---|---|
| Nominal PTO | 7.605 | 38.664 | 60.557 | 0.000 | 0.00124 |
| Pure RR | 7.763 | 38.956 | 61.814 | 0.100 | 1.41800 |
| Continuous RR | 11.117 | 35.137 | 52.618 | 0.990 | 1.88969 |
| Box RR | 17.890 | 57.051 | 73.152 | 0.986 | 0.10363 |
| Residual- RR | 38.348 | 64.456 | 78.628 | 1.000 | 13.15628 |
| KNN RR | 52.924 | 119.828 | 146.999 | 1.000 | 14.37106 |
Table 6 shows that both SPO+ refinements achieve lower mean and tail regret than all three objective-matched baselines. Switching KNN from worst-case cost to minimax regret improves its mean regret from 624.111 to 52.924, while the advantage of SPO+ remains. These results support the contribution of the SPO+-calibrated set beyond the choice of downstream objective.
Pure and Continuous RR are run consecutively with shared active-piece search and model construction; their reported times include this common work and their respective optimization and certification stages.
B.9 Additional Validation of Marginal Guarantees
As a supplementary check using the same exact-validation split, we evaluate the prespecified marginal events for the proposed method across all five calibration levels.
For each , we evaluate the six empirical events
An event is accepted numerically when
The validation table reports the empirical frequencies with target .
Table 7 reports the six prespecified marginal events. SPO+ score inclusion frequencies are 0.964, 0.912, 0.826, 0.706, and 0.656, compared with targets 0.95, 0.90, 0.80, 0.70, and 0.60, respectively. The nominal-regret, set-relative, and margin-certificate events are likewise at or above their corresponding targets. These fixed-seed empirical frequencies are consistent with the marginal guarantees up to ordinary finite-sample variation.
B.10 Additional Predictor-Quality Comparison
Predictors and Model Selection This experiment uses the same data, fixed split, test contexts, seed, and as the main comparison. It includes only Nominal PTO, SPO+ Pure RR, and SPO+ Continuous RR. Each predictor has its own SPO+ calibration scores and conformal threshold; a threshold calibrated for one predictor is never reused for another.
All new predictors are selected by deterministic five-fold cross-validation on the training split. The folds are shuffled using seed 42, and selection minimizes mean multi-output validation MSE. Grid search uses four parallel workers, with estimator-level parallelism restricted to one worker. The selected model is refitted on the complete training split. Polynomial KRR reuses the model, predictions, and calibration evidence from the main comparison.
Ridge. The regularization grid contains nine logarithmically spaced values of from to . Feature and target standardization are fitted within each fold. The selected value is , with mean cross-validation MSE 1151.114.
Polynomial KRR. The kernel and tuning grid follow Appendix B.7. The reused configuration is and , with mean cross-validation MSE 999.114.
RBF KRR. The grid is
Features and targets are standardized within each fold. The selected configuration is and , with mean cross-validation MSE 1033.416.
MLP. The candidate hidden-layer configurations are (64) and (128, 64), with weight-decay values and initial learning rates . All candidates use ReLU activations, Adam, at most 500 epochs, an early-stopping validation fraction of 0.1, a 30-epoch no-improvement rule, and seed 42. Features and targets are standardized within each fold. The selected configuration has one 64-unit hidden layer, weight decay , and initial learning rate ; its mean cross-validation MSE is 1032.420.
Random Forest. The grid is
The model uses raw features and raw multi-output values, seed 42, and one estimator worker. The selected configuration has 400 trees, , and , with mean cross-validation MSE 3106.874.
The independently calibrated SPO+ thresholds, in the row order of Table 8, are 110.280, 88.482, 90.922, 91.778, and 202.496. Test RMSE is computed jointly over all test observations and items. For each predictor, the reported mean active-piece count comes from a complete, uncapped adjacency search. The Pure and Continuous RR masters subsequently use at most the first 150 active pieces in best-first order. The raw output stores the complete count, used count, and truncation indicator separately. The margin-skip rate is the fraction of test contexts satisfying . No Cost-RO baseline is rerun in this experiment.
Exploratory Results Table 8 summarizes prediction accuracy, mean decision regret, and complete active-piece counts for the five predictors. The refinement masters use at most the first 150 pieces in best-first order, so this computational cap does not truncate the reported geometric statistic.
Prediction accuracy and downstream performance are related but not interchangeable. Polynomial KRR has the lowest test RMSE (31.55), whereas RBF KRR has the lowest Nominal and Pure-RR mean regrets (7.56 and 7.70); polynomial KRR instead has the lowest Continuous-RR mean regret (11.12). Pure RR remains close to Nominal PTO for
Table 7: Empirical probabilities for the six validation events; nominal target 1 – . These marginal frequencies summarize one fixed-seed experiment and do not claim conditional coverage.
| Event | |||||
|---|---|---|---|---|---|
| SPO+ score inclusion | 0.964 | 0.912 | 0.826 | 0.706 | 0.656 |
| Nominal regret | 0.994 | 0.978 | 0.928 | 0.850 | 0.816 |
| Pure RR set-relative certificate | 0.978 | 0.944 | 0.882 | 0.818 | 0.816 |
| Continuous RR set-relative certificate | 0.974 | 0.926 | 0.862 | 0.802 | 0.816 |
| Pure RR margin certificate | 0.980 | 0.946 | 0.888 | 0.820 | 0.816 |
| Continuous RR margin certificate | 0.982 | 0.942 | 0.882 | 0.806 | 0.816 |
Table 8: Prediction quality, decision regret, and refinement geometry. Active counts use the complete uncapped search; Lower values are better except for the skip rate.
| Predictor | RMSE | Nominal | Pure RR | Continuous RR | Active | Skip (%) |
|---|---|---|---|---|---|---|
| Ridge | 33.87 | 10.08 | 9.97 | 14.60 | 370.63 | 0.20 |
| Poly. KRR | 31.55 | 7.60 | 7.76 | 11.12 | 44.96 | 0.80 |
| RBF KRR | 32.15 | 7.56 | 7.70 | 11.35 | 45.47 | 0.80 |
| MLP | 31.96 | 7.75 | 7.84 | 11.74 | 45.66 | 0.60 |
| Random forest | 53.94 | 20.17 | 20.88 | 29.50 | 181.42 | 0.20 |
every predictor and slightly improves Ridge from 10.08 to 9.97, but is slightly worse for the other four. Continuous RR has higher mean regret than Nominal PTO throughout, consistent with the mean-tail trade-off observed in the main comparison rather than a uniform improvement in average performance. Random forest is weakest in both RMSE and regret, although the remaining prediction and decision rankings are not identical.
Geometric complexity is even less closely related to prediction quality. Polynomial KRR, RBF KRR, and the MLP have similar complete mean active-piece counts (44.96, 45.47, and 45.66), whereas Random Forest has 181.42 and Ridge has the largest mean, 370.63, despite substantially outperforming Random Forest in prediction and decision quality. Margin certificates trigger on only 0.2%–0.8% of contexts. The 150-piece refinement cap binds in 232 of the 2,500 predictor-context pairs, including 151 Random-Forest pairs; the reported active counts nevertheless use the complete search. These fixed-split comparisons are descriptive: the predictor jointly changes its errors, calibrated score distribution, and local decision geometry, so RMSE alone does not determine regret or search burden.
B.11 Optimization and Numerical Settings
The main knapsack experiments use
Fractional-knapsack LPs use deterministic dual simplex and a secondary tie-breaking optimization that preserves the primary objective. The pure vertex master additionally uses
IntFeasTol = . The auxiliary mixed-integer regret oracle used to evaluate the Cost-RO certificates in Table 5 uses FeasibilityTol = and IntFeasTol = . The tighter primal tolerance prevents a feasible-vertex decomposition error from being amplified by the cost coefficients.
The SPO+ masters use constraint generation with at most 200 iterations and add all currently violated cuts at each iteration. The final certificate is independently recomputed over all retained fixed-piece oracles. A solve is accepted only if Gurobi returns OPTIMAL, any applicable relative gap is at most , all certificates are finite, and the normalized physical feasibility residual is at most . The continuous, pure, and nominal certificates must also satisfy their expected hierarchy up to a scale-aware tolerance of . Failures are treated as errors; no failed instance is silently replaced by its nominal decision or removed from the test sample. The Cost-RO decisions themselves use one LP or SOCP and do not optimize through the bilinear adversarial-regret oracle; that oracle is invoked only afterward to evaluate the supplementary full-set certificates.
B.12 Computing Environment
All experiments were run on a PC with an Intel Core Ultra 9 275HX processor and 32 GB of RAM, using 64-bit Microsoft Windows 11. The implementation used Python 3.12.7, Gurobi 13.0.1, NumPy 2.4.3, pandas 2.3.2, SciPy 1.16.0, scikit-learn 1.7.1, joblib 1.5.2, and Matplotlib 3.10.6. GPU acceleration is not used. Although the processor provides 24 cores, the main knapsack experiments used one Gurobi thread per solve.
C Additional Experiments
We complement the fractional-knapsack experiments with two additional LP cases: solar-grid budget allocation using real installation data and synthetic sparse transportation.
Both cases compare the same six methods as the main experiment.
C.1 Real-Data Solar-Grid Allocation
Data and Rolling Evaluation Protocol We follow the solar-grid investment setting of Zhou, Orfanoudaki, and Zhu (2026), using publicly released monthly aggregates of the real solar-installation data studied by Zhou et al. (2025). The series covers four substations from January 2011–December 2024, with 168 monthly observations of a four-dimensional count vector and 182 installations in total. The monthly sequence has no missing observations, and zero-installation months are retained.
For each evaluation year , we use a 24-month window from January of year through December of year . The three chronological splits are:
• training: January–August of year y - 1;
• calibration: September of year y - 1–April of year y;
• testing: May–December of year y.
Each split contains eight months. Advancing the window by twelve months produces twelve evaluation windows and 96 distinct test months. The miscoverage level is throughout.
Let denote the installation count at station j in month t, and let be the training months for year y. We define the station-specific threshold , the smoothed overload-loss coefficient , and the sigmoid function as follows:
Thus, each station's threshold is determined by its training-period installation history, and larger installation counts yield larger loss coefficients. The same threshold is used to transform the training, calibration, and test observations within that window.
The point predictor is the historical mean of the transformed training costs:
This historical-mean setting uses the four station histories directly. Predictions and calibrated sets are held fixed over the eight test months and updated when the window advances.
Allocation Model and Regret Before the monthly loss coefficients are observed, a planner allocates a divisible upgrade budget of two station-equivalents. An upgrade fraction reduces station 's exposure by the same fraction, subject to . Writing for the remaining exposure gives the linear allocation model
Here the window superscript on is suppressed. The objective is a dimensionless smoothed overload loss, and realized regret is
The feasible region has the eleven vertices
Nominal PTO optimizes the predicted loss over this region. Pure RR chooses a vertex, corresponding to full upgrades at selected stations, while Continuous RR permits fractional upgrades across stations.
Calibration and Refinement Each method computes its score on the eight calibration months using the fixed training-period predictor. The conformal order-statistic index is
so the threshold is the largest of that method's eight calibration scores. Pure and Continuous RR share the same SPO+ threshold and uncertainty set.
The Residual- , Box, and KNN–Ellipsoid baselines follow Appendix B.7. For this historical-mean setting, their context input is constant and the calibrated sets are used over . KNN uses all eight training observations, ; its small-sample covariance uses an eigenvalue floor of . The score definitions and other baseline parameters are unchanged.
The eleven vertices are explicitly available, so we retain every active SPO+ piece identified by the screening rule. A fixed-piece LP evaluates the worst-case regret of each candidate decision. Pure RR compares all eleven feasible vertices. Continuous RR combines the dual representations of all active pieces into the finite LP of Proposition 4, and its returned decision is evaluated again using the primal fixed-piece oracles. The master objective and recomputed worst-case regret agree within . Solver settings follow Appendix B.11.
Hindsight optimizer ties are resolved by minimizing predicted cost among the tied vertices, followed by a fixed vertex order. Among equally good Pure-RR candidates, the implementation first minimizes the predicted objective gap and then uses the same fixed order.
Decision Performance All methods are evaluated on the same 96 test months. We pool their monthly regrets to compute the mean, linearly interpolated Q95, and empirical CVaR95 using the definitions in Appendix B.2. For this sample size, the upper 5% corresponds to 4.8 observations, so CVaR95 uses the four largest regrets and 0.8 of the fifth-largest regret, divided by 4.8.
Pure and Continuous RR are run consecutively and share the piece models constructed in the Pure stage; the table reports their separately recorded stage times.
Monthly solar-installation data released with CREDO.
In Table 9, Continuous RR reduces CVaR95 from 0.3718 to 0.2464, a 33.7% reduction, with a 1.7% increase in mean regret. It also lowers Q95 from 0.2606 to 0.2059 and attains the lowest tail regret among the six methods. Residual- RO produces a similar tail profile, while Pure RR preserves the nominal decisions and their mean regret.
In all 96 test months, Continuous RR spreads the budget across all four stations, with station-level upgrade fractions ranging from 0.493 to 0.507. Nominal PTO and Pure RR fully upgrade two stations. The application therefore gives a direct allocation interpretation of the mean-tail trade-off.
Table 9: Decision performance for real-data solar-grid allocation ( , 96 test months). Change is the decision-change rate; Time is the mean recorded solver-stage time. Lower regret is better.
| Method | Mean | Q95 | CVaR95 | Change | Time (s) |
|---|---|---|---|---|---|
| Nominal PTO | 0.07869 | 0.2606 | 0.3718 | 0.000 | 0.00043 |
| Pure RR | 0.07869 | 0.2606 | 0.3718 | 0.000 | 0.01193 |
| Continuous RR | 0.08003 | 0.2059 | 0.2464 | 1.000 | 0.00547 |
| Residual- RO | 0.08006 | 0.2062 | 0.2471 | 1.000 | 0.00140 |
| Box RO | 0.1177 | 0.3541 | 0.4488 | 1.000 | 0.00038 |
| KNN RO | 0.09353 | 0.2365 | 0.3075 | 1.000 | 0.00130 |
C.2 Sparse Transportation Linear Programs
Network and Data Generation The network has eight origins, eight destinations, and 32 permitted shipping arcs, half of the 64 possible origin-destination connections. We use five independent seeds, 42–46. For each seed, supply and demand vectors are drawn independently from Dirichlet(2, ..., 2) and then fixed, each summing to one. Draws are screened to keep distinct proper supply and demand subset sums more than apart, giving nondegenerate transportation vertices.
To construct a feasible sparse network, we first solve the complete-network transportation problem with arc costs sampled independently from Unif[0, 1]. We retain the resulting spanning-tree support of fifteen arcs and add seventeen arcs sampled without replacement from the remaining connections. The resulting arc set, supply vector, and demand vector are shared by all training, calibration, and test observations for that seed.
We use the quadratic multiplicative-noise generator from Appendix B.1. For each arc , let denote its feature-coefficient vector, its conditional mean cost, and its multiplicative noise:
For the first thirteen features, the coefficients satisfy
independently across arcs and features; the final two coefficients are zero. The signal matrix is generated once per seed and held fixed across the three data splits. Contexts and multiplicative noises are independent across observations. Costs are nonnegative and are used directly as minimization coefficients.
Transportation Model Let be the set of permitted arcs. For , let denote the shipment from origin to destination and its realized unit cost. With supplies and demands , the transportation LP is:
Total shipment volume is one. Removing one redundant demand equality gives the standard form
where is the balance-constraint matrix of rank 15 and contains the eight supplies and seven retained demands. The feasible region has dimension 17. Each nondegenerate vertex has fifteen positive arcs forming a spanning tree. Pure RR selects such a vertex; Continuous RR allows any feasible shipment plan. For a realized arc-cost vector , regret is
Prediction and Calibration Each seed uses 5000 training observations, 2000 calibration observations, and 500 test observations. All six methods share these observations and sample splits. The predictor is multi-output polynomial kernel ridge regression with the kernel, tuning grid, and training-only five-fold selection procedure of Appendix B.7. Feature and target standardization are fitted within each training fold. All five seeds select degree 2 and , after which the model is refitted on all 5000 training observations. Predicted costs are returned to the original scale and clipped below at zero.
We use . Each score has its own threshold, given by order statistic
of its calibration scores. Both SPO+ refinements use the same SPO+ scores and threshold. The Residual- , Box, and KNN–Ellipsoid baselines follow Appendix B.7, with the known support replacing the knapsack sign constraint. Their score definitions, training procedures, and hyperparameters, including k = 100 for KNN, are unchanged.
Active-Piece Generation and Refinement Active pieces are generated from the nominal transportation vertex in non-decreasing predicted-gap order. The adjacency oracle adds a nonbasic arc to the current spanning tree, follows the resulting cycle, and adjusts alternating flows until one tree arc
Table 10: Decision performance on the 8 × 8 transportation network with 32 arcs (). Entries average per-seed summaries over five seeds, each with 500 test observations. Change is the decision-change rate; Time is mean online time.
| Method | Mean | Q95 | CVaR95 | Change | Time (s) |
|---|---|---|---|---|---|
| Nominal PTO | 0.843 | 3.720 | 5.379 | 0.000 | 0.00202 |
| Pure RR | 0.851 | 3.726 | 5.380 | 0.070 | 0.15305 |
| Continuous RR | 1.235 | 3.466 | 4.875 | 0.997 | 0.54145 |
| Residual- RO | 3.154 | 6.813 | 7.967 | 0.963 | 0.00378 |
| Box RO | 0.913 | 4.066 | 5.661 | 0.240 | 0.00190 |
| KNN RO | 3.235 | 9.609 | 12.874 | 0.851 | 0.00777 |
leaves the support. Positive-arc supports identify distinct vertices. As in the knapsack experiment, only vertices satisfying the active-piece screening condition are expanded.
The generator uses requested prefix budgets
extending through a complete equal-gap plateau when needed. Each retained piece supplies a fixed-piece LP adversary with . Continuous RR uses an LP master with scenario cuts. Pure RR uses the same cuts and binary arc-selection variables to represent a transportation vertex:
together with the balance constraints in (57). Thus Pure RR ranges over all transportation vertices and Continuous RR over the full feasible polytope; the prefix restricts the adversarial pieces.
Let LB denote the master lower bound and UB the full-problem upper bound obtained by combining the adversarial upper bound with the omitted-piece bound in Corollary 1. Refinement stops when UB – LB is at most
or the final prefix budget is reached. The constraint-generation loops have per-instance time budgets of 30 seconds for Pure RR and 20 seconds for Continuous RR. Solver settings follow Appendix B.11, with feasibility and integrality tolerances of for the pure master. Nominal and hindsight LPs use deterministic dual simplex and a fixed secondary objective to resolve optimizer ties.
At the final budget, Pure RR is certified on all 2500 test instances and Continuous RR on 2493 of 2500; neither method reaches its time budget. The performance summaries include the returned feasible decisions for all 500 test instances per seed.
Decision Performance For each seed, we compute mean regret, Q95, CVaR95, the decision-change rate, and mean online time over its 500 test observations. Table 10 reports the arithmetic mean of these per-seed summaries over the five seeds. Time includes amortized prediction and baseline-query costs together with optimization, excluding offline
training and calibration. Pure and Continuous RR run consecutively within each generation round, sharing active-piece search and model construction; their reported times include this common work and their respective optimization stages.
Continuous RR reduces Q95 from 3.720 to 3.466 and CVaR95 from 5.379 to 4.875, a 9.4% reduction in CVaR95, while mean regret increases from 0.843 to 1.235. Pure RR remains close to nominal average performance and has the lowest mean regret among the robust methods. It changes 6.96% of nominal shipment plans, illustrating selective intervention under coupled supply and demand constraints.