Algorithm 3.
Input: c0, Ak−1, wk, Gk, , f (ck, wk), λ, αmax | ||
Output: αk {Weight for k-th iteration.} | ||
1: | {αmax is the initial guess for the weight.} | |
2: | found ← false | |
3: | while not found do | |
4: | ||
5: | ||
6: | {Should be consistent with Alg. 2.} | |
7: | ||
8: | if then | |
9: | found ← true | |
10: | else | |
11: | ||
12: | end if | |
13: | end while | |
14: |
|