Skip to main navigation Skip to search Skip to main content

A Surrogate Piecewise Linear Loss Function for Contextual Stochastic Linear Programs in Transport

Research output: Journal article publicationJournal articleAcademic researchpeer-review

Abstract

Accurate decision making under uncertainty for transport problems often requires predicting unknown parameters from contextual information. Traditional two-stage frameworks separate prediction and optimization, which can lead to suboptimal decisions, as minimizing prediction error does not necessarily minimize decision loss. To address this limitation, inspired by the smart predict-then-optimize framework, we introduce a novel tunable piecewise linear loss function (PLLF). Rather than directly incorporating decision loss into the learning objective based on specific problem, PLLF serves as a general feedback mechanism that guides the prediction model based on the structure and sensitivity of the downstream optimization task. This design enables the training process to prioritize predictions that are more decision-relevant. We further develop a heuristic parameter search strategy that adapts PLLF using validation data, enhancing its generalizability across different data settings. We test our method with a binary route selection task—the simplest setting to isolate and assess the impact of our modeling approach on decision quality. Experiments across multiple machine learning models demonstrate consistent improvements in decision quality, with neural networks showing the most significant gains—improving decision outcomes in 36 out of 45 cases. These results highlight the potential of our framework to enhance decision-making processes that rely on predictive insights in transportation systems, particularly in routing, scheduling, and resource allocation problems where uncertainty plays a critical role. Overall, our approach offers a practical and scalable solution for integrating prediction and optimization in real-world transport applications.

Original languageEnglish
Article number2033
JournalMathematics
Volume13
Issue number12
DOIs
Publication statusPublished - Jun 2025

Keywords

  • contextual stochastic optimization
  • machine learning
  • optimization under uncertainty
  • piecewise linear loss function

ASJC Scopus subject areas

  • Computer Science (miscellaneous)
  • General Mathematics
  • Engineering (miscellaneous)

Fingerprint

Dive into the research topics of 'A Surrogate Piecewise Linear Loss Function for Contextual Stochastic Linear Programs in Transport'. Together they form a unique fingerprint.

Cite this