Skip to main content

No project description provided

Project description

EvoBandits

EvoBandits is a cutting-edge optimization algorithm that merges genetic algorithms and multi-armed bandit strategies to efficiently solve stochastic problems.

Build & Test


EvoBandits (Evolutionary Multi-Armed Bandits) is an innovative optimization algorithm designed to tackle stochastic problems with high efficiency. By combining genetic algorithms with multi-armed bandit mechanisms, EvoBandits offers a unique, reinforcement learning-based approach to solving complex, large-scale optimization issues. Whether you're working in operations research, machine learning, or data science, EvoBandits provides a robust, scalable solution for optimizing your stochastic models.

Usage

To install EvoBandits, add the following to your Cargo.toml file:

pip install evobandits
from evobandits import EvoBandits

def test_function(number: list) -> float:
    # your function here

if __name__ == '__main__':
    bounds = [(-5, 10), (-5, 10)]
    evobandits = EvoBandits(test_function, bounds)
    evaluation_budget = 10000
    result = evobandits.optimize(evaluation_budget)
    print(result)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you want to change.

License

tbd

Credit

Deniz Preil wrote the initial EvoBandits code, which Timo Kühne and Jonathan Laib rewrote.

Citing EvoBandits

If you use EvoBandits in your research, please cite the following paper:

