-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Fortran iteration callback method #382
Comments
I am not so sure that you can assume that. Ipopt 3.14 provides functions to get the current iterate during the iteration callback: https://github.com/coin-or/Ipopt/blob/stable/3.14/src/Interfaces/IpStdFInterface.c#L530 |
Thanks! I will test it and can also suggest updates to this example. This F77 style has been obsolete for 30 years. Would there be any interest in a modern Fortran example? |
I wouldn't mind to add one in modern Fortran in addition. |
In the Fortran example, the
ITER_CB()
function can be called once per iteration. Is it possible to know what thex
vector is in this routine for that iteration? It doesn't look like it. Can we assume that it will be the samex
as was last called inEV_F()
, or will that not always be the case?The text was updated successfully, but these errors were encountered: