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.4.tar.gz (8.7 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.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

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

Hashes for bofire_converters-0.0.4.tar.gz
Algorithm Hash digest
SHA256 43affd152a496b0824ef975e0685cc3213a0743c819a4db1daa29e7667b4207d
MD5 0c2657de54c3532814511bf01724a084
BLAKE2b-256 e495c90ac6e25e01ad2f2db00b88749a7ea125f0a13c153ab1351282bcf374c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for bofire_converters-0.0.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for bofire_converters-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 06a3307cdc3f40afac91f8b4ccc5f8425e26a019101fe7c57c26cff7d4484427
MD5 bb6c4ada846e3720c8253d5422b011b1
BLAKE2b-256 d003c13ecf083452690150cf544f6889e7250647d2213c3063275303aba48632

See more details on using hashes here.

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

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