Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include total runtime in Result string representation #60

Closed
goerz opened this issue Nov 22, 2019 · 0 comments
Closed

Include total runtime in Result string representation #60

goerz opened this issue Nov 22, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@goerz
Copy link
Member

goerz commented Nov 22, 2019

Suggestion by @nathanshammah:

the print message during the optimization, instead of having start and end date and time, could just report the total running time.

I find absolute time stamps important, but having the duration reported in addition sounds like a good idea. Example output:

Krotov Optimization Result
--------------------------
- Started at 2019-04-11 20:07:54
- Number of objectives: 1
- Number of iterations: 679
- Reason for termination: Reached convergence: J_T < 0.001
- Ended at 2019-04-12 21:45:38 (1 day, 1:37:44)

where (1 day, 1:37:44) is the total running time (delta of "end" timestamp and "start" timestamp).

@goerz goerz added the enhancement New feature or request label Nov 22, 2019
@goerz goerz self-assigned this Nov 22, 2019
@goerz goerz closed this as completed in 8aaecd8 Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant