-
Notifications
You must be signed in to change notification settings - Fork 446
Description
🚀 Feature Request
We've been using Bayesian optimization (with GPyOpt) for molecular geometries. I'd like to migrate to BoTorch and as a non-expert, I'm hitting some walls with the current docs.
Yet... I'd like to connect to external codes for evaluation functions and gradients to supply them to the optimization loop (i.e., rather than using auto-diff from a torch model).
I suspect I'm just missing some docs..
Motivation
Is your feature request related to a problem? Please describe.
Many optimization problems use external codes. Sometimes they have well-defined, known gradients w.r.t variables.
It would be great to have a tutorial with evaluation function and gradient function for gradient-assisted optimization loops.
Pitch
Describe the solution you'd like
An example class like the synthetic test functions code, but with a gradient method.
Describe alternatives you've considered
I've used simple functions without gradients, but optimization is slow.
Are you willing to open a pull request? (See CONTRIBUTING)
I'd be happy to write out a notebook tutorial and contribute if someone can point me in the right direction.