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.2.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 323220887ac657561b673cb451b318347abaf5aacbcf7faf65d827bf63dbfbca |
|
MD5 | d342561b8a6a9046902a9896d990e43d |
|
BLAKE2b-256 | 33afc555141b4afe4177d2c8ac8eb462f51136c7e3110788c92f7502a3accec2 |
Hashes for dwave_optimization-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb848d090627e971cd00c939d166326a9f599f7947fd5350835feeaa310f0bd5 |
|
MD5 | 0aa3f7fbb58f7b2db4ac8dcbf819d189 |
|
BLAKE2b-256 | e5fe8a5df9ab7678c8cc487b1d9eabadb8727f4f19badb6d6f5a3d4ca4d06c3f |
Hashes for dwave_optimization-0.2.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6337068739bf1650b0657de4bc9988ae01c75bb347f054168fcc6bebd405e90 |
|
MD5 | f26e830905ff95fcb58f8042e6f9986b |
|
BLAKE2b-256 | 4baf9c954d3433ba648a532b015e8fe1c05b7d5f584f2d32250e7cd9b7b92da4 |
Hashes for dwave_optimization-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d9ab471b807269f4e37fdca3cf6ac8dedc89c50a6df2ad17067218438aca52f |
|
MD5 | 72105f51c8fa92509385662d1b4231ba |
|
BLAKE2b-256 | 426b489329dc1d7dcc636376c6cafac6c56f3ef703bcd9065c57ccd9f28a9090 |
Hashes for dwave_optimization-0.2.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b33a1a90ac792754d40c1611fe03f6c6f2373c1b82feae5fdb7d447353e546f |
|
MD5 | b1dc5c4ff7cf88f814b15e0fa32deea7 |
|
BLAKE2b-256 | 484b16e93c0d3480ca7d35a460a9be8d43d58843d725bd176955743982671889 |
Hashes for dwave_optimization-0.2.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7b489cf3aa0f23dacfa0a34a9a86d5e520d28279e92c25d17e1ef3b182c7f2d |
|
MD5 | f8e1fa45cfdcb0efe48707c71d92b7d3 |
|
BLAKE2b-256 | 9d68c6631b7dea04d53cae786573806b91367c3fab266d18b711df6014ef0511 |
Hashes for dwave_optimization-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5005e35d28299b9625356cec3d14278c405ac95fea05d819aaeba96bf2ed652 |
|
MD5 | ac317da72438496e9c09eb86e86c7d8b |
|
BLAKE2b-256 | 8417de76783075ce222fd7f20526d03a151dded7a784017bade994d0da9fd67b |
Hashes for dwave_optimization-0.2.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 142e3b35c03e9da9702ca10c75e340b6bff9bdbbec4d17f7fa82891446055ec0 |
|
MD5 | 7a93449446a9c5faa8ed929c201f454a |
|
BLAKE2b-256 | 28f99fc80c9e64ef2642b0472cf9a1762f3e60f9c7fc8deb3b8faa0539ab7b88 |
Hashes for dwave_optimization-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c9a1085044f3c0045b0d494759bbf5c550dc4d51fb6826ded54a503a4a0fa9e |
|
MD5 | ad4b648fa36c9a9fa5b62c4337551d20 |
|
BLAKE2b-256 | 4380d6e3f5e7622b1497e2d72070925842ed2472c539ae2144fc6720a5d04a91 |
Hashes for dwave_optimization-0.2.0-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5435a0fdc24508c4bcd0a207637df716422abf4606491d560b098a14814a7e1b |
|
MD5 | 527d2bfc90909e932e06efec704bfacc |
|
BLAKE2b-256 | 0de28d4f02b85410da08167bfc23d74c64930f11a00cc225335c9092c08d31be |
Hashes for dwave_optimization-0.2.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1776ca9972475161af60561e78905f51d82bf5a0c45f479ac489c6eaf564cb1c |
|
MD5 | b8aeb20b8d5ed4d1b47cc10255a4625b |
|
BLAKE2b-256 | 2b6df1b98928575d666b067c77e75d0aae1be37b05fe3c982f7dcd45683a053c |
Hashes for dwave_optimization-0.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1963cbd0fb278285baaf70f743bb0a1482b95d8d9ce7443fb7966e2a9db5cc70 |
|
MD5 | e1a730bbf6b74120105c6628afddb0e5 |
|
BLAKE2b-256 | f96a2d526844ec1231244e30b444c32d831dc646d86e02374bb9f16013374728 |
Hashes for dwave_optimization-0.2.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b31140cdd62fa536b4273cec387db43dd27fea9527668f75c6a0ecd019e8ee6 |
|
MD5 | 1a6ad697794d02b277c851a64409eaa7 |
|
BLAKE2b-256 | 872f162206b57bef2a4499e626896c6e5c7133bebfd500cbda5bdb2dc3461507 |
Hashes for dwave_optimization-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd2450811e81a4d37a6de1be257f1bfedafe59fe96e69dac879a1d55f7af2089 |
|
MD5 | 36be43ac4553a691949934f5d28f7871 |
|
BLAKE2b-256 | 224a5ef7f0046809127189b641e8db60e256c722c0d0d7fed1842bf7575347a6 |
Hashes for dwave_optimization-0.2.0-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a86ee917595d4db9495e4bb8aa8b632c6caacf4383236ea62956cc13d72f295 |
|
MD5 | 9647ec93187c712c69d1961bac0fdd49 |
|
BLAKE2b-256 | 9de34313bd66730f43f6614b0da77a6cef45f43d6aa990971638208eadb3f3b4 |
Hashes for dwave_optimization-0.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68767debdfdc1f14256f64a93152e32bd5cb5bdbeaccadc6ab41d5f7992ad274 |
|
MD5 | 7b80c81810919f6a70609c2d35ef1630 |
|
BLAKE2b-256 | c63a5b85fd00b7c1d8d162f5409e8e16e828b3c8b2cddccfc87e099d93d0f85b |
Hashes for dwave_optimization-0.2.0-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35bb1e3a015f9af9028a0bf16c8a9c17a7dd3ed9e11d2e8fc5b5933ab01fc77a |
|
MD5 | 713aff3a004292d320acc12c8e9a1bb1 |
|
BLAKE2b-256 | 33c587494e2ecce16ba7eee73e9ea2b6353c6748aa1ca6c63af20f321e6a576e |
Hashes for dwave_optimization-0.2.0-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce3cbfee2b3288b33cb11cb64af3dcd197710cfb25dcee3469c19236e7682ca |
|
MD5 | 11dd1bed35745d3823a686d41dfaa2ce |
|
BLAKE2b-256 | 7a8a18d8dfeada900bbe803b2d798de21aadaf65974db23f693631a34ffa41ad |
Hashes for dwave_optimization-0.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5630a7421129b5c43ea0e684bb06c4ca92ee6f0ffdd8e87ba61ab24b344104dd |
|
MD5 | 16596b89979568085fd02c08802362b8 |
|
BLAKE2b-256 | 069e2dbac7703f661aeb80aebb861088a8257278ee9f1744c12642d7ff045f8e |
Hashes for dwave_optimization-0.2.0-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc5775f5b7ba81deae43256111aeee7cd34b49cb378ede98dd433de861ac9b03 |
|
MD5 | bea2054f2a57ef81d97724b140d63a64 |
|
BLAKE2b-256 | c3f2e7e89876110f1179d96b97d7ccac8fc7babd32fb28700b2e4f8e4f61a5be |
Hashes for dwave_optimization-0.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9327bb275de5b80c286a72789182718ae806c9bb66e7fd9d85d34ebba7c3772e |
|
MD5 | e5d1702dc589fcb29b235a84063f811b |
|
BLAKE2b-256 | 0d8c4eec48ed3931f540fc96699c1acd7af31dd2fab0b50638226b1d44fcf70f |
Hashes for dwave_optimization-0.2.0-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff41166a2ffbc1312798dc4da893ea584c9ada7c8486402e9ce43a22a949632f |
|
MD5 | 24d7c4e7e7dd8fba0650076b343181a5 |
|
BLAKE2b-256 | 8409017c2c9d0784ce844e684b3f61ee3d19b38ea2dcc0ca191402efa82d776d |
Hashes for dwave_optimization-0.2.0-cp38-cp38-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c185aefdbbad721c823809b9b406e8dfbbdd651f864d38abfdf4962c6d179b8 |
|
MD5 | cf0b83807bbfecd40968b6a0a6f3926b |
|
BLAKE2b-256 | c1844b0247aadfd739da356d92ee6aa466375ea31328deb9f0c3239de88dab6c |
Hashes for dwave_optimization-0.2.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e650a26c9416d5fc3b07c1af847def9a2627d226acc725d0e26b3a36d32ccb00 |
|
MD5 | 4ec7b71d9a6357619daa1dc426979c01 |
|
BLAKE2b-256 | ace8cd5b0296c40a24e5141f9fe9af64ce3a44aef91f212658a02f389b0cfb37 |
Hashes for dwave_optimization-0.2.0-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3278719ce9c15fd03ce7de8cc2aca45310f3b0fd89375b52796ef2f2e81c8c0 |
|
MD5 | c5eb8f7e83e240d01192f656b57bd941 |
|
BLAKE2b-256 | a1524cab6fe2ce06bf3a265f602b4b410a9567a20c36e99940fb3ab5f2754664 |