CADETProcess.optimization.Population.plot_pareto

CADETProcess.optimization.Population.plot_pareto#

Population.plot_pareto(plot=None, include_meta=True, plot_infeasible=True, color_feas='blue', color_infeas='red', 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.

include_metabool, optional

If True, include meta scores in the plot. The default is True.

plot_infeasiblebool, optional

If True, plot infeasible points. The default is True.

color_feasstr, optional

The color for the feasible points. The default is ‘blue’.

color_infeasstr, optional

The color for the infeasible points. The default is ‘red’.

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.