gemseo / core

Hide inherited members

serializable module

The baseclass for serializable GEMSEO objects.

class gemseo.core.serializable.Serializable[source]

Bases: object

Base class to handle serialization of GEMSEO objects.

The methods __setstate__ and __getstate__ used by pickle to serialize and de-serialize objects are overloaded to handle Synchronized attributes. It is also possible to define the attributes that shall be ignored at serialization.

For the attributes that are ignored at serialization, it is necessary to handle the way they are retrieved and recreated by overloading __setstate__ and/or __getstate__ from the subclasses.

Examples using Serializable

Comparing sensitivity indices

Comparing sensitivity indices

Correlation analysis

Correlation analysis

Morris analysis

Morris analysis

Sobol’ analysis

Sobol' analysis

Analytical test case # 1

Analytical test case # 1

Analytical test case # 2

Analytical test case # 2

Analytical test case # 3

Analytical test case # 3

Examples for constraint aggregation

Examples for constraint aggregation

A from scratch example on the Sellar problem

A from scratch example on the Sellar problem

Discipline

Discipline

Multistart optimization

Multistart optimization

Change the seed of a DOE

Change the seed of a DOE

Error from surrogate discipline

Error from surrogate discipline

Scaling

Scaling

MDAChain with independent parallel MDAs

MDAChain with independent parallel MDAs

Check the Jacobian of a discipline

Check the Jacobian of a discipline

Compute the Jacobian of a discipline analytically

Compute the Jacobian of a discipline analytically

Compute the Jacobian of a discipline with finite differences

Compute the Jacobian of a discipline with finite differences

Create a discipline from an external executable

Create a discipline from an external executable

Create a discipline that uses pandas DataFrames

Create a discipline that uses pandas DataFrames

Rename the input and output variables

Rename the input and output variables