Closed wxmerkt closed 3 years ago
The AbstractDDPSolver already allocated Vx_, etc. The ControlLimitedDDPSolver re-allocates similarly named Vx etc. at every iteration. It could and should re-use the previously existing ones.
AbstractDDPSolver
Vx_
ControlLimitedDDPSolver
Vx
The
AbstractDDPSolver
already allocatedVx_
, etc. TheControlLimitedDDPSolver
re-allocates similarly namedVx
etc. at every iteration. It could and should re-use the previously existing ones.