dwavesystems / dwavesystems/dimod
Improve the performance of removing many variables from a C++ quadratic model
Open
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
Assessment
This issue has not been assessed yet.