Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve the performance of removing many variables from a C++ quadratic model #1300

Open
arcondello opened this issue Dec 9, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@arcondello
Copy link
Member

Right now, to remove multiple variables from a QM, one uses a loop like

for (auto& v : to_remove) {
    expression.remove_variable(v);
}

it would nice to be able to do so in bulk, and we can save some performance in the reindexing.

@arcondello arcondello added the enhancement New feature or request label Dec 9, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant