gemseo.post.obj_constr_hist module#

History of the maximum constraint and objective value.

class ObjConstrHist(opt_problem)[source]#

Bases: BasePost[ObjConstrHist_Settings]

History of the maximum constraint and objective value.

The objective history is plotted with a line over the maximum constraint history plotted with the green-white-red color bar:

  • white: the constraint is active;

  • green: the equality constraint is violated while the inequality one is satisfied;

  • red: the inequality constraint is violated.

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

Parameters:

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

Settings#

alias of ObjConstrHist_Settings