gemseo.mda.gs_newton module#

A chain of MDAs to build hybrids of MDA algorithms sequentially.

class MDAGSNewton(disciplines, gauss_seidel_settings=mappingproxy({}), newton_settings=mappingproxy({}), settings_model=None, **settings)[source]#

Bases: MDASequential

Perform some Gauss-Seidel iterations and then Newton-Raphson iterations.

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

Parameters:
  • disciplines (Sequence[Discipline]) -- The disciplines from which to compute the MDA.

  • gauss_seidel_settings (MDAGaussSeidel_Settings | StrKeyMapping) --

    The description is missing.

    By default it is set to {}.

  • newton_settings (MDANewtonRaphson_Settings | StrKeyMapping) --

    The description is missing.

    By default it is set to {}.

  • settings_model (MDASequential_Settings | None) -- The MDA settings as a Pydantic model. If None, use **settings.

  • **settings (Any) -- The MDA settings. These arguments are ignored when settings_model is not None.

Settings#

The pydantic model for the settings.

alias of MDAGSNewton_Settings

settings: MDAGSNewton_Settings#

The settings of the MDA