Setting Pareto FronI want to set the Pareto Front using genetic algorithm

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)

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

Asked:

on 10 Jan 2023

Edited:

on 11 Jan 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!