Optimal control problem (OCP) solver implemented in Python.
- DDP (Differential Dynamic Programming)
- iLQR (iterative Linear Quadratic Regulator)
- Riccati Recursion
are currently implemented.
- Python3
- SymPy
- NumPy
- SciPy
- Numba
- Matplotlib
- seaborn
-
Clone or Download.
git clone https://github.com/arcuma/ocpy.git
or "Code" >> "Download ZIP" on this page.
-
Install Requirements.
pip3 install -r requirements.txt
-
Run examples or formulate your own problem.
In /examples/,
- LQR
- cartpole
- hexacopter
- pendubot