Releases: dwavesystems/dwave-ocean-sdk
3.0.0
Changelog
-
dimod0.9.5 -> 0.9.7Structured.to_networkx_graphmixin method.min,.max, and.summethods on BQM viewsnonblocking_sample_methoddecorators for asynchronous samplersanti_crossing_loops,anti_crossing_clique, anddopedproblem generatorsBQM.to_fileandBQM.from_filemethods for cyBQMsVartypeView.relabel_variablesno longer sometimes returnes models with the wrong vartypeBQM.relabel_variables_as_integersnow works correctly wheninplace=False- New
DISCRETEvartype for sample sets DiscreteQuadraticModelclass- New parallel constructor for dense c++ BQMs
-
dwave-cloud-client0.7.7 -> 0.8.1Clientinstance defaults viadefaultsconstructor argument (#425)Clientclass defaults inClient.DEFAULTS- Parsing of boolean options in configuration files.
on/off,true/false,1/0all work as expected (#113) @deprecatedutility decoratoraliasdictutilitydictsubclass 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-refandbq-zlib. - Removed support for more than first three positional arguments in
Clientconstructor (endpoint,tokenandsolver). Positional arguments in the constructor will be deprecated eventually. Client.solversscheduled for removal in 0.9.0- Deprecated
Future.occurrencesin favor ofFuture.num_occurrences - Deprecated
samplesandoccurrenceskeys inFuture/Future.result() - A discrete quadratic model solver,
dwave.cloud.solver.DQMSolver - New name for binary quadratic solver,
dwave.cloud.solver.BQMSolver Client.get_solverhas been known to mutate thedefault_solver(#428). Now we make sure it doesn't.- Setting kwargs explicitly to
NoneinClient.from_configcould overwrite config values (#430). Now that too is fixed.
-
dwave-greedy0.1.1greedy.SteepestDescentSolver, a steepest descent greedy solver for binary quadratic modelsgreedy.SteepestDescentComposite, a greedy descent post-processing composite
-
dwave-hybrid0.5.1 -> 0.6.0- Option to retry if embedding fails in
QPUSubproblemAutoEmbeddingSampler(#114) ComponentDecomposerfor iterating over problem graph components (#209)greedy-basedSteepestDescentProblemSampler/SteepestDescentSubproblemSamplerSplatComposerwas producingnumpy.float64samplesets (#235). Now it inheritsdtypefrom input.
- Option to retry if embedding fails in
-
dwave-inspector0.2.3 -> 0.2.4- Stop using hierarchical requirements include
- Support changes in latest
dwave-cloud-clientanddwave-system
-
dwave-neal0.5.4 -> 0.5.6- Accept samples-like for
initial_states(usedimod.InitializedABC) - 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.
- Accept samples-like for
-
dwave-networkx0.8.7 -> 0.8.8- Rearranged requirements files to follow Ocean style
-
dwave-qbsolv0.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-system0.9.9->1.1.1DWaveSampler.to_networkx_graphmethod- A faster implementation of
embed_bqm - A
EmbeddedStructureclass. - Improved chain strength in
DWaveCliqueSampler DWaveCliqueSamplernow correctly supports legacy software solvers- New chain strength tuning methods,
uniform_torque_compensationandscaled - Embedding composites now use
uniform_torque_compensationto set the default chain strength MockDWaveSampler.samplenow accepts**kwargfor 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_featureskwarg inDWaveSampler - Removed deprecated
order_bykwarg inDWave(Clique)Sampler - Added
LeapHybridDQMSampler
-
minorminer0.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
Changelog
-
dwave-cloud-client0.7.7 -> 0.8.1Clientinstance defaults viadefaultsconstructor argument (#425)Clientclass defaults inClient.DEFAULTS- Parsing of boolean options in configuration files.
on/off,true/false,1/0all work as expected (#113) @deprecatedutility decoratoraliasdictutilitydictsubclass 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-refandbq-zlib. - Removed support for more than first three positional arguments in
Clientconstructor (endpoint,tokenandsolver). Positional arguments in the constructor will be deprecated eventually. Client.solversscheduled for removal in 0.9.0- Deprecated
Future.occurrencesin favor ofFuture.num_occurrences - Deprecated
samplesandoccurrenceskeys inFuture/Future.result() - A discrete quadratic model solver,
dwave.cloud.solver.DQMSolver - New name for binary quadratic solver,
dwave.cloud.solver.BQMSolver Client.get_solverhas been known to mutate thedefault_solver(#428). Now we make sure it doesn't.- Setting kwargs explicitly to
NoneinClient.from_configcould overwrite config values (#430). Now that too is fixed.
-
dwave-greedy0.1.0 -> 0.1.1greedy.SteepestDescentComposite, a greedy descent post-processing composite
-
dwave-hybrid0.5.1 -> 0.6.0- Option to retry if embedding fails in
QPUSubproblemAutoEmbeddingSampler(#114) ComponentDecomposerfor iterating over problem graph components (#209)greedy-basedSteepestDescentProblemSampler/SteepestDescentSubproblemSamplerSplatComposerwas producingnumpy.float64samplesets (#235). Now it inheritsdtypefrom input.
- Option to retry if embedding fails in
-
dwave-inspector0.2.3 -> 0.2.4- Stop using hierarchical requirements include
- Support changes in latest
dwave-cloud-clientanddwave-system
-
dwave-neal0.5.4 -> 0.5.6- Accept samples-like for
initial_states(usedimod.InitializedABC) - 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.
- Accept samples-like for
-
dwave-networkx0.8.7 -> 0.8.8- Rearranged requirements files to follow Ocean style
-
dwave-qbsolv0.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-system0.9.9->1.1.0DWaveSampler.to_networkx_graphmethod- A faster implementation of
embed_bqm - A
EmbeddedStructureclass. - Improved chain strength in
DWaveCliqueSampler DWaveCliqueSamplernow correctly supports legacy software solvers- New chain strength tuning methods,
uniform_torque_compensationandscaled - Embedding composites now use
uniform_torque_compensationto set the default chain strength MockDWaveSampler.samplenow accepts**kwargfor greater flexibility when testing- All samplers now strongly prefer either a QPU or a hybrid solver
- Removed deprecated
solver_featureskwarg inDWaveSampler - Removed deprecated
order_bykwarg inDWave(Clique)Sampler - Added
LeapHybridDQMSampler
-
dimod0.9.5 -> 0.9.7Structured.to_networkx_graphmixin method.min,.max, and.summethods on BQM viewsnonblocking_sample_methoddecorators for asynchronous samplersanti_crossing_loops,anti_crossing_clique, anddopedproblem generatorsBQM.to_fileandBQM.from_filemethods for cyBQMsVartypeView.relabel_variablesno longer sometimes returnes models with the wrong vartypeBQM.relabel_variables_as_integersnow works correctly wheninplace=False- New
DISCRETEvartype for sample sets DiscreteQuadraticModelclass- New parallel constructor for dense c++ BQMs
-
minorminer0.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
Changelog
-
dwave-cloud-client0.7.5 -> 0.7.7- New polling schedule control parameters (config & kwargs):
poll_backoff_minandpoll_backoff_max(#410) - Faster answer polling schedule: backoff time base reduced from 1s to 50ms
- Problem
offsetparameter supported inSolver.sample_{ising,qubo},
and implicitly (via BQM) inSolver.sample_bqm(#408) - Fixed: correct error handling during answer loading (#394)
- Fixed: support BQM offset in
Solver.sample_bqm(#408) - Fixed: support
order byin solver features definition dict (#407) - Fixed: include package version in user-agent string (#420)
- New polling schedule control parameters (config & kwargs):
-
dwave-inspector0.2.2 -> 0.2.3 -
dwave-networkx0.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
Changelog
-
dimod0.9.4 -> 0.9.5BQM.normalizenow returns the value the BQM was scaled bySampleSet.relabel_variablesno longer blocks for unresolved sample setsFileViewhas a new parameter,ignore_variablesthat treats the BQM as integer-labelledScaleCompositeno longer blocksFileView.seeknow works correctly withio.SEEK_END- Change:
BinaryPolynomialsupport inScaleCompositehas been removed
-
dwave-cloud-client0.7.4 -> 0.7.5- User-Agent extended with platform-specific tags
- CLI:
dwave --platform - CLI: additive verbosity for install/setup commands
- Fixed:
order_byargument toClient.get_solveraffected 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-hybrid0.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
- All QPU samplers now use client-based QPU selection instead of solver feature-based,
-
dwave-system0.9.6 -> 0.9.9- Added
DWaveCliqueSampler - Added
order_bykwarg inDWaveSamplerconstructor LeapHybridSampleruses BQM serialization version 2.0- Embedding composites no longer block
MockDWaveSamplernow has the correct topology- Fix rounding in anneal schedule validation
- Added
-
minorminer0.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
triesparameter)
- Added polytime clique embedder for chimera and pegasus graphs under
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
Changelog
-
dimod0.9.3 -> 0.9.4assert_consistent_bqmtodimod.testingfor 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-client0.7.3 -> 0.7.4- Restore support for solvers without
categoryproperty
- Restore support for solvers without
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
Changelog
-
dimod0.9.2 -> 0.9.3pack_sampleskwarg forSampleSet.to_serializable()method that allows the user to not pack samples. This means bumping the sample set serialization version to 3.1.0SampleSet.infois now correctly propagated through theClipComposite- All
.pyxand.pxdfiles are included in the MANIFEST which means thatcimport dimodwill now work correctly
-
dwave-cloud-client0.7.2 -> 0.7.3- Hybrid solvers support:
dwave.cloud.hybrid.Clientis a new client type specialized
for SAPI hybrid solversSolver.hybridis a new derived property, also available for
feature-based solver filtering
- Client certificate SAPI authentication supported via
client_certand
client_cert_keyconfig/kwarg parameters dwave installnow supports--upgradeoption to (re)install
partially installed contrib packages, or upgrade stale requirementsqpu/sw/hybridderived solver properties refactored to use the
new SAPI solver property,category- Nested exception properly propagated by
Future.exception() dwave installnow 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.0Future.errordeprecated in favor ofFuture.exception()and
scheduled for removal in 0.9.0- Removed most of Python 2 constructs
- Hybrid solvers support:
-
dwave-hybrid0.4.3 -> 0.5.0- Added
SubproblemCliqueEmbedder - Dropped Python 2.7 and 3.4 support
- Loosened NumPy version requirements
- Added
-
dwave-inspector0.2.1 -> 0.2.2- Infer SAPI solver topology type if topology property missing
-
dwave-system0.9.5 -> 0.9.6LeapHybridSamplernow correctly chooses solvers that accept thebqmproblem 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
Changelog
-
dimod0.9.1 -> 0.9.2- BQM C++ headers are now in
dimod/include/dimod/ InitializedABC and accompanyingparse_initial_statesmethod for samplers that accept initial statesIdentitySamplerthat returns passed-in initial statesising_to_qubofunction now accepts an underspecifiedharg- General performance and structural improvements to C++ bqms
- cyBQMs are now pickleable and deepcopyable
- BQM C++ headers are now in
-
dwave-system0.9.4 -> 0.9.5unembed_samplesetnow accepts multiple chain break resolution methods
-
dwave-tabu0.2.2 -> 0.3.0- dimod 0.9.x support (all BQM types)
- Dropped Python 2 and 3.4 support
-
dwave-inspector0.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
-
pyqubo0.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
2.1.1
Changelog
-
dwave-cloud-client0.7.1 -> 0.7.2StructuredSolver.sample_bqmwas improperly handling QUBOs, now it
correctly samples them as QUBO QMIs (#375)- some doctests were failing, and now they're skipped
-
dwave-system0.9.2 -> 0.9.4- Install
dwave-tabuwhich is needed for thedwave.system.testingmodule - Fixed QUBO sampling bug in
DWaveSamplerintroduced in 0.9.2 (#286)
- Install
-
dwavebinarycsp0.1.1 -> 0.1.2- Update introduction doc
- Doctest fails
-
penaltymodel-mip0.2.2 -> 0.2.3- Will handle the case when all decision configurations are defined
-
penaltymodel-maxgap0.5.2 -> 0.5.3- Bump up
pysmtto 0.8.0
- Bump up
Package versions
dimod==0.9.1
dwave-cloud-client==0.7.2
dwave-hybrid==0.4.3
dwave-inspector==0.1.5
dwave-neal==0.5.4
dwave-networkx==0.8.6
dwave-qbsolv==0.3.0
dwave-system==0.9.4
dwave-tabu==0.2.2
dwavebinarycsp==0.1.2
minorminer==0.1.9
penaltymodel==0.16.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
pyqubo>=0.3.0
Extras, all
penaltymodel-mip==0.2.3
penaltymodel-maxgap==0.5.3
2.1.0
Package versions
dimod==0.9.1
dwave-cloud-client==0.7.1
dwave-hybrid==0.4.3
dwave-inspector==0.1.5
dwave-neal==0.5.4
dwave-networkx==0.8.6
dwave-qbsolv==0.3.0
dwave-system==0.9.2
dwave-tabu==0.2.2
dwavebinarycsp==0.1.1
minorminer==0.1.9
penaltymodel==0.16.3
penaltymodel-cache==0.4.1
penaltymodel-lp==0.1.3
pyqubo>=0.3.0
2.0.1
Fixes
dwavebinarycsp==0.1.1which includes a fix for compatibility with dimod 0.9.0
New Features
- A new
'all'install flag that will installpenaltymodel-maxgapandpenaltymodel-mip