-
-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pareto front solutions #313
Comments
You can use the pareto_fronts property. ga_inst = pygad.GA(..., parent_selection_type='nsga2')
ga_inst.pareto_fronts |
Yes, this is what I did. To give some context, I'm interested in finding the weights for capacity allocation to wind farms. If the generation of each farm is represented by So when I access the pareto fronts using I get an array of the pareto front fitness values: where I'm interested in the weights, Also- follow up question, the way I ensure that I have a helper function called
when the fitness of each solution is calculated as:
I still get solutions that violate the constraints, also, I get many instances of |
Hi there,
I'm using the multi-objective pygad implementation with parent_selection_type='nsga2'. I'm interested in the pareto optimal solutions. I can easily plot and extract the fitness values on the pareto front, but how to I access the solutions that are related to the pareto optimal fitness values. For example, if my pareto front plot looks like this:
how do I index the solutions (genes) that correspond to the pareto fitness values?
Kind regards,
Lise
The text was updated successfully, but these errors were encountered: