secondmind-labs / trieste

A Bayesian optimization toolbox built on TensorFlow
Apache License 2.0
212 stars 41 forks source link

Updatable discrete trust region #825

Closed khurram-ghani closed 3 months ago

khurram-ghani commented 4 months ago

Related issue(s)/PRs: None

Summary

This PR adds a new updatable discrete trust region. This builds on the the fixed-point discrete TR added in a previous PR. The new class SingleObjectiveTrustRegionDiscrete is similar in behaviour to SingleObjectiveTrustRegionBox, but for a discrete search space.

The mixed search spaces notebook and integ tests now use this class, instead of FixedPointTrustRegionDiscrete from the previous PR.

Fully backwards compatible: yes

PR checklist