Skip to content

Releases: dwavesystems/dimod

0.8.5

15 Feb 18:44
5e1b06a
Compare
Choose a tag to compare

New Features

  • SampleSet.truncate method
  • BinaryQuadraticModel.to_serializable bias_dtype and bytes_type parameters

Fixes

  • BinaryQuadraticModels are now pickleable in python2.7
  • Some bug fixes in BinaryQuadraticModel.to_serializable

0.8.4

29 Jan 01:12
Compare
Choose a tag to compare

New Features

  • assert_bqm_almost_equal function for testing
  • ScaleComposite
  • sample_column optional keyword argument for SampleSet.to_pandas_df
  • sample_dict_cast optional keyword argument for SampleSet.data

Fixes

  • BQM.normalize now ignores ignored variables/interactions when determining scale

0.8.3

22 Jan 17:48
9245da6
Compare
Choose a tag to compare

New Features

  • Faster BQM.add_interaction
  • HigherOrderComposite
  • reverse kwarg for SampleSet.data
  • BQM alias for BinaryQuadraticModel
  • SampleSet.__str__ for nicer printing of samplesets

Fixes

  • Fix empty SampleSet
  • Fix import warning for collections package in python 3.7
  • Remove unnecessary type check in BQM.scale

0.8.2

07 Jan 17:49
63e6969
Compare
Choose a tag to compare

Bug Fixes

  • Return dict from BinaryQuadraticModel.to_ising rather than LinearView/QuadraticView

0.8.1

28 Dec 21:23
e8726c3
Compare
Choose a tag to compare

New Features

  • concatenate function for combining sample sets
  • SampleSet.aggregate method to aggregate repeated samples
  • SampleSet.from_samples_bqm constructor to construct sample sets from raw samples and a binary quadratic model

0.8.0

27 Dec 19:02
97a633e
Compare
Choose a tag to compare

Changes

  • Removed OrderedBinaryQuadraticModel
  • Change the way the BinaryQuadraticModel stores the biases to speed up calculations and to save memory
  • Deprecated Response in favour of SampleSet. Response is targeted to be removed in 0.9.0 release
  • Updated reference samples and composites to use SampleSet
  • Moved dimod.io namespace under dimod.serialization
  • Removed dimod.embedding subpackage, it is now part of dwave-system under dwave.embedding namespace.

New Features

  • BinaryQuadraticModel.normalize method, thanks @wbernoudy
  • BinaryQuadraticModel.fix_variables method
  • BinaryQuadraticModel.energies method
  • SampleSet.to_pandas method
  • FixedVariableComposite, thanks @conta877
  • poly_energy and poly_energies function for higher order polynomials, thanks @conta877
  • Parameter to ignore some variables/interactions in BinaryQuadraticModel.normalize and BinaryQuadraticModel.scale methods, thanks @conta877
  • Fix broken documentation link, thanks @schnorea

0.7.9

25 Oct 20:32
f86ae2d
Compare
Choose a tag to compare
  • Support empty SampleSet objects
  • Update assert response_energies to work with SampleSet

0.7.8

23 Oct 16:55
7e46763
Compare
Choose a tag to compare
  • Bugfixes

0.7.7

11 Oct 22:43
0be5f18
Compare
Choose a tag to compare
  • New SampleSet class as a superclass for Response

0.7.6

10 Oct 21:01
35c5f16
Compare
Choose a tag to compare

Allow failure of c++ extension install