Skip to content

Conversation

@aliceb-nv
Copy link
Contributor

Solving statistics information was not passed along to the mip_solution_t object when terminating on a timeout, causing cuOptGetSolveTime to incorrectly return the default value of 0.
This PR also fixes a conversion issue with get_solve_time() being treated as milliseconds instead of seconds when running in LP mode.

Closes #91

@aliceb-nv aliceb-nv requested review from a team as code owners June 11, 2025 16:03
@aliceb-nv aliceb-nv requested a review from tmckayus June 11, 2025 16:03
@aliceb-nv aliceb-nv added bug Something isn't working non-breaking Introduces a non-breaking change labels Jun 11, 2025
@aliceb-nv aliceb-nv requested review from Kh4ster and kaatish June 11, 2025 16:03
@rgsl888prabhu rgsl888prabhu merged commit 5ff9ffa into branch-25.05 Jun 11, 2025
58 checks passed
@rgsl888prabhu rgsl888prabhu deleted the time-limit-fix branch October 29, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] cuOptGetSolveTime returns 0 when the solver terminates for TIME_LIMIT

4 participants