Created solver abstraction and implemented for the SolverDDP, SolverFDDP and SolverKKT
This PR makes the following changes:
- Created a solver abstraction (i.e.
SolverAbstract
class) inside solver.py - Integrated this class into
SolverDDP
,SolverFDDP
andSolverKKT
classes. - Implemented
setCandidate
,models
anddatas
insideSolverAbstract
- Removed legacy variable
b
insideSolverDDP.forwardPass
method. and it tackles issue #79 (closed).
@nmansard do you have any further suggestions? I believe that we could do more things but it might be premature in this phase.
Edited by Carlos Mastalli