Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dwave ocean sdk #16694

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9802b0b
Add dwave-ocean-sdk
BastianZim Oct 31, 2021
f3369d7
Add result from Grayskull
BastianZim Oct 31, 2021
130eb7d
Finish dimod
BastianZim Oct 31, 2021
131d9e4
Fix Grayskull mistakes
BastianZim Oct 31, 2021
4fc9e1d
Finish dwave-cloud-client
BastianZim Oct 31, 2021
430a2ac
Fix more grayskull
BastianZim Oct 31, 2021
c2bf74f
Fix helper text
BastianZim Oct 31, 2021
12cdc34
Finish dwave-greedy
BastianZim Oct 31, 2021
29cd6a0
Fix spacing
BastianZim Oct 31, 2021
3a5e0cb
Finish dwave-ocean-sdk
BastianZim Oct 31, 2021
b92be8f
Finish dwave-preprocessing
BastianZim Oct 31, 2021
7b3f606
Finish dwave-qbsolv
BastianZim Oct 31, 2021
fb2e91c
Finish dwave-system
BastianZim Oct 31, 2021
636c81b
Linter
BastianZim Oct 31, 2021
a7e5810
Finish dwave-tabu
BastianZim Oct 31, 2021
6b35b91
Finish dwavebinarycsp
BastianZim Oct 31, 2021
b49f76f
Finish minorminer
BastianZim Oct 31, 2021
13a5a8e
Add rectangle-packer
BastianZim Oct 31, 2021
864335e
Finish penaltymodel
BastianZim Oct 31, 2021
8654361
Finish penaltymodel-cache
BastianZim Oct 31, 2021
88a9ea5
Finish penaltymodel-lp
BastianZim Oct 31, 2021
cbaa2f8
Finish penaltymodel-maxgap
BastianZim Oct 31, 2021
f6f31a9
Finish penaltymodel-mip
BastianZim Oct 31, 2021
0408fc7
Finish pyqubo
BastianZim Oct 31, 2021
8cfccf5
Finish rectangle-packer
BastianZim Oct 31, 2021
8efa933
Add space
BastianZim Oct 31, 2021
c06e249
Change to conda-forge ortools
BastianZim Oct 31, 2021
4f2d637
Use official rectangle-packer
BastianZim Nov 1, 2021
b3f03b8
Create separate PR for rectangle-packer
BastianZim Nov 1, 2021
4ec53a0
Fix supported python
BastianZim Nov 3, 2021
678d6af
Delete dimod
BastianZim Feb 16, 2022
0644439
Remove dwave-cloud-client
BastianZim Feb 16, 2022
63f7925
Remove dwave-greedy
BastianZim Feb 16, 2022
697c6d8
Delete dwave-neal
BastianZim Feb 16, 2022
7550305
Delete dwave-preprocessing
BastianZim Mar 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions recipes/dwave-hybrid/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "dwave-hybrid" %}
{% set version = "0.6.4" %}


package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dwave-hybrid-{{ version }}.tar.gz
sha256: f7b6b104ba2da12d6a5cddf6164621603814cb8599d0ebcbe8c7f7f4a164291c

build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python >=3.6
run:
- click >5
- dimod >=0.8.11,<0.11,!=0.10.0,!=0.10.1,!=0.10.2,!=0.10.3,!=0.10.4
- dwave-greedy >=0.1.0
- dwave-neal >=0.5.1
- dwave-networkx >=0.6.6
- dwave-system >=0.7.6
- dwave-tabu >=0.2.0
- minorminer >=0.1.7
- networkx
- numpy >=1.15.0
- plucky >=0.4.3
- python >=3.6

test:
imports:
- hybrid
- hybrid.reference
commands:
- pip check
requires:
- pip

about:
home: https://github.com/dwavesystems/dwave-hybrid
summary: Hybrid Asynchronous Decomposition Solver Framework
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- BastianZim
46 changes: 46 additions & 0 deletions recipes/dwave-inspector/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set name = "dwave-inspector" %}
{% set version = "0.2.7" %}


package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dwave-inspector-{{ version }}.tar.gz
sha256: 4928c1587549db0d9ea536e8172a8eb2911068f51447903fc564f4898cee52fe

build:
number: 0
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python
run:
- dimod >=0.8.17
- dwave-cloud-client >=0.8.3
- dwave-system >=1.0.0
- flask >=1.1.1
- importlib_resources >=3.2.0 # [py<39]
- python

test:
imports:
- dwave
- dwave.inspector
commands:
- pip check
requires:
- pip

about:
home: https://github.com/dwavesystems/dwave-inspector
summary: D-Wave Problem Inspector tool
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- BastianZim
45 changes: 45 additions & 0 deletions recipes/dwave-networkx/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{% set name = "dwave-networkx" %}
{% set version = "0.8.10" %}


