-
Notifications
You must be signed in to change notification settings - Fork 117
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
Adaptive threshold acceptance #156
Adaptive threshold acceptance #156
Conversation
Hi @TeoSkondras! 👋 Thanks for the PR, I'll try to have a look at this tomorrow! |
Great, I am waiting for your response. I am running the CI on my own repo because I see some style issues. I added some commits and I think it passes all the CI tests |
Codecov Report
@@ Coverage Diff @@
## master #156 +/- ##
==========================================
+ Coverage 99.44% 99.46% +0.02%
==========================================
Files 29 30 +1
Lines 719 746 +27
==========================================
+ Hits 715 742 +27
Misses 4 4
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good already, thanks! I have a few small remarks that should hopefully not take a lot of time to implement. Thanks again for the PR!
@N-Wouda I just finished implementing your feedback. The only thing I did not implement is To conform to the AcceptanceCriterion protocol, this method should have the signature you showed me. I cannot understand how to call the method with this signature. If you could explain (alns.tests.states, VarObj etc) I will fix it asap. |
Sure! You could have a look at the other tests (for the other acceptance criteria) to figure out how to call the method? It basically needs a few additional objects that are used by some (not all) other acceptance criteria. Here, you only need In those other tests you should see imports like from alns.tests.states import One, Zero etc. You can add |
@N-Wouda Thank you for the feedback and the clarifications. I committed my last changes, let me know about anything! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these are the last changes I have. Other than that we're nearly good to go. I will have another look at the documentation later, but that might also be after merging!
@N-Wouda Done I think! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the print statement? Otherwise looks good to me! Thanks for the PR! 🎉
I'll merge this in later today. Many thanks for the PR @TeoSkondras! |
…nto adaptive-threshold-acceptance
@N-Wouda I removed the forgotten print. My pleasure, I am really into OR (mainly VRP-type problems). I would love to exchange contact info with you for other projects! |
@TeoSkondras a bit late, my apologies, but if you like VRP-type stuff you might want to have a look at PyVRP as well! |
This PR: