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: add new termination config based on the best solution improvement #1196

Closed
wants to merge 0 commits into from

Conversation

zepfred
Copy link
Contributor

@zepfred zepfred commented Nov 11, 2024

This pull request introduces a new termination condition that activates when the solver cannot improve the best solution within a specified time frame. This time frame is determined by the speed of move evaluations, the last time the solver successfully improved the solution, and the duration without any improvements.

image
image

Copy link
Contributor

Choose a reason for hiding this comment

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

This is not a typical curve for medium-soft scores.
When a medium score improves, typically the best score becomes worse than it was before.

Also, we should clearly explain that this image applies to situations where the score has multiple levels.

Copy link
Contributor Author

@zepfred zepfred Nov 14, 2024

Choose a reason for hiding this comment

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

You're thinking about score levels while I am considering the solution score. If the medium score improves, the solution score improves wherever the soft levels are. The current implementation of the solver utilizes lexicographic dominance.

https://en.wikipedia.org/wiki/Lexicographic_optimization

@triceo
Copy link
Contributor

triceo commented Nov 12, 2024

I left first initial comments. I think we need:

  • Better naming overall.
  • For all events on "the curve" to have a name.
  • For all the possible scenarios to have an explanatory picture.

In the current state, I worry people wouldn't understand. (If I didn't already understand, I think the current explanation would leave me confused.)

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