Skip to content

Releases: dwavesystems/dimod

0.10.0.dev0

04 Mar 21:49
de1b7e7
Compare
Choose a tag to compare
0.10.0.dev0 Pre-release
Pre-release

Development Release

0.9.14

04 Mar 21:47
dc98404
Compare
Choose a tag to compare

New Features

  • DiscreteQuadraticModel and SampleSet now use the same underlying variable representation. #772, #779
  • DiscreteQuadraticModel.add_linear_equality_constraint method. #774, #787, #798
  • AdjVectorBQM.add_linear_equality_constraint method. #784
  • Samplers now swallow unknown keyword arguments. #796, #799
  • SpinReversalTransformComposite no longer requires a structured sampler. #802

Fixes

  • Stopped using deprecated methods and functions to reduce the number of deprecation warnings. #773
  • DiscreteQuadraticModel.copy() now works correctly. #777
  • Fix handling of integer-valued floats in Variables. #779
  • Fix the cyDiscreteQuadraticModel.dtype setting. #783

0.9.13

11 Dec 19:51
f456332
Compare
Choose a tag to compare

Fixes

  • DQM.from_numpy_vectors, .set_quadratic and .set_quadratic_case now correctly raise a ValueError when the user attempts to create an interaction between cases in a variable
  • BQM.from_numpy_vectors now maintains the correct variable order
  • AdjDictBQM 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 and AdjMapBQM can now be constructed from COO-formatted arrays
  • Python AdjVectorBQM.from_numpy_vectors and AdjMapBQM.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

24 Nov 02:55
aee9273
Compare
Choose a tag to compare

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

10 Nov 04:22
434f75d
Compare
Choose a tag to compare

Changes

  • Deprecated SampleSet.append_variables

New Features

  • append_variables function, replacing the funcionality of SampleSet.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

08 Oct 02:57
9af460d
Compare
Choose a tag to compare

Fixes

  • Fix the behavior of the file-like returned by DQM.to_file

0.9.9

06 Oct 01:34
b9726d4
Compare
Choose a tag to compare

New Features

  • New parallel constructor for c++ AdjMapBQM
  • DQM.to_file now returns a seekable file-like
  • DQM.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's compressed kwarg has been deprecated in favor of compress

0.9.8

25 Sep 16:55
b69b634
Compare
Choose a tag to compare

Fixes

  • Support printing sample sets with discrete variables

0.9.7

24 Sep 01:59
ded8458
Compare
Choose a tag to compare

New Features

  • New DISCRETE vartype for sample sets
  • DiscreteQuadraticModel class
  • New parallel constructor for dense c++ BQMs

0.9.7.dev1

23 Sep 18:33
4942c33
Compare
Choose a tag to compare

New Features

  • New DISCRETE vartype for sample sets