gemseo.post.opt_history_view module#

Plot the history of the design variables, objective and constraints.

class OptHistoryView(opt_problem)[source]#

Bases: BasePost[OptHistoryView_Settings]

Plot the history of the design variables, objective and constraints.

This post-processing generates one plot for the design variables, one plot for the Euclidean distance to the optimal design vector, one plot for the objective, one plot for the equality constraints (if any) and one plot for the inequality constraints (if any).

Initialize self. See help(type(self)) for accurate signature.

Parameters:

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

Settings#

alias of OptHistoryView_Settings

x_label: ClassVar[str] = 'Iterations'#

The label for the x-axis.