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

feat: update the best solution for custom construction heuristics #1039

Closed
wants to merge 5 commits into from

Conversation

zepfred
Copy link
Contributor

@zepfred zepfred commented Aug 14, 2024

This pull request modifies the logic of DefaultCustomPhase to update the best solution when the returned solution is not better than the starting phase one.

When the planning list variable accepts unassigned list values, the custom CH does not update the best solution because it may be possible that it does not improve the starting score (0hard/0soft).

Copy link

@zepfred
Copy link
Contributor Author

zepfred commented Aug 16, 2024

@triceo, to resolve the problem, we can create a constraint that rewards assigned values. I am closing this issue because it is not currently relevant.

@zepfred zepfred closed this Aug 16, 2024
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