gemseo / post

constraints_history module

A constraints plot

class gemseo.post.constraints_history.ConstraintsHistory(opt_problem)[source]

Bases: gemseo.post.opt_post_processor.OptPostProcessor

The ConstraintsHistory post processing plots the constraints functions history in lines charts with violation indication by color on background.

The plot method requires the list of constraint names to plot. It is possible either to save the plot, to show the plot or both.

Constructor

Parameters

opt_problem – the optimization problem to run