Skip to content

← Back to subsystem1

LocalObjective1

Source: userfiles/TwoBarTruss/subsystem1/LocalObjective1.py

Local objective module for Two-Bar Truss subsystem 1.

Defines the local objective function contribution from bar 1 (no local objective contribution in this decomposition).

Classes

LocalObjective1

Inherits from: LocalObjectiveInterface

Local objective class for Two-Bar Truss subsystem 1.

Bar 1 has no local objective contribution (set to 0.0).

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.