time | Calls | line |
---|
| | 187 | function print_admm(iter, fvals, p_res,d_res,Rdiff, xdiff, flag)
|
| | 188 |
|
| | 189 |
|
0.006 | 14190 | 190 | if iter == 1
|
0.019 | 1 | 191 | fprintf('iter \t obj \t p-res \t d_res \t Rdiff \t xdiff \n')
|
< 0.001 | 1 | 192 | end
|
| | 193 |
|
| | 194 | % print the information every 100 iteration or flag = 1 for last iteration
|
0.021 | 14190 | 195 | if mod(iter,100)==0 || flag == 1
|
0.062 | 142 | 196 | fprintf('%i \t %8.7g \t %12.5e \t %12.5e \t %12.5e \t %12.5e \n',...
|
| 142 | 197 | iter,fvals,p_res,d_res,Rdiff,xdiff)
|
< 0.001 | 142 | 198 | end
|
| | 199 |
|
0.009 | 14190 | 200 | end
|
Other subfunctions in this file are not included in this listing.