Skip to content

fix(pumpkin-solver): Remove bool2int from FlatZinc in search annotation - #672

Closed
ImkoMarijnissen wants to merge 1 commit into
mainfrom
fix/flattening-bool2int
Closed

ImkoMarijnissen wants to merge 1 commit into
mainfrom
fix/flattening-bool2int

Conversation

@ImkoMarijnissen

Copy link
Copy Markdown
Contributor

A quite niche issue. I ran into the situation where a flatzinc file ended up with a bool in an int_search annotation. This is generally fine and this parses.

However, then running that FlatZinc file via MiniZinc resulted in the introduction of bool2ints in the search annotation which our parser does not handle.

This PR removes these bool2int calls from the solve annotation.

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