Skip to content

Conversation

@arnavk23
Copy link
Contributor

Fixes #119

@arnavk23
Copy link
Contributor Author

@tmigot please review.

@tmigot
Copy link
Member

tmigot commented Sep 12, 2025

Mmmhh if that means we have to go back using temporary log files, I am not sure it's a good idea.

@arnavk23
Copy link
Contributor Author

arnavk23 commented Sep 12, 2025

@tmigot what do you suggest

@tmigot
Copy link
Member

tmigot commented Sep 12, 2025

If this information is accessible via callbacks or from Ipopt API that be best, otherwise I don't know.

@arnavk23
Copy link
Contributor Author

@tmigot ok will try.

@arnavk23
Copy link
Contributor Author

@tmigot Ipopt.jl does not currently expose timing statistics via its Julia API or callbacks, so it is not possible to fix this in code and use a direct method. The only available approach is to parse the output log file, as you are already doing.

If Ipopt.jl adds API support for timing statistics in the future, the code can be updated to use it. For now, log file parsing is the only solution.

No further code changes are possible for direct timing statistics access at this time.

@arnavk23 arnavk23 closed this Sep 27, 2025
@tmigot
Copy link
Member

tmigot commented Sep 27, 2025

Thanks @arnavk23 for the analysis. Unfortunately it does not look possible at the moment.

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

Successfully merging this pull request may close these issues.

Add solver statistics in the stats

2 participants