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

NLopt ignoring stopval, tolerance #107

Closed
merubhanot opened this issue Apr 5, 2018 · 1 comment
Closed

NLopt ignoring stopval, tolerance #107

merubhanot opened this issue Apr 5, 2018 · 1 comment

Comments

@merubhanot
Copy link

In doing a relatively involved optimization with NLopt, I find that it seems to ignore stopval!() and ftol_rel!(), though maxtime!() is working. I'm using the optimizer LN_COBYLA.

Based on the links below, I have some sense it may be about the optimizer or the constraints (though the inequality constraints don't seem to be violated at the value it returns at maxtime, which has a function value well smaller than the stopval), but wanted to check if it was a bug/known issue, or if there is some clear way to get the optimization to adhere to the stopval.

https://stackoverflow.com/questions/34755612/unexpected-behaviour-of-ftol-abs-and-ftol-rel-in-nlopt
https://discourse.julialang.org/t/nlopt-stopval-and-termination-criteria/7333/2

@odow
Copy link
Member

odow commented Mar 3, 2022

Closing as stale, and because there is no reproducible example. If anyone encounters this in future, please post on the community forum, https://discourse.julialang.org/c/domain/opt/13, and tag me @odow.

@odow odow closed this as completed Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants