-
Notifications
You must be signed in to change notification settings - Fork 9
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
SNOPT does not communicate the number of function evaluations to pagmo #25
Comments
Problem is revealed by the line: https://github.com/esa/pagmo_plugins_nonfree/blob/master/src/snopt7.cpp#L715 the struct info contains a full instance of problem that is then copied .... a solution to try is to store a pointer rather than an instance as data member of the user_data struct:
|
@darioizzo, I believe I managed to get your suggestion to work, but there is the need to remove the pagmo_plugins_nonfree/src/snopt7.cpp Line 514 in a784bd3
Both just removing the pagmo_plugins_nonfree/src/snopt7.cpp Line 715 in a784bd3
I honestly do not know which would be the preferred option, or if there are others that I am not considering. Any thoughts on this? EDIT: EDIT2: |
As stated in the title, pagmo does not seem to be able to retrieve the number of function evaluations performed by SNOPT.
Below is an example similar to the one found in https://esa.github.io/pagmo_plugins_nonfree/quickstart.html with some changes.
This produces the following output:
As it can be seen, the number of fitness evaluations indicated by the population is not the same as the number of lines (=function evaluations) of the log when the verbosity is set to 1.
The text was updated successfully, but these errors were encountered: