Structural Optimization Constraints


Structural Optimization Constraints

Hope
Today we’re looking at a new kind of constraint in optimization: a local constraint, often called a function-type constraint. To see why it matters, let’s return to the stiffest-bar problem. We want to choose the bar’s cross-sectional area, A(x), so that the bar has the least strain energy while using a prescribed amount of material.

Anna
And the area isn’t the only function in the problem. The bar’s displacement, u(x), is also unknown, and it is governed by a differential equation. The material’s Young’s modulus, the bar’s length, the applied loading p(x), and the required volume V* are given. So A is the design variable, while u is the state variable.

Hope
The strain-energy objective is the integral from 0 to L of one-half E A times u-prime squared, with respect to x. The fixed-volume requirement is the global constraint: the integral of A over the bar equals V*. It’s global because it concerns the total material in the whole bar, not the area at just one location.

Anna
For that global constraint, we introduce a Lagrange multiplier that is a single unknown constant. We add that constant times the volume constraint to the objective. Then we can vary the resulting Lagrangian with respect to A and u, producing necessary conditions for both unknown functions.

Hope
But that setup is incomplete for the bar, because it hasn’t yet included the differential equation governing u. That equation is a local constraint: it must hold at every point along the bar. Today’s key idea is that a local constraint gets a multiplier that is itself a function of x, rather than one constant.

Anna
Let’s build the idea with a general example. Suppose we want to minimize a functional J, whose integrand depends on a function y and its derivative, while also requiring a differential equation G(y, y-prime) equals zero. If y is the only unknown function, that equation may already determine y. Then there may be no freedom left to search for a minimum of J.

Hope
To have a meaningful optimization problem, introduce a second unknown function, z(x). Now let the objective depend on both y and z, and let the constraint G depend on y, z, and their derivatives. One equation relating two unknown functions can leave room to vary them while still satisfying the constraint.

Anna
That’s the same structure as the bar problem: A and u are two functions, and the governing equation relates them. The constraint is imposed throughout the domain, from x1 to x2, rather than only as one overall statement about the entire domain.

Hope
Here’s the perturbation argument behind the multiplier. Imagine making small changes to y and z, while insisting that G remains zero. To first order, the change in G has contributions from the perturbation in y and from the perturbation in z. Since the constraint must still hold, those contributions must balance.

Anna
If the relevant variation of G with respect to z is nonzero, that balance lets us express the permitted perturbation in z in terms of the perturbation in y. We then substitute that relationship into the first-order change in the objective J. The perturbation in y is arbitrary, so the coefficient multiplying it must vanish.

Hope
That condition can be written as the variation of J with respect to y plus a multiplier times the variation of G with respect to y, equal to zero. The corresponding condition for z has the same form: the variation of J with respect to z plus that multiplier times the variation of G with respect to z equals zero.

Anna
The multiplier is written as lambda of x because the constraint applies at every point. The point where we consider the perturbation could be anywhere in the domain, so the multiplier is allowed to vary from point to point. That contrasts with the single constant multiplier used for a global, integral constraint.

Hope
We can gather those conditions neatly by forming an augmented integrand: F plus lambda of x times G. Integrate that over the domain, then take variations with respect to both y and z. The resulting Euler–Lagrange equations give the two necessary conditions we just derived.

Anna
And if the integrand or constraint involves second or higher derivatives, the Euler–Lagrange equations include the corresponding higher-derivative terms. The same framework also works with more unknown functions and more derivatives, provided we account for the conditions and boundary requirements of the particular problem.

Hope
Now let’s distinguish the two constraint types in a general problem. A global or functional constraint is an integral condition over the domain. Its multiplier is an unknown constant, and its contribution is the constant multiplied by the constraint, included in the augmented objective.

Anna
A local or function-type constraint is an equation that must hold pointwise, such as an algebraic equation or a differential equation. Its multiplier is an unknown function of x, and its contribution to the augmented objective is the integral of lambda of x times G, with respect to x. That integration is important: the constraint contributes at every point in the domain.

Hope
You can have any number of global constraints and local constraints, and the unknown functions can involve any number of derivatives. For local constraints, though, the lecture points out an important counting rule: their number should be one less than the number of unknown functions, so there is still freedom to optimize while satisfying the constraints.

Anna
So the practical recipe is: identify the unknown functions, separate global integral constraints from pointwise local constraints, assign constants to the global constraints and multiplier functions to the local ones, and form the augmented integral. Then apply the Euler–Lagrange equations and the appropriate boundary conditions.

Hope
And in the stiffest-bar example, that means including both pieces: the constant multiplier for the fixed total volume and a function-valued multiplier for the governing differential equation relating the area and displacement. With both constraints represented, variations with respect to A and u can produce the necessary equations for the design.

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