SYS-02 · Machine Learning / RL

Numerical Optimization vs. Reinforcement Learning for Constrained Decision-Making

Reproducible benchmark comparing a PPO+GAE reinforcement learning agent against a structure-exploiting analytical scheduler across 1.96M EV-charging sessions.

Key Outcome

96.65% completion & 20.0% peak reduction (Analytical) vs. 79.19% & 6.6% (PPO across 1.96M sessions)

  • Python
  • PyTorch
  • PPO
  • GAE
  • Constrained MDPs
  • Numerical Optimization
Numerical Optimization vs. Reinforcement Learning for Constrained Decision-Making

Problem

Evaluating whether deep reinforcement learning outperforms structured analytical optimization under strict operational capacity constraints.

Approach

Formulated EV-charging scheduling under hard capacity constraints as a constrained Markov Decision Process (MDP), trained a Proximal Policy Optimization (PPO) agent with Generalized Advantage Estimation (GAE) across 1.96M real charging sessions, and benchmarked it against a structure-exploiting analytical scheduler.

Results

Built a reproducible training and evaluation benchmark comparing completion rate, peak-load reduction, and constraint violations across varied operating regimes. On this dataset, the structure-exploiting analytical scheduler achieved 96.65% task completion and 20.0% peak-demand reduction, outperforming the trained PPO agent (79.19% completion, 6.6% peak reduction).

What Went Wrong

An early reward-scaling bug caused the PPO value network to diverge, destabilizing policy updates.

What I Learned

After fixing reward normalization, the structure-exploiting analytical baseline still outperformed the learned policy on this problem and dataset—suggesting that exploiting known domain structure can be more effective than pure RL under hard constraints.

Benchmark Comparison

PPO + GAE vs. Structure-Exploiting Analytical Scheduler (1.96M Sessions)

Task Completion Rate

Analytical Scheduler96.65%
PPO Agent (GAE)79.19%

Peak-Demand Reduction

Analytical Scheduler20.0%
PPO Agent (GAE)6.6%

24-HOUR DISPATCH PROFILE // 1.96M SESSIONS

Peak Load vs. Soft-Cap (β) Tradeoff

80 kW60 kW40 kW20 kW000:0006:0012:0018:0024:00

Uncontrolled Peak

70.0 kW

PPO-RL (Baseline)

65.4 kW · 79.19% comp.

3-Tier Analytical (β-capped)

56.0 kW · 96.65% comp.

Photo Gallery // 1 Asset

Links & Artifacts

Code / artifacts being prepared for release.