gemseo / formulations

formulations_factory module

A factory to instantiate a formulation or check its availability.

class gemseo.formulations.formulations_factory.MDOFormulationsFactory[source]

Bases: gemseo.core.base_formulation.BaseFormulationsFactory

A factory of MDOFormulation.

Return type

None

create(formulation_name, disciplines, objective_name, design_space, **options)

Create a formulation.

Parameters
Return type

gemseo.core.base_formulation.BaseFormulation

is_available(formulation_name)

Check the availability of a formulation.

Parameters

formulation_name (str) – The formulation name to check.

Returns

Whether the formulation is available.

Return type

bool

property formulations: list[str]

The available formulations.