Closed kevinchern closed 1 year ago
@arcondello added tests. I did not include cases where the constant is split, e.g., x + y - 1 == 0
. The current implementation does not recognize this constraint as a one-hot constraint.
Hmm, I see my own note about this https://github.com/dwavesystems/dimod/blob/3873226f4d32d45d0554f569769fec4f7bf80c49/dimod/include/dimod/constraint.h#L125-L127 but honestly I cannot remember my reasoning.. ah well. Let's assume there was a good reason for now.
Codecov Report
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more