GPflowOpt icon indicating copy to clipboard operation
GPflowOpt copied to clipboard

Discrete variables optimization

Open HolmKiilerich opened this issue 5 years ago • 2 comments

Hey there, I found your project which seems promising for a problem, I am currently working on. However, I as far as I can see, the option to include discrete variables in the optimization is not yet implemented? Is this correct? and if so, are there any developement in this direction currently going on?

HolmKiilerich avatar Sep 07 '20 07:09 HolmKiilerich

Hi,

I have the same issue. Instead of using gpflowopt.domain.ContinuousParameter, I thought we can use gpflowopt.domain.Parameter for defining discrete variables. However, I could not understand how to use it.

sedenhazal avatar Sep 18 '20 12:09 sedenhazal

If the discrete variables are ordinal then you can treat them as continuous parameter for the modeling. When optimizing the acquisition function you can just evaluate the discrete parameter on a grid (if there are not that many values) or just round the optimum found by the scipy optimizer.

icouckuy avatar Sep 30 '20 18:09 icouckuy