Multi-Objective Design of Actuators
Project description
MODAct
Python package for the Multi-Objective Design of electro-mechanical Actuators that is used to derive 20 benchmark problems for constrained multi-objective optimization.
For more information about the framework, please refer to the associate publication:
C. Picard and J. Schiffmann, “Realistic Constrained Multi-Objective Optimization Benchmark Problems from Design,” IEEE Transactions on Evolutionary Computation, vol. 25, no. 2, pp. 234-246, April 2021, doi: 10.1109/TEVC.2020.3020046.
If you use MODAct in your research, we would appreciate a citation.
Installation
modact has a few requirements listed in requirements.txt. In particular,
python-fcl needs to be
installed along with the required fcl shared library.
The easiest way to get started is to build a Docker image.
docker build -t modact .
Otherwise, users can install fcl through their package manager (apt, brew, vcpkg) and then run:
pip install -r requirements.txt
pip install .
Usage
Each benchmark problem is in a self-contained object:
import modact.problems as pb
# Create problem
cs1 = pb.get_problem('cs1')
# Get search bounds
xl, xu = cs1.bounds()
# Objective weights: -1 --> minimization / 1 --> maximization
cs1.weights # (-1, 1)
# Constraints weights: -1 --> g(x) >= 0 / 1 --> g(x) <= 0
cs1.c_weights # (-1, -1, -1, -1, -1, -1, -1)
# To evaluate a vector
f, g = cs1(xl)
Note that the output of the function call is not per se automatically converted
to a minimization problem. The weights and c_weights tuples need to be used.
An example of how this is done is given in the adapter for pymoo:
modact.interfaces.pymoo.
Usage examples are shown in the scripts folder. In particular, optimization
example using pymoo are given.
Interfaces form different languages (C++ and MATLAB) to python are provided in
the interfaces folder.
The best-known Pareto fronts approximations of the 20 problems can be downloaded
here:
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modact-1.0.1.tar.gz.
File metadata
- Download URL: modact-1.0.1.tar.gz
- Upload date:
- Size: 36.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90b8ead902e8042353793526294e4d2b0d335a725c8c08ade5cabba950276092
|
|
| MD5 |
972cadbef88be3999ccd71071949a965
|
|
| BLAKE2b-256 |
8e8013ec9bfbd28b92fd6979dd394830e2630763615595284dbc692be733d9c5
|
Provenance
The following attestation bundles were made for modact-1.0.1.tar.gz:
Publisher:
python-publish.yml on epfl-lamd/modact
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modact-1.0.1.tar.gz -
Subject digest:
90b8ead902e8042353793526294e4d2b0d335a725c8c08ade5cabba950276092 - Sigstore transparency entry: 406835015
- Sigstore integration time:
-
Permalink:
epfl-lamd/modact@8b71bf9ae581e35b883ea29bd0e070e41c38d192 -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/epfl-lamd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8b71bf9ae581e35b883ea29bd0e070e41c38d192 -
Trigger Event:
release
-
Statement type:
File details
Details for the file modact-1.0.1-py3-none-any.whl.
File metadata
- Download URL: modact-1.0.1-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2b8e73c82ff9665d41534e2a897646294d0c8733c3bb520322f12b383d5de97
|
|
| MD5 |
a42cf04419a03545fbf4dea8e05b9191
|
|
| BLAKE2b-256 |
2bf4592e9e106feb7613c7075e2a421295a78c676f7c734f4d87b5f0bad1cc43
|
Provenance
The following attestation bundles were made for modact-1.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on epfl-lamd/modact
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modact-1.0.1-py3-none-any.whl -
Subject digest:
c2b8e73c82ff9665d41534e2a897646294d0c8733c3bb520322f12b383d5de97 - Sigstore transparency entry: 406835040
- Sigstore integration time:
-
Permalink:
epfl-lamd/modact@8b71bf9ae581e35b883ea29bd0e070e41c38d192 -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/epfl-lamd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8b71bf9ae581e35b883ea29bd0e070e41c38d192 -
Trigger Event:
release
-
Statement type: