Skip to main content

Optimization at scale, powered by libEnsemble

Project description

PyPI Conda Version tests badge Documentation Status DOI License


optimas logo

Optimization at scale, powered by libEnsemble

Explore the docs »

View Examples · Support · API Reference

Optimas is a Python library designed for highly scalable optimization, from laptops to massively-parallel supercomputers.

Key Features

  • Scalability: Leveraging the power of libEnsemble, Optimas is designed to scale seamlessly from your laptop to high-performance computing clusters.
  • User-Friendly: Optimas simplifies the process of running large parallel parameter scans and optimizations. Specify the number of parallel evaluations and the computing resources to allocate to each of them and Optimas will handle the rest.
  • Advanced Optimization: Optimas integrates algorithms from the Ax library, offering both single- and multi-objective Bayesian optimization. This includes advanced techniques such as multi-fidelity and multi-task algorithms.

Installation

You can install Optimas from PyPI (recommended):

python -m pip install "optimas[all]"

from conda-forge:

conda install optimas --channel conda-forge

or directly from GitHub:

python -m pip install "optimas[all] @ git+https://github.com/optimas-org/optimas.git"

Make sure mpi4py is available in your environment before installing optimas. For more details, check out the full installation guide. We have also prepared dedicated installation instructions for some HPC systems such as JUWELS (JSC), Maxwell (DESY) and Perlmutter (NERSC).

Documentation

For more information on how to use Optimas, check out the documentation. You'll find installation instructions, a user guide, examples and the API reference.

Support

Need more help? Join our Slack channel or open a new issue.

Citing optimas

If your usage of Optimas leads to a scientific publication, please consider citing the original paper:

@article{PhysRevAccelBeams.26.084601,
    title     = {Bayesian optimization of laser-plasma accelerators assisted by reduced physical models},
    author    = {Ferran Pousa, A. and Jalas, S. and Kirchen, M. and Martinez de la Ossa, A. and Th\'evenet, M. and Hudson, S. and Larson, J. and Huebl, A. and Vay, J.-L. and Lehe, R.},
    journal   = {Phys. Rev. Accel. Beams},
    volume    = {26},
    issue     = {8},
    pages     = {084601},
    numpages  = {9},
    year      = {2023},
    month     = {Aug},
    publisher = {American Physical Society},
    doi       = {10.1103/PhysRevAccelBeams.26.084601},
    url       = {https://link.aps.org/doi/10.1103/PhysRevAccelBeams.26.084601}
}

and libEnsemble:

@article{Hudson2022,
    title   = {{libEnsemble}: A Library to Coordinate the Concurrent
                Evaluation of Dynamic Ensembles of Calculations},
    author  = {Stephen Hudson and Jeffrey Larson and John-Luke Navarro and Stefan M. Wild},
    journal = {{IEEE} Transactions on Parallel and Distributed Systems},
    volume  = {33},
    number  = {4},
    pages   = {977--988},
    year    = {2022},
    doi     = {10.1109/tpds.2021.3082815}
}

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

optimas-0.8.1.tar.gz (72.0 kB view details)

Uploaded Source

Built Distribution

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

optimas-0.8.1-py3-none-any.whl (75.9 kB view details)

Uploaded Python 3

File details

Details for the file optimas-0.8.1.tar.gz.

File metadata

  • Download URL: optimas-0.8.1.tar.gz
  • Upload date:
  • Size: 72.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for optimas-0.8.1.tar.gz
Algorithm Hash digest
SHA256 a29858e83d746700e65eb3c1d2185a5a23c880fd5306b5840b53b0f3741e9bfe
MD5 cc91f83c467af773f66585c247770331
BLAKE2b-256 ce6dd62f0283d4a89b74d657947cc3426c37c824b187db81d3f694674fe7e896

See more details on using hashes here.

Provenance

The following attestation bundles were made for optimas-0.8.1.tar.gz:

Publisher: publish-to-pypi.yml on optimas-org/optimas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file optimas-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: optimas-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 75.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for optimas-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e2386a4e245f876d1d42da61112dc51edfa774abb1ca57d1909739f714756f9
MD5 419556d8a84a028862dd81176c0d8fa3
BLAKE2b-256 5ac17f615e5fd3f1d35b6cacb04935b720f3e7895b0facff9187490bd3f309e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for optimas-0.8.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on optimas-org/optimas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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