Bugfixes and improvements suggestions
joaospinto opened this issue · comments
I recently implemented a multiple-shooting variant of iLQR here: https://github.com/joaospinto/primal_dual_ilqr
Much of my implementation (apart from core algorithmic changes) is inspired on trajax. While implementing this, I found a few issues/possible improvements related to trajax itself, which I'll list below.
-
In
Line 798 in c94a637
-
Perhaps because of the issue above, you resort to doing least-square solves in
Line 94 in c94a637
-
In
Line 61 in c94a637
-
In places like
Line 57 in c94a637
-
It would be interesting to add support for a GPU-accelerated implementation of LQR; see https://github.com/joaospinto/primal_dual_ilqr/blob/main/primal_dual_ilqr/primal_tvlqr.py#L96.
I'd be happy to try to merge my code (https://github.com/joaospinto/primal_dual_ilqr) into this repository (either just these improvements, or actually adding the new algorithm itself), if you find that interesting. Let me know!