You can use display _ampl_elapsed_time; to view the elapsed seconds since the start of the AMPL. You can refer to http://ampl.com/BOOK/CHAPTERS/24-refman.pdf (page 496) to see other built-in timing parameters.
On Wednesday, December 6, 2017 at 8:51:52 AM UTC-8, Eric E Sättar wrote:
I wonder, how would be the possible options to set the execution time for a model: I would like to record the time for reading the data and also run the model.
I would be happy if someone let me know how can I find out in AMPL environment.