Parameter Constraints or post-processing of resulting candidate points? #2687
-
I use BoTorch to optimize the chemical system with multiple input parameters f(x1, x2,...xN). Due to the system's nature, I use concentrations of different units (such as %, mM, mg/mL) as the input parameters. The system has two main constraints:
I successfully implemented the first constraint using the Does anyone have suggestions for handling this type of discrete step constraint in BoTorch? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @angyurchenko. BoTorch offers limited support for discrete parameters out of the box. We recently released We offer more comprehensive support for discrete parameters in Ax, via the |
Beta Was this translation helpful? Give feedback.
Hi @angyurchenko. BoTorch offers limited support for discrete parameters out of the box. We recently released
optimize_acqf_mixed_alternating
which supports optimization over integer valued discrete parameters (which will be generalized to arbitrary discrete parameters in the future).We offer more comprehensive support for discrete parameters in Ax, via the
ChoiceParameter
and integer valuedRangeParameter
. After some transforms, these parameters are typically optimized usingoptimize_acqf_mixed_alternating
. Under the hood, we may use continuous relaxation (if the parameter has many values), which would utilizepost_processing_func
to round the parameters back to the discrete values. The…