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

Last Result Returned Not Optimized Result #110

Closed
geoffviola opened this issue Jan 10, 2017 · 1 comment
Closed

Last Result Returned Not Optimized Result #110

geoffviola opened this issue Jan 10, 2017 · 1 comment

Comments

@geoffviola
Copy link

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?

@jschueller
Copy link
Collaborator

duplicate of #57

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