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.10.0.tar.gz (77.7 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.10.0-py3-none-any.whl (80.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for optimas-0.10.0.tar.gz
Algorithm Hash digest
SHA256 cee87540c9b486927d7c5e4b7dae5285f1531c6c6abede7292a96c6672f68ec7
MD5 4c9ef4727ba6e8ddf610d252752b9c98
BLAKE2b-256 3ad2484b260f13eac71bcef0039e86180f2a06d198104d9a7bed8c5e09160999

See more details on using hashes here.

Provenance

The following attestation bundles were made for optimas-0.10.0.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.10.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for optimas-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f74ff89388af5d3a9e0874cb560b1adc53ead6adb8b5ffbfb9403ed2bf1337e0
MD5 918d77f1c9712e39e57b565829a1d179
BLAKE2b-256 a57f0317819aa3958f3d1a27cbf3d1e764e376de036d440ecc27e1ed042b54a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for optimas-0.10.0-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