Skip to content

Releases: dwavesystems/dwave-ocean-sdk

3.1.1

08 Oct 03:23
6cd2f3b
Compare
Choose a tag to compare

Changelog

  • dimod 0.9.9 -> 0.9.10
    • Fix the behavior of the file-like returned by DQM.to_file

3.1.0

08 Oct 00:19
Compare
Choose a tag to compare

Changelog

  • dimod 0.9.7 -> 0.9.9

    • Support printing sample sets with discrete variables
    • 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
    • DQM.from_file now correctly accepts bytes-like objects
    • DQM.to_file's compressed kwarg has been deprecated in favor of compress
  • dwave-system 1.1.1 -> 1.2.1

    • Added LeapHybridSampler.min_time_limit method
    • Improved documentation of LeapHybridDQMSampler
    • More sanity checks on time_limit in LeapHybridDQMSampler
    • LeapHybridDQMSampler.sample_dqm's compressed keyword argument has been deprecated in favor of compress
    • Fixed doctest

Package versions

dimod==0.9.9
dwave-cloud-client==0.8.1
dwave-greedy==0.1.1
dwave-hybrid==0.6.0
dwave-inspector==0.2.4
dwave-neal==0.5.6
dwave-networkx==0.8.8
dwave-qbsolv==0.3.1
dwave-system==1.2.1
dwave-tabu==0.3.0
dwavebinarycsp==0.1.2
minorminer==0.2.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
penaltymodel==0.16.3
pyqubo>=0.4.0

Extras, all

penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3

3.0.1

28 Sep 12:52
Compare
Choose a tag to compare

Changelog

  • pyqubo pinned to 0.4.0

3.0.0

25 Sep 13:55
Compare
Choose a tag to compare

