gemseo.post.constraints_history module#
A matrix of constraint history plots.
- class ConstraintsHistory(opt_problem)[source]#
Bases:
BasePost
[ConstraintsHistory_Settings
]A matrix of constraint history plots.
A blue line represents the values of a constraint w.r.t. the iterations.
A background color indicates whether the constraint is satisfied (green), active (white) or violated (red).
A horizontal black line indicates the value for which an inequality constraint is active or an equality constraint is satisfied, namely \(0\). A horizontal black dashed line indicates the value below which an inequality constraint is satisfied with a tolerance level, namely \(\varepsilon\).
For an equality constraint, the horizontal dashed black lines indicate the values between which the constraint is satisfied with a tolerance level, namely \(-\varepsilon\) and \(\varepsilon\).
A vertical black line indicates the last iteration (or pseudo-iteration) where the constraint is (or should be) active.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
opt_problem (OptimizationProblem) -- The optimization problem to be post-processed.
- Settings#
alias of
ConstraintsHistory_Settings