Dimod

Latest version: v0.12.18

Safety actively analyzes 714875 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 18 of 27

0.8.20

Fixes
-----
* `LockableDict` methods that have return values no longer always return None

0.8.19

Fixes
------
* Fix osx wheels for 10.9 binary compatibility
* `ConnectedComponentComposites` now correctly fixes variables according to vartype

0.8.18

New Features
------------
* `ConnectedComponentComposite`, a composite that will break a BQM into its connected components and solve each on the child sampler separately
* BQM generator functions now accept edgelists as graphs
* `ClipComposite`, a composite that will "clip" the biases to be within a specified range
* `FixedVariableComposite` now handles non-blocking child samplers
* `ExactPolySolver`, a brute-force solver for binary polynomials

Fixes
-----
* `make_quadratic` can now handle much larger binary polynomials without running into the recursion depth limit

0.8.17

Fixes
-----
* Sample sets with non-integer sample dtypes now correctly serialize

0.8.16

New Features
------------
* Remove jsonschema package dependency
* Use standard c++ exceptions in the roof duality source code

Fixes
-----
* `BinaryQuadraticModel.contract_variables` now correctly adds the linear biases
* `BinaryQuadraticModel` can now be copied when it is locked
* `make_quadratic` now correctly handles squared terms in the input polynomial

0.8.15

New Features
------------
* New sample set and binary quadratic model serialization (version 3.0.0)
* Serialization of numpy objects in `SampleSet.info` and `BinaryQuadraticModel.info`

Deprecated
----------
* Sample set serialization version 2.0.0
* Binary quadratic model serialization version 2.0.0

Page 18 of 27

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.