1:Initial: K̅(1) = K(0) = 0, m(1) = 1; | ||
2:Initial: η = 1.0×10−3, δ; | ||
3: For n = 1, 2, …, J; | ||
4: | Ks = K̅(n) − r(n+1) AT (AK̅(n) − C), | |
5: |
|
|
|
||
|
||
6: | For d = 1, 2, ⋯, D; | |
7: | If d == 1; | |
8: |
|
|
9: | Else | |
10: | End If ; | |
11: | End For; | |
12: | K(n) = K(n−1)+D; | |
13: |
|
|
14: | K̅(n+1) = K(n) + ((m(n) − 1) / m(n+1))(K(n) − K(n−1)); | |
15: | η = 0.995* η; | |
16: End For; | ||
17: K̂ = K(N); | ||
18: Return K̂. |