gemseo.formulations.disciplinary_opt_settings module#

Settings of the DisciplinaryOpt formulation.

Settings DisciplinaryOpt_Settings(*, differentiated_input_names_substitute=())[source]#

Bases: BaseFormulationSettings

Settings of the DisciplinaryOpt formulation.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

differentiated_input_names_substitute (Sequence[str]) --

By default it is set to ().

Return type:

None

model_post_init(context, /)#

We need to both initialize private attributes and call the user-defined model_post_init method.

Parameters:
  • self (BaseModel)

  • context (Any)

Return type:

None