Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why RSQrq is not called RSQ if gradient is not in it? #125

Open
zhzhzoo-autra opened this issue Sep 28, 2022 · 1 comment
Open

Why RSQrq is not called RSQ if gradient is not in it? #125

zhzhzoo-autra opened this issue Sep 28, 2022 · 1 comment

Comments

@zhzhzoo-autra
Copy link

No description provided.

@giaf
Copy link
Owner

giaf commented Nov 11, 2022

You are right that the QP data r and q is normally not stored in the additional row of RSQrq.
However, internally for performance reasons these vectors may be copied in there before performing an operation on the whole extended matrix, see e.g. https://github.com/giaf/hpipm/blob/master/ocp_qp/x_ocp_qp_kkt.c#L71
So in a way the rq part only reminds of the presence of this additional work space available, as hinted here https://github.com/giaf/hpipm/blob/master/include/hpipm_d_ocp_qp.h#L58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants