← Back to subsystem1
LocalObjective1¶
Source: userfiles/GeometricProgramming/subsystem1/LocalObjective1.py
Local objective module for Subsystem 1 in the Geometric Programming problem.
This module defines the LocalObjective1 class which implements the local objective function computation for Subsystem 1 in the distributed design optimization framework.
Classes¶
LocalObjective1¶
Inherits from: LocalObjectiveInterface
Local objective class for Subsystem 1.
Implements the LocalObjectiveInterface to compute the local objective function contribution for Subsystem 1 in the Geometric Programming problem. This subsystem has no local objective (set to None).
Attributes:
None specific to this class; inherits from LocalObjectiveInterface.
Methods¶
init(self) → None
Initialize the LocalObjective1 instance.
evaluateLocalObjective(self, subsystem: LocalSubSystemBasis) → None
Evaluate the local objective function for Subsystem 1.
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: The local subsystem instance.
evaluate_Hessian_LocalObjective(self, subsystem: LocalSubSystemBasis) → None
Evaluate the Hessian of the local objective function.
Args:
subsystem: The local subsystem instance.