Skip to content

Fix non-terminating sorted propagation#227

Open
zayenz wants to merge 1 commit into
mainfrom
feature/sort-element-propagation
Open

Fix non-terminating sorted propagation#227
zayenz wants to merge 1 commit into
mainfrom
feature/sort-element-propagation

Conversation

@zayenz

@zayenz zayenz commented Jul 13, 2026

Copy link
Copy Markdown
Member

Sorted propagation could loop when domain narrowing left a matching component without an output interval compatible with an input variable. The component endpoint links to itself, so the lower- or upper-bound walk never advanced.

Treat an exhausted component as an infeasible matching instead. The reported FlatZinc model is retained as a regression and completes with all three solutions.

Checked with the focused regression, the native sorted tests, and repeated runs of the original model.

Closes #168.

@zayenz zayenz force-pushed the feature/sort-element-propagation branch from 0149f4d to 1bac56a Compare July 13, 2026 14:57
@zayenz zayenz marked this pull request as ready for review July 13, 2026 21:19
@zayenz zayenz force-pushed the feature/sort-element-propagation branch from 1bac56a to a94f083 Compare July 13, 2026 21:33
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