Skip to content

feat: implement getRunTime and zero all clocks at the start of a solve#65

Merged
mtth merged 8 commits into
opvious:mainfrom
withthegrid:feat-get-run-time-zero-all-clocks
Aug 6, 2025
Merged

feat: implement getRunTime and zero all clocks at the start of a solve#65
mtth merged 8 commits into
opvious:mainfrom
withthegrid:feat-get-run-time-zero-all-clocks

Conversation

@filipforro

Copy link
Copy Markdown
Contributor

Solves the issue with ever-increasing solver time, which eventually leads to TIME_LIMIT as explained in jump-dev/HiGHS.jl#167

@filipforro

Copy link
Copy Markdown
Contributor Author

Hello, I accidentally opened this PR on the main repository instead of my fork. We plan to review these changes internally first before submitting a proper PR to the project. Please hold off on reviewing or merging this for now.

Comment thread packages/highs-addon/index.d.ts Outdated
Comment thread packages/highs-addon/src/solver.cc Outdated
Comment thread packages/highs-addon/src/solver.cc Outdated

@jdbruijn jdbruijn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some small remarks only

@filipforro filipforro changed the title feat: implement getRunTime and zeroAllClocks feat: implement getRunTime and zero all clocks at the start of a solve Jul 4, 2025
@filipforro

Copy link
Copy Markdown
Contributor Author

@mtth could you please review when you have time?

@mtth mtth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for adding this. A few minor requests.

Comment thread packages/highs-solver/src/solver.ts Outdated
Comment thread packages/highs-solver/src/solver.ts Outdated
Comment thread packages/highs-solver/src/solver.ts
@filipforro filipforro requested a review from mtth August 6, 2025 08:25

@mtth mtth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @filipforro.

@mtth mtth merged commit 547d11e into opvious:main Aug 6, 2025
1 check passed
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.

3 participants