You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As pointed by @joaospinto in #16, it is not clear how the ownership of the optimization elements (matrices and vector) are handled.
As already explained in #16 (comment), osqp itself stores the hessian and the constraint matrix into its data structure. While, on the other hand, the vectors are not saved inside the osqp library and so the user has to guarantee the existence of the objects (e.g. save as a member of the class). I think that this asymmetry may cause confusion and may be a source of error.
What do you think to save the gradient and the bounds inside the osqp-eigen?
As pointed by @joaospinto in #16, it is not clear how the ownership of the optimization elements (matrices and vector) are handled.
As already explained in #16 (comment),
osqp
itself stores the hessian and the constraint matrix into its data structure. While, on the other hand, the vectors are not saved inside the osqp library and so the user has to guarantee the existence of the objects (e.g. save as a member of the class). I think that this asymmetry may cause confusion and may be a source of error.What do you think to save the gradient and the bounds inside the osqp-eigen?
cc @traversaro and @S-Dafarra
The text was updated successfully, but these errors were encountered: