Giter Club home page Giter Club logo

dwave-ocean-sdk's People

Contributors

arcondello avatar bellert avatar brettkoonce avatar brianm1028 avatar charleswhchan avatar fionahanington avatar joelpasvolsky avatar kotarotanahashi avatar m3ller avatar quackduck avatar randomir avatar richardkmichael avatar shpface avatar thisac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dwave-ocean-sdk's Issues

warning while following AND Gate example in

In [14]: sampler = VirtualGraphComposite(DWaveSampler(), embedding) /home/gmarsden/.local/lib/python2.7/site-packages/dwave/system/flux_bias_offsets/flux_bias_offsets.py:20: UserWarning: Package dwave-system-tuning not found. Flux biases will not be used. warnings.warn("Package dwave-system-tuning not found. Flux biases will not be used.")

Allow install from conda repository directly

Current Problem
In order to install dwave-ocean-sdk in a conda environment it is necessary to first install pip (and related packages) and then use that to install dwave-ocean-sdk.

Proposed Solution
Get dwave-ocean-sdk added to the conda or conda-forge repository so that a user can do a simple conda install dwave-ocean-sdk in order to install.

Aggregate requirements for packages' dependencies

When multiple packages reference the same (dependency) package, but with conflicting version requirements, pip is not able to derive the common working version subset.

One solution would be to keep all dependencies in sync across Ocean packages, but an easier solution is to pull (some) deps one level up, to the SDK.

can you change title of "getting started" to "getting started with ocean" so we can more easily distinguish the 2 GS guides

Current Problem
Is your feature request related to a problem? Please provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Proposed Solution
A clear and concise description of what you want to happen.

Alternatives Considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context here.

problem while installing amazon-braket-ocean-plugin on ARM64

Description
I'm trying to install ion ARM64 the amazon-braket-ocean-plugin. But I got an issue

To Reproduce
pip3 install amazon-braket-ocean-plugin

dimod/roof_duality/src/fix_variables.cpp:30:10: fatal error: boost/graph/graph_traits.hpp: No such file or directory
#include <boost/graph/graph_traits.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-7h7kufq3/dimod/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-l2xntlxv/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-7h7kufq3/dimod/

Environment:

  • OS: ARM64
  • Python version: 3.7.6

Additional context
Building wheel for dimod (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/setup.py'"'"'; file='"'"'/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_0f7bxfk
cwd: /tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/
Complete output (146 lines):
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:645: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:645: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.7
creating build/lib.linux-aarch64-3.7/dimod
copying dimod/utilities.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/sampleset.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/vartypes.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/decorators.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/compatibility23.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/variables.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/converters.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/package_info.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/init.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/binary_quadratic_model.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/traversal.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/meta.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/exceptions.py -> build/lib.linux-aarch64-3.7/dimod
creating build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/construction.py -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/init.py -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjdictbqm.py -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/make.py -> build/lib.linux-aarch64-3.7/dimod/bqm
creating build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/structured.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/polysampler.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/sampler.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/init.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/initialized.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/composite.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/bqm.py -> build/lib.linux-aarch64-3.7/dimod/core
creating build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/discrete_quadratic_model.py -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/init.py -> build/lib.linux-aarch64-3.7/dimod/discrete
creating build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/chimera.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/fcl.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/random.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/init.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/anti_crossing.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/constraints.py -> build/lib.linux-aarch64-3.7/dimod/generators
creating build/lib.linux-aarch64-3.7/dimod/higherorder
copying dimod/higherorder/polynomial.py -> build/lib.linux-aarch64-3.7/dimod/higherorder
copying dimod/higherorder/utils.py -> build/lib.linux-aarch64-3.7/dimod/higherorder
copying dimod/higherorder/init.py -> build/lib.linux-aarch64-3.7/dimod/higherorder
creating build/lib.linux-aarch64-3.7/dimod/reference
copying dimod/reference/init.py -> build/lib.linux-aarch64-3.7/dimod/reference
creating build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/truncatecomposite.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/structure.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/spin_transform.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/fixedvariable.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/connectedcomponent.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/tracking.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/roofduality.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/init.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/scalecomposite.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/higherordercomposites.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/clipcomposite.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
creating build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/exact_solver.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/simulated_annealing.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/null_sampler.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/identity_sampler.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/init.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/random_sampler.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
creating build/lib.linux-aarch64-3.7/dimod/roof_duality
copying dimod/roof_duality/init.py -> build/lib.linux-aarch64-3.7/dimod/roof_duality
copying dimod/roof_duality/fix_variables.py -> build/lib.linux-aarch64-3.7/dimod/roof_duality
creating build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/coo.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/utils.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/format.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/json.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/fileview.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/init.py -> build/lib.linux-aarch64-3.7/dimod/serialization
creating build/lib.linux-aarch64-3.7/dimod/testing
copying dimod/testing/sampler.py -> build/lib.linux-aarch64-3.7/dimod/testing
copying dimod/testing/init.py -> build/lib.linux-aarch64-3.7/dimod/testing
copying dimod/testing/asserts.py -> build/lib.linux-aarch64-3.7/dimod/testing
creating build/lib.linux-aarch64-3.7/dimod/views
copying dimod/views/samples.py -> build/lib.linux-aarch64-3.7/dimod/views
copying dimod/views/init.py -> build/lib.linux-aarch64-3.7/dimod/views
running egg_info
writing dimod.egg-info/PKG-INFO
writing dependency_links to dimod.egg-info/dependency_links.txt
writing requirements to dimod.egg-info/requires.txt
writing top-level names to dimod.egg-info/top_level.txt
reading manifest file 'dimod.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.cc' under directory 'dimod/bqm'
warning: no files found matching '
.h' under directory 'dimod/bqm'
writing manifest file 'dimod.egg-info/SOURCES.txt'
copying dimod/init.pxd -> build/lib.linux-aarch64-3.7/dimod
creating build/lib.linux-aarch64-3.7/dimod/include
creating build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/include/dimod/adjarraybqm.h -> build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/include/dimod/adjmapbqm.h -> build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/include/dimod/adjvectorbqm.h -> build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/include/dimod/utils.h -> build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/bqm/init.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjarraybqm.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjarraybqm.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjarraybqm.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjmapbqm.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjmapbqm.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjmapbqm.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjvectorbqm.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjvectorbqm.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjvectorbqm.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/common.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/common.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/common.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/cppbqm.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/shapeablebqm.pyx.src -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/utils.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/utils.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/utils.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/discrete/init.pxd -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/cydiscrete_quadratic_model.cpp -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/cydiscrete_quadratic_model.pxd -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/cydiscrete_quadratic_model.pyx -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/roof_duality/_fix_variables.cpp -> build/lib.linux-aarch64-3.7/dimod/roof_duality
copying dimod/roof_duality/_fix_variables.pyx -> build/lib.linux-aarch64-3.7/dimod/roof_duality
creating build/lib.linux-aarch64-3.7/dimod/roof_duality/src
copying dimod/roof_duality/src/compressed_matrix.hpp -> build/lib.linux-aarch64-3.7/dimod/roof_duality/src
copying dimod/roof_duality/src/fix_variables.cpp -> build/lib.linux-aarch64-3.7/dimod/roof_duality/src
copying dimod/roof_duality/src/fix_variables.hpp -> build/lib.linux-aarch64-3.7/dimod/roof_duality/src
running build_ext
building 'dimod.roof_duality._fix_variables' extension
creating build/temp.linux-aarch64-3.7
creating build/temp.linux-aarch64-3.7/dimod
creating build/temp.linux-aarch64-3.7/dimod/roof_duality
creating build/temp.linux-aarch64-3.7/dimod/roof_duality/src
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Idimod/roof_duality/src/ -I/usr/include/python3.7m -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/dimod/include -c dimod/roof_duality/_fix_variables.cpp -o build/temp.linux-aarch64-3.7/dimod/roof_duality/_fix_variables.o -std=c++11 -std=c++11
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Idimod/roof_duality/src/ -I/usr/include/python3.7m -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/dimod/include -c dimod/roof_duality/src/fix_variables.cpp -o build/temp.linux-aarch64-3.7/dimod/roof_duality/src/fix_variables.o -std=c++11 -std=c++11
dimod/roof_duality/src/fix_variables.cpp:30:10: fatal error: boost/graph/graph_traits.hpp: No such file or directory
#include <boost/graph/graph_traits.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

ERROR: Failed building wheel for dimod
Running setup.py clean for dimod
Failed to build dimod
Installing collected packages: dimod
Running setup.py install for dimod ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/setup.py'"'"'; file='"'"'/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-c6qmsqha/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/dimod
cwd: /tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/
Complete output (146 lines):
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:645: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:645: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.7
creating build/lib.linux-aarch64-3.7/dimod
copying dimod/utilities.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/sampleset.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/vartypes.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/decorators.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/compatibility23.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/variables.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/converters.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/package_info.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/init.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/binary_quadratic_model.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/traversal.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/meta.py -> build/lib.linux-aarch64-3.7/dimod
copying dimod/exceptions.py -> build/lib.linux-aarch64-3.7/dimod
creating build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/construction.py -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/init.py -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjdictbqm.py -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/make.py -> build/lib.linux-aarch64-3.7/dimod/bqm
creating build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/structured.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/polysampler.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/sampler.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/init.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/initialized.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/composite.py -> build/lib.linux-aarch64-3.7/dimod/core
copying dimod/core/bqm.py -> build/lib.linux-aarch64-3.7/dimod/core
creating build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/discrete_quadratic_model.py -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/init.py -> build/lib.linux-aarch64-3.7/dimod/discrete
creating build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/chimera.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/fcl.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/random.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/init.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/anti_crossing.py -> build/lib.linux-aarch64-3.7/dimod/generators
copying dimod/generators/constraints.py -> build/lib.linux-aarch64-3.7/dimod/generators
creating build/lib.linux-aarch64-3.7/dimod/higherorder
copying dimod/higherorder/polynomial.py -> build/lib.linux-aarch64-3.7/dimod/higherorder
copying dimod/higherorder/utils.py -> build/lib.linux-aarch64-3.7/dimod/higherorder
copying dimod/higherorder/init.py -> build/lib.linux-aarch64-3.7/dimod/higherorder
creating build/lib.linux-aarch64-3.7/dimod/reference
copying dimod/reference/init.py -> build/lib.linux-aarch64-3.7/dimod/reference
creating build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/truncatecomposite.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/structure.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/spin_transform.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/fixedvariable.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/connectedcomponent.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/tracking.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/roofduality.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/init.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/scalecomposite.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/higherordercomposites.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
copying dimod/reference/composites/clipcomposite.py -> build/lib.linux-aarch64-3.7/dimod/reference/composites
creating build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/exact_solver.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/simulated_annealing.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/null_sampler.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/identity_sampler.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/init.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
copying dimod/reference/samplers/random_sampler.py -> build/lib.linux-aarch64-3.7/dimod/reference/samplers
creating build/lib.linux-aarch64-3.7/dimod/roof_duality
copying dimod/roof_duality/init.py -> build/lib.linux-aarch64-3.7/dimod/roof_duality
copying dimod/roof_duality/fix_variables.py -> build/lib.linux-aarch64-3.7/dimod/roof_duality
creating build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/coo.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/utils.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/format.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/json.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/fileview.py -> build/lib.linux-aarch64-3.7/dimod/serialization
copying dimod/serialization/init.py -> build/lib.linux-aarch64-3.7/dimod/serialization
creating build/lib.linux-aarch64-3.7/dimod/testing
copying dimod/testing/sampler.py -> build/lib.linux-aarch64-3.7/dimod/testing
copying dimod/testing/init.py -> build/lib.linux-aarch64-3.7/dimod/testing
copying dimod/testing/asserts.py -> build/lib.linux-aarch64-3.7/dimod/testing
creating build/lib.linux-aarch64-3.7/dimod/views
copying dimod/views/samples.py -> build/lib.linux-aarch64-3.7/dimod/views
copying dimod/views/init.py -> build/lib.linux-aarch64-3.7/dimod/views
running egg_info
writing dimod.egg-info/PKG-INFO
writing dependency_links to dimod.egg-info/dependency_links.txt
writing requirements to dimod.egg-info/requires.txt
writing top-level names to dimod.egg-info/top_level.txt
reading manifest file 'dimod.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.cc' under directory 'dimod/bqm'
warning: no files found matching '
.h' under directory 'dimod/bqm'
writing manifest file 'dimod.egg-info/SOURCES.txt'
copying dimod/init.pxd -> build/lib.linux-aarch64-3.7/dimod
creating build/lib.linux-aarch64-3.7/dimod/include
creating build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/include/dimod/adjarraybqm.h -> build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/include/dimod/adjmapbqm.h -> build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/include/dimod/adjvectorbqm.h -> build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/include/dimod/utils.h -> build/lib.linux-aarch64-3.7/dimod/include/dimod
copying dimod/bqm/init.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjarraybqm.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjarraybqm.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjarraybqm.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjmapbqm.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjmapbqm.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjmapbqm.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjvectorbqm.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjvectorbqm.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/adjvectorbqm.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/common.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/common.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/common.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/cppbqm.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/shapeablebqm.pyx.src -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/utils.cpp -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/utils.pxd -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/bqm/utils.pyx -> build/lib.linux-aarch64-3.7/dimod/bqm
copying dimod/discrete/init.pxd -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/cydiscrete_quadratic_model.cpp -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/cydiscrete_quadratic_model.pxd -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/discrete/cydiscrete_quadratic_model.pyx -> build/lib.linux-aarch64-3.7/dimod/discrete
copying dimod/roof_duality/_fix_variables.cpp -> build/lib.linux-aarch64-3.7/dimod/roof_duality
copying dimod/roof_duality/_fix_variables.pyx -> build/lib.linux-aarch64-3.7/dimod/roof_duality
creating build/lib.linux-aarch64-3.7/dimod/roof_duality/src
copying dimod/roof_duality/src/compressed_matrix.hpp -> build/lib.linux-aarch64-3.7/dimod/roof_duality/src
copying dimod/roof_duality/src/fix_variables.cpp -> build/lib.linux-aarch64-3.7/dimod/roof_duality/src
copying dimod/roof_duality/src/fix_variables.hpp -> build/lib.linux-aarch64-3.7/dimod/roof_duality/src
running build_ext
building 'dimod.roof_duality._fix_variables' extension
creating build/temp.linux-aarch64-3.7
creating build/temp.linux-aarch64-3.7/dimod
creating build/temp.linux-aarch64-3.7/dimod/roof_duality
creating build/temp.linux-aarch64-3.7/dimod/roof_duality/src
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Idimod/roof_duality/src/ -I/usr/include/python3.7m -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/dimod/include -c dimod/roof_duality/_fix_variables.cpp -o build/temp.linux-aarch64-3.7/dimod/roof_duality/_fix_variables.o -std=c++11 -std=c++11
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Idimod/roof_duality/src/ -I/usr/include/python3.7m -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/dimod/include -c dimod/roof_duality/src/fix_variables.cpp -o build/temp.linux-aarch64-3.7/dimod/roof_duality/src/fix_variables.o -std=c++11 -std=c++11
dimod/roof_duality/src/fix_variables.cpp:30:10: fatal error: boost/graph/graph_traits.hpp: No such file or directory
#include <boost/graph/graph_traits.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/setup.py'"'"'; file='"'"'/tmp/pip-install-gl_8j__z/dimod_408a1a4a564e454081b5958e5fc33c14/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-c6qmsqha/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/dimod Check the logs for full command output.

"D-Wave Ocean Software Description" page has broken link to Module Index

Description
At the D-Wave Ocean Software Description page (https://docs.ocean.dwavesys.com/en/latest/), the link toward the bottom labeled "Module Index" links to a page (https://docs.ocean.dwavesys.com/en/latest/py-modindex.html) that consists of

    \          SORRY            /
     \                         /
      \    This page does     /
       ]   not exist yet.    [    ,'|
       ]                     [   /  |
       ]___               ___[ ,'   |
       ]  ]\             /[  [ |:   |
       ]  ] \           / [  [ |:   |
       ]  ]  ]         [  [  [ |:   |
       ]  ]  ]__     __[  [  [ |:   |
       ]  ]  ] ]\ _ /[ [  [  [ |:   |
       ]  ]  ] ] (#) [ [  [  [ :===='
       ]  ]  ]_].nHn.[_[  [  [
       ]  ]  ]  HHHHH. [  [  [
       ]  ] /   `HH("N  \ [  [
       ]__]/     HHH  "  \[__[
       ]         NNN         [
       ]         N/"         [
       ]         N H         [
      /          N            \
     /           q,            \
    /                           \

Extremely slow and "never-end" installation

Description
Hi. I find the library installation is very slow and never end, so far the installation on my side did not reach any completion. I am quite sure it is not due to my network.

Can someone help validate about this issue? Thanks.

To Reproduce

  1. virtualenv env
  2. .\Scripts\activate
  3. pip install dwave-ocean-sdk

Expected behavior
Installation will stuck for longer time. As per my observation, the installation never complete even after more than 8 hours.

Environment:

  • OS: Windows 10
  • Python version: 3.7.2

Additional context
I am using "cmder" as an alternative to plain windows command line (cmd.exe) GUI.

Sphinx must be version >=1.4 for sphinx.ext.githubpages

Description
requirements file has just "sphinx" but sphinx.ext.githubpages is supported only from 1.4.

To Reproduce
run with older version and get an error

Expected behavior
requirement should be sphinx>=1.4
Environment:

  • OS: Ubuntu 16.04.4
  • Python version: 3.5

Additional context

Ship `arm64` wheels

As the number of users on arm64-backed linux/macos grows, we need to start building arm64 wheels for our binary packages.

Unified docs not cloning latest submodules

Description
It looks to me that the submodule might link to the version at creation time, not current one; for example, dwave_networkx imports an older version and gets error:

WARNING: [autosummary] failed to import 'dwave_networkx.generators.chimera_elimination_order': no module named dwave_networkx.generators.chimera_elimination_order

To Reproduce
Open a new virtualenv, clone recursive dwave-ocean-sdk, build docs. dnx gives an error on chimera_elimination_order because the file docs/reference/generators.rst is not the current version 0.8.3

Expected behavior
Latest version of all files of submodules

Environment:

  • OS: Ubuntu 16
  • Python version: 3.6.5

Additional context
See the problem in RTD build 267998 from 2019-12-11

Win OS: `pkg_resources.get_distribution` fails for `; extra == "all"`

Description
the conf.py code executes pkgs = [pkg_resources.get_distribution(req) for req in reqs] that works fine on Unix but fails on Windows OS.
Just recording this here for informational purposes and to point out that in the future we should move to importlib (https://setuptools.readthedocs.io/en/latest/pkg_resources.html: "Use of pkg_resources is discouraged in favor of importlib.resources, importlib.metadata,").

To Reproduce

On Unix OS:

>>> reqs = pkg_resources.get_distribution('dwave-ocean-sdk').requires(extras=['all'])
>>> pkg_resources.get_distribution(reqs[18])                                                           
penaltymodel-mip 0.2.4 (/home/jpasvolsky/Work/MyVirtualEnvironments/sdk37/lib/python3.7/site-packages)

On Win OS:

>>> reqs = pkg_resources.get_distribution('dwave-ocean-sdk').requires(extras=['all'])
>>> reqs[18]
Requirement.parse('penaltymodel-maxgap==0.5.4; extra == "all"')
>>> pkg_resources.get_distribution(reqs[18])
IndexError                                Traceback (most recent call last)
<ipython-input-20-bc694e2bc481> in <module>
----> 1 pkg_resources.get_distribution(reqs[18])

Environment:

  • OS: Ubuntu 16.04.4 LTS versus Win 10
  • Python version: 3.6

Additional context
We build in Unix

Julia API

Current Problem
A Julia API. Julia is much easier to use than Python. Also, its much more fast. DWave's Ocean SDK is kinda the only resource out there for Adiabatic Quantum Computing.

Proposed Solution
Develop a Julia API.

Alternatives Considered
. If its not possible, does a C API exist? If so, kindly point me to it.

connection issue

Description
The connection breaks very easily as following

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='qfe.nas.nasa.gov', port=443): Max retries exceeded with url: /sapi/problems/062013ca-8f32-499c-8498-dddd01398ca2/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x114771320>: Failed to establish a new connection: [Errno 60] Operation timed out',))

To Reproduce
Just run several connections simultaneously or run a three hour simulation.

Expected behavior
Keep connected.

Environment:

  • OS: [MacOS]
  • Python version: [e.g. 3.7.0]

Additional context
In the Python 2 version SAPI2, I did not experience such a problem. This seems coming from Ocean Tool.

Pyqubo build problem

Description
pip install dwave-ocean-sdk currently has an error for pyqubo:

Building wheels for collected packages: pyqubo
  Running setup.py bdist_wheel for pyqubo ... error
  Complete output from command /home/jpasvolsky/Work/MyVirtualEnvironments/sdk/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1ccq8ac0/pyqubo/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpcxx1xvnkpip-wheel- --python-tag cp35:
  /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help
  
  error: invalid command 'bdist_wheel'
  
  ----------------------------------------
  Failed building wheel for pyqubo
  Running setup.py clean for pyqubo
Failed to build pyqubo

To Reproduce
pip install dwave-ocean-sdk

Expected behavior
No error

Environment:

  • OS: Ubuntu 16.0
  • Python version: 3.5

Additional context
Add any other context about the problem here.

Installation issue 'ERROR: Command errored out with exit status 1'

Description
Pip dwave-ocean-sdk intallation issue. The installation of the dwave-ocean-sdk result in an error : 'ERROR: Command errored out with exit status 1' .

To Reproduce
x64 architecture, Python 3.8.5 64 bits
Use the command prompt:
-C:\Users\cambi\AppData\Local\Programs\Python\Python38\python.exe -m pip install virtualenv
-ocean\Scripts\activate
-pip install dwave-ocean-sdk

Expected behavior
Minorminer setup finish and the dwave_ocean-sdk installation is done.

Environment:

  • OS: Windows 10 Family 1903 18362.959
  • Python version: 3.8.5

Additional context
Complete log of the error:

(ocean) C:\Users\cambi>pip install dwave-ocean-sdk
Collecting dwave-ocean-sdk
Using cached https://files.pythonhosted.org/packages/03/7c/53ee75bbaca746f522e9d538b0aee1935a1e1db6d352b21a5526a4d4b864/dwave_ocean_sdk-2.6.0-py3-none-any.whl
Collecting dwave-system==0.9.9 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/40/3b/054be1051f30de648893db9833bf89039dbb0ec2e25df7412ab0d2b73cb5/dwave_system-0.9.9-py3-none-any.whl
Collecting dwave-inspector==0.2.3 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/ea/f8/c097cfbed7ea517ea0cffcad714ac08fba01d2845ab9b801916fca0053d2/dwave_inspector-0.2.3-py3-none-any.whl
Collecting dimod==0.9.5 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/7a/bf/c4829bddf7962f2ccb68071f6451e438a56281a4f3abb04dca27c14dfb9d/dimod-0.9.5-cp38-cp38-win_amd64.whl
Collecting dwave-neal==0.5.4 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/f6/33/2e6af01188ac9e6f3d64eefd57979a296fb8909a0cf058bffe2caa26eedb/dwave_neal-0.5.4-cp38-cp38-win_amd64.whl
Collecting dwavebinarycsp==0.1.2 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/e6/f2/8422100bfa1a9cce5c0f3ca8b088a3d1f46582c0085adb2db09837dbc0f1/dwavebinarycsp-0.1.2-py3-none-any.whl
Collecting minorminer==0.2.0 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/80/dc/f3ed9a3f58cb8a1cf64d49b0e3a8ab5006fad6d8a50bacfe46859b6f16d5/minorminer-0.2.0.tar.gz
Collecting dwave-cloud-client==0.7.7 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/42/92/b29b7570c69dce5eb67205281d954b261f7a63d6f0ffe1f37127e458ec99/dwave_cloud_client-0.7.7-py3-none-any.whl
Collecting dwave-networkx==0.8.7 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/64/3d/4d2ad7cbf7d1cd6ac3e5dae86b86b235fa41219823bc301b7929ab15f15e/dwave_networkx-0.8.7-py2.py3-none-any.whl
Collecting dwave-tabu==0.3.0 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/1c/b4/9fedd8ffb9b17e3d7953967ac832d81c635f36fa845d3a609bf563e13b04/dwave_tabu-0.3.0-cp38-cp38-win_amd64.whl
Collecting penaltymodel-lp==0.1.3 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/e2/86/4c4c4de17c7e45f1958547da6a3fe866b6a6f48bf4785575bf6cc9ab91ca/penaltymodel_lp-0.1.3-py3-none-any.whl
Collecting dwave-qbsolv==0.3.0 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/08/b7/623af2ab04ac48f79e0557b3050a9be2ae49782e2a43a73a924d36a6810d/dwave_qbsolv-0.3.0-cp38-cp38-win_amd64.whl
Collecting penaltymodel-cache==0.4.1 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/02/c5/3cb25828105a8b5e4b181cb94d23593f44cfca71c4e1247a6a631dca3dd2/penaltymodel_cache-0.4.1-py3-none-any.whl
Collecting dwave-hybrid==0.5.1 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/cb/aa/0823e6b5ff8433873fab36bbc32bbc0aaf5e3c158601fd018bd1cb484050/dwave_hybrid-0.5.1-py3-none-any.whl
Collecting pyqubo>=0.4.0 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/28/57/ba41de3b13ba23e981463aa1daa2ebe6bd9dcddb15571e4c5905463326c7/pyqubo-0.4.0.tar.gz
Collecting penaltymodel-mip==0.2.3; platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/7d/f5/fa3cc200983692675fdb07c57d6e28ee0b07a98e7ec0955f4d45ab7c4764/penaltymodel_mip-0.2.3-py3-none-any.whl
Collecting penaltymodel==0.16.3 (from dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/e7/1d/d114fe1c401719964fbf404c2c25113edb994df9f93c5773c19da406d192/penaltymodel-0.16.3-py3-none-any.whl
Collecting numpy<2.0.0,>=1.14.0 (from dwave-system==0.9.9->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/69/89/d8fc61a51ded540bd4b8859510b4ae44a0762c8b61dd81eb2c36f5e853ef/numpy-1.19.2-cp38-cp38-win_amd64.whl
Collecting networkx<3.0,>=2.0 (from dwave-system==0.9.9->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/9b/cd/dc52755d30ba41c60243235460961fc28022e5b6731f16c268667625baea/networkx-2.5-py3-none-any.whl
Collecting homebase<2.0.0,>=1.0.0 (from dwave-system==0.9.9->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/50/ad/e0080c35bd177682d5118a95bc2e7c1ac0541394b4ffce5e9554b6a077f9/homebase-1.0.1-py2.py3-none-any.whl
Collecting six<2.0.0,>=1.11.0 (from dwave-system==0.9.9->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting Flask>=1.1.1 (from dwave-inspector==0.2.3->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Collecting scipy (from minorminer==0.2.0->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/9e/66/57d6cfa52dacd9a57d0289f8b8a614b2b4f9c401c2ac154d6b31ed8257d6/scipy-1.5.2-cp38-cp38-win_amd64.whl
Collecting fasteners (from minorminer==0.2.0->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/18/bd/55eb2d6397b9c0e263af9d091ebdb756b15756029b3cededf6461481bc63/fasteners-0.15-py2.py3-none-any.whl
Collecting requests[socks]>=2.18 (from dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl
Collecting click>=7.0 (from dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl
Collecting plucky>=0.4.3 (from dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/d8/70/7b43e7280284bafecb345f4edb3eea7042cf0d089c5d112920eda650fda5/plucky-0.4.3-py2.py3-none-any.whl
Collecting python-dateutil>=2.7 (from dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
Collecting decorator<5.0.0,>=4.1.0 (from dwave-networkx==0.8.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/ed/1b/72a1821152d07cf1d8b6fce298aeb06a7eb90f4d6d41acec9861e7cc6df0/decorator-4.4.2-py2.py3-none-any.whl
Collecting ortools<8.0.0,>=6.6.4659 (from penaltymodel-mip==0.2.3; platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64"->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/75/53/7d605aad15d2a9d5cbc12362e84d2ccd59ab9deecaed7484f24f656854c4/ortools-7.8.7959-cp38-cp38-win_amd64.whl
Collecting Werkzeug>=0.15 (from Flask>=1.1.1->dwave-inspector==0.2.3->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from Flask>=1.1.1->dwave-inspector==0.2.3->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting Jinja2>=2.10.1 (from Flask>=1.1.1->dwave-inspector==0.2.3->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
Collecting monotonic>=0.1 (from fasteners->minorminer==0.2.0->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/ac/aa/063eca6a416f397bd99552c534c6d11d57f58f2e94c14780f3bbf818c4cf/monotonic-1.5-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests[socks]>=2.18->dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl
Collecting idna<3,>=2.5 (from requests[socks]>=2.18->dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests[socks]>=2.18->dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/9f/f0/a391d1463ebb1b233795cabfc0ef38d3db4442339de68f847026199e69d7/urllib3-1.25.10-py2.py3-none-any.whl
Collecting chardet<4,>=3.0.2 (from requests[socks]>=2.18->dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting PySocks!=1.5.7,>=1.5.6; extra == "socks" (from requests[socks]>=2.18->dwave-cloud-client==0.7.7->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl
Collecting protobuf>=3.12.2 (from ortools<8.0.0,>=6.6.4659->penaltymodel-mip==0.2.3; platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64"->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/3b/ba/276d817d4b0184e544a9295e14e95f6148af5c5652033d30eb63d2c13bfa/protobuf-3.13.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2>=2.10.1->Flask>=1.1.1->dwave-inspector==0.2.3->dwave-ocean-sdk)
Using cached https://files.pythonhosted.org/packages/4f/8b/da8a2ae5780d38271ac6e691756fc938cf4df8f225eb8aaced0204304932/MarkupSafe-1.1.1-cp38-cp38-win_amd64.whl
Requirement already satisfied: setuptools in c:\users\cambi\ocean\lib\site-packages (from protobuf>=3.12.2->ortools<8.0.0,>=6.6.4659->penaltymodel-mip==0.2.3; platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64"->dwave-ocean-sdk) (41.2.0)
Installing collected packages: numpy, dimod, decorator, networkx, dwave-networkx, scipy, monotonic, six, fasteners, homebase, minorminer, certifi, idna, urllib3, chardet, PySocks, requests, click, plucky, python-dateutil, dwave-cloud-client, dwave-tabu, dwave-system, Werkzeug, itsdangerous, MarkupSafe, Jinja2, Flask, dwave-inspector, dwave-neal, penaltymodel, penaltymodel-lp, penaltymodel-cache, dwavebinarycsp, dwave-qbsolv, dwave-hybrid, pyqubo, protobuf, ortools, penaltymodel-mip, dwave-ocean-sdk
Running setup.py install for minorminer ... error

ERROR: Command errored out with exit status 1:
 command: 'c:\users\cambi\ocean\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\cambi\\AppData\\Local\\Temp\\pip-install-1g6f4x5n\\minorminer\\setup.py'"'"'; __file__='"'"'C:\\Users\\cambi\\AppData\\Local\\Temp\\pip-install-1g6f4x5n\\minorminer\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\cambi\AppData\Local\Temp\pip-record-3kh8qe14\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\cambi\ocean\include\site\python3.8\minorminer'
     cwd: C:\Users\cambi\AppData\Local\Temp\pip-install-1g6f4x5n\minorminer\
Complete output (23 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\minorminer
copying minorminer\minorminer.py -> build\lib.win-amd64-3.8\minorminer
copying minorminer\package_info.py -> build\lib.win-amd64-3.8\minorminer
copying minorminer\__init__.py -> build\lib.win-amd64-3.8\minorminer
creating build\lib.win-amd64-3.8\minorminer\layout
copying minorminer\layout\layout.py -> build\lib.win-amd64-3.8\minorminer\layout
copying minorminer\layout\placement.py -> build\lib.win-amd64-3.8\minorminer\layout
copying minorminer\layout\__init__.py -> build\lib.win-amd64-3.8\minorminer\layout
running build_ext
building 'minorminer._minorminer' extension
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\minorminer
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I -I./include/ -I./include/find_embedding -Ic:\users\cambi\ocean\include -IC:\Users\cambi\AppData\Local\Programs\Python\Python38\include -IC:\Users\cambi\AppData\Local\Programs\Python\Python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include" /EHsc /Tp./minorminer/_minorminer.cpp /Fobuild\temp.win-amd64-3.8\Release\./minorminer/_minorminer.obj /std:c++latest /MT /EHsc
clรฟ: Ligne de commande warning D9025รฟ: substitution de '/MD' par '/MT'
_minorminer.cpp
C:\Users\cambi\AppData\Local\Programs\Python\Python38\include\pyconfig.h(59): fatal error C1083: Impossible d'ouvrir le fichier includeรฟ: 'io.h'รฟ: No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.27.29110\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------

ERROR: Command errored out with exit status 1: 'c:\users\cambi\ocean\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\cambi\AppData\Local\Temp\pip-install-1g6f4x5n\minorminer\setup.py'"'"'; file='"'"'C:\Users\cambi\AppData\Local\Temp\pip-install-1g6f4x5n\minorminer\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\cambi\AppData\Local\Temp\pip-record-3kh8qe14\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\cambi\ocean\include\site\python3.8\minorminer' Check the logs for full command output.

change D-Wave 2000Q reference to Advantage

A D-Wave resource to be used to solve your submitted problems; for example, a hybrid solver or a D-Wave 2000Q quantum computer. > A D-Wave resource to be used to solve your submitted problems; for example, a hybrid solver or an Advantage quantum computer.

Update Ocean install guide in docs

A few comments on Installing Ocean Tools section in Ocean docs:

  • it's probably safe to remove Python 2 notification and just say we support py36+ (soon py37+)
  • we dropped Linux 32-bit wheels (although, technically Ocean should work if user builds it manually, but we don't test it anymore)
  • not sure we need to point to apt-get install (only). I think we should defer to python.org on how to install python.
  • in py3+, there's no more need to install virtualenv (especially not with sudo). Instead, users can use the bundled venv: python -m venv ocean
  • source is a Bashism. POSIX-compatible builtin is: . (just the dot).
  • it would be useful to provide a pip command to directly "install from source": pip install git+https://github.com/dwavesystems/dwave-ocean-sdk.

Blackduck test fails

Seemingly "pip inspector" is now deprecated, and obviously not working with the latest pip (internals changes). From latest nightly run:

...
2020-07-09 00:05:57 WARN  [main] --- ------------------------------------------------------------------------------------------------------
2020-07-09 00:05:57 WARN  [main] --- The Pip inspector has been deprecated. Please use pipenv and the Pipenv Graph inspector in the future.
2020-07-09 00:05:57 WARN  [main] --- ------------------------------------------------------------------------------------------------------
...
2020-07-09 00:05:59 INFO  [main] --- ------------------------------------------------------------------------------------------------------
2020-07-09 00:05:59 INFO  [main] --- Starting extraction: PIP - Pip Inspector
2020-07-09 00:05:59 INFO  [main] --- Identifier: PIP-0
2020-07-09 00:05:59 INFO  [main] --- requirementFilePath: 
2020-07-09 00:05:59 INFO  [main] --- setupFile: /home/circleci/repo/setup.py
2020-07-09 00:05:59 INFO  [main] --- pipInspector: /home/circleci/blackduck/runs/2020-07-09-00-05-54-149/shared/pip/pip-inspector.py
2020-07-09 00:05:59 INFO  [main] --- pythonExe: /home/circleci/repo/env/bin/python
2020-07-09 00:05:59 INFO  [main] --- ------------------------------------------------------------------------------------------------------
2020-07-09 00:05:59 INFO  [main] --- Running executable >/home/circleci/repo/env/bin/python /home/circleci/repo/setup.py --name
2020-07-09 00:05:59 INFO  [main-Executable_Stream_Thread] --- dwave-ocean-sdk
2020-07-09 00:05:59 INFO  [main] --- Executable finished: 0
2020-07-09 00:05:59 INFO  [main] --- Running executable >/home/circleci/repo/env/bin/python /home/circleci/blackduck/runs/2020-07-09-00-05-54-149/shared/pip/pip-inspector.py --projectname=dwave-ocean-sdk
2020-07-09 00:06:00 INFO  [main-Executable_Stream_Thread] --- Traceback (most recent call last):
2020-07-09 00:06:00 INFO  [main-Executable_Stream_Thread] ---   File "/home/circleci/blackduck/runs/2020-07-09-00-05-54-149/shared/pip/pip-inspector.py", line 33, in <module>
2020-07-09 00:06:00 INFO  [main-Executable_Stream_Thread] ---     from pip._internal.download import PipSession
2020-07-09 00:06:00 INFO  [main-Executable_Stream_Thread] --- ModuleNotFoundError: No module named 'pip._internal.download'
2020-07-09 00:06:00 INFO  [main] --- Executable finished: 1
2020-07-09 00:06:00 INFO  [main] --- ------------------------------------------------------------------------------------------------------
2020-07-09 00:06:00 INFO  [main] --- Finished extraction: FAILURE
2020-07-09 00:06:00 INFO  [main] --- Code locations found: 0
2020-07-09 00:06:00 INFO  [main] --- The Pip Inspector tree parser failed to produce output
2020-07-09 00:06:00 INFO  [main] --- ------------------------------------------------------------------------------------------------------

Sphinx silently undoes bullet formatting

Description
Sphinx with the latest docutil ignores some formats such as bullets:

image

To Reproduce
Build ocean docs with latest sphinx

Expected behavior
Keep specified formatting

Environment:
RTD

Additional context
Needed before next SDK release

Doc refers to SAPI endpoints on the Leap Dashboard; these have been removed.

Description
Doc refers to SAPI endpoints on the Leap Dashboard; these have been removed.

To Reproduce
Look https://docs.ocean.dwavesys.com/en/stable/overview/sapi.html
Note paragraph stating:
"You can find all the above information when you log in to your D-Wave account. For Leap users, select the Dashboard tab; for on-premises (Qubist) users, select the Solver API tab and the API Tokens menu item under your user name."

Deprecation guideline

It would be useful for the docs to have our deprecation policy spelled out.

Also having an official "deprecation text" would be useful so we can be more consistent across Ocean. I was speaking with @JoelPasvolsky and we recommend something like

warnings.warn(
    "<feature> is deprecated since <package> X.Y.Z and will be removed in (X+2).0.0. "
    "Use <suggested alternative>."
    DeprecationWarning, stacklevel=...
)

in the code and

.. deprecated:: X.Y.Z

    <feature> will be removed in <package> (X+2).0.0. Use <suggested alternative>.

in the docstring. .. deprecated prepends Deprecated since version X.Y.Z: to the notice.

ERROR: Could not find a version that satisfies the requirement

Hi, I am wondering why their was this error for the Circle CI regarding requirements needed for deployment?

ERROR: Could not find a version that satisfies the requirement ortools<7.0.0,>=6.6.4659 (from penaltymodel-mip==0.2.1->dwave-ocean-sdk==1.5.0) (from versions: 7.5.7466)
ERROR: No matching distribution found for ortools<7.0.0,>=6.6.4659 (from penaltymodel-mip==0.2.1->dwave-ocean-sdk==1.5.0)

Is there a way one should just manually bump or upgrade the dependency version, or this isn't something to worry about?

Installation problem

I hope this is the right place to ask about installation problems.

Getting the following error when trying to install in a new conda environment {python 3.7.5 & Mac 10.13.6}:

(Q) bash-3.2$ pip install dwave-ocean-sdk && dwave config create
Collecting dwave-ocean-sdk
  Using cached https://files.pythonhosted.org/packages/32/a8/c2bab4fc872cad9c40ecdbbefe53ad2e61c4b43709cd7ae1f481753622b4/dwave_ocean_sdk-1.5.0-py2.py3-none-any.whl
Requirement already satisfied: numpy<1.16.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-ocean-sdk) (1.15.4)
Requirement already satisfied: dwave-neal<0.6.0,>=0.5.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-ocean-sdk) (0.5.1)
Requirement already satisfied: pyqubo>=0.3.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-ocean-sdk) (0.4.0)
Collecting dwave-hybrid<0.5.0,>=0.4.0
  Using cached https://files.pythonhosted.org/packages/cc/0b/35f46bac3d06a1e703189e10d009e931754c378968cdd5c19fdf6be11e6b/dwave_hybrid-0.4.1-py2.py3-none-any.whl
Collecting dwave-tabu<0.3.0,>=0.2.0
  Using cached https://files.pythonhosted.org/packages/a8/96/81037033230e0b391472809ddf49b83f132b65e11e2b5d8c2a1212988bf6/dwave-tabu-0.2.1.tar.gz
Collecting dwavebinarycsp[mip]<0.1.0,>=0.0.9; (platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64") and python_version != "3.4"
  Using cached https://files.pythonhosted.org/packages/54/cb/3c6ed88ca888abfe62bd5f064b992831c65294904589e6ac357ea78ac492/dwavebinarycsp-0.0.12-py2.py3-none-any.whl
Requirement already satisfied: dimod<0.9.0,>=0.8.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-ocean-sdk) (0.8.18)
Requirement already satisfied: dwave-qbsolv<0.3.0,>=0.2.7 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-ocean-sdk) (0.2.10)
Requirement already satisfied: dwave-networkx<0.9.0,>=0.8.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-ocean-sdk) (0.8.3)
Requirement already satisfied: dwave-system<0.9.0,>=0.8.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-ocean-sdk) (0.8.0)
Requirement already satisfied: six<2.0.0,>=1.11.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-neal<0.6.0,>=0.5.0->dwave-ocean-sdk) (1.13.0)
Requirement already satisfied: minorminer>=0.1.7 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-hybrid<0.5.0,>=0.4.0->dwave-ocean-sdk) (0.1.9)
Requirement already satisfied: networkx in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-hybrid<0.5.0,>=0.4.0->dwave-ocean-sdk) (2.4)
Requirement already satisfied: plucky>=0.4.3 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-hybrid<0.5.0,>=0.4.0->dwave-ocean-sdk) (0.4.3)
Requirement already satisfied: click>5 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-hybrid<0.5.0,>=0.4.0->dwave-ocean-sdk) (7.0)
Collecting penaltymodel-cache<0.5.0,>=0.4.0
  Using cached https://files.pythonhosted.org/packages/38/36/1580a020e09aff581297efd6ea58c882202ac4ef574613ee5a6709b1f2b5/penaltymodel_cache-0.4.0-py2.py3-none-any.whl
Collecting penaltymodel<0.17.0,>=0.16.0
  Using cached https://files.pythonhosted.org/packages/ec/3c/a61423b81bb178198d6670aa0d4b8f69c5d39379f8b24def4ad5595656cd/penaltymodel-0.16.2-py2.py3-none-any.whl
Collecting penaltymodel-lp<0.2.0,>=0.1.0
  Using cached https://files.pythonhosted.org/packages/f6/43/6308cb23364733689c6c25460f899e8c123c589f919eb707960abc1d8110/penaltymodel_lp-0.1.0-py3-none-any.whl
Collecting penaltymodel-mip<0.3.0,>=0.2.0; extra == "mip"
  Using cached https://files.pythonhosted.org/packages/08/ae/dcb44d5167d02addc6eef020c23e584b81540867524073d35952714192ed/penaltymodel_mip-0.2.1-py2.py3-none-any.whl
Requirement already satisfied: decorator<5.0.0,>=4.1.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-networkx<0.9.0,>=0.8.0->dwave-ocean-sdk) (4.4.1)
Requirement already satisfied: dwave-cloud-client<0.7.0,>=0.6.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (0.6.2)
Requirement already satisfied: homebase<2.0.0,>=1.0.0 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (1.0.1)
Collecting scipy<2.0.0,>=0.15.0
  Using cached https://files.pythonhosted.org/packages/43/df/3f85a3a762e5dd8d593614288c1f86a5dfbb8b20071192e850d1a9934e7d/scipy-1.3.3-cp37-cp37m-macosx_10_6_intel.whl
Collecting ortools<7.0.0,>=6.6.4659
  Using cached https://files.pythonhosted.org/packages/92/7b/bff68f6486c06181122b8a8afcd2b9632df0f4f0982cf0e7aba78bd69f84/ortools-6.10.6025-cp37-cp37m-macosx_10_13_x86_64.whl
Requirement already satisfied: requests[socks]>=2.18 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-cloud-client<0.7.0,>=0.6.0->dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (2.22.0)
Requirement already satisfied: python-dateutil>=2.7 in /anaconda3/envs/Q/lib/python3.7/site-packages (from dwave-cloud-client<0.7.0,>=0.6.0->dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (2.8.1)
Collecting protobuf>=3.6.1
  Using cached https://files.pythonhosted.org/packages/63/c3/c1929b176a62f2960fe8f9346bd7c3ed42dc2af7d61c0e9b21e36c68e2ce/protobuf-3.11.1-cp37-cp37m-macosx_10_9_intel.whl
Requirement already satisfied: certifi>=2017.4.17 in /anaconda3/envs/Q/lib/python3.7/site-packages (from requests[socks]>=2.18->dwave-cloud-client<0.7.0,>=0.6.0->dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (2019.11.28)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /anaconda3/envs/Q/lib/python3.7/site-packages (from requests[socks]>=2.18->dwave-cloud-client<0.7.0,>=0.6.0->dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /anaconda3/envs/Q/lib/python3.7/site-packages (from requests[socks]>=2.18->dwave-cloud-client<0.7.0,>=0.6.0->dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (1.25.7)
Requirement already satisfied: idna<2.9,>=2.5 in /anaconda3/envs/Q/lib/python3.7/site-packages (from requests[socks]>=2.18->dwave-cloud-client<0.7.0,>=0.6.0->dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (2.8)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6; extra == "socks" in /anaconda3/envs/Q/lib/python3.7/site-packages (from requests[socks]>=2.18->dwave-cloud-client<0.7.0,>=0.6.0->dwave-system<0.9.0,>=0.8.0->dwave-ocean-sdk) (1.7.1)
Requirement already satisfied: setuptools in /anaconda3/envs/Q/lib/python3.7/site-packages (from protobuf>=3.6.1->ortools<7.0.0,>=6.6.4659->penaltymodel-mip<0.3.0,>=0.2.0; extra == "mip"->dwavebinarycsp[mip]<0.1.0,>=0.0.9; (platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64") and python_version != "3.4"->dwave-ocean-sdk) (42.0.2.post20191203)
Building wheels for collected packages: dwave-tabu
  Building wheel for dwave-tabu (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /anaconda3/envs/Q/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-install-1a8ezmq2/dwave-tabu/setup.py'"'"'; __file__='"'"'/private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-install-1a8ezmq2/dwave-tabu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-wheel-0j_brmf1 --python-tag cp37
       cwd: /private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-install-1a8ezmq2/dwave-tabu/
  Complete output (9 lines):
  running bdist_wheel
  running build
  running build_py
  running build_ext
  building 'tabu._tabu_search' extension
  swigging tabu/tabu_search.i to tabu/tabu_search_wrap.cpp
  swig -python -c++ -threads -o tabu/tabu_search_wrap.cpp tabu/tabu_search.i
  unable to execute 'swig': No such file or directory
  error: command 'swig' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for dwave-tabu
  Running setup.py clean for dwave-tabu
Failed to build dwave-tabu
Installing collected packages: dwave-tabu, dwave-hybrid, penaltymodel, penaltymodel-cache, scipy, penaltymodel-lp, protobuf, ortools, penaltymodel-mip, dwavebinarycsp, dwave-ocean-sdk
    Running setup.py install for dwave-tabu ... error
    ERROR: Command errored out with exit status 1:
     command: /anaconda3/envs/Q/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-install-1a8ezmq2/dwave-tabu/setup.py'"'"'; __file__='"'"'/private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-install-1a8ezmq2/dwave-tabu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-record-_flb0tlt/install-record.txt --single-version-externally-managed --compile
         cwd: /private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-install-1a8ezmq2/dwave-tabu/
    Complete output (9 lines):
    running install
    running build
    running build_py
    running build_ext
    building 'tabu._tabu_search' extension
    swigging tabu/tabu_search.i to tabu/tabu_search_wrap.cpp
    swig -python -c++ -threads -o tabu/tabu_search_wrap.cpp tabu/tabu_search.i
    unable to execute 'swig': No such file or directory
    error: command 'swig' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /anaconda3/envs/Q/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-install-1a8ezmq2/dwave-tabu/setup.py'"'"'; __file__='"'"'/private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-install-1a8ezmq2/dwave-tabu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/b8/202b0_l97l3dq1tmxhzhy_djd0809c/T/pip-record-_flb0tlt/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

Installation issue

Description
Installation error on aws

To Reproduce
Stack Overflow provides an excellent guide on how to create a Minimal, Complete and Verifiable example.

Expected behavior
A clear and concise description of what you expected to happen.

Environment:

  • OS:
    NAME="Amazon Linux AMI"
    VERSION="2018.03"
    ID="amzn"
    ID_LIKE="rhel fedora"
    VERSION_ID="2018.03"
    PRETTY_NAME="Amazon Linux AMI 2018.03"
    ANSI_COLOR="0;33"
    CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
  • Python version: [Python 3.6.11]

Additional context
Add any other context about the problem here.

Error Log


Stored in directory: /home/ec2-user/.cache/pip/wheels/65/53/49/bf06728084167eb3898600fff91948ebd35e1c470a3cd06608
Successfully built scipy
Installing collected packages: networkx, scipy
Running setup.py install for networkx ... error
ERROR: Command errored out with exit status 1:
command: /home/ec2-user/anaconda3/envs/JupyterSystemEnv/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ccebx3fa/networkx_7e86492dafc34dd3b1b592063e00058f/setup.py'"'"'; file='"'"'/tmp/pip-install-ccebx3fa/networkx_7e86492dafc34dd3b1b592063e00058f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record/tmp/pip-record-0_rwgeio/install-record.txt --single-version-externally-managed --compile --install-headers /home/ec2-user/anaconda3/envs/JupyterSystemEnv/include/python3.6m/networkx --/home/ec2-user/anaconda3/envs/mxnet_latest_p37/lib/python3.7/site-packages=
cwd: /tmp/pip-install-ccebx3fa/networkx_7e86492dafc34dd3b1b592063e00058f/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: option --/home/ec2-user/anaconda3/envs/mxnet_latest_p37/lib/python3.7/site-packages not recognized
----------------------------------------

ERROR: Command errored out with exit status 1: /home/ec2-user/anaconda3/envs/JupyterSystemEnv/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ccebx3fa/networkx_7e86492dafc34dd3b1b592063e00058f/setup.py'"'"'; file='"'"'/tmp/pip-install-ccebx3fa/networkx_7e86492dafc34dd3b1b592063e00058f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-0_rwgeio/install-record.txt --single-version-externally-managed --compile--install-headers /home/ec2-user/anaconda3/envs/JupyterSystemEnv/include/python3.6m/networkx --/home/ec2-user/anaconda3/envs/mxnet_latest_p37/lib/python3.7/site-packages= Check the logs for full command output.

Sending Scripts to the QPU

Description
A clear and concise description of what the bug is.
I keep into the same problem. After I complete the configuration and confirm my computer is linked to the QPU via dwave ping, I am unable to begin sending scripts to the QPU. Indeed, because I have to create a virtual environment to connect to the QPU, none of the scripts on my computer are available to send. Further, when I try to code directly from the command line in Python the return states the module isn't present.

To Reproduce
Stack Overflow provides an excellent guide on how to create a Minimal, Complete and Verifiable example.

For example, once I create a configuration file, I may run $ python:

import networkx as nx

But, the return is

ImportError: No module named networkx

Expected behavior
A clear and concise description of what you expected to happen.

I expected once I was in the virtual environment to have access to the modules. Alternatively, I would want to be able to send scripts to the QPU. I can run some programs through the Jupyter Notebook, but a lot of the modules - like QBoost - aren't available. I would appreciate any advice on how to proceed.

Environment:

  • OS: [Ubuntu 16.04.4 LTS]
  • Python version: [e.g. 3.7.0]

Additional context
Add any other context about the problem here.

With thanks,

Brian

Documentation for DQM equation

The equation given for the DQM under docs/concepts/dqm.rst does not appear to be correct. I believe that the linear and quadratic terms are associated with indicators on the cases of each discrete variable, not the discrete variables themselves. As written, the equation appears to suggest we could do something like red * green.

Correcting this may complicate the notation quite a bit. I suspect that four indices are needed to express the quadratic terms (two for the discrete variables, two for the cases, just like in DiscreteQuadraticModel.set_quadratic_case). And if v_i denotes a discrete variable, it may be necessary to use a different notation in the equation, such as x_i_j, which would be a binary indicator for whether discrete variable i is set to case j.

DQM definition could be clarified

Description
I think the definition of DQM might be clarified. It is not made clear (enough) what is the variable space, and what (if any) are the constraints.
The current definition is here:
https://docs.ocean.dwavesys.com/en/stable/concepts/dqm.html
I make a suggestion below, but it may create other issues. On balance, I believe presenting both polynomials will allow people to make a clearer connection between their problems, and BQMs.

Beginning from:
"... each with ๐‘›๐‘– cases." A discrete quadratic model may be defined as
H(d) = \sum_{i} a(d_i) + \sum_{i,j} b_{ij}(d_i,d_j) + c (-1-)
where a() and b() are real valued functions.

We can represent any DQM by an equivalent model over binary variables, each discrete state d_i may be replaced by a vector of binary variables using one hot encoding, where exactly one binary variable is True (value 1) and all others are False (0). A discrete quadratic model is then defined by
AS CURRENTLY WRITTEN (-2-)
subject to one hot constraints \sum_a x_{i,a} = 1 \forall i.
Representations (1) and (2) are equivalent over the feasible space meeting the one hot encoding constraints. Representation (2) ascribes energies both to the feasible space satisfying constraints, and an infeasible space violating constraints. Representation (2) is used by ocean SDK.

To Reproduce
Documentation issue

Expected behavior
Definitions of BQM and DQM should follow similar patterns. Specification of the model, specification of the variable space, specification of constraints. This might be applied to future model classifications as well.

Environment:

  • OS: [Ubuntu 16.04.4 LTS]
  • Python version: [e.g. 3.7.0]

Additional context
Add any other context about the problem here.

Navigation bar does not scroll to under D-Wave

Description
If I open a tool deep enough to take up some serious space, the D-Wave header is at the bottom of the nav bar and I cannot scroll to its links without closing the open tool:
image

To Reproduce
Open any tool quite a lot

Expected behavior
I should be able to scroll to the links

Environment:

  • OS: Win
  • Python version:3.7.x

Additional context
Chrome browser

Discontinue 3.4 support

We should remove support in the next release of the sdk for python3.4.

Reasons:

  • Python 3.4 has reached its end of life as of March 18, 2019 [PEP 429]
  • We do not 'officially' support 3.4 as outlined in the docs.
  • We do not recieve a large number of 3.4 downloads (stats).
  • 3.4 is not supported by some of our dependencies, especially numpy 1.16.x.

Missing C/C++ docs

Some packages, e.g. minorminer, have doxygen documentation that is currently missing from the unified docs.

docbuild error because dwave-ocean-sdk does not require pysmt

Description
the install_requires = [ line does not include penaltymodel_maxgap so pysmt is not installed by default.
Building penalty model docs produces the error:

WARNING: autodoc: failed to import module 'maxgap.generation' from module 'penaltymodel'; the following exception was raised:
No module named 'pysmt'
WARNING: autodoc: failed to import module 'maxgap.interface' from module 'penaltymodel'; the following exception was raised:
No module named 'pysmt'

To Reproduce
Build penaltymodel docs in an env that has dwave-ocean-sdk installed

Expected behavior
no build errors.

Environment:

  • OS: Win but unix should be the same
  • Python version: 3.6

Additional context
Need workaround for Win

[docs] Include SDK version in the docs

It's hard to tell which version of Ocean /stable vs /latest docs are about.

Ideally, version of each package included would be visible as well, but that might become less important / moot in the future as we integrate packages better.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.