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

[WIP] Make BQPD matrix-free #124

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

[WIP] Make BQPD matrix-free #124

wants to merge 3 commits into from

Conversation

cvanaret
Copy link
Owner

@cvanaret cvanaret commented Dec 2, 2024

BQPD requires only Hessian-vector products, not the explicit matrix.

Steps:

  • add a Hessian-vector product function in Model and OptimizationProblem.
  • add a Hessian-vector product function in HessianModel.
  • hide pointers to the OptimizationProblem and Multipliers into BQPD's workspace (int* lws) in solve_QP, and retrieve them in hessian_vector_product().
  • call the aforementioned function in BQPD's hessian_vector_product().

Supersedes #114.

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

Successfully merging this pull request may close these issues.

1 participant