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

Refactor convergence rules #331

Merged
merged 7 commits into from
Aug 30, 2024
Merged

Conversation

odespard
Copy link
Collaborator

@odespard odespard commented Aug 29, 2024

Updates convergence rules to keep current functionality but allow them also work with negative values (useful in principle if we want to use a feature which reaches a minimum at the desired optimum -- we can just maximize the negative) and cope if parameter values increase during optimization (which is unusual but can happen). Also splits the behaviour currently activated by favour_narrower_parameter in two: continuing until a significant decrease is enabled now by try_narrower_values in the calibration field, while choosing the narrowest parameter within a certain deviation from the maximum is enabled by favour_narrower_optimum in the calibration field.

@odespard odespard requested a review from mschwoer August 29, 2024 12:16
Base automatically changed from additional_convergence_criterion to development August 30, 2024 08:01
alphadia/workflow/optimization.py Outdated Show resolved Hide resolved
alphadia/workflow/optimization.py Outdated Show resolved Hide resolved
alphadia/workflow/optimization.py Outdated Show resolved Hide resolved
alphadia/workflow/optimization.py Outdated Show resolved Hide resolved
@odespard odespard merged commit 1332c70 into development Aug 30, 2024
5 checks passed
@odespard odespard deleted the refactor_convergence_rules branch August 30, 2024 13:22
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