You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current PyGAD implementation, the stop_criteria parameter references the fitness function's return value to determine when the desired fitness has been achieved. For example:
In this case, the reach_127.4 is pretty clear with what it does. However, the docs do not specify how stop_criteria works in the context of multi-objective optimization, where the fitness function returns multiple values like here:
From a quick look at the code I deduced that pygad actually supports it, but it's just not mentioned in the docs. So if I'm correct something like this works just fine for multi-objective optimization:
In the current PyGAD implementation, the
stop_criteria
parameter references the fitness function's return value to determine when the desired fitness has been achieved. For example:In this case, the
reach_127.4
is pretty clear with what it does. However, the docs do not specify howstop_criteria
works in the context of multi-objective optimization, where the fitness function returns multiple values like here:From a quick look at the code I deduced that pygad actually supports it, but it's just not mentioned in the docs. So if I'm correct something like this works just fine for multi-objective optimization:
If that's the case, it would be great to have docs updated to reflect this mechanism
The text was updated successfully, but these errors were encountered: