ADMM_proj: ADMM algorithm

Description Usage Arguments Value See Also Examples

View source: R/ADMM_proj.R

Description

Finds the nearest positive semi-definite matrix with respect to the max norm

Usage

1
2
3
4
5
6
7
8
ADMM_proj(
  mat,
  epsilon = 1e-04,
  mu = 10,
  it.max = 1000,
  etol = 1e-04,
  etol_distance = 1e-04
)

Arguments

mat

Matrix to be projected

epsilon

Approximation of the space of positive semi-definite matrix at epsilon

mu

Penalty parameter of ADMM algorithm

it.max

Number maximum of iterations

etol

Tolerance parameter for the convergence of primal and dual residual

etol_distance

Tolerance parameter for the convergence of the distance

Value

list containing

See Also

https://web.stanford.edu/~boyd/papers/pdf/admm_distr_stats.pdf

Examples

1
2
M = matrix(-1,20,20)
mat_proj <- BDcocolasso::ADMM_proj(mat=M)$mat

celiaescribe/BDcocolasso documentation built on Feb. 11, 2020, 11:41 p.m.