Closed migarstka closed 6 years ago
Right now I am using the following (based on the optimality conditions of the problem):
r_prim1 = norm(A*xNew - zNew,Inf)
r_prim2 = norm( (xNew - sNew),Inf)
r_dual = norm(P*xNew + q + λNew + A'*ν,Inf)
Confirmed by Paul and Mark, just have to make sure that terms are normalized properly. Implemented in commit 8576894
Find the correct residuals for the SDP case to have a working termination criterion. Currently, the following is used:
Problem:
Argument for feasibility of other primal variables: z = b, x = s is ensured by projections and therefore not necessarily considered in the primal residual
Strictly following the Boyd ADMM paper the dual residual should be: