Releases: dwavesystems/dwave-ocean-sdk
4.2.0
Changelog
dwave-cloud-client
0.9.1 -> 0.9.2
New Features
-
Added Metadata API client,
Regions
model and API resource. See #483. -
Added multi-region support to
dwave.cloud.Client
. See #483.New config option for region selection is called
region
, and environment variable is calledDWAVE_API_REGION
.New config option for specifying Metadata API endpoint URL is exposed as
metadata_api_endpoint
andDWAVE_METADATA_API_ENDPOINT
.List of available regions available with
dwave.cloud.Client.get_regions
. -
Add context manager protocol support to
dwave.cloud.api.client.DWaveAPIClient
to ensure resources are easily cleaned up (session closed). Note thatclose()
method is available for cases when context manager pattern is inconvenient. See #492.Similarly, we add
close()
method to resources indwave.cloud.api.resource.*
, in addition to the existing context manager protocol support. -
Add
--region
and--endpoint
options to the relevantdwave
CLI subcommands:ping
,solvers
,sample
,upload
. See #496.
Upgrade Notes
-
To access solvers in a non-default region (na-west-1), you can use the
region
config option andDWAVE_API_REGION
environment variable. -
dwave.cloud.config.load_config
used to return some minimal (but arbitrary) set of always-set options (set toNone
if undefined). Now it returns just the options set either in config file, environment, or kwargs.
Bug Fixes
- Fix
dwave.cloud.api.constants.ProblemType
enumeration to include the CQM problem type. See #491.
Package versions
dimod==0.10.7
dwave-cloud-client==0.9.2
dwave-greedy==0.2.1
dwave-hybrid==0.6.4
dwave-inspector==0.2.7
dwave-neal==0.5.8
dwave-networkx==0.8.10
dwave-preprocessing==0.3.1.post0
dwave-qbsolv==0.3.3
dwave-system==1.10.0
dwave-tabu==0.4.2
dwavebinarycsp==0.1.3
minorminer==0.2.6
penaltymodel-cache==0.4.4
penaltymodel-lp==0.1.5
penaltymodel==0.16.5
pyqubo==1.0.13
# dwave-ocean-sdk[all]
penaltymodel-maxgap==0.5.5
penaltymodel-mip==0.2.5
4.1.0
Changelog
dimod
0.10.6 -> 0.10.7
New Features
- Add
ConstrainedQuadraticModel.is_equal()
andConstrainedQuadraticModel.is_almost_equal()
methods. See #1012 - Add
QuadraticModel.is_almost_equal()
method - Support equality checks between quadratic models and binary quadratic models in
BinaryQuadraticModel.is_equal()
,BinaryQuadraticModel.is_almost_equal()
,QuadraticModel.is_equal()
, andQuadraticModel.is_almost_equal()
methods. - Add
GraphLike
type hint todimod.typing
. - Add
ConstrainedQuadraticModel.iter_constraint_data()
,ConstrainedQuadraticModel.iter_violations()
andConstrainedQuadraticModel.violations()
methods. See 971. - Added
from_lp_file
classmethod toConstrainedQuadraticModel
that reads input LP file and converts it to CQM instance. ConstrainedQuadraticModel.set_objective
now accepts an iterable.- Add
ConstrainedQuadraticModel.check_feasible
method. - Add
random_bin_packing
function with the same functionality as the (now deprecated)bin_packing
. - Allow
BinaryQuadraticModel
andQuadraticModel
to be divided by a scalar or squared. See #864, #984. - Add
SampleSet.filter()
method that returns a sample set with data rows filtered by a given predicate. - Add
.to_dict()
and.from_dict()
methods to the sample inverter returned by thecqm_to_bqm
function. The methods return a json serializable representation of the inversion for storage if needed. See 977. - Add
random_multi_knapsack
function with the same functionality as the (now deprecated)multi_knapsack
. - Add
random_knapsack
function with the same functionality as the (now deprecated)knapsack
. - Allow the offset of a
BinaryQuadraticModel
to be specified as a keyword argument. - Add PEP 561 compatibility to allow tools like mypy to auto-detect typing hints. See #980.
Upgrade Notes
- The
cls
keyword argument of thechimera_anticluster
function now does nothing.
Deprecation Notes
- Deprecate
cls
keyword argument of thechimera_anticluster
function. - Deprecate
bin_packing
function in favour ofrandom_bin_packing
. - Deprecate
multi_knapsack
function in favour ofrandom_multi_knapsack
. - Deprecate
knapsack
function in favour ofrandom_knapsack
.
Bug Fixes
QuadraticModel
can now be multiplied by a number in place.- Fix energy calculations for integer variables with large values. See #982.
- Make
dimod.BinaryQuadraticModel
a virtual subclass ofdimod.core.bqm.BQM
.
dwave-cloud-client
0.9.0 -> 0.9.1
New Features
- Add Leap hybrid CQM solvers support. See #489.
Upgrade Notes
- Sampling on structured solvers of problems with incompatible graph/structure now fails with
ProblemStructureError
. See #487.
Bug Fixes
- Make
StructuredSolver.check_problem
faster (15-20%). See #487.
dwave-hybrid
0.6.3 -> 0.6.4
New Features
make_origin_embeddings
problem decomposing utility that creates optimal embeddings for a lattice. Embeddings are compatible with the topology and shape of D-Wave QPU samplers (dwavesystems/dwave-hybrid#252).SublatticeDecomposer
that produces lattice-structured subproblems
(dwavesystems/dwave-hybrid#252).
Bug Fixes
SteepestDescentProblemSampler
now actually usesgreedy.SteepestDescentSolver
(dwavesystems/dwave-hybrid#250).
dwave-networkx
0.8.9 -> 0.8.10
New Features
- Add
zephyr_elimination_order()
function - Add
coordinates
keyword argument tochimera_elimination_order()
- Add
zephyr_coordinates()
function - Add
zephyr_layout()
,draw_zephyr()
,draw_zephyr_embedding()
, anddraw_zephyr_yield()
functions - Add
zephyr_graph()
andzephyr_coordinates()
functions
dwave-preprocessing
0.3.0 -> 0.3.1.post0
Bug Fixes
- Add cpp docs to SDK build (dwavesystems/dwave-preprocessing#27)
Upgrade Notes
- Drop Linux 32-bit builds/wheels (dwavesystems/dwave-preprocessing#23)
dwave-system
1.9.0 -> 1.10.0
New Features
- Add
LeapHybridCQMSampler
- Backport support for legacy solver config override (see dwavesystems/dwave-system#363) via a
DWAVE_FEATURE_FLAGS
env var - Add
LeapHybridBQMSampler
alias forLeapHybridSampler
to thedwave.system
namespace
Package versions
dimod==0.10.7
dwave-cloud-client==0.9.1
dwave-greedy==0.2.1
dwave-hybrid==0.6.4
dwave-inspector==0.2.7
dwave-neal==0.5.8
dwave-networkx==0.8.10
dwave-preprocessing==0.3.1.post0
dwave-qbsolv==0.3.3
dwave-system==1.10.0
dwave-tabu==0.4.2
dwavebinarycsp==0.1.3
minorminer==0.2.6
penaltymodel-cache==0.4.4
penaltymodel-lp==0.1.5
penaltymodel==0.16.5
pyqubo==1.0.13
# dwave-ocean-sdk[all]
penaltymodel-maxgap==0.5.5
penaltymodel-mip==0.2.5
4.0.0
Changelog
dimod
0.9.16 -> 0.10.6
Prelude
Add QuadraticModel
implementation to Python, Cython and C++. Quadratic models can be represented by a degree 2 polynomial over binary, spin and integer variables.
New Features
-
gnm_random_bqm
generator #808 -
Allow sample methods decorated by nonblocking_sample_method to
return sample sets that can indicate their doneness. This allows
ScaleComposite to be properly non-blocking even when there is
a vartype change #805 -
DiscreteQuadraticModel.degree()
method -
Support PEP518 for building the package #814
-
Add
cyVariables.size()
and.at(..)
to improve cython access to theVariables
object -
Add new
QuadraticModelBase
andBinaryQuadraticModel
implementation in c++ #818, #819 -
Add
Structured.valid_bqm_graph
method for verifying input problem structure #832 -
Reimplement
BinaryQuadraticModel
to use new C++ code #828 -
BinaryQuadraticModel
can now be manipulated symbolically #834 -
DiscreteQuadraticModel
now has an.offset
attribute #838 -
Add
ConstrainedQuadraticModel
class #839 -
Add
make_header
,read_header
andwrite_header
utility functions #842 -
Add
ExactDQMSampler
#820 -
Add
ConstrainedQuadraticModel.add_discrete
method. This allows users to create a discrete variable via a one-hot constraint. A disjoint set of discrete variables are tracked by theCQM
and serialized. -
Add support for quadratic model objectives and constraints in constrained quadratic models. Previously CQMs only supported binary quadratic models.
-
Add new
QuadraticModel
class for creating quadratic models. -
Add
CaseLabelDQM
class. Provides means of labeling cases of discrete variables. -
Begin using reno for changelog.
-
Add
BinaryQuadraticModel.add_linear_inequality_constraint
andDiscreteQuadraticModel.add_linear_inequality_constraint
methods. -
Create
dimod/libcpp.pxd
Cython header file. This allows user tocimport
C++ classes and functions defined indimod/include/
-
Use C++
BinaryQuadraticModel
rather thanAdjVectorBQM
as the underlying object incyDiscreteQuadraticModel
. This means that the underlying implementation is now version controlled. -
Add new
Vartype.INTEGER
variable type. -
Add
QuadraticModelBase::scale
method. Scales offset, linear biases, and quadratic biases by a provided scale factor. -
Add bin_packing, knapsack and multi_knapsack constrained quadratic model generators.
-
Add
BinaryQuadraticModel.is_almost_equal
method for testing approximate equality to other binary quadratic models. -
Add
Variables.copy
method, implemented as acpdef
method for Cython and Python access. -
Support specifying lower and upper bounds for integer variables in quadratic models:
- Add
lower_bound
andupper_bound
keyword arguments toQuadraticModel.add_variable
. - Add
QuadraticModel.lower_bound
andQuadraticModel.upper_bound
methods.
- Add
-
Add
num_quadratic_variables
to the header of the file created byConstrainedQuadraticModel.to_file
. This increments the version to 1.1. -
You can now install preprocessing as part of the dimod install with
pip install dimod[preprocessing]
-
Add an optional
label
keyword argument toConstrainedQuadraticModel.add_discrete
. The method also now returns the assigned label, whether supplied or generated. This is consistent withConstrainedQuadraticModel.add_constraint
. -
cyBQM
andcyQM
fused types can now be cimported from thedimod
namespace. -
Add
.data()
method tocyQM_template
andcyBQM_template
that returns a const pointer to the underlying C++QuadraticModel
andBinaryQuadraticModel
respectively. -
Add
QuadraticModel.change_vartype()
method. -
Add C++
dimod::QuadraticModel::change_vartype()
method. Also add non-const versions ofdimod::QuadraticModel::vartype()
,dimod::QuadraticModel::lower_bound()
, anddimod::QuadraticModel::upper_bound()
. -
Add
QuadraticModel.set_upper_bound
andQuadraticModel.set_lower_bound
methods. -
Add
Binaries
,Spins
andIntegers
functions. See #918. -
Add
DiscreteQuadraticModel.get_cases
method to matchCaseLabelDQM.get_cases
. -
Implement
QuadraticModel.remove_interaction
method, previously it raised aNotImplementedError
error. -
Add
linear
option as a newslack_method
forDiscreteQuadraticModel.add_linear_inequality_constraint
method. This will add only one discrete variable to an inequality constraint with linear number of cases, according to right hand side value of the constraint. -
Add
quicksum
function for faster summation ofQuadraticModel
andBinaryQuadraticModel
. Python's built-insum
continues to work, butquicksum
will generally be faster when adding many objects. -
Add a generator,
dimod.generators.binary_encoding
, to create a binary quadratic model that encodes an integer. -
Add methods to construct a constrained quadratic model from other model types:
ConstrainedQuadraticModel.from_discrete_quadratic_model
with an aliasConstrainedQuadraticModel.from_dqm
ConstrainedQuadraticModel.from_quadratic_model
with two aliasesConstrainedQuadraticModel.from_qm
andConstrainedQuadraticModel.from_bqm
See #866.
-
Add
QuadraticModel.add_quadratic_from()
method. -
Add
QuadraticModel.add_linear_from()
method. -
Add
ConstrainedQuadraticModel.lower_bound()
andConstrainedQuadraticModel.upper_bound()
methods. -
Add
cqm_to_bqm
function. -
Add
ConstrainedQuadraticModel.substitute_self_loops
method that replaces integer self-loops by introducing a new variable and adding a constraint. -
Add
copy_always
parameter toInitialized.parse_initial_states
. -
Add new binary quadratic model generators for simple logic gates:
dimod.generators.and_gate
dimod.generators.fulladder_gate
dimod.generators.halfadder_gate
dimod.generators.or_gate
dimod.generators.xor_gate
See #951.
-
QuadraticModel.energies
,QuadraticModel.energy
,BinaryQuadraticModel.energies
, andBinaryQuadraticModel.energy
now all support samples containing a superset of the variables in the model. Any variables not in the model are ignored when calculating the energy. -
Labels for
dimod.Spin
,dimod.Binary
, anddimod.Integer
are no longer required positional arguments. By default, unique labels are applied via the uuid module.
Upgrade Notes
-
Drop
AdjMapBQM
andAdjArrayBQM
#788 -
Promote
dimod.binary.binary_quadratic_model.BinaryQuadraticModek
to the top-leveldimod
namespace and removedimod.binary_quadratic_model.BinaryQuadraticModel
#847 -
Symbolically multiplying, subtracting and adding
BinaryQuadraticModel
`s with different vartypes now creates aQuadraticModel
rather than raising an error. -
Use C++
BinaryQuadraticModel
rather thanAdjVectorBQM
as the underlying object incyDiscreteQuadraticModel
. Any code that relied on the oldAdjVectorBQM
implementation will need to be upgraded. -
Make
dimod.vartypes.ExtendedVartype
an alias fordimod.vartypes.Vartype
. Also removeExtendedVartypeLike
fromdimod.vartypes
anddimod.typing
. -
Remove
dimod.utils.LockableDict
anddimod.decorators.lockable_method
. AlsoSampleSet.is_writeable
can no longer be set toFalse
. -
BinaryQuadraticModel.data.vartype()
is now accessed as a method rather than as an attribute. This is consistent withQuadraticModel.data.vartype()
. -
from dimod cimport cyBQM
now is a fused type containingcyBQM_float32
andcyBQM_float64
. You can use thecyBQM
containingcyAdjVectorBQM
withfrom dimod.bqm cimport cyBQM
. -
QuadraticModel.objective
is now always aQuadraticModel
. Previously it could either be aBinaryQuadraticModel
or aQuadraticModel
. -
QuadraticModel.objective
now contains all variables in the constrained quadratic model. Previously it could contain a subset of the variables.
Deprecation Notes
-
AdjVectorBQM
andAdjDictBQM
are deprecated and will be removed in dimod 0.11.0. UseBinaryQuadraticModel
withdtype=np.float64
anddtype=object
respectively. -
SampleSet.is_writeable
is deprecated and now always returns True. -
Some composites have been migrated to
dwave-preprocessing
. The affected composites:ClipComposite
ConnectedComponentsComposite
FixedVariableComposite
RoofDualityComposite
ScaleComposite
SpinReversalTransformComposite
you no longer can use the composites without having
dwave-preprocessing
installed. Using them wit...
4.0.0.dev0
Development release. Full release notes to be compiled for 4.0.0.
Breaking changes induced by:
- dimod 0.9.x -> 0.10.x
- dwave-cloud-client 0.8.x -> 0.9.x
3.5.0
Changelog
-
dimod
0.9.15 -> 0.9.16- Backport docs build fix for Sphinx 4. dwavesystems/dimod#983
- Backport Python 3.5 support removal. dwavesystems/dimod#985
- Backport dependence on dwave-preprocessing to fix dwave-system (>1.7.0) support of both dimod 0.9 and 0.10. dwavesystems/dimod#981
-
dwave-cloud-client
0.8.6 -> 0.8.7- Support dimod 0.10+ (dwavesystems/dwave-cloud-client#474)
- Defer
click
import until needed for CLI, enabling partial degradation only in environments that don't support click (dwavesystems/dwave-cloud-client#473)
-
dwave-greedy
0.2.0 -> 0.2.1- Support dimod 0.10 (dwavesystems/dwave-greedy#21)
-
dwave-hybrid
0.6.2 -> 0.6.4- Support dimod 0.10 (dwavesystems/dwave-hybrid#248)
-
dwave-inspector
0.2.6 -> 0.2.7- Add support for floating-point values of SAPI timing parameters and problem timing info (app#95)
-
dwave-neal
0.5.7 -> 0.5.8- Support dimod 0.10
- Fix broken documentation links
- Drop support for Python 3.5
-
dwave-networkx
0.8.8 -> 0.8.9- Support dimod 0.10
- Fix broken documentation links
- Drop support for python 3.4 and 3.5
-
dwave-qbsolv
0.3.2 -> 0.3.3- Support dimod 0.10 (dwavesystems/qbsolv#157)
- Drop support for python 3.5 (dwavesystems/qbsolv#158)
-
dwave-system
1.6.0 -> 1.8.0- Scale the problem submitted to
DWaveCliqueSampler
to avoidper_qubit_coupling_range
violations (dwavesystems/dwave-system#417) - Properly account for DQMs with offsets in LeapHybridDQMSampler (dwavesystems/dwave-system#415)
- Fix support for dimod 0.9 (dwavesystems/dwave-system#421)
- Use soft defaults-level solver filtering in Leap hybrid samplers, fixing dwavesystems/dwave-system#363. Solver for hybrid samplers can now be defined via a config file and environment variable, not just via argument to the sampler.
- Fix tests not to depend on QPU topology availability (dwavesystems/dwave-system#423)
- Support
CaseLabelDQM
(dwavesystems/dwave-system#409) - Support dimod 0.10
- Scale the problem submitted to
-
dwave-tabu
0.3.1 -> 0.4.1- Support dimod 0.10
-
dwavebinarycsp
0.1.2 -> 0.1.3- Support
dimod>=0.8.0,<0.11.0
- Support
-
penaltymodel
0.16.4 -> 0.16.5- Support
dimod>=0.8.0,<0.11.0
- Support
-
penaltymodel-cache
0.4.3 -> 0.4.4- Support
dimod>=0.8.0,<0.11.0
- Support
-
penaltymodel-lp
0.1.4 -> 0.1.5- Support
dimod>=0.8.0,<0.11.0
- Support
-
penaltymodel-maxgap
0.5.4 -> 0.5.5- Support
dimod>=0.8.0,<0.11.0
- Support
-
penaltymodel-mip
0.2.4 -> 0.2.5- Support
dimod>=0.8.0,<0.11.0
- Support
-
pyqubo
1.0.12 -> 1.0.13- Support
dimod>=0.9.14,<0.11.0
- Support
Package versions
dimod==0.9.16
dwave-cloud-client==0.8.7
dwave-greedy==0.2.1
dwave-hybrid==0.6.3
dwave-inspector==0.2.7
dwave-neal==0.5.8
dwave-networkx==0.8.9
dwave-preprocessing==0.2.0
dwave-qbsolv==0.3.3
dwave-system==1.8.0
dwave-tabu==0.4.2
dwavebinarycsp==0.1.3
minorminer==0.2.6
penaltymodel-cache==0.4.4
penaltymodel-lp==0.1.5
penaltymodel==0.16.5
pyqubo==1.0.13
Extras, all
penaltymodel-maxgap==0.5.5
penaltymodel-mip==0.2.5
3.4.1
Changelog
dwave-cloud-client
0.8.5 -> 0.8.6- Require chardet installation to fix the multipart upload error introduced with requests==2.26.0 (dwavesystems/dwave-cloud-client#471)
3.4.0
Changelog
-
dwave-ocean-sdk
3.3.0 -> 3.4.0 -
dimod
0.9.13 -> 0.9.15DiscreteQuadraticModel
andSampleSet
now use the same underlying variable representation (dwavesystems/dimod#772, dwavesystems/dimod#779)DiscreteQuadraticModel.add_linear_equality_constraint
method (dwavesystems/dimod#774, dwavesystems/dimod#787, dwavesystems/dimod#798)AdjVectorBQM.add_linear_equality_constraint
method (dwavesystems/dimod#784)- Samplers now swallow unknown keyword arguments (dwavesystems/dimod#796, dwavesystems/dimod#799)
SpinReversalTransformComposite
no longer requires a structured sampler (dwavesystems/dimod#802)- Stopped using deprecated methods and functions to reduce the number of deprecation warnings (dwavesystems/dimod#773)
DiscreteQuadraticModel.copy()
now works correctly (dwavesystems/dimod#777)- Fix handling of integer-valued floats in Variables (dwavesystems/dimod#779)
- Fix the
cyDiscreteQuadraticModel.dtype
setting (dwavesystems/dimod#783) - Windows wheels now correctly include .pxd files (dwavesystems/dimod#826)
-
dwave-cloud-client
0.8.4 -> 0.8.5- Annotated
Future.sampleset
with.wait_id
method (dwavesystems/dwave-cloud-client#377) - Added
dispatches_events
decorator that can be used to simplify event dispatch on method entry and exit (dwavesystems/dwave-cloud-client#443, dwavesystems/dwave-cloud-client#455) - CLI: added
--client
option to override the client type used (dwavesystems/dwave-cloud-client#458) - Dispatch sampling events also from unstructured solvers (dwavesystems/dwave-cloud-client#454)
- CLI: fixed solver by client filtering (dwavesystems/dwave-cloud-client#457)
- Docs: added link checks (#464), updated sphinx/conf (dwavesystems/dwave-cloud-client#470)
- CLI: deprecated
-c
flag (short for--config-file
) in favor of-f
(dwavesystems/dwave-cloud-client#458) - Dropped Python 3.5 support (dwavesystems/dwave-cloud-client#467)
- Deprecated
Future.{eta_min,eta_max}
(dwavesystems/dwave-cloud-client#468)
- Annotated
-
dwave-greedy
0.1.2 -> 0.2.0- Added
num_steps
data vector to returned sampleset (dwavesystems/dwave-greedy#17) - Modernized setup and build pipeline (dwavesystems/dwave-greedy#16)
- Simplified and standardized CI by extracting common commands and jobs to
dwave/ocean
orb (dwavesystems/dwave-greedy#19) - Dropped Python 3.5 support (dwavesystems/dwave-greedy#15)
- Dropped 32-bit/i686 manylinux wheels (dwavesystems/dwave-greedy#16)
- Deprecated
greedy.package_info
submodule (dwavesystems/dwave-greedy#16)
- Added
-
dwave-hybrid
0.6.1 -> 0.6.2- Added Python 3.9 support (dwavesystems/dwave-hybrid#242)
- Docs: fixed broken links (dwavesystems/dwave-hybrid#243)
- Hybridized samplers will now receive only accepted sampling parameters (dwavesystems/dwave-hybrid#244)
- Dropped Python 3.5 support (dwavesystems/dwave-hybrid#247)
-
dwave-inspector
0.2.5 -> 0.2.6- Updated docs (dwavesystems/dwave-inspector#107, dwavesystems/dwave-inspector#108)
- Added Windows tests, refactored CI (dwavesystems/dwave-inspector#111, dwavesystems/dwave-inspector#112, dwavesystems/dwave-inspector#115)
- We now filter out non-QPU jobs during data capture to comply with the latest dwave-cloud-client (dwavesystems/dwave-inspector#110)
- Fixed blocking behavior on second and subsequent calls to
show()
(dwavesystems/dwave-inspector#104) - Fixed handling of duplicate problems. Now we track (and
show()
) only the latest problem captured for a givenproblem_id
(dwavesystems/dwave-inspector#114) - Dropped Python 3.5 support (dwavesystems/dwave-inspector#111)
-
dwave-preprocessing
0.2.0- Reimplemented roof_duality algorithm (returns a lower bound for a binary quadratic model's energy, as well as minimizing assignments for some of its variables)
- Migrated preprocessing composites from dimod
-
dwave-system
1.4.0 -> 1.6.0- Docstring formatting fixes (dwavesystems/dwave-system#387)
- Chain strength documentation (fixes dwavesystems/dwave-system#391)
- Fix broken documentation links (dwavesystems/dwave-system#396)
DWaveCliqueSampler
can fail over (dwavesystems/dwave-system#395)- Add
MockLeapHybridDQMSampler
(dwavesystems/dwave-system#399) - Updated sphinx and docs conf (dwavesystems/dwave-system#400)
- Documented samplers async behavior (dwavesystems/dwave-system#408)
- Added more properties to
MockDWaveSampler
(dwavesystems/dwave-system#403) - CI refactored; leaner integration tests (dwavesystems/dwave-system#405)
- Dropped Python 3.5 support (dwavesystems/dwave-system#405)
-
dwave-tabu
0.3.1 -> 0.4.1- Biases now stored as double floats, instead of as ints (dwavesystems/dwave-tabu#29)
- Added C++ code tests
- Added
seed
parameter toTabuSampler.sample()
for reproducible random initial states (dwavesystems/dwave-tabu#30) - Added
energy_threshold
toTabuSampler.sample()
to enable target energy based termination (dwavesystems/dwave-tabu#48) - C++ code refactored and modernized
TabuSampler
now implements the fulldimod.Initialized
interface- RNG isolated per instance and thread (dwavesystems/dwave-tabu#71)
- Removed bias scaling (
scale_factor
fromTabuSampler.sample()
args), since biases are now internally represented as double-precision floats (dwavesystems/dwave-tabu#29) - Switched to Cython from SWIG for C++/Python interface
- Dropped Python 3.5 support
- Removed
init_solutions
argument of.sample()
(deprecated, since v0.2.0, in favor ofinitial_states
). - Modernized setup and build pipeline (dwavesystems/dwave-tabu#85)
- Dropped 32-bit/i686 manylinux wheels
-
minorminer
0.2.5 -> 0.2.6
- Documentation refresh (dwavesystems/minorminer#180, dwavesystems/minorminer#182)
- Dropped Python 3.5 support (dwavesystems/minorminer#183)
-
pyqubo
1.0.10 -> 1.0.12- Enable installation from source
Package versions
dimod==0.9.15
dwave-cloud-client==0.8.5
dwave-greedy==0.2.0
dwave-hybrid==0.6.2
dwave-inspector==0.2.6
dwave-neal==0.5.7
dwave-networkx==0.8.8
dwave-preprocessing==0.2.0
dwave-qbsolv==0.3.2
dwave-system==1.6.0
dwave-tabu==0.4.1
dwavebinarycsp==0.1.2
minorminer==0.2.6
penaltymodel-cache==0.4.3
penaltymodel-lp==0.1.4
penaltymodel==0.16.4
pyqubo==1.0.12
Extras, all
penaltymodel-maxgap==0.5.4
penaltymodel-mip==0.2.4
3.3.0
Changelog
-
dwave-cloud-client
0.8.2 -> 0.8.4- All SAPI requests retried whenever possible, controlled with new
http_retry_*
Client options (#414) - Introduced
SAPIError
base exception with SAPI error message and code, other exceptions reorganized in a backwards-compatible way - Support for problem labels:
sample_*
methods accept optionallabel
kwarg, andFuture.sampleset.info
containsproblem_label
(#444) - Added general problem info (id/label) to unstructured solvers' response (#449)
- Switched to CircleCI (#119)
- Handle remote disconnects in an edge case (#229)
- All SAPI requests retried whenever possible, controlled with new
-
dwave-inspector
0.2.4 -> 0.2.5- Problem label field under problem details dropdown
- Support for Python 3.9
-
dwave-system
1.3.0 -> 1.4.0- Support for problem labels (all samplers now accept an optional
label
kwarg) - Label on
VirtualGraphComposite
flux bias measurements - Hybrid samplers now properly select the latest version of an appropriate hybrid solver
- Python 2 cruft cleanup
- Support for problem labels (all samplers now accept an optional
-
pyqubo
1.0.7 -> 1.0.10- Support for Python 3.9
Package versions
dimod==0.9.13
dwave-cloud-client==0.8.4
dwave-greedy==0.1.2
dwave-hybrid==0.6.1
dwave-inspector==0.2.5
dwave-neal==0.5.7
dwave-networkx==0.8.8
dwave-qbsolv==0.3.2
dwave-system==1.4.0
dwave-tabu==0.3.1
dwavebinarycsp==0.1.2
minorminer==0.2.5
penaltymodel-cache==0.4.3
penaltymodel-lp==0.1.4
penaltymodel==0.16.4
pyqubo==1.0.10
Extras, all
penaltymodel-maxgap==0.5.4
penaltymodel-mip==0.2.4
3.2.0
Changelog
-
dimod
0.9.10 -> 0.9.13-
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
-
Improved error messages and variable names in
DQM.from_numpy_vectors
-
.clang-format
file for C++ formatting -
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 -
Fix c++ target for windows build
-
Fix
DQM.from_numpy_vectors
to no longer segfault when given inconsistent inputs -
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 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
-
Deprecated
SampleSet.append_variables
-
-
dwave-cloud-client
0.8.1 -> 0.8.2- Improve error messages for multipart upload failures (#433)
- Accept looser file-like for upload (#435)
- Support for python 3.9 (#442)
-
dwave-greedy
0.1.1 -> 0.1.2- Support for python 3.9
-
dwave-hybrid
0.6.0 -> 0.6.1- Added
beta_range
option to(Hybridized)PopulationAnnealing
andCalculateAnnealingBetaSchedule
ProgressBetaAlongSchedule
now outputsdelta_beta
in addition tobeta
- Made
ProcessPoolExecutor
availability optional to enable use on systems with process limitations - Expanded range of supported energies in
EnergyWeightedResampler
- Linear beta schedule and better defaults in
PopulationAnnealing
- Tests not included in the package anymore
- Deprecated use of
beta
inEnergyWeightedResampler
. Usedelta_beta
instead.
- Added
-
dwave-neal
0.5.6 -> 0.5.7- Support for python 3.9
-
dwave-qbsolv
0.3.1 -> 0.3.2- Support for python 3.9
-
dwave-system
1.2.1 -> 1.3.0ReverseBatchStatesComposite
now inherits fromdimod.Initialized
and by default reverse annealsReverseAdvanceComposite
now reverse anneals by default with schedule[[0, 1], [1, 0.35], [9, 0.35], [10, 1]]
EmbeddedStructure
is now deep copy-able- Embedding composites now raise correct warnings even when chain strengths are provided as a dict
- Many
dwave.embedding
utility functions have been migrated tominorminer
, though they are still imported into their original namespaces
-
dwave-tabu
0.3.0 -> 0.3.1- Support for python 3.9
-
minorminer
0.2.3 -> 0.2.5- Incorporate functionality from
dwave.embedding
namespace (#170) - Updated python install instructions
- Support for python 3.9
- Incorporate functionality from
-
penaltymodel
0.16.3 -> 0.16.4- Support for python 3.9
-
penaltymodel-cache
0.4.1 -> 0.4.3- Added decorator for isolating penaltymodel cache tests,
@isolated_cache
- Fixed caching of problems with no quadratic/linear biases set
- Support for python 3.9
- Added decorator for isolating penaltymodel cache tests,
-
penaltymodel-lp
0.1.3 -> 0.1.4- Support for python 3.9
-
penaltymodel-maxgap
0.5.3 -> 0.5.4- Support for python 3.9
-
penaltymodel-mip
0.2.3 -> 0.2.4- Support for python 3.9
Package versions
dimod==0.9.13
dwave-cloud-client==0.8.2
dwave-greedy==0.1.2
dwave-hybrid==0.6.1
dwave-inspector==0.2.4
dwave-neal==0.5.7
dwave-networkx==0.8.8
dwave-qbsolv==0.3.2
dwave-system==1.3.0
dwave-tabu==0.3.1
dwavebinarycsp==0.1.2
minorminer==0.2.5
penaltymodel-cache==0.4.3
penaltymodel-lp==0.1.4
penaltymodel==0.16.4
pyqubo==1.0.7 # only available on python < 3.9
Extras, all
penaltymodel-maxgap==0.5.4
penaltymodel-mip==0.2.4
3.1.1
Changelog
dimod
0.9.9 -> 0.9.10- Fix the behavior of the file-like returned by
DQM.to_file
- Fix the behavior of the file-like returned by