gemseo.formulations.bilevel_bcd module#
A Bi-level formulation using the block coordinate descent algorithm.
- class BiLevelBCD(disciplines, objective_name, design_space, settings_model=None, **settings)[source]#
Bases:
BiLevel
Block Coordinate Descent bi-level formulation.
This formulation draws an optimization architecture that involves multiple optimization problems to be solved in order to obtain the solution of the MDO problem.
At each iteration on the global design variables, the bi-level-BCD MDO formulation implementation performs:
a first MDA to compute the coupling variables,
a loop on several disciplinary optimizations on the local design variables using an
MDAGaussSeidel
,an MDA to compute precisely the system optimization criteria.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
disciplines (Sequence[Discipline]) -- 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.
settings_model (BiLevel_BCD_Settings | None) -- The settings of the formulation as a Pydantic model. If
None
, use**settings
.**settings (Any) -- The settings of the formulation. This argument is ignored when
settings_model
is notNone
.
- Settings#
alias of
BiLevel_BCD_Settings
- property bcd_mda: MDAGaussSeidel#
The MDA of the BCD algorithm.