Woolfrey / software_robot_library

Custom classes for robot control.
GNU General Public License v3.0
2 stars 1 forks source link

Store last solution in QP Solver #86

Closed Woolfrey closed 1 year ago

Woolfrey commented 1 year ago

The interior point method does not save the value of the solution. It would be useful to store the solution so that it can be used as the starting point in a new iteration. For example:

Eigen::VectorXf lastSolution;

Eigen::VectorXf last_solution() const { return this->lastSolution; }
Woolfrey commented 1 year ago

Running ./RobotLibrary/build/Test/qp_test leads to Segmentation fault (core dumped) when referencing trying to access this->lastSolution.

Woolfrey commented 1 year ago

The QPSolver is now its own repository: https://github.com/Woolfrey/SimpleQPSolver