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
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
File details
Details for the file bofire_converters-0.0.3.tar.gz
.
File metadata
- Download URL: bofire_converters-0.0.3.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cefa9e4136441e445fd9a0bf51bda750b480b393285459d3069cdc53b5f0b71 |
|
MD5 | cfff7839414d1e0273406551aa10ae67 |
|
BLAKE2b-256 | 30bf819d4862811c721c254f78b52c91c43429970561ac7fb2476889ed1139f0 |
File details
Details for the file bofire_converters-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: bofire_converters-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ebc7734081547602d93a2739109ffe7e67de159eb45d1367e0f4ca7d99c312b |
|
MD5 | 112baa38b3a05061d056506d3c25c2ec |
|
BLAKE2b-256 | 0b2685e2831751a9a2faa920230028a12ec5213a0af22a20195e9f7d027c0738 |