Hi,
Could you explain the difference between these times?
_ampl_time vs. _ampl_elapsed_time OR
_total_solve_elapsed_time vs. _total_solve_time
Here is my understanding.
Say you watch a movie on your computer while you run AMPL+CPLEX. If the movie takes 50% of the CPU, then the Elapsed Time for the AMPL job will get longer. But the CPU time will stay the same. The CPU time is the amount of time it would take to run the job if 100% of the CPU was running the AMPL job. That’s my interpretation of it. Note that since one CPU has multiple cores, and certain tasks can only run in one core, then it sometimes happens that CPU time is much less than Elapsed time even when no other CPU-intensive programs are running. This is because (and I think this is the case) the CPU time is computed assuming a single core.
Thanks,
Vahid