Preil, D., & Krapp, M. (2024). Genetic Multi-Armed Bandits: A Reinforcement Learning Inspired Approach for Simulation Optimization. IEEE Transactions on Evolutionary Computation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evobandits-0.0.2.tar.gz (76.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

evobandits-0.0.2-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (321.7 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

evobandits-0.0.2-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (326.5 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

evobandits-0.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (322.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

evobandits-0.0.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (327.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

evobandits-0.0.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (326.9 kB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

evobandits-0.0.2-cp313-cp313-win_amd64.whl (175.1 kB view details)

Uploaded CPython 3.13Windows x86-64

evobandits-0.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (320.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

evobandits-0.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (326.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

evobandits-0.0.2-cp313-cp313-macosx_11_0_arm64.whl (286.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

evobandits-0.0.2-cp313-cp313-macosx_10_12_x86_64.whl (288.4 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

evobandits-0.0.2-cp312-cp312-win_amd64.whl (175.2 kB view details)

Uploaded CPython 3.12Windows x86-64

evobandits-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (320.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

evobandits-0.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (326.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

evobandits-0.0.2-cp312-cp312-macosx_11_0_arm64.whl (287.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

evobandits-0.0.2-cp312-cp312-macosx_10_12_x86_64.whl (288.4 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

evobandits-0.0.2-cp311-cp311-win_amd64.whl (175.1 kB view details)

Uploaded CPython 3.11Windows x86-64

evobandits-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (321.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

evobandits-0.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (326.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

evobandits-0.0.2-cp311-cp311-macosx_11_0_arm64.whl (289.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

evobandits-0.0.2-cp311-cp311-macosx_10_12_x86_64.whl (291.1 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

evobandits-0.0.2-cp310-cp310-win_amd64.whl (175.4 kB view details)

Uploaded CPython 3.10Windows x86-64

evobandits-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (321.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

evobandits-0.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (329.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

File details

Details for the file evobandits-0.0.2.tar.gz.

File metadata

  • Download URL: evobandits-0.0.2.tar.gz
  • Upload date:
  • Size: 76.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.8.3

File hashes

Hashes for evobandits-0.0.2.tar.gz
Algorithm Hash digest
SHA256 58500683982a7cec2e2929875b4f461803cd38fa78c5d1bfca8b9ae308fde277
MD5 03668e52e03da7741efbb40b33dab45c
BLAKE2b-256 b51db2e862be0e0af13da052e652d9d3d0f3baf35977f8920ea372fa7005c477

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9601bf6e813350940949e43c01334265be3178db58b917dcc875b873d9230721
MD5 fcfb0b185f09fccbbd778a824a4212d2
BLAKE2b-256 7b939668457f2138a2f461edee419acef11b9ffa446dc4bb3e4ecc5c760622c3

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7de5fa9a69285e5b1ef27ae4afc0d85465b46f6b7af0e88371b7f701625331ed
MD5 6934a20dd22526a14655aed33a7279a9
BLAKE2b-256 bf74c2601d386a208df8cae09d89940e68791bccd5fb90aef5ceabe439fe79ca

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 550572db4198f4c615d79c40a5895f5ec1639ead0fb18276d603f134dcdce5d4
MD5 a414f675942416ce16dd7cd9b4413662
BLAKE2b-256 856ce38a77c66eda0bd884dbcc9253b4d305ea9aaa80e7e523a5cddcc7117f6e

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f9259c66dba7778983016038790485d6005667de31da150f4f248227d675b3a9
MD5 07ab5b9543fc6255234d93762b567751
BLAKE2b-256 b5b2e54e7b3d16052ce27a8d7004f9e29ab5bcc723e162ad23c6502c19f0273d

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3cc98270cd450394346be30429b5ffc9b17300e9e16ebf189c67248bab69d134
MD5 e0f36a9e5f936de96e879bc2c1ad6929
BLAKE2b-256 02b78eb8f9d691f0a6d0361eec0c7b2b39c047c794e493d10c5176e569344e28

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 be435b2779a278b870fa889eb269bf3a60408a3b829eea847239c3e79f543bf8
MD5 8fdee170df8ef0c7631b8fa6218d36b4
BLAKE2b-256 4681291d885753e02f978898e6855440e929520066d41f0f33cfd952b76683f7

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0e5dad03d42e32bb0ff25881e9369a61875fb5c692b160cf699402afa29d840
MD5 5cd83d456886baf6cff90f2ed340e5b5
BLAKE2b-256 072bff52c552e4ea5afe677031eb9400af761c792bb189cee8de9907f74ba092

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a9ccfeaaa614b5e59b6e05628164e362a40a9055af02065d1cedea1b518bbf0b
MD5 1e47f320a07f81cca3b66c4b89c12422
BLAKE2b-256 0a8a43d49a07df9df07e61384f081115237868f0499dd9e451013ce9169ff31e

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c2fa3ba63f21715f965a7964d6e26dbf074d4240b83dac33401cddd956505ae
MD5 dc9b49097f9e414529e7b132eb518000
BLAKE2b-256 a9730589552a3da6670304fb9622df63cf5ad704183773797f096c32b7919c53

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 22cebcad257ad8ebdf12098bd56a4e3ec2c19f6700547aecce4e3569dee52c0c
MD5 7d0d9b4ed0c30a16ab941d8afdce3f44
BLAKE2b-256 806f0e71caf00e11a1e0a47a480995ab79cc97eeff8002814be3758554bc7e6c

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 604472bc94935eeb4b3da6532896c36ad4e78b2418e06166b720ab4436bbf418
MD5 174e750abd2d7e97d2d605cafc9c70f5
BLAKE2b-256 062bb41022d537d0c7ab8bb84539c707202d1900c59815c2f1376c64a6e11766

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 98a59497ab98eb909c86bf802ffa02b0816c33ab7c8a55d44b659b243ceb0c15
MD5 8e4a3e897d182757ed636e10218badc7
BLAKE2b-256 18f012bbe73bfbb0e8e7946e18436098b7eeda31054bc3228f59e4efcf1068d8

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 46afc941a36c2bb3efade112313392807d0e2cca9f73e8cb461ca18bc623a769
MD5 24019ca660d6d335565ca06badd26e43
BLAKE2b-256 aa2ad06023de067e3814d852ae70097981f09a6798240228174bea7c1174a0b5

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e2c42bd64f345d16ac1e3690c4ba67013e280f915dc5124129c54fd8e33541f
MD5 67599da09793ed5862b78439aa53d008
BLAKE2b-256 1566fc6c64f7696ddaf43506f3a17e076228ebc5613963de24e8ba1e9ed9dd16

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 811902945142a047f9c704539bc3a2cb4bc804a45c31bfaa8af4e74a8e475859
MD5 90b49396ece5230ec718531ce9a0d773
BLAKE2b-256 cd6238bd2b10a35ba7e5499a76f1c78cf41bfe13fb3ebcf51248f585c21ab48f

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4b9fe9757cec4cf71a246d279eb1b072bd411b04911ce3b83ddf1859e7e62afc
MD5 2cb77cccafc7f8502f06b3445c7ef7b9
BLAKE2b-256 d52bdbee235276e4254bb7a9a2a8f80523b972d84fa22574a5545c8b48ee0ad0

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8649bcd14218b780b9ce3a42002fb73530e6ed9e78aee23412e016e6dd2e01de
MD5 5c5e84e9a16ab63825a5f1feaff110ae
BLAKE2b-256 4261c16b514b5a3551eea24a429c1a03474a1a90b69c7a7c0f637afa5e1c7918

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 84242b8540ad49ac9ecd90c83068886f5c36b4ae41a6f87945032ab923b3d9ce
MD5 fc730e744fec1e6096a8887ea16a5775
BLAKE2b-256 685342d7792c4de36bb17581c84acdd9a549cb08b4b3b1cd7824b8c396d79947

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 da0a96d13a88c9050c072e4ce53191672709b9d16253c089f75504dbfcf57a74
MD5 2f5d5cb1317865f5518af2798a43f8d5
BLAKE2b-256 c3e9a9a78ad165624e5d9947fc90a5b146f534b9bcc923f0a37835430be86e11

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ae29ba01484a5c893becf6da99dce20d2b486361b57e116aae6e477123391fd9
MD5 c5493ffa5ffebc4829001a5f2b6af5c6
BLAKE2b-256 dfa5ee47da08110e396ecfb464390a38fe689a913ef1f68be2ac056669b67ac9

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bac0c996befb51918355f8f1e614220a3f5914d6f8b8c403d44793aaa663f13a
MD5 2bd7da01330939896ead8d476600d596
BLAKE2b-256 e396f3f57d904fb57e7489de120617cc4a88e1f7c42b14d3f1fd90a9b74c827e

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06aa15c2729bbef9471793e2520e996a7acc2cefce853b344d191b8430fdb0ea
MD5 f7d5f236b6041d147564073e8fa13f5f
BLAKE2b-256 7a3c1e2aaa9aae5f0c59ecba4fab82702062a98ed10fdfba4c520a5149217c15

See more details on using hashes here.

File details

Details for the file evobandits-0.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for evobandits-0.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c323651ab7852ae68677d1bec408f2500bfdba754eeac7c3da44adcb8d4fa6c6
MD5 3a1441cb9a25820c721198b248bc8161
BLAKE2b-256 505fa9d98086e22e864af6b0bb7acd5ff4a13a6bd16f9fb65d3c578b3dcc2821

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page