Solution for Cart-pole with a light cart
Submitted by Noah Parsons
| Authors |
Noah Parsons |
| Email |
parsons.m.noah@gmail.com |
| Accuracy |
0.0000000000091 |
| CPU time |
0.27 |
| CPU / GPU |
Intel Core Ultra 7 255HX (one thread) |
| Operating System |
Windows 11 |
| Method description |
Equations of motion derived by hand from the Lagrangian and solved in closed form (Eq. 2 of the description). Integrated with DOP853 in SciPy 1.16.3 under Python 3.14.0, relative tolerance 1e-13, absolute tolerance 1e-15. Accuracy is the error e against an independent solution by quadrature evaluated in 30-digit arithmetic with mpmath; against itself the reference has e = 0 by construction. CPU time is the fastest of five identical runs on one thread. Code and the convergence study are in the attached archive and at github.com/Noah-Parsons/light-cartpole-benchmark. |
| Results file |
|
| Miscellaneous file |
|