package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dwave_networkx-{{ version }}.tar.gz
sha256: fc4e6b16b233d4cb66915bc14c5d88228d3efbc2f762bce14860496b60e6af6f

build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python >=3.6
run:
- decorator >=4.1.0,<5.0.0
- dimod >=0.8.0,!=0.10.0,!=0.10.1,!=0.10.2,!=0.10.3,!=0.10.4
- networkx >=2.0,<3.0
- python >=3.6

test:
imports:
- dwave_networkx
- dwave_networkx.algorithms
commands:
- pip check
requires:
- pip

about:
home: https://github.com/dwavesystems/dwave_networkx
summary: A NetworkX extension providing graphs and algorithms relevent to working with the D-Wave System
license: Apache-2.0
license_file: LICENSE.txt

extra:
recipe-maintainers:
- BastianZim
60 changes: 60 additions & 0 deletions recipes/dwave-ocean-sdk/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{% set name = "dwave-ocean-sdk" %}
{% set version = "4.2.0" %}


package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dwave-ocean-sdk-{{ version }}.tar.gz
sha256: 5f43fc38c75d9be607f50c6f15641ddb0a671804e6367ab7a333bba1e13b0cd0

build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python >=3.6
run:
- 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 ==0.16.5
- penaltymodel-cache ==0.4.4
- penaltymodel-lp ==0.1.5
- penaltymodel-maxgap ==0.5.5
- penaltymodel-mip ==0.2.5
- pyqubo ==1.0.13
- python >=3.6

test:
imports:
- dwaveoceansdk
commands:
- pip check
requires:
- pip

about:
home: https://github.com/dwavesystems/dwave-ocean-sdk
summary: Software development kit for open source D-Wave tools
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- BastianZim
45 changes: 45 additions & 0 deletions recipes/dwave-qbsolv/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{% set name = "dwave-qbsolv" %}
{% set version = "0.3.3.post0" %}


package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dwave-qbsolv-{{ version }}.tar.gz
sha256: cf09c2b9da53784e9076be3d0dcaf6d79d3c8fb4132d5bcd97ab5b5d48306968

build:
number: 0
script: {{ PYTHON }} -m pip install . -vv

requirements:
build:
- {{ compiler('c') }}
host:
- cython
- pip
- python
run:
- dimod >=0.8.1,<0.11.0
- python

test:
imports:
- dwave_qbsolv
commands:
- pip check
requires:
- pip

about:
home: https://pypi.org/project/dwave-qbsolv/
summary: A decomposing solver that finds a minimum value of a large quadratic unconstrained binary optimization (QUBO) problem by splitting it into pieces.
license: Apache-2.0
# TODO: src/wingetopt.h is licensed differently
license_file: LICENSE

extra:
recipe-maintainers:
- BastianZim
53 changes: 53 additions & 0 deletions recipes/dwave-system/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "dwave-system" %}
{% set version = "1.10.0" %}


package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dwave-system-{{ version }}.tar.gz
sha256: 391f93b8d6b22a6cae89ea3f39f2ccbb56f736cae050d6a60fe86d2834dbaab3

build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python >=3.6
run:
- dimod >=0.10.0,<0.11.0
- dwave-cloud-client >=0.9.1,<0.10.0
- dwave-networkx >=0.8.4
- dwave-preprocessing >=0.3,<0.4
- dwave-tabu >=0.4.2
- homebase >=1.0.0,<2.0.0
- minorminer >=0.2.4,<0.3.0
- networkx >=2.0,<3.0
- numpy >=1.14.0,<2.0.0
- python >=3.6
run_constrained:
- dwave-drivers >=0.4.0,<0.5.0

test:
imports:
- dwave
- dwave.embedding
commands:
- pip check
requires:
- pip

about:
home: https://github.com/dwavesystems/dwave-system
summary: All things D-Wave System.
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- BastianZim
50 changes: 50 additions & 0 deletions recipes/dwave-tabu/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{% set name = "dwave-tabu" %}
{% set version = "0.4.2" %}


package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/dwave-tabu-{{ version }}.tar.gz
sha256: 2fa92ebfa57531de3071eaab1d074c9de8510562c3115b25adade40668ec6991

build:
number: 0
script: {{ PYTHON }} -m pip install . -vv

requirements:
build:
- {{ compiler('c') }}
host:
- cython >=0.29.23,<3.0
- numpy ==1.19.4
- pip
- python
- setuptools >=46.4.0
- wheel >=0.30.0
run:
- dimod >=0.9.0,<0.11.0
- numpy >=1.16.0,<2.0.0
- python
- {{ pin_compatible('numpy') }}

test:
imports:
- tabu
commands:
- pip check
requires:
- pip

about:
home: https://github.com/dwavesystems/dwave-tabu
summary: Optimized Tabu solver for QUBOs
license: Apache-2.0
# TODO: src/extern/stdint.h is licensed differently
license_file: LICENSE

extra:
recipe-maintainers:
- BastianZim
Loading