- Notifications
You must be signed in to change notification settings - Fork71
Speedup, refactoring and modernization#76
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
s-celles commentedAug 25, 2023
Very pleased to see such a contribution. I'm no longuer maintaining this repository. I sent you and invite to be member ofhttps://github.com/python-constraint/ GH org and also grant you write access tohttps://github.com/python-constraint/python-constraint/ Kind regards Sébastien |
fjwillemsen commentedAug 25, 2023
@scls19fr thank you very much, I'll do my best :) |
s-celles commentedAug 25, 2023
Done. |
s-celles commentedAug 25, 2023
https://pypi.org/project/python-constraint/ belongs to@niemeyer so I can't give you access. |
fjwillemsen commentedAug 25, 2023
Thank you! I have contacted@niemeyer via email, for continuity it would be ideal to keep it on the same package, I hope this will be possible. |
…pdated dependencies, fixed an issue with getSolutionIter for OptimizedBacktrackingSolver
s-celles commentedAug 30, 2023
Great work! Thanks@fjwillemsen |
fjwillemsen commentedAug 30, 2023
Good suggestion! Renamed master branch to main |
fjwillemsen commentedOct 11, 2023
My emails to@niemeyer regarding PyPI access seem to go unanswered. @scls19fr could you perhaps get in touch with@niemeyer, or provide me with an alternative means of contact? My contact details are onmy website. |
s-celles commentedOct 11, 2023
what about a new name? |
fjwillemsen commentedOct 11, 2023
Yes, definitely, I had already created apython-constaint2 for beta testing. However, |
Uh oh!
There was an error while loading.Please reload this page.
Hi all! A while ago I implemented
python-constraintinKernel Tuner, an auto-tuning framework where we need to obtain all solutions on user-specified parameters and constraints before starting optimization.python-constraintworks great, but it had some room for improvement, especially performance-wise.I thus decided to fork
python-constraintand make some changes, the following:OptimizedBacktrackingsolver based onissue #62getSolutionsOrderedListandgetSolutionsAsListDictfunctions for efficient result shapingsetup.pytopyproject.tomlnoxfor local testing against all supported Python versionsrufffor codestyle testingIn all, this results in a huge speedup of >150x on a benchmark of 112 synthetic searchspaces:

I'd like to hear what the mainainers think about these changes and would be happy to see them integrated! Before releasing this, I think it would be a good idea to revise the package publishing process, and consider switching to GitHub Actions (I can help with this). If there are any questions, please let me know!