Skip to content

experimental-design/bofire-converters

Repository files navigation

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)

About

Tools to convert objects between bofire and, eg, mopti.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages