gemseo / problems / mdo / scalable / parametric / core

Show inherited members

variable module

A variable.

class gemseo.problems.mdo.scalable.parametric.core.variable.Variable(name, size, lower_bound, upper_bound, default_value)[source]

Bases: NamedTuple

A variable.

Create new instance of Variable(name, size, lower_bound, upper_bound, default_value)

Parameters:
  • name (str) –

  • size (int) –

  • lower_bound (NDArray[float]) –

  • upper_bound (NDArray[float]) –

  • default_value (NDArray[float]) –

default_value: NDArray[float]

The default_value of the variable.

lower_bound: NDArray[float]

The lower bound of the variable.

name: str

The name of the variable.

size: int

The size of the variable.

upper_bound: NDArray[float]

The upper bound of the variable.