The default 'select_fun' parameter for optim_nsga is 'select_ga_elitist', which correctly computes Efficiency.
So Efficiency yielded an erroneous value (at least, not optimal) on the first iteration,
then it was updated to the proper value thanks to 'select_ga_elitist'.
Change-Id: Ibdd9c1ec653c49d4c8f92eb1613acbca10c318b6
* Bug #13012 fixed - Vectorial export of rotated strings was wrong.
-* Bug #13014 fixed - Improvement for the optim_ga algorithm: update of the Efficiency inner variable.
+* Bug #13014 fixed - Update of the Efficiency inner variable improved in optim_ga.
+
+* Bug #13015 fixed - Computation of Efficiency innver variable improved in optim_ga.
Xcos Bug Fixes
FObj_Pop_Min = min(FObj_Pop);
// Normalization of the efficiency
- Efficiency = (1 - pressure) * (FObj_Pop - FObj_Pop_Min) / max([FObj_Pop_Max - FObj_Pop_Min %eps]) + pressure;
+ Efficiency = (1 - pressure) * (FObj_Pop_Max - FObj_Pop) / max([FObj_Pop_Max - FObj_Pop_Min %eps]) + pressure;
//
// Selection