Skip to content

← Back to designproblem

LocalConstraintsInterface

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

Local constraints interface module.

This module defines the abstract interface for local subsystem constraints.

Classes

LocalConstraintsInterface

Inherits from: ABC

Interface that should be implemented by any local constraint class formulation.

Methods

evaluateEqualityLocalConstraints(self, subsystem: SubSystemInterface) → None

📐 Pseudocode: Solve subsystem optimization (argmin) (Line 11) → Unified Algorithmic Structure; User-defined equality constraints (Line 19) → SubSystemBasis.run_IterativeOptimization

Evaluate the equality local constraints.

Args:

subsystem: The subsystem interface for which equality constraints
are evaluated.

evaluateInEqualityLocalConstraints(self, subsystem: SubSystemInterface) → None

📐 Pseudocode: Solve subsystem optimization (argmin) (Line 11) → Unified Algorithmic Structure; User-defined inequality constraints (Line 20) → SubSystemBasis.run_IterativeOptimization

Evaluate the inequality local constraints.

Args:

subsystem: The subsystem interface for which inequality constraints
are evaluated.

evaluate_Jacobian_EqualityLocalConstraints(self, subsystem: SubSystemInterface) → None

Evaluate the Jacobian of the local equality constraints that are known to be computed.

Args:

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

evaluate_Jacobian_InEqualityLocalConstraints(self, subsystem: SubSystemInterface) → None

Evaluate the Jacobian of the local inequality constraints that are known to be computed.

Args:

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

evaluate_Hessians_EqualityLocalConstraints(self, subsystem: SubSystemInterface) → None

Evaluate the Hessians of the local equality constraints that are known to be computed.

Args:

subsystem: The subsystem interface for which the Hessians are
evaluated.

evaluate_Hessians_InEqualityLocalConstraints(self, subsystem: SubSystemInterface) → None

Evaluate the Hessians of the local inequality constraints that are known to be computed.

Args:

subsystem: The subsystem interface for which the Hessians are
evaluated.