Skip to main content
. 2021 May 23;13(11):1702. doi: 10.3390/polym13111702
Algorithm 2 Pseudocode of NMRV 1.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
wit+1=wit+λ(wjtwkt)
evaluatewit+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