Setting Pareto FronI want to set the Pareto Front using genetic algorithm
Show older comments
I'm using multiobjective genetic algorithm to optimize a fitness function. When I plot the Pareto Front, I obtain few points on the chart. How can I set the plot to have more points plotted?
Answers (1)
Alan Weiss
on 11 Jan 2023
Edited: Alan Weiss
on 11 Jan 2023
You can take a larger population. For example,
options = optimoptions('gamultiobj','PopulationSize',300);
Make sure to pass options in your call to gamultiobj.
You might also obtain a better-looking curve by using paretosearch instead of gamultiobj.
Alan Weiss
MATLAB mathematical toolbox documentation
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!