[Ipopt] Feature request: Output wall clock time per Iteration

Stefan Vigerske svigerske at gams.com
Sun Oct 20 13:59:28 EDT 2019


In the TNLP::intermediate_callback 
which is called for every iteration, a pointer to an IpData object is 
This one seems to give access to TimingStatistics
This might be able to give you the time since the algorithm started.
If you store this time, you should be able to get the time since the 
last call, i.e., the previous iteration.


On 9/3/19 2:10 PM, Schmelting, Lukas wrote:
> Hello everyone,
> I would like to print the wall clock time per Iteration, or similar information like the passed time per iteration since starting the solver.
> Can someone point me to the file(s), which would need to be changed to achieve this? I am not the only person interested in this feature (see https://github.com/JuliaOpt/Ipopt.jl/issues/178#issuecomment-525538951)
> Kind regards,
> lschmelting
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/ipopt

More information about the Ipopt mailing list