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

Bugfix and API change for profiler utils in OptimizationSolver #124

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

AlessandroPierro
Copy link
Collaborator

@AlessandroPierro AlessandroPierro commented Nov 2, 2022

Objective of pull request: bugfix and API improvement for OptimizationSolver.measure_time_to_solution() (previously OptimizationSolver.measure_solving_time()).

Pull request checklist

Your PR fulfills the following requirements:

Pull request type

Please check your PR type:

  • Bugfix
  • Code style update (formatting, renaming)

What is the new behavior?

  • The utility method OptimizationSolver.measure_time_to_solution() replaces the previous OptimizationSolver.measure_solving_time(), and now returns the total time to solution in seconds.

Does this introduce a breaking change?

  • Yes

@AlessandroPierro AlessandroPierro self-assigned this Nov 2, 2022
@AlessandroPierro AlessandroPierro marked this pull request as ready for review November 2, 2022 16:03
Copy link
Collaborator

@GaboFGuerra GaboFGuerra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Alessandro, no changes needed :)

@GaboFGuerra GaboFGuerra merged commit a52ec34 into main Nov 2, 2022
@AlessandroPierro AlessandroPierro deleted the bugfix-profiler branch November 23, 2022 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants