Installation#

pip install gemseo-box-subdivision

This command installs GEMSEO and gemseo-bilevel-outer-approximation, which provides the Benders formulation and the outer-approximation master used by the package.

Python versions 3.10 to 3.13 are supported.

Verification of the installation#

The plugin is registered through the gemseo_plugins entry point, so that its algorithms are available in the GEMSEO factories:

from gemseo.algos.opt.factory import OptimizationLibraryFactory

print(OptimizationLibraryFactory().algorithms)

Installation from the sources#

git clone https://github.com/SimoneConiglio/gemseo-box-subdivision.git
cd gemseo-box-subdivision
python -m pip install tox tox-uv

Command

Purpose

tox -e py3.12

run the tests

tox -e py3.12-coverage

run the tests with coverage

tox -e check

run the pre-commit hooks

tox -e doc

build this documentation

tox -e benchmark

run the algorithm benchmarks

tox -e dist

build and check the distribution