Created solver abstraction and implemented for the SolverDDP, SolverFDDP and SolverKKT
This PR makes the following changes:
- Created a solver abstraction (i.e.
SolverAbstractclass) inside solver.py - Integrated this class into
SolverDDP,SolverFDDPandSolverKKTclasses. - Implemented
setCandidate,modelsanddatasinsideSolverAbstract - Removed legacy variable
binsideSolverDDP.forwardPassmethod. 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