gemseo / problems / scalable / parametric / core / disciplines

Hide inherited members

main_discipline module

The main discipline.

class gemseo.problems.scalable.parametric.core.disciplines.main_discipline.MainDiscipline(*t_i, **default_input_values)[source]

Bases: BaseDiscipline

The main discipline of the scalable problem.

It computes the objective \(x_0^Tx_0 + \sum_{i=1}^N y_i^Ty_i\). and the left-hand side of the constraints \(t_1-y_1\leq 0,\ldots,t_N-y_N\leq 0\).

Parameters:
  • *t_i (NDArray[float]) – The threshold vectors \(t_1,\ldots,t_N\).

  • **default_input_values (NDArray[float]) – The default values of the input variables.

input_names: list[str]

The names of the input variables.

input_names_to_default_values: Mapping[str, NDArray[float]]

The default values of the input variables.

name: str

The name of the discipline.

names_to_sizes: dict[str, int]

The sizes of the input and output variables.

output_names: list[str]

The names of the output variables.