Skip to content

← Back to subsystem1

LocalConstraints1

Source: userfiles/GeometricProgramming/subsystem1/LocalConstraints1.py

Local constraints module for Subsystem 1 in the Geometric Programming problem.

This module defines the LocalConstraints1 class which implements the local equality and inequality constraints specific to Subsystem 1 in the distributed design optimization framework.

Classes

LocalConstraints1

Inherits from: LocalConstraintsInterface

Local constraints class for Subsystem 1.

Implements the LocalConstraintsInterface to define equality and inequality constraints for Subsystem 1 in the Geometric Programming problem.

Attributes:

None specific to this class; inherits from LocalConstraintsInterface.

Methods

init(self) → None

Initialize the LocalConstraints1 instance.

evaluateEqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate equality local constraints for Subsystem 1.

Computes the equality constraint values from the subsystem responses, scales them using the appropriate ScalerConstraint, and stores the result in the subsystem.

Args:

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

evaluate_Jacobian_EqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Jacobian of the local equality constraints.

Args:

subsystem: The local subsystem instance.

evaluate_Hessians_EqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Hessians of the local equality constraints.

Args:

subsystem: The local subsystem instance.

evaluateInEqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate inequality local constraints for Subsystem 1.

Computes the inequality constraint values from the subsystem responses, scales them using the appropriate ScalerConstraint, and stores the result in the subsystem.

Args:

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

evaluate_Jacobian_InEqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Jacobian of the local inequality constraints.

Args:

subsystem: The local subsystem instance.

evaluate_Hessians_InEqualityLocalConstraints(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Hessians of the local inequality constraints.

Args:

subsystem: The local subsystem instance.