Changelog

  • dimod 0.9.5 -> 0.9.7

    • Structured.to_networkx_graph mixin method
    • .min, .max, and .sum methods on BQM views
    • nonblocking_sample_method decorators for asynchronous samplers
    • anti_crossing_loops, anti_crossing_clique, and doped problem generators
    • BQM.to_file and BQM.from_file methods for cyBQMs
    • VartypeView.relabel_variables no longer sometimes returnes models with the wrong vartype
    • BQM.relabel_variables_as_integers now works correctly when inplace=False
    • New DISCRETE vartype for sample sets
    • DiscreteQuadraticModel class
    • New parallel constructor for dense c++ BQMs
  • dwave-cloud-client 0.7.7 -> 0.8.1

    • Client instance defaults via defaults constructor argument (#425)
    • Client class defaults in Client.DEFAULTS
    • Parsing of boolean options in configuration files. on/off, true/false, 1/0 all work as expected (#113)
    • @deprecated utility decorator
    • aliasdict utility dict subclass enabling lazy access to alias keys
    • Removed legacy config file format (.dwrc) support (#138)
    • Removed some of the deprecated Solver.is_* properties
    • Removed support for deprecated formats: bqm-ref and bq-zlib.
    • Removed support for more than first three positional arguments in Client constructor (endpoint, token and solver). Positional arguments in the constructor will be deprecated eventually.
    • Client.solvers scheduled for removal in 0.9.0
    • Deprecated Future.occurrences in favor of Future.num_occurrences
    • Deprecated samples and occurrences keys in Future/Future.result()
    • A discrete quadratic model solver, dwave.cloud.solver.DQMSolver
    • New name for binary quadratic solver, dwave.cloud.solver.BQMSolver
    • Client.get_solver has been known to mutate the default_solver (#428). Now we make sure it doesn't.
    • Setting kwargs explicitly to None in Client.from_config could overwrite config values (#430). Now that too is fixed.
  • dwave-greedy 0.1.1

    • greedy.SteepestDescentSolver, a steepest descent greedy solver for binary quadratic models
    • greedy.SteepestDescentComposite, a greedy descent post-processing composite
  • dwave-hybrid 0.5.1 -> 0.6.0

    • Option to retry if embedding fails in QPUSubproblemAutoEmbeddingSampler (#114)
    • ComponentDecomposer for iterating over problem graph components (#209)
    • greedy-based SteepestDescentProblemSampler/SteepestDescentSubproblemSampler
    • SplatComposer was producing numpy.float64 samplesets (#235). Now it inherits dtype from input.
  • dwave-inspector 0.2.3 -> 0.2.4

    • Stop using hierarchical requirements include
    • Support changes in latest dwave-cloud-client and dwave-system
  • dwave-neal 0.5.4 -> 0.5.6

    • Accept samples-like for initial_states (use dimod.Initialized ABC)
    • Updated Windows tests to work with latest AppVeyor setup
    • Stopped using hierarchical requirements include
    • Skip deploying linux/py39 package, as not all dependencies are available for py39.
  • dwave-networkx 0.8.7 -> 0.8.8

    • Rearranged requirements files to follow Ocean style
  • dwave-qbsolv 0.3.0 -> 0.3.1

    • Test with dimod 0.9.x by default
    • Stop using hierarchical requirements include
    • Simplified and updated Windows tests to work with latest AppVeyor setup
    • Skip deploying linux/py39 package, as not all dependencies are available for py39.
  • dwave-system 0.9.9->1.1.1

    • DWaveSampler.to_networkx_graph method
    • A faster implementation of embed_bqm
    • A EmbeddedStructure class.
    • Improved chain strength in DWaveCliqueSampler
    • DWaveCliqueSampler now correctly supports legacy software solvers
    • New chain strength tuning methods, uniform_torque_compensation and scaled
    • Embedding composites now use uniform_torque_compensation to set the default chain strength
    • MockDWaveSampler.sample now accepts **kwarg for greater flexibility when testing
    • All samplers now strongly prefer either a QPU or a hybrid solver. Please see Sampler behavior changes in 1.0.0 for details.
    • Removed deprecated solver_features kwarg in DWaveSampler
    • Removed deprecated order_by kwarg in DWave(Clique)Sampler
    • Added LeapHybridDQMSampler
  • minorminer 0.2.0 -> 0.2.3

    • Fix for the false K_4 embeddings

Package versions

dimod==0.9.7
dwave-cloud-client==0.8.1
dwave-greedy==0.1.1
dwave-hybrid==0.6.0
dwave-inspector==0.2.4
dwave-neal==0.5.6
dwave-networkx==0.8.8
dwave-qbsolv==0.3.1
dwave-system==1.1.1
dwave-tabu==0.3.0
dwavebinarycsp==0.1.2
minorminer==0.2.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
penaltymodel==0.16.3
pyqubo>=0.4.0

Extras, all

penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3

3.0.0.dev0

24 Sep 04:09
f9b211a
Compare
Choose a tag to compare
3.0.0.dev0 Pre-release
Pre-release

Changelog

  • dwave-cloud-client 0.7.7 -> 0.8.1

    • Client instance defaults via defaults constructor argument (#425)
    • Client class defaults in Client.DEFAULTS
    • Parsing of boolean options in configuration files. on/off, true/false, 1/0 all work as expected (#113)
    • @deprecated utility decorator
    • aliasdict utility dict subclass enabling lazy access to alias keys
    • Removed legacy config file format (.dwrc) support (#138)
    • Removed some of the deprecated Solver.is_* properties
    • Removed support for deprecated formats: bqm-ref and bq-zlib.
    • Removed support for more than first three positional arguments in Client constructor (endpoint, token and solver). Positional arguments in the constructor will be deprecated eventually.
    • Client.solvers scheduled for removal in 0.9.0
    • Deprecated Future.occurrences in favor of Future.num_occurrences
    • Deprecated samples and occurrences keys in Future/Future.result()
    • A discrete quadratic model solver, dwave.cloud.solver.DQMSolver
    • New name for binary quadratic solver, dwave.cloud.solver.BQMSolver
    • Client.get_solver has been known to mutate the default_solver (#428). Now we make sure it doesn't.
    • Setting kwargs explicitly to None in Client.from_config could overwrite config values (#430). Now that too is fixed.
  • dwave-greedy 0.1.0 -> 0.1.1

    • greedy.SteepestDescentComposite, a greedy descent post-processing composite
  • dwave-hybrid 0.5.1 -> 0.6.0

    • Option to retry if embedding fails in QPUSubproblemAutoEmbeddingSampler (#114)
    • ComponentDecomposer for iterating over problem graph components (#209)
    • greedy-based SteepestDescentProblemSampler/SteepestDescentSubproblemSampler
    • SplatComposer was producing numpy.float64 samplesets (#235). Now it inherits dtype from input.
  • dwave-inspector 0.2.3 -> 0.2.4

    • Stop using hierarchical requirements include
    • Support changes in latest dwave-cloud-client and dwave-system
  • dwave-neal 0.5.4 -> 0.5.6

    • Accept samples-like for initial_states (use dimod.Initialized ABC)
    • Updated Windows tests to work with latest AppVeyor setup
    • Stopped using hierarchical requirements include
    • Skip deploying linux/py39 package, as not all dependencies are available for py39.
  • dwave-networkx 0.8.7 -> 0.8.8

    • Rearranged requirements files to follow Ocean style
  • dwave-qbsolv 0.3.0 -> 0.3.1

    • Test with dimod 0.9.x by default
    • Stop using hierarchical requirements include
    • Simplified and updated Windows tests to work with latest AppVeyor setup
    • Skip deploying linux/py39 package, as not all dependencies are available for py39.
  • dwave-system 0.9.9->1.1.0

    • DWaveSampler.to_networkx_graph method
    • A faster implementation of embed_bqm
    • A EmbeddedStructure class.
    • Improved chain strength in DWaveCliqueSampler
    • DWaveCliqueSampler now correctly supports legacy software solvers
    • New chain strength tuning methods, uniform_torque_compensation and scaled
    • Embedding composites now use uniform_torque_compensation to set the default chain strength
    • MockDWaveSampler.sample now accepts **kwarg for greater flexibility when testing
    • All samplers now strongly prefer either a QPU or a hybrid solver
    • Removed deprecated solver_features kwarg in DWaveSampler
    • Removed deprecated order_by kwarg in DWave(Clique)Sampler
    • Added LeapHybridDQMSampler
  • dimod 0.9.5 -> 0.9.7

    • Structured.to_networkx_graph mixin method
    • .min, .max, and .sum methods on BQM views
    • nonblocking_sample_method decorators for asynchronous samplers
    • anti_crossing_loops, anti_crossing_clique, and doped problem generators
    • BQM.to_file and BQM.from_file methods for cyBQMs
    • VartypeView.relabel_variables no longer sometimes returnes models with the wrong vartype
    • BQM.relabel_variables_as_integers now works correctly when inplace=False
    • New DISCRETE vartype for sample sets
    • DiscreteQuadraticModel class
    • New parallel constructor for dense c++ BQMs
  • minorminer 0.2.0 -> 0.2.3

    • Fix for the false K_4 embeddings

Package versions

dimod==0.9.7
dwave-cloud-client==0.8.1
dwave-greedy==0.1.1
dwave-hybrid==0.6.0
dwave-inspector==0.2.4
dwave-neal==0.5.6
dwave-networkx==0.8.8
dwave-qbsolv==0.3.1
dwave-system==1.1.0
dwave-tabu==0.3.0
dwavebinarycsp==0.1.2
minorminer==0.2.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
penaltymodel==0.16.3
pyqubo>=0.4.0

Extras, all

penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3

2.6.0

31 Aug 20:22
Compare
Choose a tag to compare

Changelog

  • dwave-cloud-client 0.7.5 -> 0.7.7

    • New polling schedule control parameters (config & kwargs):
      poll_backoff_min and poll_backoff_max (#410)
    • Faster answer polling schedule: backoff time base reduced from 1s to 50ms
    • Problem offset parameter supported in Solver.sample_{ising,qubo},
      and implicitly (via BQM) in Solver.sample_bqm (#408)
    • Fixed: correct error handling during answer loading (#394)
    • Fixed: support BQM offset in Solver.sample_bqm (#408)
    • Fixed: support order by in solver features definition dict (#407)
    • Fixed: include package version in user-agent string (#420)
  • dwave-inspector 0.2.2 -> 0.2.3

    • Infer and propagate SAPI solver topology if topology property missing (#91)
    • Reduce encoded solver data (#95)
  • dwave-networkx 0.8.6 -> 0.8.7

    • Updated documentation for coordinate transformers
    • Fixed rotation in TSP algorithm

Package versions

dimod==0.9.5
dwave-cloud-client==0.7.7
dwave-hybrid==0.5.1
dwave-inspector==0.2.3
dwave-neal==0.5.4
dwave-networkx==0.8.7
dwave-qbsolv==0.3.0
dwave-system==0.9.9
dwave-tabu==0.3.0
dwavebinarycsp==0.1.2
minorminer==0.2.0
penaltymodel==0.16.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
pyqubo>=0.4.0

Extras, all

penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3

2.5.0

12 Aug 19:53
Compare
Choose a tag to compare

Changelog

  • dimod 0.9.4 -> 0.9.5

    • BQM.normalize now returns the value the BQM was scaled by
    • SampleSet.relabel_variables no longer blocks for unresolved sample sets
    • FileView has a new parameter, ignore_variables that treats the BQM as integer-labelled
    • ScaleComposite no longer blocks
    • FileView.seek now works correctly with io.SEEK_END
    • Change: BinaryPolynomial support in ScaleComposite has been removed
  • dwave-cloud-client 0.7.4 -> 0.7.5

    • User-Agent extended with platform-specific tags
    • CLI: dwave --platform
    • CLI: additive verbosity for install/setup commands
    • Fixed: order_by argument to Client.get_solver affected effective solver
      filters if used in isolation (#401)
    • Fixed: during problem multipart upload, individual part upload could fail on
      retry attempt if part data stream was exhausted in previous upload attempt
  • dwave-hybrid 0.5.0 -> 0.5.1

    • All QPU samplers now use client-based QPU selection instead of solver feature-based,
      therefore allowing users to define the solver via Ocean configuration
  • dwave-system 0.9.6 -> 0.9.9

    • Added DWaveCliqueSampler
    • Added order_by kwarg in DWaveSampler constructor
    • LeapHybridSampler uses BQM serialization version 2.0
    • Embedding composites no longer block
    • MockDWaveSampler now has the correct topology
    • Fix rounding in anneal schedule validation
  • minorminer 0.1.9 -> 0.2.0

    • Added polytime clique embedder for chimera and pegasus graphs under minorminer.busclique
      (an implementation to compute biclique embeddings is also available but needs improvement)
    • Added layout and placement strategies under minorminer.layout
    • Improved restart behavior (controlled through tries parameter)

Package versions

dimod==0.9.5
dwave-cloud-client==0.7.5
dwave-hybrid==0.5.1
dwave-inspector==0.2.2
dwave-neal==0.5.4
dwave-networkx==0.8.6
dwave-qbsolv==0.3.0
dwave-system==0.9.9
dwave-tabu==0.3.0
dwavebinarycsp==0.1.2
minorminer==0.2.0
penaltymodel==0.16.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
pyqubo>=0.4.0

Extras, all

penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3

2.4.0

15 Jul 18:45
Compare
Choose a tag to compare

Changelog

  • dimod 0.9.3 -> 0.9.4

    • assert_consistent_bqm to dimod.testing for testing different BQM implementations
    • Testing is now done with parameterized package - this does not affect installed packages
    • FileView version 2.0 with improved docs
  • dwave-cloud-client 0.7.3 -> 0.7.4

    • Restore support for solvers without category property

Package versions

dimod==0.9.4
dwave-cloud-client==0.7.4
dwave-hybrid==0.5.0
dwave-inspector==0.2.2
dwave-neal==0.5.4
dwave-networkx==0.8.6
dwave-qbsolv==0.3.0
dwave-system==0.9.6
dwave-tabu==0.3.0
dwavebinarycsp==0.1.2
minorminer==0.1.9
penaltymodel==0.16.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
pyqubo>=0.4.0

Extras, all

penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3

2.3.0

09 Jul 11:38
Compare
Choose a tag to compare

Changelog

  • dimod 0.9.2 -> 0.9.3

    • pack_samples kwarg for SampleSet.to_serializable() method that allows the user to not pack samples. This means bumping the sample set serialization version to 3.1.0
    • SampleSet.info is now correctly propagated through the ClipComposite
    • All .pyx and .pxd files are included in the MANIFEST which means that cimport dimod will now work correctly
  • dwave-cloud-client 0.7.2 -> 0.7.3

    • Hybrid solvers support:
      • dwave.cloud.hybrid.Client is a new client type specialized
        for SAPI hybrid solvers
      • Solver.hybrid is a new derived property, also available for
        feature-based solver filtering
    • Client certificate SAPI authentication supported via client_cert and
      client_cert_key config/kwarg parameters
    • dwave install now supports --upgrade option to (re)install
      partially installed contrib packages, or upgrade stale requirements
    • qpu/sw/hybrid derived solver properties refactored to use the
      new SAPI solver property, category
    • Nested exception properly propagated by Future.exception()
    • dwave install now enforces the full requirement specifier for each
      contrib dependency
    • User home and environment variables are now expanded in
      config file path
    • Solver.is_* properties scheduled for removal in 0.8.0
    • Future.error deprecated in favor of Future.exception() and
      scheduled for removal in 0.9.0
    • Removed most of Python 2 constructs
  • dwave-hybrid 0.4.3 -> 0.5.0

    • Added SubproblemCliqueEmbedder
    • Dropped Python 2.7 and 3.4 support
    • Loosened NumPy version requirements
  • dwave-inspector 0.2.1 -> 0.2.2

    • Infer SAPI solver topology type if topology property missing
  • dwave-system 0.9.5 -> 0.9.6

    • LeapHybridSampler now correctly chooses solvers that accept the bqm problem type
    • Biclique support for Pegasus

Package versions

dimod==0.9.3
dwave-cloud-client==0.7.3
dwave-hybrid==0.5.0
dwave-inspector==0.2.2
dwave-neal==0.5.4
dwave-networkx==0.8.6
dwave-qbsolv==0.3.0
dwave-system==0.9.6
dwave-tabu==0.3.0
dwavebinarycsp==0.1.2
minorminer==0.1.9
penaltymodel==0.16.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
pyqubo>=0.4.0

Extras, all

penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3

2.2.0

03 Jun 14:46
Compare
Choose a tag to compare

Changelog

  • dimod 0.9.1 -> 0.9.2

    • BQM C++ headers are now in dimod/include/dimod/
    • Initialized ABC and accompanying parse_initial_states method for samplers that accept initial states
    • IdentitySampler that returns passed-in initial states
    • ising_to_qubo function now accepts an underspecified h arg
    • General performance and structural improvements to C++ bqms
    • cyBQMs are now pickleable and deepcopyable
  • dwave-system 0.9.4 -> 0.9.5

    • unembed_sampleset now accepts multiple chain break resolution methods
  • dwave-tabu 0.2.2 -> 0.3.0

    • dimod 0.9.x support (all BQM types)
    • Dropped Python 2 and 3.4 support
  • dwave-inspector 0.1.5 -> 0.2.1

    • Console warnings filter and per-sample toggle
    • Sample indices in popover on console warnings
    • UX and edge cases handling improvements in console warnings
    • Increased node margin for graph views, addressing regression
    • Binning and correct logical sample index in console warnings
    • Add missing units in thermalization labels
  • pyqubo 0.3.0 -> 0.4.0

    • Compilation is optimized and it has become about 10x faster

Package versions

dimod==0.9.2
dwave-cloud-client==0.7.2
dwave-hybrid==0.4.3
dwave-inspector==0.2.1
dwave-neal==0.5.4
dwave-networkx==0.8.6
dwave-qbsolv==0.3.0
dwave-system==0.9.5
dwave-tabu==0.3.0
dwavebinarycsp==0.1.2
minorminer==0.1.9
penaltymodel==0.16.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
pyqubo>=0.4.0

Extras, all

penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3