Skip to main content

SBArchOpt: Surrogate-Based Architecture Optimization

Project description

SBArchOpt: Surrogate-Based Architecture Optimization

SBArchOpt (es-bee-ARK-opt) provides a set of classes and interfaces for applying Surrogate-Based Optimization (SBO) for system architecture optimization problems:

  • Expensive black-box problems: evaluating one candidate architecture might be computationally expensive
  • Mixed-discrete design variables: categorical architectural decisions mixed with continuous sizing variables
  • Hierarchical design variables: decisions can deactivate/activate (parts of) downstream decisions
  • Multi-objective: stemming from conflicting stakeholder needs
  • Subject to hidden constraints: simulation tools might not converge for all design points

Surrogate-Based Optimization (SBO) aims to accelerate convergence by fitting a surrogate model (e.g. regression, gaussian process, neural net) to the inputs (design variables) and outputs (objectives/constraints) to try to predict where interesting infill points lie. Potentially, SBO needs about one or two orders of magnitude less function evaluations than Multi-Objective Evolutionary Algorithms (MOEA's) like NSGA2. However, dealing with the specific challenges of architecture optimization, especially in a combination of the challenges, is not trivial. This library hopes to support in doing this.

The library provides:

  • A common interface for defining architecture optimization problems based on pymoo
  • Support in using Surrogate-Based Optimization (SBO) algorithms:
    • Implementation of a basic SBO algorithm
    • Connectors to various external SBO libraries
  • Analytical and realistic test problems that exhibit one or more of the architecture optimization challenges

Installation

First, create a conda environment (skip if you already have one):

conda create --name opt python=3.9
conda activate opt

Then install the package:

conda install numpy
pip install sb-arch-opt

Note: there are optional dependencies for the connected optimization frameworks and test problems. Refer to their documentation for dedicated installation instructions.

Documentation

Refer to the documentation for more background on SBArchOpt and how to implement architecture optimization problems. Test problem documentation can be found here: test problems

Optimization framework documentation:

Contributing

The project is coordinated by: Jasper Bussemaker (jasper.bussemaker at dlr.de)

If you find a bug or have a feature request, please file an issue using the Github issue tracker. If you require support for using SBArchOpt or want to collaborate, feel free to contact me.

Contributions are appreciated too:

  • Fork the repository
  • Add your contributions to the fork
    • Update/add documentation
    • Add tests and make sure they pass (tests are run using pytest)
  • Issue a pull request

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

sb-arch-opt-1.0.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

sb_arch_opt-1.0.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file sb-arch-opt-1.0.0.tar.gz.

File metadata

  • Download URL: sb-arch-opt-1.0.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for sb-arch-opt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 35aa08d301099850305090c5fe33c98309f980073c8a5d4da48421250dbd5ed8
MD5 e2b80ada0efdc4f1d8eaf48b70756fb9
BLAKE2b-256 7a32261bbf42e733464951f87be756bbc21bc2745534511de9306a5c8dfd3d55

See more details on using hashes here.

Provenance

File details

Details for the file sb_arch_opt-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sb_arch_opt-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for sb_arch_opt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17747a29eb3a6884c9145836c2dd738fd2e11a0d50c88511f5b0be8415be7c54
MD5 b990da30e4f2430881e2b637b71906db
BLAKE2b-256 5513847d5e4cc0a9113306f3de211c0ca8df9a2132e3e4a56cd007c4dcc30ab9

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page