-
Notifications
You must be signed in to change notification settings - Fork 21
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 Gradient Descent Method for e.g., BCG #549
Conversation
includes algorithm, example, and test file |
please also check that the example is contained in the example test -> not sure what triggers it and where it needs to be registered |
some tests are failing but they seem unrelated to the adaptive gradients but happening in BPCG with many "useless steps" - similar to what we have experienced in the comp context @matbesancon @dhendryc . Did we have recent changes to BPCG that might have created this? |
This should hopefully fix it. |
Co-authored-by: Hendrych <dhendryc@mob-009366.zib.de>
Finally solution for CTRL-C #159 via the best intern! |
the try catch block is a solution but we should be careful with it, top of my head it can have a significant performance impact |
I replaced the ad-hoc prox with the function defined in ProximalCore, it's lightweight enough and it means we can have all the proxes in the world through the ProximalOperators added in the extension. The only ones I kept are identity and the simplex prox for BCG |
yes indeed - we were thinking of building a macro wrapper that only sets a flag "interrupted" that we catch in the while statement and also have a flag that fully deactivates it. we want to push this also to downstream codes as boscia similar to scip and gurobi. @dhendryc @matbesancon |
i am getting lots of precompile warnings and errors now: Info Given FrankWolfe was explicitly requested, output will be shown live |
Last thing needed is removing the tests on the prox operators since these are now in ProximalOperators.jl and replace the call to the prox functions |
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 good to me! I'm made some minor modifs, nothing important.
Thanks! Was there a reason for d6c9335 |
The goal is to have the tests messages aligned, but I acknowledge that's mostly a symptom of my neurosis... |
This reverts commit d6c9335.
Implementation of the two adaptive gradient descent methods from https://arxiv.org/abs/2308.02261 for usage with e.g., BCG and other methods that use gradient descent as subroutine.
Current version is the unconstrained one that should be sufficient for our applications