From 1de7e38c5f8ae7f52daaa8241f9a2735f320b090 Mon Sep 17 00:00:00 2001 From: lc3267 Date: Mon, 14 Oct 2024 14:27:46 +0000 Subject: [PATCH] added dwave annealing package Signed-off-by: lc3267 --- poetry.lock | 121 +++++++++++++++++++++++++++++++++++++++++++++++-- pyproject.toml | 1 + 2 files changed, 119 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 379c39a..e57b696 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,5 +1,121 @@ # This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +[[package]] +name = "dimod" +version = "0.12.17" +description = "A shared API for binary quadratic model samplers." +optional = false +python-versions = ">=3.8" +files = [ + {file = "dimod-0.12.17-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:20a59eb33450d57208a1d915be3c773db9379d9bb6f977857165e3be7f6a1b74"}, + {file = "dimod-0.12.17-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ec08ce3dc36ad5be9131001843d5fc44a92616520b023767602cfe605c8cee0d"}, + {file = "dimod-0.12.17-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5f4a5e15cfac158901ecef45cd5e59d62d448112444b51b34bbd6881aca43c2d"}, + {file = "dimod-0.12.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:38df2759283c4436b049aa675848a8b42b89d09edc9da557f957f3ff2d7c4fd2"}, + {file = "dimod-0.12.17-cp310-cp310-win_amd64.whl", hash = "sha256:868b1ceeabd312ed3a745c201d6fd1968af6eab70ce9b3a5192053b924f6349e"}, + {file = "dimod-0.12.17-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ed67b18140bdce08fbbbb161ffb1908631c2313964ba3a79e5d6b5a89cf040dd"}, + {file = "dimod-0.12.17-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1ebd0777cb872d5c8d3261a0a2a8957ad41c50db5244900382e8faf68a5a03d8"}, + {file = "dimod-0.12.17-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:052d65a504156cde868b0da139cbc549e1dea9630d02572f7f677d8525145801"}, + {file = "dimod-0.12.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c6f2f534fcb36903326f6f7fbb6e60fea3a1461b686cf938a4ed3096d595ffa1"}, + {file = "dimod-0.12.17-cp311-cp311-win_amd64.whl", hash = "sha256:186b1906b7a00a48c294e61037cfa190495a0fb1c0b307f415d468ec74ee8e37"}, + {file = "dimod-0.12.17-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:fee71b16388a1ee0eadd314e6b24abe773d33bd8fd03ca50fc8503fcf1546b8a"}, + {file = "dimod-0.12.17-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c61d45e434743b680d5455f4e5ec76379bc6e993caec5a72da00280165c74220"}, + {file = "dimod-0.12.17-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e79a7b604a68036f5126294c57717f65af9402ee371eb2eeac4632f3bedc4e9"}, + {file = "dimod-0.12.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ad20808472b6e01af4ab4534b2aa144ab921e56da7fa30c12c1ffb966db41f7"}, + {file = "dimod-0.12.17-cp312-cp312-win_amd64.whl", hash = "sha256:5d8ad0845132f2ad08db448e18cffcdde2b8de131f7bf5d1659568145fdea749"}, + {file = "dimod-0.12.17-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6d3a004ea15c511628429bf9204f1ce280aa7d64b7b1940071a74540602def3a"}, + {file = "dimod-0.12.17-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:84de576dcfa23b6062f7436e4988617ac6b755c4383229922afce1ba67f02b0b"}, + {file = "dimod-0.12.17-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:37285569902b83814e477a25aa6ee0db0ea72a954889f617c49ec908d31e84e6"}, + {file = "dimod-0.12.17-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3307b52112464c976bd0e5c83ed789c308129a1bc19089903e664da82bc78bbf"}, + {file = "dimod-0.12.17-cp313-cp313-win_amd64.whl", hash = "sha256:a487cdc9470d8f2dcc5ad20a10ea6fb3b720ecfe8ca0509fc3980d76429498a8"}, + {file = "dimod-0.12.17-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cd0265ac780ca3ab5857579834ae4b037fe4e615b010314b2e1a38fd1e8c3c36"}, + {file = "dimod-0.12.17-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4dac0a814ccdbc4edd444b24935244b1ef9bd49f3a81bc142e082acff6a95c7c"}, + {file = "dimod-0.12.17-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9e2a4aff63a30fa2ea289a5208623c9b0edb2cca105b95da97edce70b30dcbbb"}, + {file = "dimod-0.12.17-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fef3dfb2ccc227681da3c43f13ef140aa51a55ec97a20c15a3f9142f4a826035"}, + {file = "dimod-0.12.17-cp38-cp38-win_amd64.whl", hash = "sha256:f47d095187ad54aa78409b19a0b711ce746125a72bdc0917f901a58d39fe0112"}, + {file = "dimod-0.12.17-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:ca4f59edac66cce42c6014a41e698074bae9ed313dfd4e4ae9641de976349c9f"}, + {file = "dimod-0.12.17-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:14f6b12d8adec123f049439e7070286b26f42efbe0a2a59cd3c55757dca7f0aa"}, + {file = "dimod-0.12.17-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90a7d8703dd9419c02ebf487957efaa43a2062b88a2f63af0183b492d0dbacdd"}, + {file = "dimod-0.12.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:feba2e35185c1f2700411948f5197887fa5ba85990a15cb7068cf3de31ece995"}, + {file = "dimod-0.12.17-cp39-cp39-win_amd64.whl", hash = "sha256:effe038b1755846a594ceb1d359853642688ec9e164708b4f059e0d2a3ba12b5"}, + {file = "dimod-0.12.17.tar.gz", hash = "sha256:88f192164e86c07d01a0e4a6aee536da80434aa373374e8b4b3d393fdb27b224"}, +] + +[package.dependencies] +numpy = ">=1.17.3" + +[[package]] +name = "dwave-neal" +version = "0.6.0" +description = "General Ising graph simulated annealing solver" +optional = false +python-versions = ">=3.7" +files = [ + {file = "dwave-neal-0.6.0.tar.gz", hash = "sha256:8ce51fee3339195df1ab69920fdb5afc496b5fd945e487fad3547c983d90c564"}, + {file = "dwave_neal-0.6.0-py3-none-any.whl", hash = "sha256:8b7d89f0c52de6ac80e0f580ec272f6409b1cf9edb12250d22429425a13bd935"}, +] + +[package.dependencies] +dwave-samplers = ">=1.0.0,<2.0.0" + +[[package]] +name = "dwave-samplers" +version = "1.4.0" +description = "Ocean-compatible collection of solvers/samplers" +optional = false +python-versions = ">=3.9" +files = [ + {file = "dwave_samplers-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:268675c867efef88e97ca591e1bfcf52dc1ca6508cd210fa6f0fde29da0cec1e"}, + {file = "dwave_samplers-1.4.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5a995f7ec2287525e4b7b5d4c37ce7ee3d97b31965a271b7637c5a9da037612e"}, + {file = "dwave_samplers-1.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a35841abbfe2ceaa56036a71061df966568b3f03b4408e6990563491ba4da52"}, + {file = "dwave_samplers-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:647af252e69d3dfe2df3793f1fd21e397fe16a7bf04d999428e34a89ba0143e9"}, + {file = "dwave_samplers-1.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:4e8fe5e70319ed230bdd94b6d05984379adbc5cefb25610e99baf663d33b5169"}, + {file = "dwave_samplers-1.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:52633c950d4c73d399cf73db58382f413b3affe8f674731a9070a4da3bac75fa"}, + {file = "dwave_samplers-1.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8fd4e28d2d4ada343b9d9288ceef845463aade759fb614e91facb98c557323ee"}, + {file = "dwave_samplers-1.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3fe5dee5bd3c9ddb6295335c0eb1b7b0056cdd0d64afcc6685506958f24d577a"}, + {file = "dwave_samplers-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9459c7f0629f51a965c814a9f42946ffcdb44477b8698503fc6fd0493c4ddfb8"}, + {file = "dwave_samplers-1.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:1ad0d07f5d48c31de239ed00688d91d2ced9627c9132f7eb108dd4c79ea4f3c2"}, + {file = "dwave_samplers-1.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:782b992e2e760730406a49afeac738e1fa8915cd65a25a811b1431124219f655"}, + {file = "dwave_samplers-1.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:03d845f45435ec906cbcf4cc2c643ff060e0483c03b82f17679306c1721a286c"}, + {file = "dwave_samplers-1.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3246bc4383201ee05c0e554a2737e321354569130dd6a3d90cd091ddfd87411"}, + {file = "dwave_samplers-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db90f6e71e24b35da1e91d32d565bab7c5f5b138d7cb68208ef46b2137983263"}, + {file = "dwave_samplers-1.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:cc6b1a6831458385e3977afa0ae6f57fe6f52a76613dd138c398688f2f6e900b"}, + {file = "dwave_samplers-1.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:041434f9892c84d505a107f0ed78a5b0b43f6ec5be2bf0c8a9667838a39df1e8"}, + {file = "dwave_samplers-1.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9468a0095e5fcbc6fed0f526f06ccebe045c3570e80f7f414555cc489d328caf"}, + {file = "dwave_samplers-1.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:be461795b7f85447d6a3c15b348d53836a2de081c94385c5077eb783c1e5cd15"}, + {file = "dwave_samplers-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:88471baba97cc7f236c4b03c2210829fe41e1702acfc690a267bf5781c84c3b6"}, + {file = "dwave_samplers-1.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:88c97c606c4f5d45dc8183700939f2b6aa6ef95b0c2d93ad462c09487b03e3bd"}, + {file = "dwave_samplers-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:46a779b7b8b92412f0acbce2d1ab49db54069e5d0a26327fe4c54f84a1730f20"}, + {file = "dwave_samplers-1.4.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f57cd1611f683dd98f552782b02685cc168dc9f66b71f9f0efafa653b125ca34"}, + {file = "dwave_samplers-1.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee6acda48d0cfb5ae514627007d7e0cdf9c883e3e1a8ac53320e040fee547b1a"}, + {file = "dwave_samplers-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a9028d1aca1d887afaecceca560cbfd7bab3e14f65ea2758920bd62656ef8b5c"}, + {file = "dwave_samplers-1.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:80db29be04bae8860a04555298a2b7e808160a5bf1ebad4dfabd8243b2ffc743"}, + {file = "dwave_samplers-1.4.0.tar.gz", hash = "sha256:1e59384eb9dd8ee60c4167923c43ac0d36b2a8c950b572c7685cad590bd47156"}, +] + +[package.dependencies] +dimod = ">=0.12.13,<0.13.0" +networkx = ">=3.0" +numpy = ">=1.19.0,<3.0.0" + +[[package]] +name = "networkx" +version = "3.4.1" +description = "Python package for creating and manipulating graphs and networks" +optional = false +python-versions = ">=3.10" +files = [ + {file = "networkx-3.4.1-py3-none-any.whl", hash = "sha256:e30a87b48c9a6a7cc220e732bffefaee585bdb166d13377734446ce1a0620eed"}, + {file = "networkx-3.4.1.tar.gz", hash = "sha256:f9df45e85b78f5bd010993e897b4f1fdb242c11e015b101bd951e5c0e29982d8"}, +] + +[package.extras] +default = ["matplotlib (>=3.7)", "numpy (>=1.24)", "pandas (>=2.0)", "scipy (>=1.10,!=1.11.0,!=1.11.1)"] +developer = ["changelist (==0.5)", "mypy (>=1.1)", "pre-commit (>=3.2)", "rtoml"] +doc = ["intersphinx-registry", "myst-nb (>=1.1)", "numpydoc (>=1.8.0)", "pillow (>=9.4)", "pydata-sphinx-theme (>=0.15)", "sphinx (>=7.3)", "sphinx-gallery (>=0.16)", "texext (>=0.6.7)"] +example = ["cairocffi (>=1.7)", "contextily (>=1.6)", "igraph (>=0.11)", "momepy (>=0.7.2)", "osmnx (>=1.9)", "scikit-learn (>=1.5)", "seaborn (>=0.13)"] +extra = ["lxml (>=4.6)", "pydot (>=3.0.1)", "pygraphviz (>=1.14)", "sympy (>=1.10)"] +test = ["pytest (>=7.2)", "pytest-cov (>=4.0)"] + [[package]] name = "numpy" version = "2.1.2" @@ -126,7 +242,6 @@ files = [ [package.dependencies] numpy = [ - {version = ">=1.22.4", markers = "python_version < \"3.11\""}, {version = ">=1.23.2", markers = "python_version == \"3.11\""}, {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, ] @@ -238,5 +353,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.10" -content-hash = "91d28ab732ec8a07782756ffdde5c56ab2cf4133458515267e759cf2c9e943a9" +python-versions = "^3.11" +content-hash = "93eea99693bc2f9172dff84f64d384ef5f6e327485e1a6411d399a796caaa48c" diff --git a/pyproject.toml b/pyproject.toml index b3722ee..c0ac2aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ python = "^3.11" numpy = "^2.1.2" plotly = "^5.24.1" pandas = "^2.2.3" +dwave-neal = "^0.6.0" [build-system]