Skip to content

[CBC interface] Support setting CBC hints#5232

Open
comick wants to merge 1 commit into
google:mainfrom
comick:cbc-hint
Open

[CBC interface] Support setting CBC hints#5232
comick wants to merge 1 commit into
google:mainfrom
comick:cbc-hint

Conversation

@comick

@comick comick commented Jun 18, 2026

Copy link
Copy Markdown

Hi, the PR adds support for setting CBC hints and making use of them.

I could not find a test within ortools that measures hints impact consistently across solvers (that's implementation dependent and requires looking into either logs, comparing solver time or look into internal iterations and would take a considerable effort).
The included (java only) tests help verifying correctness of the solution when hints are provided.
This also covers other solvers whose implementations I did not touch. I could not find other tests covering hint/no-hint correctness comparisons.

I'd be happy to get some feedback and adjust the PR accordingly, please let me know what you think.

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.

1 participant