Skip to content

← Back to subsystem2

LocalObjective2

Source: userfiles/SSBJ/subsystem2/LocalObjective2.py

Local objective module for Subsystem 2 in the Supersonic Business Jet (SSBJ) problem.

Classes

LocalObjective2

Inherits from: LocalObjectiveInterface

Local objective class for Subsystem 2: no local objective.

Attributes:

None specific to this class; inherits from LocalObjectiveInterface.

Methods

init(self) → None

Initialize LocalObjective2 instance.

evaluateLocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the local objective function for Subsystem 2.

Computes the local objective value from the subsystem responses, scales it using the appropriate scaler, and stores the result in the subsystem.

Args:

subsystem: The local subsystem instance providing responses
and scaling variables.

evaluate_Gradient_LocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the gradient of the local objective function.

Args:

subsystem: Local subsystem instance.

evaluate_Hessian_LocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Hessian of the local objective function.

Args:

subsystem: Local subsystem instance.