CADETProcess.optimization.Population.plot_pareto#
- Population.plot_pareto(plot=None, color=None, show=True, plot_directory=None)[source]#
Plot pairwise Pareto fronts for each generation in the optimization.
The Pareto front represents the optimal solutions that cannot be improved in one objective without sacrificing another. The method shows a pairwise Pareto plot, where each objective is plotted against every other objective in a scatter plot, allowing for a visualization of the trade-offs between the objectives.
- Parameters:
- plotpymoo.visualization.scatter.Scatter, optional
Base figure. If None is provided, a new one will be set up.
- colorstr, optional
Color for scatter points.
- showbool, optional
If True, display the plot. The default is True.
- plot_directorystr, optional
The directory where the plot should be saved. The default is None.
- Returns:
- pymoo.visualization.scatter.Scatter
The scatter plot object.