Reinforcement Learning based Shape Optimization (ReLeSO)
Releso is a Library/Framework for
Reinforcement Learning based Shape Optimization. Please look into the
Documentation for information on how it works. The instruction on how the
documentation can be built is given below as well as the instruction on how the
package can be installed.
Alternatively, it can be installed from pip via pip install releso.
Documentation generation
Install and usage instructions are provided in the documentation of the
project. The documentation can be built with the use of sphinx which is a python
tool to generate documentation.
The sphinx packages can either be installed in the project python environment or in a separate environment. If it does not matter in which python environment sphinx is installed ignore the first two lines.
The following command line calls create a conda environment with all necessary dependencies for building the documentation.
(base) $ conda create -n sphinx python=3.11
(base) $ conda activate sphinx
(sphinx) $ pip install ".[docs]"
The documentation is built by executing the following command inside the folder
docs/. After executing the command the documentation should be available
inside the folder docs/build/html/
(sphinx) $ make html
Installation
This section covers the installation process of the framework and its
prerequisites. The first thing to note is that with version 0.1.0 the strict
dependency on splinepy is not present anymore. But if the
geometry is to be parameterized by a Spline and the method of Free Form
Deformation is to be used to deform a mesh, splinepy is still
necessary.
Prerequisites
To use ReLeSO the following packages have to be installed:
- pydantic<2
- stable-baselines3
- tensorboard
- hjson
The
pydanticpackage currently needs to be on version 1.*, we welcome anyone wanting to updaterelesoto the newpydanticversion.
The packages can be installed via pip or conda with the following commands:
pip (activation of the venv should be done beforehand)
(.venv) $ pip install pydantic stable-baselines3 tensorboard hjson
conda
(base) $ conda create -n releso python=3.11 "pydantic<2" tensorboard
(base) $ conda activate releso
(releso) $ pip install stable-baselines3 hjson
If the spline-based shape optimization functionality is needed, the package
splinepy is needed. Please visit
splinepy on github for installation
instructions.
Development
To develop the framework further the sphinx package should also be installed
with the currently used sphinx html theme sphinx_rtd_theme.
This can be done via:
(releso) $ pip install sphinx sphinx_rtd_theme
Framework
After installing all prerequisites the framework itself can be installed by running the command below in the main repository folder.
Non-development
(releso) $ pip install .
Development
(releso) $ pip install -e ".[dev]"
(releso) $ pip install pre-commit
(releso) $ pre-commit install
Metadata
Release files for releso 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| releso-0.2.4.tar.gz | 111.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| releso-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 209.7 kB
Release files / releso-0.2.4.tar.gz
| Download URL | releso-0.2.4.tar.gz |
|---|---|
| Size | 111.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04f06909cab6b7d9cef053909a7f53349a87d90e2865cc0f7e0b14ddf471a514
|
|
BLAKE2b-256 checksum How to use checksums |
6ce47fec893317cc21fab22d870c6cbf439cc6149fa07506c5facd0b1016853a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / releso-0.2.4-py3-none-any.whl
| Download URL | releso-0.2.4-py3-none-any.whl |
|---|---|
| Size | 98.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b0ebc0b305e25b19cf7e3430337ea8c56d4d509c9e4d697555dde51204528d8
|
|
BLAKE2b-256 checksum How to use checksums |
ea2ef62b84957aafb13d0cc9477eee7a5f7a31df3f9caaf3f283341b623e0a29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency log