### How to calculate the total solver resource usage time

Posted:

**Tue Apr 30, 2019 5:20 pm**Hi All,

I am now writing a iteration method to solve a optimization problem and now I have a question about how to calculate the total resource usage time spent by the solver.

I know that when gams ends its execution, it will have a elapsed time to calculate the total time used by the program. But is there a command to calculate the time just by the solver that not include the compilation time, generation time and execution time?

Thanks

I am now writing a iteration method to solve a optimization problem and now I have a question about how to calculate the total resource usage time spent by the solver.

I know that when gams ends its execution, it will have a elapsed time to calculate the total time used by the program. But is there a command to calculate the time just by the solver that not include the compilation time, generation time and execution time?

Thanks