gemseo_pymoo / post

Show inherited members

compromise module

Compromise points for multi-criteria decision-making.

class gemseo_pymoo.post.compromise.Compromise(opt_problem)[source]

Bases: ScatterPareto

Scatter plot with pareto front and compromise points.

See Compromise Programming.

Note

This post-processor assumes the optimization has converged to a well-defined pareto front.

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.

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.

fig_name_prefix: str = 'compromise'

The figure’s name prefix.

fig_title: str = 'Compromise Points'

The figure’s title.

materials_for_plotting: dict[Any, Any]

The materials to eventually rebuild the plot in another framework.

opt_problem: OptimizationProblem

The optimization problem.