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

Use batch index at optimum #329

Merged
merged 6 commits into from
Aug 29, 2024
Merged

Use batch index at optimum #329

merged 6 commits into from
Aug 29, 2024

Conversation

odespard
Copy link
Collaborator

At present, if the optimization proceeds beyond the optimum, it may cause an increase in the batch index. The next round will then start from the higher batch instead of the batch index of the optimum. This code changes it to take the batch index of the optimum, at the cost of potentially getting the batch library twice if these are the same. (But the time impact of this is negligible and the benefits can be significant.)

@odespard odespard requested a review from mschwoer August 28, 2024 16:22
alphadia/workflow/optimization.py Outdated Show resolved Hide resolved
Base automatically changed from define_rt_target_as_fraction to development August 29, 2024 08:35
@odespard odespard merged commit e75f5b2 into development Aug 29, 2024
5 checks passed
@odespard odespard deleted the backtrack_batch_id branch August 29, 2024 10:00
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