Prescribe-Then-Select: Adaptive Policy Selection for Contextual Stochastic Optimization
Abstract
We address the problem of policy selection in contextual stochastic optimization (CSO), where covariates are available as contextual information and decisions must satisfy hard feasibility constraints. In many CSO settings, multiple candidate policies—arising from different modeling paradigms—exhibit heterogeneous performance across the covariate space, with no single policy uniformly dominating. We propose Prescribe-then-Select (PS), a modular framework that first constructs a library of feasible candidate policies and then learns a meta-policy to select the best policy for the observed covariates. We implement the meta-policy using ensembles of Optimal Policy Trees trained via cross-validation on the training set, making policy choice entirely data-driven. Across two benchmark CSO problems—single-stage newsvendor and two-stage shipment planning—PS consistently outperforms the best single policy in heterogeneous regimes of the covariate space and converges to the dominant policy when such heterogeneity is absent. All the code to reproduce the results can be found at https://anonymous.4open.science/r/Prescribe-then-Select-TMLR.
Cite
Text
de Próspero Iglesias et al. "Prescribe-Then-Select: Adaptive Policy Selection for Contextual Stochastic Optimization." Transactions on Machine Learning Research, 2026.Markdown
[de Próspero Iglesias et al. "Prescribe-Then-Select: Adaptive Policy Selection for Contextual Stochastic Optimization." Transactions on Machine Learning Research, 2026.](https://mlanthology.org/tmlr/2026/deprosperoiglesias2026tmlr-prescribethenselect/)BibTeX
@article{deprosperoiglesias2026tmlr-prescribethenselect,
title = {{Prescribe-Then-Select: Adaptive Policy Selection for Contextual Stochastic Optimization}},
author = {de Próspero Iglesias, Caio and Carballo, Kimberly Villalobos and Bertsimas, Dimitris},
journal = {Transactions on Machine Learning Research},
year = {2026},
url = {https://mlanthology.org/tmlr/2026/deprosperoiglesias2026tmlr-prescribethenselect/}
}