dwavesystems / dwavesystems/dimod

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

Open
#1,300 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
143
Forks
91
Avg merge
1h 24m
Merged PRs (30d)
3

Description

Right now, to remove multiple variables from a QM, one uses a loop like
```C++
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.