Skip to main content
. 2021 Sep 30;21(19):6567. doi: 10.3390/s21196567
Algorithm 1. Pseudo code for optimization for the environmental and economic nonlinear model by ANN-GA-IPA.
Start GA
 Inputs: To measure the chromosomes of the same network element as:
 W = [n,w,l]
 Population: Set of chromosome is given as:
 WX=[nX,ωX,lX], WY=[nY,ωY,lY] and WZ=[nZ,ωZ,lZ].
 Output: Global weight values are WGB
 Initialization: To adjust the chromosomes selection, adjust the WGB.
 Fit Estimation: Modify the values of FIT (E) using the
 population (P) for systems 4 to 8
  • Stopping standards: Terminate if [Iterations = 60], [E = 10−06], [TolCon = 10−10], [StallLimit = 120], [TolFun = 10−10] & [PopSize = 200].

    Go to storage

 Ranking: For the FIT (E), rank WGB in population.
 Storage: Store WGB, time, iterations, E & count of function for the
 GA.
GA process Ends
IPA Starts
 Inputs: WGB is the Start point:
 Output: The best GAIPA weights are represented as WGIPA 
 Initialize: Iterations, Assignments & WGB.
 Terminating Standards: Stop, if [E = 10−12], [MaxFunEvals = 100,000], [TolX = 10−12], [TolFun = 10−12] & [Iterations = 500].
 FIT approximation: Compute FIT & WGIPA using Equations (4) to (8).
 Amendments: Regulate ‘fmincon’ for the values of IPA, E to
 improve the ‘W’ for Equations (4)–(8).
 Accumulate: Transform WGIPA, function counts, time FIT,
 iterations for the IPA present runs.
IPA End