The admm_single_lambda() function would be better as void. That way it can update theta, alpha, u as well as return an objective value and count iterations. This would save some other computations as well, since you can init everything with the previous solution in the path.
The
admm_single_lambda()
function would be better asvoid
. That way it can updatetheta
,alpha
,u
as well as return an objective value and count iterations. This would save some other computations as well, since you can init everything with the previous solution in the path.