Skip to content

← Back to subsystem1

LocalObjective1

Source: userfiles/Sellar/subsystem1/LocalObjective1.py

Local objective module for Sellar subsystem 1.

Defines the local objective function contribution from subsystem 1 in the Sellar distributed optimization problem.

Classes

LocalObjective1

Inherits from: LocalObjectiveInterface

Local objective class for Sellar subsystem 1.

Subsystem 1 has no local objective contribution (set to None).

Attributes:

None specific to this class; inherits from LocalObjectiveInterface.

Methods

init(self) → None

Initialize LocalObjective1 instance.

evaluateLocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the local objective function for subsystem 1.

Args:

subsystem: The local subsystem basis containing state information.

evaluate_Gradient_LocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the gradient of the local objective function.

Args:

subsystem: The local subsystem basis containing state information.

evaluate_Hessian_LocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Hessian of the local objective function.

Args:

subsystem: The local subsystem basis containing state information.