Skip to content

[CBC interface] Add hint handling#5215

Open
comick wants to merge 1 commit into
google:mainfrom
comick:stable
Open

[CBC interface] Add hint handling#5215
comick wants to merge 1 commit into
google:mainfrom
comick:stable

Conversation

@comick

@comick comick commented Jun 5, 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.

@google-cla

google-cla Bot commented Jun 5, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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