Skip to main content

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

bofire_converters-0.0.3.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

bofire_converters-0.0.3-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

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

Hashes for bofire_converters-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3cefa9e4136441e445fd9a0bf51bda750b480b393285459d3069cdc53b5f0b71
MD5 cfff7839414d1e0273406551aa10ae67
BLAKE2b-256 30bf819d4862811c721c254f78b52c91c43429970561ac7fb2476889ed1139f0

See more details on using hashes here.

File details

Details for the file bofire_converters-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for bofire_converters-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1ebc7734081547602d93a2739109ffe7e67de159eb45d1367e0f4ca7d99c312b
MD5 112baa38b3a05061d056506d3c25c2ec
BLAKE2b-256 0b2685e2831751a9a2faa920230028a12ec5213a0af22a20195e9f7d027c0738

See more details on using hashes here.

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