Skip to content

← Back to designproblem

LocalObjectiveInterface

Source: Distributed_Design_Optimizer/subsystem/optimization/designproblem/LocalObjectiveInterface.py

Local objective interface module.

This module defines the abstract interface for local subsystem objectives.

Classes

LocalObjectiveInterface

Inherits from: ABC

Interface for the class that defines the local objective function value.

Methods

evaluateLocalObjective(self, subsystem: SubSystemInterface) → None

📐 Pseudocode: Solve subsystem optimization (argmin) (Line 11) → Unified Algorithmic Structure; User-defined local objective evaluation (Line 12) → SubSystemBasis.run_IterativeOptimization

Evaluate the objective function of a subsystem.

Args:

subsystem: The subsystem interface for which the local objective
function is evaluated.

evaluate_Gradient_LocalObjective(self, subsystem: SubSystemInterface) → None

Evaluate the gradient of the objective function for the components that are known.

Args:

subsystem: The subsystem interface for which the gradient is
evaluated.

evaluate_Hessian_LocalObjective(self, subsystem: SubSystemInterface) → None

Evaluate the Hessian of the objective function for the components that are known.

Args:

subsystem: The subsystem interface for which the Hessian is
evaluated.