Skip to content

fix(pumpkin-solver): When no search is specified, do not search over objective first - #628

Open
ImkoMarijnissen wants to merge 1 commit into
mainfrom
fix/no-search-annotation
Open

ImkoMarijnissen wants to merge 1 commit into
mainfrom
fix/no-search-annotation

Conversation

@ImkoMarijnissen

Copy link
Copy Markdown
Contributor

Currently, when no search is specified, we first add a brancher over the objective, and then search over all variables. This is generally a good idea when a search strategy is provided, but if no search strategy is provided, then it amounts to performing linear UNSAT-SAT search, which is not always warranted.

@EmirDe EmirDe 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.

I am approving this for now, but I think we should discuss the branching behaviour, and see if the current approach is indeed the best.

@EmirDe EmirDe mentioned this pull request Nov 2, 2026
@EmirDe

EmirDe commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Minor point: is it true that under free search with no annotation, we would still have two branchers? It was not immediate for me from this PR but AI pointed this out, so please consider that before merging.

This branch has not been deployed

No deployments
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.

2 participants