Releases: dwavesystems/dimod
Releases · dwavesystems/dimod
0.10.0.dev0
Development Release
0.9.14
New Features
DiscreteQuadraticModel
andSampleSet
now use the same underlying variable representation. #772, #779DiscreteQuadraticModel.add_linear_equality_constraint
method. #774, #787, #798AdjVectorBQM.add_linear_equality_constraint
method. #784- Samplers now swallow unknown keyword arguments. #796, #799
SpinReversalTransformComposite
no longer requires a structured sampler. #802
Fixes
0.9.13
Fixes
DQM.from_numpy_vectors
,.set_quadratic
and.set_quadratic_case
now correctly raise aValueError
when the user attempts to create an interaction between cases in a variableBQM.from_numpy_vectors
now maintains the correct variable orderAdjDictBQM
biases are no longer 0 dimensional arrays when constructed from a numpy matrix- Fixed column alignment issue when printing sample sets
New Features
- C++
AdjVectorBQM
andAdjMapBQM
can now be constructed from COO-formatted arrays - Python
AdjVectorBQM.from_numpy_vectors
andAdjMapBQM.from_numpy_vectors
is now much more performant - Cython
DiscreteQuadrataticModel
object now uses C++ COO constructors rather than an ad hoc implementation gnp_random_bqm
generator for randomly connected BQMs
0.9.12
New Features
- Documentation improvements
- Improved error messages and variable names in
DQM.from_numpy_vectors
.clang-format
file for C++ formatting
Fixes
DQM.from_numpy_vectors
no longer segfaults when given inconsistent inputs
0.9.11
Changes
- Deprecated
SampleSet.append_variables
New Features
append_variables
function, replacing the funcionality ofSampleSet.append_variables
append_vectors
function, to add more data vactors to a sample set- Documentation improvements
- Support for python 3.9
Fixes
- Fix c++ target for windows build
0.9.10
Fixes
- Fix the behavior of the file-like returned by
DQM.to_file
0.9.9
New Features
- New parallel constructor for c++ AdjMapBQM
DQM.to_file
now returns a seekable file-likeDQM.from_numpy_vectors
now reserves the quadratic vectors which should reduce memory and speed up construction
Fixes
DQM.from_file
now correctly accepts bytes-like objects
Changes
DQM.to_file
'scompressed
kwarg has been deprecated in favor ofcompress
0.9.8
Fixes
- Support printing sample sets with discrete variables
0.9.7
New Features
- New
DISCRETE
vartype for sample sets DiscreteQuadraticModel
class- New parallel constructor for dense c++ BQMs
0.9.7.dev1
New Features
- New
DISCRETE
vartype for sample sets