Enables the formulation of nonlinear models for industrial optimization problems.
Project description
dwave-optimization
dwave-optimization enables the formulation of nonlinear models for industrial optimization problems. The package includes:
a class for nonlinear models used by the Leap service’s quantum-classical hybrid nonlinear-program solver.
model generators for common optimization problems.
(For explanations of the terminology, see the Ocean glossary.)
Example Usage
The flow-shop scheduling problem is a variant of the renowned job-shop scheduling optimization problem. Given n jobs to schedule on m machines, with specified processing times for each job per machine, minimize the makespan (the total length of the schedule for processing all the jobs). For every job, the i-th operation is executed on the i-th machine. No machine can perform more than one operation simultaneously.
This small example builds a model for optimizing the schedule for processing two jobs on three machines.
from dwave.optimization.generators import flow_shop_scheduling
processing_times = [[10, 5, 7], [20, 10, 15]]
model = flow_shop_scheduling(processing_times=processing_times)
See the documentation for more examples.
Installation
Installation from PyPI:
pip install dwave-optimization
License
Released under the Apache License 2.0. See LICENSE file.
Contributing
Ocean’s contributing guide has guidelines for contributing to Ocean packages.
dwave-optimization` includes some formatting customization in the .clang-format and setup.cfg files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for dwave-optimization-0.1.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af44104f8585d2b296772bdadf52427720e7172e0dd4fa55213c2ce2513b398 |
|
MD5 | 970542eaed91a15bb67b00aa62ee1aa8 |
|
BLAKE2b-256 | e16045d50fb63feb2758055b856bf6dcd6647954ad349ac150f14311580d9cd5 |
Hashes for dwave_optimization-0.1.0rc1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdda5ed7afaa79a4180a4fab66581457608f034e78f525278cf2648e258a7f9e |
|
MD5 | f349f8b033c61647a97c602e60d3d560 |
|
BLAKE2b-256 | 0d80c443e90e1d29dc0b7bf13746c69aa111f5a2a82d93aa5a6af77169832acc |
Hashes for dwave_optimization-0.1.0rc1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53322d826026f5f3e015f805a0cd63d967b6d49b0c0932217475b209df1b5354 |
|
MD5 | 194aa5dda571fe5cb95fd22bfa0cd816 |
|
BLAKE2b-256 | 5c4a3aa1896fdda2cedff557f44fe2638873fc945852a885f1e89556d902338b |
Hashes for dwave_optimization-0.1.0rc1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35d666ee4432fc32a2e78d0e5dda9762e6d7e1ec1a7d737f25611dcac4da120f |
|
MD5 | 2239d5b26f5bb3feb247c9b7c71419f0 |
|
BLAKE2b-256 | abd95a77b0d2002a1b2b885956160d9d68ef9d4fb5bddf7a0bc9e5b7b2515987 |
Hashes for dwave_optimization-0.1.0rc1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58e36352f8b1d30349008fc34103eefc6f5bff5eb08df1ee4a4179aee90fcee7 |
|
MD5 | 79bbd9449cd6b59327b67065cf93ac72 |
|
BLAKE2b-256 | f767910ea55881d4f5f38d8f57c892644b89c303427c74da322699303d28417b |
Hashes for dwave_optimization-0.1.0rc1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e4d56e3f4d71a82f68b974ce36c4592612f1b4d299ea6ae4de20721a61580d2 |
|
MD5 | 6503098bf21d5e6ecd688d26d42fee37 |
|
BLAKE2b-256 | c990fe96b06655e14580612b7060a9be3d807619988c160f1683c0b8ec14744b |
Hashes for dwave_optimization-0.1.0rc1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6796960dd171643798d8466bf86bc255763005d4d0cb3dd9afb2a5fd51e919c2 |
|
MD5 | 2481c86cc2f08d6f5dae0ee07bf10456 |
|
BLAKE2b-256 | d4469c12b114b887388574f17cf3bb2f015f8d0f3e2f346c80e24f56aafb8844 |
Hashes for dwave_optimization-0.1.0rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9ec88aa82c879a046fb9e37959b0810b59ed98261082f5f894d99cde650e4b |
|
MD5 | 8c3e7079e170b2ecc98ab9936cf7ee8f |
|
BLAKE2b-256 | 1078b354b14cae810ff7f0d972720309e383b1798a5f282bbaca3bde3d9aa779 |
Hashes for dwave_optimization-0.1.0rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67fc4867f99667bd6b00f4ba92c051096eaf946915b7630deddbaaee89db8efb |
|
MD5 | 3cca3660816a784e9ab8995d90708167 |
|
BLAKE2b-256 | 20336f4a40622daf51cb757517e9604befc76f51b00671d91081f1c9d6fd0b55 |
Hashes for dwave_optimization-0.1.0rc1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c2b8ee9ca57d85cfdd9c2c08cbec9481ffc1b52fb71cb644f28f44d59a1ed6 |
|
MD5 | 8f5f7eb0147c39a69553185dc92ee2e4 |
|
BLAKE2b-256 | 36bfccf6dd993c0fc24c01c931c23bd8785f8627a7bf3b60668f7222e13fd08a |
Hashes for dwave_optimization-0.1.0rc1-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e8afe00d22327dca9dd0465af7ccc88474ff69bd3e2a9f70d30286576abfb13 |
|
MD5 | 7416ab5dd607bab4f00db98654cd3969 |
|
BLAKE2b-256 | 7740d9c6daf0c7a4f76f96a7cc09c372f0f66e9c559e494bc721d60333688c6a |
Hashes for dwave_optimization-0.1.0rc1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8ac7ee7630a758d717daa40e455be676c4bad23880f40eec710809044b006e7 |
|
MD5 | 4c891eab674845c1a469a18030f68545 |
|
BLAKE2b-256 | 603f6926a876967416cacd532ae8a9ef2edd738932a578c06846b4cc25171baf |
Hashes for dwave_optimization-0.1.0rc1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b575243ed8cdd9ba71debeccbd62286efe47e478cf00e5dcdc1552d62914f741 |
|
MD5 | ad9f5165457269583f695b369cea54b7 |
|
BLAKE2b-256 | 9a6f5d17c9b030f0229e7b5faf4300482536e9a030cdee165c9b86d8b49a3d83 |
Hashes for dwave_optimization-0.1.0rc1-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2c7f762074e431c7120ba9ff69ce3c3a1ea207baa52a0dcbbbe9e7bca8c2469 |
|
MD5 | 77d02961f1567414491efbe0e01dbeb7 |
|
BLAKE2b-256 | 8dad2649c8f9e138ef0eccdd5d83c704d56024e94d036fe2d39292b95a286af6 |
Hashes for dwave_optimization-0.1.0rc1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 991425f7c42967d5e631a4ecc367b89d492d967176c3e39770d4ad36d1941cd4 |
|
MD5 | 5a61e26de39ad3b067becc35965264e8 |
|
BLAKE2b-256 | 4aa667d8f0b9bc06d88a5480c7d5d429a58acab3baa01fdf214bb856d169aa8b |
Hashes for dwave_optimization-0.1.0rc1-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 524a8c4c08cf38885c3f3ba56907314026f57cb37998d3aab2bafee4e5027faf |
|
MD5 | 46cb0c70377b1f55ab57483cb54730d9 |
|
BLAKE2b-256 | 1dbdc76d7372771f330e4966495a67596d2e0b149dc5b08b407809276372d50c |
Hashes for dwave_optimization-0.1.0rc1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cab5a762c34b0add91110752e531dd5d2ba0e41f10308b173a6e06d2eb61c095 |
|
MD5 | 941db15377fbc3a1142b16cf6eebb2ae |
|
BLAKE2b-256 | 9481f5cc60fae14b6790e574db6c88f8d91f08bd4bcfe3a4aac089e7d1122e53 |
Hashes for dwave_optimization-0.1.0rc1-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4e8e6d1e6cfd67e64b3f66006d8f2adab299a2dff3e6470361d66e2f4a82f48 |
|
MD5 | 3e0a4b772768bb62d3c837f63c715349 |
|
BLAKE2b-256 | f0af690f4e2c319b0c791d67064dbce6c17c6ece4df97672861f03d17d0dc936 |
Hashes for dwave_optimization-0.1.0rc1-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35cfad3a1c1d2efb3a70dfb6f24f1e18873f4f762bf02651aa334d9a9c4507e |
|
MD5 | e81b577a4fc559a64e14453cffccd430 |
|
BLAKE2b-256 | f7ad644039dd34f7f7278cf8091021a7eb201f4829d5c03c166a776ff06301fc |
Hashes for dwave_optimization-0.1.0rc1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb36203b835a1d3d93024deb3ee09f7b2d2f0f01a6668d7d7656fb1fac2e300 |
|
MD5 | dfaac964c724aed88ba49670b1470ebd |
|
BLAKE2b-256 | 155f9b5027c5969d8c998cc3cad4783b1a2330ce71574cc0e1e3f2e550da3f8a |
Hashes for dwave_optimization-0.1.0rc1-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02040364b0812fbb5d3c22355bf093d8f33ec40baa39df05ea7de1afb494d6ee |
|
MD5 | 25ea8141b746f9c97b75456a527bec66 |
|
BLAKE2b-256 | 30ed85700a65ed5f4347cef05d4729423163e4eae24d58d48dbca7d79ed31930 |
Hashes for dwave_optimization-0.1.0rc1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 920972061081c0baa4f4def0848cf931a4c4f42ce83527799c6dbdffc676c9e8 |
|
MD5 | df1a1af2b895ff200496c98d106bfaf2 |
|
BLAKE2b-256 | e6d426d93e7c365c1504fb721c80fe5d4d0803469dde668a5df8a4dbe957d424 |
Hashes for dwave_optimization-0.1.0rc1-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb8bc648d4595b303ce2935656db12d926ed292588c2a9e3405adfe4c1fbcd31 |
|
MD5 | 37a25309404b40245b98a59502339720 |
|
BLAKE2b-256 | 7a2b5bbe0b8d93b76b07d4862a38e1e50ee796693c949474114cbd21da4ee2a6 |
Hashes for dwave_optimization-0.1.0rc1-cp38-cp38-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d212c5d4a305a3474cef60dc99859dec0f5a1d3345faefa67c26a6694336f52 |
|
MD5 | 245ad0349cf4f021b59606f3a3e69a4b |
|
BLAKE2b-256 | 1a13474ba973c2407ddba384ba48acefcba82298f0f096dc35b47f71275a4cc4 |
Hashes for dwave_optimization-0.1.0rc1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0f266c23fc05edc8f54b7620c331af406aa1f90a55b83c9ffa73190962305f3 |
|
MD5 | 9dbc67e08ca096f5fd02930d65b595d6 |
|
BLAKE2b-256 | 40854383a45aa8a74cc89fa092e305e0bb1222438db16224aad72309616a3396 |
Hashes for dwave_optimization-0.1.0rc1-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec20cb1f6152425cb29b249fd93d79f07c2efaa5a6aa619430823c3a7ac0cae3 |
|
MD5 | 281969a724523ef36a5a8ca84e89999f |
|
BLAKE2b-256 | e2905be02bc7c4f24bd5743c9525a7fc72dac742dd57f5aa960c9a09fd14bf60 |