Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check bqm feature first pass #832

Merged

Conversation

hbarovertwo
Copy link
Member

@hbarovertwo hbarovertwo commented Jun 2, 2021

Feels a little clunky, reviews appreciated :)

Closes #830

@arcondello arcondello self-requested a review June 2, 2021 18:08
@arcondello arcondello added the enhancement New feature or request label Jun 2, 2021
dimod/core/structured.py Outdated Show resolved Hide resolved
dimod/core/structured.py Outdated Show resolved Hide resolved
dimod/core/structured.py Show resolved Hide resolved
dimod/core/structured.py Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jun 2, 2021

Codecov Report

Merging #832 (586bb2b) into main (535604c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #832   +/-   ##
=======================================
  Coverage   92.13%   92.13%           
=======================================
  Files          63       63           
  Lines        4652     4654    +2     
=======================================
+ Hits         4286     4288    +2     
  Misses        366      366           
Impacted Files Coverage Δ
dimod/core/structured.py 91.17% <100.00%> (+0.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 535604c...586bb2b. Read the comment docs.

@arcondello arcondello merged commit 377f03d into dwavesystems:main Jun 2, 2021
arcondello added a commit that referenced this pull request Jun 11, 2021
New Features
------------

* Add `add_bqm` method to C++ BinaryQuadraticModel #821, #823
* Add `Structured.valid_bqm_graph` method for verifying input problem structure #832
* Reimplement `BinaryQuadraticModel` to use new C++ code #828
* `BinaryQuadraticModel` can now be manipulated symbolically #834
* `load` function can now load all model types #841, #843
* `DiscreteQuadraticModel` now has an `.offset` attribute #838
* Add `ConstrainedQuadraticModel` class #839

Fix
---
* Fix type promotions in binary quadratic models with object biases #836
@hbarovertwo hbarovertwo deleted the check_bqm_structure_feature branch June 15, 2021 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StructuredSampler.check_bqm or similar
5 participants