gemseo / post

gradient_sensitivity module

Plot the derivatives of the functions

class gemseo.post.gradient_sensitivity.GradientSensitivity(opt_problem)[source]

Bases: gemseo.post.opt_post_processor.OptPostProcessor

The GradientSensitivity post processing builds histograms of derivatives of objective and constraints

The plot method considers the derivatives at the last iteration. The iteration can be changed in option. The x- and y- figure sizes can also be modified in option. It is possible either to save the plot, to show the plot or both.

Constructor

Parameters

opt_problem – the optimization problem to run