Skip to main content
. 2019 Dec 3;19(23):5335. doi: 10.3390/s19235335
Algorithm 1 Solving Problem (29) using ADMM.
  • Input: 

    The observed tensor M_, the parameters γ,λ,ρ,δ.

  • 1:

    Initialize t=0, L_0=S_0=K_0=R_0=Y_10=Y_20=0_Rn1×n2×n3

  • 2:

    for t=0,,Tmax do

  • 3:

    Update (L_t+1,S_t+1) by Equation (33);

  • 4:

    Update (K_t+1,R_t+1) by Equations (35)–(36);

  • 5:

    Update (Y_1t+1,Y_2t+1) by Equation (37);

  • 6:
    Check the convergence criteria:
    • (i)
      convergence of variables: A_t+1A_tδ,A_{L_,S_,K_,R_},
    • (ii)
      convergence of constraints: max{K_t+1L_t,R_t+1S_t+1}δ.
  • 7:

    end for

  • Output: 

    (L_^,S_^)=(L_t+1,S_t+1).