robotology / osqp-eigen

Simple Eigen-C++ wrapper for OSQP library
https://robotology.github.io/osqp-eigen/
BSD 3-Clause "New" or "Revised" License
381 stars 112 forks source link

solver: add function to get objective value #126

Closed fabinsch closed 1 year ago

fabinsch commented 1 year ago

Hello, with this PR I would like to add a small function to get the primal objective function value from the OSQPWorkspace.

traversaro commented 1 year ago

Hello @fabinsch, thanks for the PR. @GiulioRomualdi is currently out of the lab, so probably he will merge this PR in a week, let us know if that is a problem.

fabinsch commented 1 year ago

That's fine for me. Thanks for the quick answer.