[Ipopt] Getting Accurate CPU Times from Ipopt

Stefan Vigerske stefan at math.hu-berlin.de
Wed Jan 18 12:33:42 EST 2017

Ipopt uses some standard functions (getrusage()) to measure CPU time, 
see IpUtils.cpp. I don't think that there is a more accurate measurement 
of time than that. I don't know the mex interface, but unless it does 
not just pass on the time measurement from Ipopt, there is little one 
could improve, I believe.

On 01/17/2017 09:41 PM, Anil Rao wrote:
> I would like to know how to get the most accurate CPU time from Ipopt.  I am running a large set of jobs and I need the CPU time from each job. I am using the MATLAB mex files compiled by Enrico Bertolazzi for my runs.  I am finding that Ipopt does not seem to provide accurate CPU times using the CPU time output from the mex interface.  I am grateful if somebody might be able to help me get an accurate execution time.  Thanks for your help.
> Regards,
> Anil
> Sent from my iPhone.  Please excuse any typos.
> Anil V. Rao, PhD
> Gainesville, FL 32607
> Tel: 352-672-1529 (cell)
> Email:  anilvrao at gmail.com
> Website:  http://www.anilvrao.com
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt


More information about the Ipopt mailing list