The ropt ensemble optimizer module
Project description
ropt
ropt
is a Python module for running robust optimization workflows.
ropt
is developed by the Netherlands Organisation for Applied Scientific
Research (TNO). All files in this repository are released under the GNU General
Public License v3.0 (a copy is provided in the LICENSE file).
Detailed documentation and examples can be found in the online manual.
Dependencies
ropt
has been tested with Python versions 3.8-3.12.
ropt
requires one or more optimization plugins to function. By default, a
plugin based on optimizers included with SciPy is
installed.
Installation
From PyPI:
pip install ropt
The following optional-dependencies can be installed to enable extra functionality:
pandas
: Enables support forpandas
export and tabular output.xarray
: Enables support for xarray and writing netCDF files.parsl
: Enables the parsl-based evaluator functionality.
Install with:
pip install ropt[<dep>]
where <dep> is one of the optional dependencies listed above. To install all:
pip install ropt[pandas,xarray,parsl]
Development
The ropt
source distribution can be found on
GitHub. It uses a standard pyproject.toml
file, which contains build information and configuration settings for various
tools. A development environment can be set up with compatible tools of your
choice.
The uv package manager offers an easy way to
install ropt
in its own virtual environment:
uv sync # or:
uv sync --all-extras # To add all optional dependencies
The ropt
package uses ruff (for formatting and
linting), mypy (for static typing), and
pytest (for running the test suite).
The documentation is written using MkDocs and
mkdocstrings. To view the documentation
locally, start the built-in server within the ropt
distribution directory:
mkdocs serve
All development and documentation tools are declared in pyproject.toml
as uv
development dependencies and can be installed using the --dev
flag:
uv sync --dev
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 Distribution
File details
Details for the file ropt-0.9.1.tar.gz
.
File metadata
- Download URL: ropt-0.9.1.tar.gz
- Upload date:
- Size: 165.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b24d99915cdef90813371fc20aa8de1280c0ca43d5f19a6a607be295748c97 |
|
MD5 | aa2e287bbd06b6623897392de7c5bde7 |
|
BLAKE2b-256 | 47b24ec9f51500b72765a2eb02b172bda3aa3a7f960929b1584ef15b0b9e9c1f |
Provenance
The following attestation bundles were made for ropt-0.9.1.tar.gz
:
Publisher:
release.yml
on TNO-ropt/ropt
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ropt-0.9.1.tar.gz
- Subject digest:
77b24d99915cdef90813371fc20aa8de1280c0ca43d5f19a6a607be295748c97
- Sigstore transparency entry: 149845762
- Sigstore integration time:
- Predicate type:
File details
Details for the file ropt-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: ropt-0.9.1-py3-none-any.whl
- Upload date:
- Size: 179.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c92c8119d4a421dfbdcef8924723cb305de349e6748c16ecc87bc254dcf46f93 |
|
MD5 | 3b04ede4050e9c60c29bdcae40d2c0a8 |
|
BLAKE2b-256 | 4b5c3011079fc0cff75f426531b134606eb4cde40fc3f20239f562e49e0f79c8 |
Provenance
The following attestation bundles were made for ropt-0.9.1-py3-none-any.whl
:
Publisher:
release.yml
on TNO-ropt/ropt
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ropt-0.9.1-py3-none-any.whl
- Subject digest:
c92c8119d4a421dfbdcef8924723cb305de349e6748c16ecc87bc254dcf46f93
- Sigstore transparency entry: 149845772
- Sigstore integration time:
- Predicate type: