Display Solve Times

10 views
Skip to first unread message

Nicholas Parham

unread,
Aug 5, 2022, 2:27:15 PM8/5/22
to AMPL Modeling Language
Is there a shorthand way to loop through all of the solve times in AMPL?

    print '_ampl_elapsed_time' & '|' & _ampl_elapsed_time;
    print '_ampl_system_time' & '|' & _ampl_system_time;
    print '_ampl_user_time' & '|' & _ampl_user_time;
    print '_ampl_time' & '|' & _ampl_time;
    print '_shell_elapsed_time' & '|' & _shell_elapsed_time;
    print '_shell_system_time' & '|' & _shell_system_time;
    print '_shell_user_time' & '|' & _shell_user_time;
    print '_shell_time' & '|' & _shell_time;
    print '_solve_elapsed_time' & '|' & _solve_elapsed_time;
    print '_solve_system_time' & '|' & _solve_system_time;
    print '_solve_user_time' & '|' & _solve_user_time;
    print '_solve_time' & '|' & _solve_time;
    print '_total_shell_elapsed_time' & '|' & _total_shell_elapsed_time;
    print '_total_shell_system_time' & '|' & _total_shell_system_time;
    print '_total_shell_user_time' & '|' & _total_shell_user_time;
    print '_total_shell_time' & '|' & _total_shell_time;
    print '_total_solve_elapsed_time' & '|' & _total_solve_elapsed_time;
    print '_total_solve_system_time' & '|' & _total_solve_system_time;
    print '_total_solve_user_time' & '|' & _total_solve_user_time;
    print '_total_solve_time' & '|' & _total_solve_time;

Olinick, Eli V

unread,
Aug 6, 2022, 3:40:58 PM8/6/22
to AMPL Modeling Language

Nick, there a couple of different ways we can approach this depending on what we're collecting the data for.

Let's talk it about in a submeeting or after the main meeting next week.



Eli

------------------------------------------------
Eli V. Olinick
Associate Professor
Department of Operations Research and Engineering Management
Bobby B. Lyle School of Engineering
Southern Methodist University
PO Box 750123
Dallas, TX  75275-0123

Vox: (214) 768 3092
Fax: (214) 768 1112

From: am...@googlegroups.com <am...@googlegroups.com> on behalf of Nicholas Parham <c21nichol...@gmail.com>
Sent: Friday, August 5, 2022 12:06:02 PM
To: AMPL Modeling Language
Subject: [AMPL 24097] Display Solve Times
 

[EXTERNAL SENDER]

--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ampl/1484b3ca-c5a8-4fdd-9313-07222f1f3ca3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages