Adaptive Step Controller for Numerical ODE Solving
Reinforcement Learning
Adaptive Step Controller for Numerical ODE Solver using Reinforcement Learning
About the Project
- Trained a Q-learning agent over a 2,250-state MDP with 7 discrete step sizes, achieving 8.3× fewer compute steps vs fixed-step RK4 - Enforced LBB stability constraints as a hard action mask, proving Forward Euler unconditionally unstable with error diverging to ≈ 10¹⁸ - Designed a random-start episode strategy on the exact analytical trajectory for uniform phase-space coverage across T = 2000 - Validated against the closed-form solution with max error of 0.0001 (40× below tolerance), visualised via phase-portrait heatmaps
Research