Skip to main content
. 2021 May 23;13(11):1702. doi: 10.3390/polym13111702
Algorithm 4 Pseudocode of NMRV 3.0
Input:Define objective functionf(NMR), NMR = (NMR1, NMR2, . . ., NMRD)
Output:Identify current best solutiond;
Initialization:Initialize NMRs: n, breedersB:n/5, workersW:Bn
             Describe breeding probability: bp
        Update the current population with EOBL;
while iterations <itmax
for i = 1: w
Lit=wit+u*(wn_optwit)+v*(wptwqt)
                wit+1=Lit+λ(wjtwkt)
evaluate]wit+1
             end for
for i = 1: B
if rand >bp
bit+1=(1λ)bit+λ(dbit)
end if
evaluatebit+1
end for
combine the updated breeder and worker population
estimate the NMRs
update the overall best d
update iteration count
end while
update final bestd
end