easyiec.compat.popu_init#
- easyiec.compat.popu_init(LB, UB, nind=9, init_chrom=None, seed=None)[source]#
Initialize a population structure as in the EASY-IEC help.
devi = (UB-LB)/sqrt(nvar)/2for every individual andchrom = init_chrom + randn .* devi(clipped to the bounds; infinite bounds are replaced by ±10 standard deviations aroundinit_chrom).