Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizing discrete values #1

Open
Paeyus opened this issue Mar 14, 2024 · 2 comments
Open

Optimizing discrete values #1

Paeyus opened this issue Mar 14, 2024 · 2 comments

Comments

@Paeyus
Copy link

Paeyus commented Mar 14, 2024

Hello @jackliu333,
I am currently reading your book, which will hopefully help with the material discovery project I am working on.

  1. I would like to find out if it is possible to optimize discrete variables in BoTorch because the code I'm running produces continuous values, though I supply integer bounds.
  2. Is it possible to evaluate the value of the objective function from the new candidate points if you are using real data, as you did with the Hartmann function in the book? Thank you
@jackliu333
Copy link
Owner

Hi,

  1. optimizing over discrete variables is typically more challenging. There may be some recent updates from BoTorch that can handle this, see Optimizing over discrete parameter domains pytorch/botorch#177
  2. yes, as long as the function that maps real data into a scalar observation output is defined.

@Paeyus
Copy link
Author

Paeyus commented Mar 26, 2024

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants