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

How to extract results from NLopt #136

Closed
bdas123 opened this issue Jun 13, 2022 · 2 comments
Closed

How to extract results from NLopt #136

bdas123 opened this issue Jun 13, 2022 · 2 comments

Comments

@bdas123
Copy link

bdas123 commented Jun 13, 2022

I successfully ran the NLoptAlg(:LD_SLSQP), but I don't know how to extract the solution vector and the error residual.

@mohamed82008
Copy link
Member

result.minimizer and result.minimum are the optimal decision and objective values.

@bdas123 bdas123 closed this as completed Jun 14, 2022
@bdas123
Copy link
Author

bdas123 commented Jun 14, 2022

Thank you! @mohamed82008

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