experimental-design / bofire

Experimental design and (multi-objective) bayesian optimization.
https://experimental-design.github.io/bofire/
BSD 3-Clause "New" or "Revised" License
231 stars 23 forks source link

Refactoring of `DoEStrategy` data model class #448

Open jduerholt opened 1 month ago

jduerholt commented 1 month ago

This PR provides a draft for the restructured DoEStrategy.

The following things changed:

When the functional part of the DoE module is refactored, we should have a mapper which takes the criterion and domain and returns a functional criterion class which provides then the actual objective funtion for the actual ipopt optimizer.

On the long run, we can then also provide a common base class on the data model level for both the DoEStrategy and the SpaceFillingStrategy. In case of the latter one the only allowed criterion will then be the SpaceFillingCriterion which has no formula attribute.

@Osburg: What do you think?