Closed jeverink closed 2 weeks ago
Thanks for all the feedback @nabriis.
I have now incorporated some of the feedback and like to have some feedback on some of the open conversations. Regarding the general cleaning up of the solver module, many of the comments also hold for many, if not all, of the other solvers. What do you think about making those a separate issue, to be cleaned up in a separate PR after this one? That might also help with keeping the pace up with all the smaller PRs to come.
The general issues your commented on summed up:
callable f(x,*args)
to callable with arguments (x, *args)
, possibly with extra information regarding the arguments.x0
?I also just noted that the two tests that fail seem to be are regarding sampling from the RegularizedGaussian/GMRF, which should not have been effected by the changes of this code. The only related change in this PR is a reordering of the parameters of FISTA (problem specific before algorithmic specific), but that should not cause these numerical issues. Do you see what might have gone wrong?
Thanks for the help @nabriis, I have now fixed the test (I accidentally copy-pasted that one line that broke it all), and made some more final small improvements.
Thanks for the feedback @amal-ghamdi, I have now updated the documentation and changed some of the variable names to be more inline with the reference article.
By request, sub PR from https://github.com/CUQI-DTU/CUQIpy/pull/431
Added ADMM solver
closes #562