--
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/reply-77152-2193254957-6542570273-1679773399-1659207136%40helpscout.net.
Is there any package working within AMPL to produce graphs after solving problem. Also related, is there any econometrics package implemented in AMPL that I can use. Am trying to avoid moving around various softwares.
John
On Sat, Mar 25, 2023 at 7:43 PM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
When the AMPL application runs a solver, it spawns a separate solver process, and waits for that process to finish before continuing. Since AMPL and the solver are never running at the same time, their elapsed time can be separated out:The total elapsed time for an AMPL session is _ampl_elapsed_time + _total_solve_elapsed_time. In your example this is 4.953 + 0.156 = 5.109 which is consistent with the "time cpp" that you record.
- _solve_elapsed_time = time taken for the most recent solver process
- _total_solve_elapsed_time = sum of _solve_elapsed_time for all solver processes
- _ampl_elapsed_time = time taken by the AMPL process, not counting any solver process times
Here are some details to note:
- Timing starts when the AMPL application begins running, and whenever there is a "reset;".
- The _solve_time is the sum of the "CPU times" on all of the processor cores. Thus when a solver like CPLEX uses multiple cores in parallel, the _solve_elapsed_time is a much better measure of effectiveness.
--
Robert Fourer
We're switching to a new, enhanced user forum.
Join it now at discuss.ampl.com.