Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure the sort manner is applied to the default CH config #1258

Merged
merged 7 commits into from
Dec 6, 2024

Conversation

zepfred
Copy link
Contributor

@zepfred zepfred commented Dec 6, 2024

This pull request corrects a bug that occurs when an entity selector configuration is created without using the sorting settings, particularly when the related entity has a difficulty weight factory defined @PlanningEntity(difficultyWeightFactoryClass....

The bug only affects solver configurations that do not define a phase list, as the solver sets the entity selector configuration before inner operations update the heuristic policy configuration. The issue does not affect the value selector config because no config is created by default (DefaultSolverFactory#buildPhaseList).

@zepfred zepfred marked this pull request as draft December 6, 2024 14:31
@zepfred zepfred changed the title fix: ensure the sort manner is applied to the default CH config fix: ensure the sort manner is applied to the default CH config (WIP) Dec 6, 2024
@zepfred zepfred changed the title fix: ensure the sort manner is applied to the default CH config (WIP) fix: ensure the sort manner is applied to the default CH config Dec 6, 2024
@zepfred zepfred marked this pull request as ready for review December 6, 2024 16:36
@zepfred zepfred requested a review from triceo December 6, 2024 16:37
Copy link
Contributor

@triceo triceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after last comment resolved.

@triceo triceo merged commit 3a1ef62 into TimefoldAI:main Dec 6, 2024
28 checks passed
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.

The default configuration for CH does not utilize the sorter, even if it is available
2 participants