dwavesystems / dwavesystems/dimod

Keeping constraint labels when converting cqm to bqm

Open
#1,026 2 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

**Application**
Currently, when one converts a cqm to bqm, labels of the constraints are discarded and generated from scratch, resulting in slack variables with the new label. Also, in case a warning is given, it is given with the new label making it impossible to understand for which constraint it is about.

**Proposed Solution**
Instead of generating them from scratch, old labels can be kept, which will make easier issues mentioned above.

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.