Skip to main content
. 2020 Nov 17;142:110480. doi: 10.1016/j.chaos.2020.110480

Algorithm 1.

The GA algorithm to find the optimal γ,β,α.

Set the objective function and the maximum iteration number
Input: The original parameters β,γ,α, original data and the number of modelling data
Output: The best β,γ,α
for β(1,+)do
Substitute β,γ,α to P^=(BTB)1BTY and obtain parameters P=(a,b,c)T
Substitute parameters to discrete equation Eq. (14) and compute the simulation value to obtain X^(1)(k)
Compute X^(0)(k) in Eq. (16)
Compute APE and MAPE in Table 2.
End
Update the minimum MAPE value
Return the best β,γ,α by the GA algorithm.