or-gym  by hubbs5

Reinforcement learning environments for operations research

Created 5 years ago
422 stars

Top 69.8% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

OR-Gym provides a suite of OpenAI Gym-compatible environments for classic operations research (OR) problems, targeting researchers and practitioners in both OR and reinforcement learning (RL). It aims to bridge the gap between these fields by offering accessible simulations for developing and benchmarking RL agents against traditional OR techniques.

How It Works

The library implements various OR problems as discrete or continuous state/action spaces within the Gym API. This allows RL algorithms to interact with these problems as if they were standard simulation environments. The design facilitates direct comparison of RL agent performance against established OR heuristics and solvers on well-defined problem instances.

Quick Start & Requirements

  • Install via pip: $ pip install or-gym
  • Or from GitHub: git clone https://github.com/hubbs5/or-gym.git && cd or-gym && pip install -e .
  • Requires Python 3.5+.
  • Example notebook inv-management-quickstart.ipynb demonstrates usage.
  • Ray 1.0.0 is required for RL algorithm examples.

Highlighted Details

  • Environments cover Knapsack (unbounded, 0-1, bounded, stochastic), Bin Packing, Newsvendor, Virtual Machine Packing, Vehicle Routing, Inventory Management, Network Management, and Traveling Salesman Problems.
  • Includes examples for action masking with RLlib and improving supply chains with DRL.
  • Provides a citation for academic use.

Maintenance & Community

  • The project was published in 2020. No recent activity or community links (Discord/Slack) are mentioned in the README.

Licensing & Compatibility

  • The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is undetermined.

Limitations & Caveats

The README does not specify a license, which may impact commercial adoption. Community support and recent maintenance status are not detailed, raising potential concerns about the project's long-term viability.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
9 stars in the last 30 days

Explore Similar Projects

Starred by Deepak Pathak Deepak Pathak(Cofounder of Skild AI; Professor at CMU), Anastasis Germanidis Anastasis Germanidis(Cofounder of Runway), and
1 more.

deer by VinF

0%
489
Deep reinforcement learning framework
Created 9 years ago
Updated 2 months ago
Starred by Hanlin Tang Hanlin Tang(CTO Neural Networks at Databricks; Cofounder of MosaicML), Amanpreet Singh Amanpreet Singh(Cofounder of Contextual AI), and
2 more.

coach by IntelLabs

0%
2k
Reinforcement learning framework for experimentation (discontinued)
Created 8 years ago
Updated 2 years ago
Feedback? Help us improve.