Skip to main content
. Author manuscript; available in PMC: 2018 May 1.
Published in final edited form as: IEEE Trans Ultrason Ferroelectr Freq Control. 2017 Mar 14;64(5):811–825. doi: 10.1109/TUFFC.2017.2682061

Algorithm 2.

Regularized dual averaging (RDA) method

Input: c0, λ
Output:
c^
  1: k ← 0 {k is the algorithm iteration number.}
  2: A−1 ← 0
  3: while stopping criterion is not satisfied do
  4:  Draw wk according to chosen distribution.
  5:  Calculate Gk ← ∇c f (ck, wk)
  6:  Choose weight αk > 0 {Unweighted case: αk = 1}
  7: AkAk−1+αk
  8: G¯k(1αkAk)G¯k1+αkAkGk {Compute weighted average of gradient.}
  9:  Choose μk {For example, μk = γAk, where γ > 0 is a constant.}
10: ck+1c0μkG¯k
11: ck+1proxλμk(ck+1)
12: kk+1
13: end while
14:
c^ck