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.5.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bofire_converters-0.0.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file bofire_converters-0.0.5.tar.gz.

File metadata

  • Download URL: bofire_converters-0.0.5.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bofire_converters-0.0.5.tar.gz
Algorithm Hash digest
SHA256 577eefeef29771ac98c29d352cdefdd69f24774d107c93579fb6299a4ef9b884
MD5 20ec29bbeb4b02a67ca923ece6904e8d
BLAKE2b-256 d8b55439ba33700c080235721a1e418acb37635e7d85181415328a84267218e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for bofire_converters-0.0.5.tar.gz:

Publisher: publish.yaml on experimental-design/bofire-converters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for bofire_converters-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 478584a65bdaa8b3937534d890a25c411ea1ba62e865301c4e2153adc45401e3
MD5 f6d142598fd2e42a842afe308adb9f0f
BLAKE2b-256 40928434003250fdaf267ce380c8c55b047111a726e0418cd404bdf39b01ab6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for bofire_converters-0.0.5-py3-none-any.whl:

Publisher: publish.yaml on experimental-design/bofire-converters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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