gemseo_pymoo / post / core

Show inherited members

multi_objective_diagram module

Multi-objective diagram base class.

class gemseo_pymoo.post.core.multi_objective_diagram.MultiObjectiveDiagram(opt_problem)[source]

Bases: OptPostProcessor

Base class for post-processing of multi-objective problems.

Parameters:

opt_problem (OptimizationProblem) – The optimization problem to be post-processed.

Raises:

ValueError – If the JSON grammar file for the options of the post-processor does not exist.

DEFAULT_FIG_SIZE = (10, 6)

The default width and height of the figure, in inches.

SCALARIZATION_FUNCTIONS: dict[str, str] = {'aasf': 'Augmented Achievement Scalarization Function', 'asf': 'Achievement Scalarization Function', 'pbi': 'PBI', 'perp_dist': 'Perpendicular Distance', 'tchebi': 'Tchebysheff', 'weighted-sum': 'Weighted Sum'}

The alias and the corresponding name of the scalarization functions.

database: Database

The database generated by the optimization problem.

font_size: int = 9

The font size for the plot texts.

materials_for_plotting: dict[Any, Any]

The materials to eventually rebuild the plot in another framework.

opt_problem: OptimizationProblem

The optimization problem.