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

Better integration of nonlinear constraints #327

Open
nickanthony-dgl opened this issue May 3, 2023 · 1 comment
Open

Better integration of nonlinear constraints #327

nickanthony-dgl opened this issue May 3, 2023 · 1 comment

Comments

@nickanthony-dgl
Copy link

I am trying to use nonlinear constraints with the NLOptNoGrad optimizer as the .acquisition function optimizer I switched to using the GN_ISRES since this supports both equality and inequality constraints. However, I found that even though the NLOptNoGrad optimizer is obeying the nonlinear constraints, the best observation being reported actually violates the constraints because it comes from one of the initial random samples.

Are there any plans for adding more comprehensive support for constraints such that they are respected by all aspects of the optimization?

I am also wondering if there is any support for using NLOPT's "Augmented Lagrangian" to add constraints to algorithms that otherwise don't support them.

@costashatz
Copy link
Member

Hello @nickanthony-dgl and sorry for the late reply.

We do not currently have any plans to incorporate constraints inside the BOptimizer (we are not actively working on constrained BO). We do have an experimental constrained BOptimizer (see in experimental and examples). As far as I remember however, we are treating the constraints as on/off (satisfied or not).

But we are always happy to accept pull requests..

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