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

Pareto front on Binh and Korn problem using a BiLevel formulation

Pareto front on Binh and Korn problem using a BiLevel formulation

Multistart optimization

Multistart optimization

Analytical test case # 1

Analytical test case # 1

Analytical test case # 2

Analytical test case # 2

Analytical test case # 3

Analytical test case # 3

A from scratch example on the Sellar problem

A from scratch example on the Sellar problem

MDAChain with independent parallel MDAs

MDAChain with independent parallel MDAs

Change the seed of a DOE

Change the seed of a DOE

Discipline

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

Rename the input and output variables

Rename the input and output variables

Comparing sensitivity indices

Comparing sensitivity indices

Correlation analysis

Correlation analysis

Morris analysis

Morris analysis

Sobol’ analysis

Sobol' analysis