dwavesystems / dwavesystems/dwave-optimization
Disjoint decision variables not counted in ``decision_state_size()`` method
Open
bug
- Dominant language
- C++
- Stars
- 31
- Forks
- 36
- Avg merge
- 16h 55m
- Merged PRs (30d)
- 8
Description
This surprised me:
```
>>> from dwave.optimization.model import Model
>>> model = Model()
>>> i = model.integer(5, lower_bound=1, upper_bound=10)
>>> model.decision_state_size()
40
>>> bins_set, bins_subsets = model.disjoint_bit_sets(20, 4)
>>> model.decision_state_size()
40
>>> disjoint_lists = model.disjoint_lists_symbol(100, 15)
>>> model.decision_state_size()
40
```
I found this confusing.
Contributor guide
Assessment
This issue has not been assessed yet.