SafeOR-Gym: A Benchmark Suite for Safe Reinforcement Learning Algorithms on Practical Operations Research Problems

Asha Ramanujam, Adam Elyoumi, Hao Chen, Sai Madhukiran Kompalli, Akshdeep Singh Ahluwalia +3 more
6/2/2025
cs.LG

Official code: li-group/SafeOR-Gym (8 stars, last commit 2026-04-30).

Abstract

Most existing safe reinforcement learning (RL) benchmarks focus on robotics and control tasks, offering limited relevance to high-stakes domains that involve structured constraints, mixed-integer decisions, and industrial complexity. This gap hinders the advancement and deployment of safe RL in critical areas such as energy systems, manufacturing, and supply chains. To address this limitation, we present SafeOR-Gym, a benchmark suite of nine operations research (OR) environments tailored for safe RL under complex constraints. Each environment captures a realistic planning, scheduling, or control problems characterized by cost-based constraint violations, planning horizons, and hybrid discrete-continuous action spaces. The suite integrates seamlessly with the Constrained Markov Decision Process (CMDP) interface provided by OmniSafe. We evaluate several state-of-the-art safe RL algorithms across these environments, revealing a wide range of performance: while some tasks are tractable, others expose fundamental limitations in current approaches. SafeOR-Gym provides a challenging and practical testbed that aims to catalyze future research in safe RL for real-world decision-making problems. The SafeOR-Gym framework and all accompanying code are available at: https://github.com/li-group/SafeOR-Gym.

View on arXivView PDF

Code Implementations(1)

SafeRL Environments Implementations

81Python, Jupyter NotebookFeb 6, 20255 months ago

Similar Papers

Cite this paper

@article{ramanujam2025safeorgym,
  title  = {SafeOR-Gym: A Benchmark Suite for Safe Reinforcement Learning Algorithms on Practical Operations Research Problems},
  author = {Asha Ramanujam and Adam Elyoumi and Hao Chen and Sai Madhukiran Kompalli and Akshdeep Singh Ahluwalia and Shraman Pal and Dimitri J. Papageorgiou and Can Li},
  year   = {2025},
  eprint = {2506.02255},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.02255v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.02255.svg)](https://codeofpaper.com/paper/2506.02255)

Discussion