1. Home
  2. Explore
  3. Engineering
  4. Structural Optimization Constraints

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Structural Optimization Constraints

Optimization with Functional and Differential Constraints

The stiffest-bar design problem

A bar of length LLL is designed to be as stiff as possible while using a prescribed amount of material. Its cross-sectional area varies along the bar, so the design variable is the function A(x)A(x)A(x).

The objective is to minimize the bar’s strain energy:

J[A,u]=∫0L12EA(x)(u′(x))2 dxJ[A,u] = \int_0^L \frac{1}{2} E A(x)\bigl(u'(x)\bigr)^2\,dxJ[A,u]=∫0L​21​EA(x)(u′(x))2dx

Here, EEE is Young’s modulus, u(x)u(x)u(x) is the bar’s displacement, and u′(x)u'(x)u′(x) is the displacement gradient. The displacement is a state variable: it is determined by the bar’s governing equation and depends on the design.

The design must also satisfy a prescribed-volume constraint:

∫0LA(x) dx=V∗\int_0^L A(x)\,dx = V^*∫0L​A(x)dx=V∗

where V∗V^*V∗ is the given total volume of material. This is a global constraint because it concerns the total bar, rather than the area or material amount at one particular location.

The problem’s given data include the material property EEE, the bar length LLL, the applied loading p(x)p(x)p(x), and the required volume V∗V^*V∗. The design task is to find A(x)A(x)A(x) while accounting for the displacement field u(x)u(x)u(x) and its governing equation.

A Lagrange multiplier for the volume constraint can be introduced as a scalar constant, say Λ\LambdaΛ. Using the convention that the constraint is written as ∫0LA(x) dx−V∗=0\int_0^L A(x)\,dx - V^* = 0∫0L​A(x)dx−V∗=0, the objective and volume constraint contribute

J[A,u]+Λ(∫0LA(x) dx−V∗)J[A,u] + \Lambda\left(\int_0^L A(x)\,dx - V^*\right)J[A,u]+Λ(∫0L​A(x)dx−V∗)

to the Lagrangian. This expression includes the global material constraint, but a complete formulation must also incorporate the governing equation for u(x)u(x)u(x). That governing equation is a local, pointwise constraint and requires a different kind of multiplier.


Global constraints and local constraints

Global or functional constraints

A global constraint restricts an aggregate quantity over a domain. For example, the total material volume is determined by integrating the area over the entire bar.

  • A global constraint typically has the form of an integral condition, such as ∫x1x2k(x) dx=0\int_{x_1}^{x_2} k(x)\,dx = 0∫x1​x2​​k(x)dx=0.

  • Its multiplier is an unknown constant, because the constraint imposes one condition on the domain as a whole.

  • The multiplier times the constraint is added to the objective when forming the Lagrangian.

Local or function-type constraints

A local constraint must hold at every point in the domain. A governing differential equation is a common example. In general, such a constraint can be written as

G(x,y,y′,z,z′,…)=0for every x∈[x1,x2]G\bigl(x,y,y',z,z',\ldots\bigr)=0 \qquad \text{for every } x\in[x_1,x_2]G(x,y,y′,z,z′,…)=0for every x∈[x1​,x2​]

This is called a local constraint because it applies pointwise throughout the domain, rather than only to an integral over the domain. It may be algebraic, differential, or an equation involving integrals, provided that it is required to hold at each point.

  • A local constraint is accompanied by an unknown multiplier function, such as λ(x)\lambda(x)λ(x).

  • The product λ(x)G(x,…)\lambda(x)G(x,\ldots)λ(x)G(x,…) is integrated over the domain when it is added to the objective.

  • The multiplier is a function because the constraint must be enforced separately at every location.

A global constraint uses a scalar multiplier; a local constraint uses a multiplier function.


Why a local constraint requires multiple unknown functions

Consider an objective functional depending on one unknown function:

J[y]=∫x1x2F(y,y′) dxJ[y]=\int_{x_1}^{x_2} F(y,y')\,dxJ[y]=∫x1​x2​​F(y,y′)dx

Suppose y(x)y(x)y(x) is also required to satisfy a differential equation:

G(y,y′)=0G(y,y')=0G(y,y′)=0

If the equation determines y(x)y(x)y(x), then there may be no remaining freedom to vary yyy in search of a minimum of JJJ. In that case, the proposed optimization problem does not provide an adequate search space: the constraint already fixes the function being optimized.

A more suitable formulation has an objective depending on two unknown functions, such as

J[y,z]=∫x1x2F(y,z,y′,z′) dxJ[y,z]=\int_{x_1}^{x_2} F(y,z,y',z')\,dxJ[y,z]=∫x1​x2​​F(y,z,y′,z′)dx

subject to one local constraint,

G(y,z,y′,z′)=0for every x∈[x1,x2]G(y,z,y',z')=0 \qquad \text{for every } x\in[x_1,x_2]G(y,z,y′,z′)=0for every x∈[x1​,x2​]

One equation involving two functions generally does not determine both functions completely. The remaining freedom makes it possible to seek a minimum of the objective while satisfying the constraint. This is the structure of the bar-design problem: the design function and the state function both enter the formulation, while the governing equation links them.


Deriving the local multiplier condition by perturbation

To find necessary conditions for an optimum, perturb both unknown functions:

y⟶y+hy,z⟶z+hzy \longrightarrow y+h_y, \qquad z \longrightarrow z+h_zy⟶y+hy​,z⟶z+hz​

The perturbations hyh_yhy​ and hzh_zhz​ represent small changes in the respective functions. They can be localized to small regions of the domain. The associated first-order changes are denoted by δy\delta yδy and δz\delta zδz.

Because the local constraint must remain satisfied after perturbation, its first-order change must vanish:

δG=δGδy δy+δGδz δz=0\delta G = \frac{\delta G}{\delta y}\,\delta y + \frac{\delta G}{\delta z}\,\delta z =0δG=δyδG​δy+δzδG​δz=0

The symbols δGδy\frac{\delta G}{\delta y}δyδG​ and δGδz\frac{\delta G}{\delta z}δzδG​ denote the relevant first-order variation coefficients. When the constraint depends on derivatives, these coefficients are functional derivatives rather than merely ordinary partial derivatives.

If δGδz\frac{\delta G}{\delta z}δzδG​ is nonzero, the constraint relation allows one perturbation to be expressed in terms of the other:

δz=−δGδyδGδz δy\delta z = -\frac{\frac{\delta G}{\delta y}} {\frac{\delta G}{\delta z}}\,\delta yδz=−δzδG​δyδG​​δy

The first-order change in the objective is

δJ=δJδy δy+δJδz δz\delta J = \frac{\delta J}{\delta y}\,\delta y + \frac{\delta J}{\delta z}\,\delta zδJ=δyδJ​δy+δzδJ​δz

At a constrained stationary point, this first-order change must vanish for perturbations that respect the constraint. Substituting the expression for δz\delta zδz gives

(δJδy−δJδzδGδyδGδz)δy=0\left( \frac{\delta J}{\delta y} - \frac{\delta J}{\delta z} \frac{\frac{\delta G}{\delta y}} {\frac{\delta G}{\delta z}} \right)\delta y=0(δyδJ​−δzδJ​δzδG​δyδG​​)δy=0

Since the allowable perturbation δy\delta yδy is arbitrary, its coefficient must be zero. Rearranging this condition introduces a multiplier function λ(x)\lambda(x)λ(x) and yields

δJδy+λ(x)δGδy=0\frac{\delta J}{\delta y} + \lambda(x)\frac{\delta G}{\delta y}=0δyδJ​+λ(x)δyδG​=0

The corresponding stationarity condition for zzz is

δJδz+λ(x)δGδz=0\frac{\delta J}{\delta z} + \lambda(x)\frac{\delta G}{\delta z}=0δzδJ​+λ(x)δzδG​=0

The same multiplier function appears in both equations because both functions are subject to the same local constraint. The multiplier can vary with xxx because the constraint must hold at every point.


The augmented Lagrangian for a local constraint

The two stationarity equations can be obtained directly by adding the local constraint to the objective under an integral:

L[y,z,λ]=∫x1x2[F(y,z,y′,z′,…)+λ(x)G(y,z,y′,z′,…)]dx\mathcal{L}[y,z,\lambda] = \int_{x_1}^{x_2} \left[ F(y,z,y',z',\ldots) + \lambda(x)G(y,z,y',z',\ldots) \right]dxL[y,z,λ]=∫x1​x2​​[F(y,z,y′,z′,…)+λ(x)G(y,z,y′,z′,…)]dx

The resulting necessary conditions are obtained by taking variations with respect to each unknown function:

  • Variation with respect to yyy gives the stationarity equation associated with yyy.

  • Variation with respect to zzz gives the stationarity equation associated with zzz.

  • Variation with respect to λ(x)\lambda(x)λ(x) enforces the original pointwise constraint G=0G=0G=0.

The sign assigned to the multiplier is a convention. Replacing λ\lambdaλ with −λ-\lambda−λ changes the sign in the augmented expression but not the underlying method.


Euler–Lagrange equations for the augmented integrand

For an augmented integrand that depends on functions and their first derivatives, define

H=F+λ(x)GH = F+\lambda(x)GH=F+λ(x)G

The Euler–Lagrange equations for yyy and zzz are

∂H∂y−ddx(∂H∂y′)=0\frac{\partial H}{\partial y} - \frac{d}{dx}\left(\frac{\partial H}{\partial y'}\right)=0∂y∂H​−dxd​(∂y′∂H​)=0

and

∂H∂z−ddx(∂H∂z′)=0\frac{\partial H}{\partial z} - \frac{d}{dx}\left(\frac{\partial H}{\partial z'}\right)=0∂z∂H​−dxd​(∂z′∂H​)=0

Together with G=0G=0G=0, these equations form the necessary conditions for the constrained problem. They determine the unknown functions and the multiplier, subject to the relevant boundary conditions.

If the integrand depends on higher derivatives, the corresponding higher-order Euler–Lagrange terms must also be included. For example, dependence on y′′y''y′′ adds the term

d2dx2(∂H∂y′′)\frac{d^2}{dx^2} \left(\frac{\partial H}{\partial y''}\right)dx2d2​(∂y′′∂H​)

with a positive sign. More generally, each derivative order contributes its corresponding repeated total derivative, with alternating signs.

Thus, when a constraint or objective involves derivatives, the variation accounts for their effects through the Euler–Lagrange operator. The same approach works for any finite number of derivatives.


Combining global and local constraints

A general constrained problem may include both integral constraints and pointwise constraints. For example, let the objective be

J[y,z]=∫x1x2F(y,z,y′,z′,…) dxJ[y,z]=\int_{x_1}^{x_2} F(y,z,y',z',\ldots)\,dxJ[y,z]=∫x1​x2​​F(y,z,y′,z′,…)dx

Suppose there is a global constraint

K[y,z]=∫x1x2k(y,z,y′,z′,…) dx=0K[y,z]=\int_{x_1}^{x_2} k(y,z,y',z',\ldots)\,dx=0K[y,z]=∫x1​x2​​k(y,z,y′,z′,…)dx=0

and a local constraint

G(y,z,y′,z′,…)=0for every xG(y,z,y',z',\ldots)=0 \qquad \text{for every }xG(y,z,y′,z′,…)=0for every x

The augmented functional is

L=∫x1x2[F+Λk+λ(x)G]dx\mathcal{L} = \int_{x_1}^{x_2} \left[ F+\Lambda k+\lambda(x)G \right]dxL=∫x1​x2​​[F+Λk+λ(x)G]dx

Here, Λ\LambdaΛ is a constant multiplier for the global constraint, while λ(x)\lambda(x)λ(x) is a multiplier function for the local constraint. If a global condition is written in a form such as ∫k dx−V∗=0\int k\,dx-V^*=0∫kdx−V∗=0, its constant term can be included in the augmented expression as well.

This formulation makes the distinction between the two constraint types explicit:

  • The global constraint contributes a scalar multiplier.

  • The local constraint contributes a multiplier function inside the integrand.

The necessary conditions follow by applying the Euler–Lagrange equations to the augmented integrand and enforcing each constraint.


Number of functions and local constraints

A constrained variational problem can include multiple unknown functions, global constraints, and local constraints. The number and independence of these conditions matter because the problem must retain an appropriate set of admissible variations.

A useful structural guideline is that the number of independent local constraints should generally be less than the number of unknown functions. In the basic case, one local constraint links two unknown functions, leaving room to optimize while satisfying the constraint. If local constraints determine all unknown functions completely, there may be no remaining freedom to minimize the objective.

This guideline depends on the independence and form of the equations, as well as on boundary conditions. The essential requirement is that the optimization problem have a viable set of admissible functions that satisfy the constraints.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent