-
Notifications
You must be signed in to change notification settings - Fork 590
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
Last Result Returned Not Optimized Result #110
Comments
duplicate of #57 |
This was referenced Mar 9, 2023
This was referenced Sep 20, 2023
This was referenced Jan 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using NLOpt 2.4.2 and noticed that the output is only the last values and not the optimal values. The problem is setup using the C++ API with inequality constraints and the COBYLA algorithm. When the x values, cost, and whether the constraints pass are printed in the objective callback and constraint callback; neither the less optimal constraint passing solution nor the more optimal constraint failing solution is returned. Instead, it returns a constraint failing suboptimal solution, which just happens to be the last solution. Has anyone else seen this behavior?
The text was updated successfully, but these errors were encountered: