gemseo.problems.mdo.sellar.sellar_design_space module#

The design space for the customizable Sellar MDO problem.

class RealOrComplexDType(*values)[source]#

Bases: StrEnum

A real or complex NumPy data type.

COMPLEX = 'complex128'#
FLOAT = 'float64'#
class SellarDesignSpace(dtype=RealOrComplexDType.COMPLEX, n=1, add_couplings=True)[source]#

Bases: DesignSpace

The design space for the customizable Sellar MDO problem.

  • \(x_1\in[0., 10.]^n\) (initial: 1),

  • \(x_2\in[0., 10.]^n\) (initial: 1),

  • \(x_{shared,1}\in[-10., 10.]\) (initial: 4),

  • \(x_{shared,2}\in[0., 10.]\) (initial: 3),

  • \(y_1\in[-100., 100.]^n\) (initial: 1),

  • \(y_2\in[-100., 100.]^n\) (initial: 1),

where \(n\) is the size of the local design variables and coupling variables.

Parameters:
  • dtype (RealOrComplexDType) --

    The type of the variables defined in the design space.

    By default it is set to "complex128".

  • n (int) --

    The size of the local design variables and coupling variables.

    By default it is set to 1.

  • add_couplings (bool) --

    Whether to add the coupling variables to the design space.

    By default it is set to True.