Skip to content

fix: Support warm_start and ignore constraint_name search annotations - #235

Merged
maartenflippo merged 9 commits into
mainfrom
fix/unsupported-search-annotations
Jul 29, 2025
Merged

maartenflippo merged 9 commits into
mainfrom
fix/unsupported-search-annotations

Conversation

@ImkoMarijnissen

Copy link
Copy Markdown
Contributor

In certain models there are annotations which we (currently) do not support; this PR ignores these annotations

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

We can easily implement a warm-start by setting the values up in a brancher that runs before any of the other branchers. Perhaps it is better to do that here than to ignore (and forget in the future).

@ImkoMarijnissen

Copy link
Copy Markdown
Contributor Author

We can easily implement a warm-start by setting the values up in a brancher that runs before any of the other branchers. Perhaps it is better to do that here than to ignore (and forget in the future).

Done, I have added a brancher which attempts to assign a variable to a value once and then continues down the list; note that this is slightly different than what is specified in the minizinc annotations, so I have created an issue for this!

@github-actions
github-actions Bot dismissed maartenflippo’s stale review July 6, 2025 09:55

Review re-requested

@ImkoMarijnissen ImkoMarijnissen changed the title fix: Ignore warm_start and constraint_name search annotations fix: Support warm_start and ignore constraint_name search annotations Jul 6, 2025
@EmirDe

EmirDe commented Jul 7, 2025 •

Copy link
Copy Markdown
Contributor

I think we should discuss the warm start annotation sometime this week in person.

@maartenflippo
maartenflippo merged commit d7e8bb0 into main Jul 29, 2025
@maartenflippo
maartenflippo deleted the fix/unsupported-search-annotations branch July 29, 2025 14:41
ImkoMarijnissen added a commit that referenced this pull request Nov 10, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.2.2](pumpkin-core-v0.2.1...pumpkin-core-v0.2.2)
(2025-11-10)


### Features

* Adding logging of brancher statistics on completion
([#257](#257))
([9d26842](9d26842))
* Post equality as single predicate instead of splitting in two
([#305](#305))
([8f43208](8f43208))
* Adding edge-finding for the disjunctive constraint
([#275](#275))
([606a7d8](606a7d8))
* Lazy explanation for linear less than or equals
([#290](#290))
([3515c7a](3515c7a))
* Write proofs with gzip encoding
([#264](#264))
([83f76da](83f76da))
* Remove unnecessary variables introduced by bool2int
([#232](#232))
([cf0b2fe](cf0b2fe))
* Use lazy explanations for BinaryEq
([#231](#231))
([4a89a5e](4a89a5e))
* Support warm_start and ignore constraint_name search annotations
([#235](#235))
([d7e8bb0](d7e8bb0))


### Bug Fixes

* Add pumpkin-crates to default-members
([#286](#286))
([bf7ff80](bf7ff80))
* Correctly reporting unknown solution in optimisation and solution
enumeration ([#247](#247))
([8c0f27c](8c0f27c))
* Create correct reason for preprocessing permanent nogood + Removing
unassigned status for PredicateId
([#250](#250))
([98ba136](98ba136))
* Provide `SelectionContext` instead of `Assignments` to
`Brancher::synchronise`
([#312](#312))
([9548114](9548114))
* Remove debug printing
([#254](#254))
([0ca93a2](0ca93a2))
* Remove the terms with zero coefficients from linear constraints
([#269](#269))
([576887e](576887e))
* Take root-propagation into account in the LUS optimiser
([#253](#253))
([d30ed06](d30ed06))
* Reduce cost of predicate notification
([#259](#259))
([d38e990](d38e990))

### Refactors

* Avoid unnecessary traversals of profiles in time-tabling + Improving
Explanations ([#282](#282))
([f7a4fdb](f7a4fdb))
* Don't use binary equals when logging the full proof
([#252](#252))
([4454d93](4454d93))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Imko Marijnissen <[email protected]>
ImkoMarijnissen added a commit that referenced this pull request Nov 10, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.2.2](pumpkin-solver-v0.2.1...pumpkin-solver-v0.2.2)
(2025-11-10)


### Features

* Adding logging of brancher statistics on completion
([#257](#257))
([9d26842](9d26842))
* Allow unbounded integers in FlatZinc models
([#285](#285))
([826fe58](826fe58))
* Adding disjunctive to the FlatZinc interface
([#275](#275))
([606a7d8](606a7d8))


### Bug Fixes

* Allow bool in int search strategy
([#308](#308))
([a3fb929](a3fb929))
* Correctly reporting unknown solution in optimisation and solution
enumeration ([#247](#247))
([8c0f27c](8c0f27c))
* Only compile solution checkers for integration tests
([#278](#278))
([a5e4c2c](a5e4c2c))
* Support warm_start and ignore constraint_name search annotations
([#235](#235))
([d7e8bb0](d7e8bb0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Imko Marijnissen <[email protected]>
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