gemseo.post.factory module#
A factory of post-processors.
- class PostFactory[source]#
Bases:
BaseFactory[BasePost[Any]]A factory of post-processors.
- Return type:
Any
- execute(opt_problem, settings_model=None, **settings)[source]#
Post-process an optimization problem.
- Parameters:
opt_problem (OptimizationProblem) -- The optimization problem to be post-processed.
settings_model (BasePostSettings | None) -- The post-processor settings as a Pydantic model. If
None, use**settings.**settings (Any) -- The post-processor settings, including the algorithm name (use the keyword
"post_name"). These arguments are ignored whensettings_modelis notNone.
- Returns:
The post-processor.
- Return type:
BasePost[Any]