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

upper bound constraints #3

Closed
wang90063 opened this issue Dec 25, 2019 · 2 comments
Closed

upper bound constraints #3

wang90063 opened this issue Dec 25, 2019 · 2 comments

Comments

@wang90063
Copy link

wang90063 commented Dec 25, 2019

Hi. I wonder whether it is possible to add the upper bound constraints, i.e., gps<=fmax, which are opposite to the lower bound constraints, i.e., gps>=fmin. It seems to be possible to add the upper bound constraints to the "comput_safe_set" functioon when lipschitz constant L is infinite.

@pengz1234
Copy link

Hi. I wonder whether it is possible to add the upper bound constraints, i.e., gps<=fmax, which are opposite to the lower bound constraints, i.e., gps>=fmin. It seems to be possible to add the upper bound constraints to the "comput_safe_set" functioon when lipschitz constant L is infinite.

您好,您这个问题解决了吗?

@befelix
Copy link
Owner

befelix commented May 25, 2020

Sorry for the late reply - sure, there's nothing that stops you from doing that. However, it's easy to already do this in the current format. Rather than a constraint f(x) <= fmax you can simply model -f(x) with a GP instead and have a constraint -f(x) >= -fmax.

@befelix befelix closed this as completed May 25, 2020
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

3 participants