optimas-org / optimas

Optimization at scale, powered by libEnsemble
https://optimas.readthedocs.io
Other
22 stars 13 forks source link

Avoid code duplication between Ax base generator class and `AxModelManager` #221

Open AngelFP opened 2 months ago

AngelFP commented 2 months ago

There is currently some code duplication between both classes in, for example, how the trial data is given to the Ax client. A possible solution would be to turn the AxModelManager into a high-level wrapper of AxClient in optimas. In this way, the ax generators would store (and interact with) an AxModelManager instead of directly using an AxClient.