No project description provided
Project description
Mopti Problem to Bofire Domain Converter
These tools are to help with migration of legacy applications from Mopti to BoFire. Mopti is for defining optimization problems (inputs, outputs, constraints, ...) and has some sampling utilities. If you have a problem defined in the Mopti format, bofire_converters can help you to create the corresponding BoFire object, which is called a domain.
Quick start
Install via pip
pip install bofire-converters
Here is an example of converting a Problem object from Mopti to a BoFire Domain.
from bofire_converters.opti_to_domain import convert_problem
from opti.problems.multi import Daechert1
# Use one of the opti built-in problems as an example
my_opti_problem = Daechert1()
my_bofire_domain = convert_problem(my_opti_problem)
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
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 bofire_converters-0.0.4.tar.gz.
File metadata
- Download URL: bofire_converters-0.0.4.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43affd152a496b0824ef975e0685cc3213a0743c819a4db1daa29e7667b4207d
|
|
| MD5 |
0c2657de54c3532814511bf01724a084
|
|
| BLAKE2b-256 |
e495c90ac6e25e01ad2f2db00b88749a7ea125f0a13c153ab1351282bcf374c1
|
Provenance
The following attestation bundles were made for bofire_converters-0.0.4.tar.gz:
Publisher:
publish.yaml on experimental-design/bofire-converters
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bofire_converters-0.0.4.tar.gz -
Subject digest:
43affd152a496b0824ef975e0685cc3213a0743c819a4db1daa29e7667b4207d - Sigstore transparency entry: 233879462
- Sigstore integration time:
-
Permalink:
experimental-design/bofire-converters@5ccb1684d10cfc2171fc8bda5a6f41e5b3431c5f -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/experimental-design
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@5ccb1684d10cfc2171fc8bda5a6f41e5b3431c5f -
Trigger Event:
push
-
Statement type:
File details
Details for the file bofire_converters-0.0.4-py3-none-any.whl.
File metadata
- Download URL: bofire_converters-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.2 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 |
06a3307cdc3f40afac91f8b4ccc5f8425e26a019101fe7c57c26cff7d4484427
|
|
| MD5 |
bb6c4ada846e3720c8253d5422b011b1
|
|
| BLAKE2b-256 |
d003c13ecf083452690150cf544f6889e7250647d2213c3063275303aba48632
|
Provenance
The following attestation bundles were made for bofire_converters-0.0.4-py3-none-any.whl:
Publisher:
publish.yaml on experimental-design/bofire-converters
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bofire_converters-0.0.4-py3-none-any.whl -
Subject digest:
06a3307cdc3f40afac91f8b4ccc5f8425e26a019101fe7c57c26cff7d4484427 - Sigstore transparency entry: 233879474
- Sigstore integration time:
-
Permalink:
experimental-design/bofire-converters@5ccb1684d10cfc2171fc8bda5a6f41e5b3431c5f -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/experimental-design
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@5ccb1684d10cfc2171fc8bda5a6f41e5b3431c5f -
Trigger Event:
push
-
Statement type: