factory module¶
Formulate a multidisciplinary design problem under uncertainty.
- class gemseo_umdo.formulations.factory.UMDOFormulationsFactory[source]¶
Bases:
MDOFormulationsFactory
The factory of
UMDOFormulation
.- Parameters:
cls – The base class.
module_names – The names of the modules to search in.
- create(formulation_name, disciplines, objective_name, design_space, maximize_objective=False, **options)¶
Create a formulation.
- Parameters:
formulation_name (str) – The name of a class implementing a formulation.
disciplines (Sequence[MDODiscipline]) – The disciplines.
objective_name (str) – The name(s) of the discipline output(s) used as objective. If multiple names are passed, the objective will be a vector.
design_space (DesignSpace) – The design space.
maximize_objective (bool) –
Whether to maximize the objective.
By default it is set to False.
**options – The options for the creation of the formulation.
- Return type:
- is_available(formulation_name)¶
Check the availability of a formulation.