Optimization Algorithm for Building Structures under Earthquake Loading

Abstract

This paper presents a modified Dual algorithm for the optimal design of building structures subjected to earthquake loading, with particular emphasis on the mathematical formulation and numerical implementation of the optimization procedure. The proposed approach is based on an optimality criteria framework in which the original nonlinear design optimization problem is transformed into a sequence of explicit convex primal subproblems through linear approximations of the objective and constraint functions. A corresponding dual formulation is subsequently established. The mathematical characteristics of the algorithm, including its formulation, solution strategy, and computational efficiency, are discussed in detail. To demonstrate its applicability, the proposed method is applied to the seismic design optimization of a three-story steel moment-resisting frame. The study demonstrates that the proposed method is an effective computational tool for seismic design.

Share and Cite:

Gong, Y. and Deng, J. (2026) Optimization Algorithm for Building Structures under Earthquake Loading. World Journal of Engineering and Technology, 14, 1101-1110. doi: 10.4236/wjet.2026.144065.

1. Introduction

Structural optimization has evolved into an important computational tool and interdisciplinary field that combines structural analysis, design, and mathematical optimization. Early developments can be traced to the work of Michell in 1904 [1], who established the theoretical foundations for minimum-weight structures. With the advent of digital computing in the 1960s and 1970s, optimization techniques such as linear programming, nonlinear programming, and optimality criteria methods began to be applied to practical structural design problems [2]. Further advances in finite element analysis, mathematical programming, and artificial intelligence led to the development of size, shape, topology, and performance-based optimization methods [3].

In the field of seismic design, structural optimization has emerged as a powerful approach for enhancing the earthquake resilience of building structures [4] [5]. Evolutionary and metaheuristic algorithms such as Genetic Algorithms gained popularity due to their efficiency in searching large design spaces and handling discrete and continuous variables [6]. In recent years, other metaheuristic methods such as Differential Evolution, Ant Colony Optimization, Harmony Search, and Firefly Algorithm have been investigated for seismic design problems [7] [8]. Comparative studies generally suggest that no single algorithm consistently outperforms others across all structural optimization problems. Instead, performance depends on factors such as problem size, design variables, and constraint complexity.

This paper presents a generalized optimality criteria algorithm, referred to as the Dual Method [9]. Its application to engineering problems is primarily attributed to Fleury [2] [10] [11]. The method is modified in this study to make it suitable for the optimization of building frames subjected to earthquake loading. The primary focus of this paper is the mathematical derivation of the modified Dual Method in addition to its engineering application.

2. Mathematical Formulation of Design Problem

In the structural engineering discipline, design optimization aims to determine the optimal values of design variables, typically the cross-sectional areas or dimensions of structural members, to achieve the best performance with respect to a specified objective function while satisfying all applicable design code requirements and designer-defined constraints. In the context of seismic design under earthquake loading, the structural optimization problem can be cast as follows:

To minimize the objective function:

f= α 1 f 1 + α 2 f 2 (1)

Subject to strength and deflection constraints:

D k ( X )≤ D k U , k=1,⋯, n c (2)

side constraints:

x j L ≤ x j ≤ x j U , j=1,⋯, n x (3)

where: f is a combined and weighted objective function; α 1 and α 2 are weighting factors for objective functions f 1 and f 2 , respectively, and α 1 + α 2 =1 ; X= { x 1 , x 2 ,⋯, x nx } T is the vector of n x design variables that are required to be found in order to minimize the objective function; D k ( X ) is the kth constraint function, bounded by its upper limits D k U ; n c is the number of constraints. Equations (3) is a set of side constraints on the design variables x j , where x j L and x j U are the lower and upper bounds of x j .

Minimum cost is a universally desired objective in optimization problems. Since the cost of a structural member is generally proportional to its material weight, the minimum-cost design can be approximated as the minimum-weight design of the structure. Consequently, the cost objective function, often referred to as the weight objective function, can be expressed as the total weight of all structural members as,

f 1 =( 1/ G 0 )⋅ ∑ j n x γ L j A j (4)

where: n x is the number of design variables; γ is the material mass density; Lj and Aj are the given length and variable cross-sectional area of member j, respectively; and G 0 is a normalization factor used to scale the weight objective function and is typically taken as the maximum allowable structural weight. As a result, the normalized objective function f 1 is bounded between 0 and 1, which improves numerical stability and facilitates the weighting of multiple objectives in the optimization process.

The second design objective is to pursue uniform interstory drift, which aims to minimize building damage under earthquake hazards [4]. This objective can be expressed as,

f 2 = 1 n s ∑ s=1 n s ( δ s − δ a ) 2 (5)

where: δ s is the interstory drift ratio of story s; n s is the number of stories; δ a is the average interstory drift ratio, which is defined as the lateral deflection of the roof level divided by the building height.

In Equations (1) to (5), only Equations (3) and (4) are an explicit function of the design variables, while Equation (5) and all constraints are implicit functions of the design variables. Thus, to enable a computer solution, it is necessary to use an approximation technique to formulate f 2 function and constraints in terms of the design variables. Since structural deflection is typically inversely proportional to the size of the structural members, a more accurate approximation of deflection can be obtained by using the reciprocal of the members’ cross-sectional areas as the design variables. In other words, adopting the reciprocal area as the design variable, x j =1/ A j , leads to higher-quality approximations [10].

Then, employing the first-order derivatives and Taylor series to rewrite Equations (1) and (2) as the following explicit optimization problem:

To minimize:

f= α 1 ∑ j n x ( γ L j / G 0 x j ) + α 2 [ f 2 0 + ∑ j n x ( d f 2 / d x j ) 0 ( x j − x j 0 ) ] (6)

Subject to:

D k 0 + ∑ j n x ( d D k / d x j ) 0 ( x j − x j 0 ) ≤ D k U , k=1,⋯, n c (7)

where the superscript 0 indicates the values evaluated at the current design. d f 2 / d x j and d D k / d x j are the first derivatives of f 2 and D k with respect to the design variables x j , respectively. The evaluation of the derivatives is called sensitivity analysis, which can be found from the first author’s earlier studies [12] [13]. Side constraints, Equation (3) remains unchanged.

3. Optimization Algorithm

In the explicit formulation Equations (6) and (7), we further define

A 0 = α 2 [ f 2 0 + ∑ j n x ( d f 2 / d x j ) 0 ( − x j 0 ) ] (8)

A 1j = α 1 γ L j / G 0 (9)

A 2j = α 2 ( d f 2 / d x j ) 0 (10)

C jk = ( d D k / d x j ) 0 (11)

C k U = D k U − D k 0 + ∑ j n x ( d D k / d x j ) 0 x j 0 (12)

The design formulation can be further simplified as,

To minimize:

f= ∑ j=1 n x ( A 1j / x j + A 2j x j ) (13)

Subject to:

∑ j n x C jk x j − C k U ≤0,k=1,⋯, n c (14)

and side constraints Equation (3). Note that in Equation (13), A 0 is discarded as it will have no effect on the optimal solution.

The standard Dual Method formulation [10] is without A 2j x j term in Equation (13). The dual algorithm is modified hereafter to solve the optimization formulation.

The Lagrangian function for the optimization problem is written as,

ℒ( X,λ )= ∑ j=1 n x ( A 1j / x j + A 2j x j ) + ∑ k=1 n c λ k ( ∑ j n x C jk x j − C k U ) (15)

where λ k are the Langrange multiplier, or dual variables to the design. The dual formulation is,

To maximize

Ω( λ )=minℒ( X,λ ) (16)

Subject to:

λ k ≥0, k=1,⋯, n c (17)

where dual function Ω( λ ) is obtained by minimizing the Lagrangian function Equation (15) with respect to x j . Therefore, ∂ℒ ∂ x j =0 leads to − A 1j x j 2 + A 2j + ∑ k=1 n c λ k C jk =0 , which further gives,

x j ( λ )= A 1j A 2j + ∑ k=1 n c   λ k C jk (18)

Equation (18) holds if x j L ≤ x j ≤ x j U . Otherwise, x j = x j L if x j < x j L or x j = x j U if x j > x j U . Differentiating Equation (18) with respect to λ l gives,

∂ x j ∂ λ l ={ − C jl x j 3 2 A 1j x j L < x j < x j U 0 otherwise (19)

Substituting Equation (18) into Equation (16) leads to,

Ω( λ )= ∑ j=1 n x ( A 1j x j ( λ ) + A 2j x j ( λ ) ) + ∑ k=1 n c λ k [ ∑ j n x C jk x j ( λ ) − C k U ] (20)

To apply the Newton method to search for the optimum point in the design space, it is necessary to find the Hessian Matrix of the dual function in Equation (20). The first derivative of dual function Ω( λ ) with respect to variable λ k is,

∂Ω ∂ λ k = ∑ j n x C jk x j − C k U (21)

The second derivatives of Ω( λ ) with respect to variable λ l are obtained as,

∂ 2 Ω ∂ λ k ∂ λ l =− ∑ j n x C jk C jl x j 3 2 A 1j (22)

where noting Equation (19). These second derivatives are discontinuous on the hyper planes defined by,

∑ k=1 n c λ k C jk = A 1j ( x j L ) 2 − A 2j and ∑ k=1 n c λ k C jk = A 1j ( x j U ) 2 − A 2j (23)

Denoting the Hessian matrix of Ω( λ ) as ∇ 2 Ω( λ ) , the Newton line search direction is [9],

z=− [ ∇ 2 Ω( λ ) ] −1 ∇Ω (24)

where ∇Ω is the gradient of the dual function, and [ ∇ 2 Ω( λ ) ] −1 is the inverse of the Hessian matrix.

4. Overall Design Procedure

A complete design process consists of multiple design iterations. One iteration of the design process included three steps: 1) conduct structural analysis to obtain the responses of the current design under the applied earthquake loads; 2) conduct sensitivity analysis to obtain the first derivatives of responses and then formulate the approximate explicit expressions of the objective function and constraints; and 3) apply the dual algorithm to find a solution of the current optimization problem.

At the first iteration, an initial design is typically determined by an engineer through experience or preliminary calculation. This trial design is then analyzed to obtain the first formulation of the design optimization problem. Then, an improved design is found by applying the above-described algorithm. The design process enters the next iteration with the improved design as the current design. This procedure is repeated until convergence of the solution occurs.

One may ask why multiple iterations are required. The primary reason is that linear approximations of both the objective function and the constraints are employed to transform the original problem into a convex optimization problem. These approximations are sufficiently accurate only in the vicinity of the current design point. Consequently, it is necessary to restrict the step size along the search direction during each iteration. As a result, a single iteration generally yields only an improved design rather than the final optimal solution. The move limits ensure that the updated design does not deviate excessively from the current design point, thereby maintaining the validity of the approximations and reducing the risk of producing an infeasible design.

5. Numerical Example

A three-story rigid frame shown in Figure 1 is adopted as a design example to illustrate the optimization methodology described above. This is a perimeter moment frame of a building. Each bay is 9 meters wide, and each story is 4 meters high. The seismic weights assigned to the first and second stories are 4700 kN each, while the seismic weight of the roof level is 5100 kN. All column bases are assumed to be fixed at the foundation.

The frame comprises 27 members. To reduce the dimensionality of the optimization problem, the number of design variables is reduced to five through a member-linking scheme. Specifically, all column segments within the same vertical line use the same cross-section over the full height of the frame (i.e., one column tier per column line). The two exterior columns share one cross-section, while the three interior columns share another. In addition, the beams at each floor level are assigned their own cross-section, resulting in three beam design variables. The reciprocal design variables are x j =1/ A j , j=1,⋯,5 . The length L j in Equation (5) should be the combined length of the members having cross-section area A j . Namely, L 1 =24 m , L 2 =36 m , L 3 = L 4 = L 5 =36 m . Column section A 1 and A 2 will be chosen from among steel W360 sections (hence, upper and lower limits are 139,000 and 4170 mm2, respectively), while A 3 to A 5 beams will be chosen from among W760 sections (upper and lower limits are 74,300 and 17,000 mm2, respectively). These commercially available steel shapes and their sectional properties can be found in [14]. Steel material has a specified yielding strength of 350 MPa and mass density of γ=7850 kg/m3. The weight objective function f 1 is normalized by the maximum allowable weight G 0 =128 tons.

The earthquake hazard level considered in this example corresponds to a 2% probability of exceedance in 50 years. The design response spectrum used to obtain the lateral earthquake loads is shown in Figure 2, where T is the elastic fundamental period of the building in the unit of seconds and S is the pseudo acceleration expressed in units of gravitational acceleration, g. The base shear, V b , is then obtained as,

V b =S⋅( ∑ q=1 3 G q )   (25)

Figure 1. Steel moment frame and design variables.

which is distributed to each floor (Figure 1) according to Equation (26):

F s = V b G s h s ∑ q=1 3 G q h q ,s=1,2,3 (26)

where: G s and G q are the seismic weights of story s and story q, respectively; h s and h q are the corresponding heights measured from the base of the building. In each design iteration, the fundamental period and the corresponding base shear are recalculated to reflect the revised design.

A nonlinear static analysis procedure was employed to evaluate the structural demands on the moment frame. The analytical model accounted for both geometric and material nonlinearities, including initial member crookedness, second-order effects, and residual stresses, and thus qualifies as an advanced analysis. Using this analytical approach, explicit strength checks of individual frame members are not required, as permitted by the AISC Specification [15].

Figure 2. Design spectrum.

Because the target seismic performance level is collapse prevention, an interstory drift limit of 5% is adopted as the deflection constraint [16]. In the first iteration, the member sections of the initial design are chosen as the largest available sections: W360 × 1086 (139,000 mm2) for variables A1 and A2, and W760 × 582 (74,300 mm2) for variables A3 to A5. The corresponding fundamental period is 0.45 seconds.

The values of the weighting factors α 1 and α 2 have a direct impact on the design results. Their appropriate selection requires numerical experimentation. Numerical studies have shown that a smaller weighting factor α 2 can effectively prevent oscillations of the design point during the iterative design process. Thus, the weighing factors are taken to be α 1 =0.9 and α 2 =0.1 .

In this example, convergence is deemed to be achieved when the relative difference in the objective function values between two consecutive iterations is less than 1%. No move limit is imposed during the first five iterations. Starting from the sixth iteration, a move limit of 0.2 is applied. The design process converges after 8 iterations.

The final optimal design consists of the following sections: A 1 =49020  mm 2 (W360 × 382); A 2 =62130  mm 2 (W360 × 509); A 3 =30540  mm 2 (W760 × 257); A 4 =28020  mm 2 (W760 × 220); and A 5 =17650  mm 2 (W760 × 134). The sections listed in parentheses represent the closest available discrete sections selected for practical implementation. The final structural weight is 49.6 tons, corresponding to a weight objective value f1 = 0.39, while the fundamental period is 0.79 s. The governing active constraint is the first-story interstory drift ratio. Analysis of the optimal design shows that the first-story interstory drift ratio reaches 4.6%, which is slightly below the prescribed design limit, while the second and third stories drift ratios are 3.2% and 2.6% respectively. The corresponding value of the second objective function is f2 = 0.008.

6. Summary and Conclusions

This study presents a modified Dual algorithm for the design optimization of building structures subjected to earthquake loading. A linear approximation approach was employed to transform the original design problem into a sequence of explicit convex primal minimization subproblems. The corresponding dual optimization problem was then formulated and solved using a quadratic programming technique in the dual space, with the objective of maximizing the dual function. The effectiveness and practicality of the proposed algorithm were demonstrated through the optimal design of a three-story steel moment-resisting frame subjected to seismic loading.

The original Dual Formulation was modified to accommodate the additional objective function introduced in Equations (5) and (6). The inclusion of this objective led to an additional term in the dual function, as presented in Equations (13) and (15). The influence of this term was reflected in the expression for the primal variable x j given in Equation (18), as well as in the revised locations of the hyperplanes defined by Equation (23).

The proposed algorithm is computationally attractive because it can solve large-scale structural optimization problems while maintaining numerical stability and convergence efficiency. Numerical results demonstrate that the modified Dual algorithm converges to an optimal solution and provides an effective balance between computational efficiency and design quality.

Author Contributions

Conceptualization, Y. Gong and J. Deng; methodology, Y. Gong and J. Deng; writing—original draft preparation, Y. Gong; writing—review and editing, J. Deng; funding acquisition, J. Deng. All authors have read and agreed to the published version of the manuscript.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Michell, A.G.M. (1904) The Limits of Economy of Material in Frame-Structures. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 8, 589-597.[CrossRef]
[2] Fleury, C. (1979) Structural Weight Optimization by Dual Methods of Convex Programming. International Journal for Numerical Methods in Engineering, 14, 1761-1783.[CrossRef]
[3] Nguyen, T.H. and Vu, A.T. (2022) Application of Artificial Intelligence for Structural Optimization. In: Tien Khiem, N., Van Lien, T. and Xuan Hung, N. Eds., Lecture Notes in Mechanical Engineering, Springer, 1052-1064.[CrossRef]
[4] Xu, L., Gong, Y. and Grierson, D.E. (2006) Seismic Design Optimization of Steel Building Frameworks. Journal of Structural Engineering, 132, 277-286.[CrossRef]
[5] Grierson, D.E., Gong, Y. and Xu, L. (2006) Optimal Performance-Based Seismic Design Using Modal Pushover Analysis. Journal of Earthquake Engineering, 10, 73-96.[CrossRef]
[6] Gong, Y., Xue, Y. and Xu, L. (2013) Optimal Capacity Design of Eccentrically Braced Steel Frameworks Using Nonlinear Response History Analysis. Engineering Structures, 48, 28-36.[CrossRef]
[7] Saranya, S.M., Mohanapriya, S. and Komarasamy D. (2025) Chapter 14—Bio-Inspired Metaheuristic Algorithm for Solving Engineering Optimization Problems Based on Computational Intelligence. In: Balusamy, B., Ravi, V. and Brindha, K., Ed., Computational Intelligence in Sustainable Computing and Optimization, Trends and Applications, Elsevier, 259-280.
[8] Dubey, M., Kumar, V., Kaur, M. and Dao, T. (2021) A Systematic Review on Harmony Search Algorithm: Theory, Literature, and Applications. Mathematical Problems in Engineering, 2021, 1-22.[CrossRef]
[9] Hillier, F.S. and Lieberman, G.J. (2015) Introduction to Operations Research, 10th Edition, McGraw-Hill Education.
[10] Fleury, C. and Braibant, V. (1986) Structural Optimization: A New Dual Method Using Mixed Variables. International Journal for Numerical Methods in Engineering, 23, 409-428.[CrossRef]
[11] Rigo, P. and Fleury, C. (2001) Scantling Optimization Based on Convex Linearizations and a Dual Approach—Part II. Marine Structures, 14, 631-649.[CrossRef]
[12] Gong, Y., Xu, L. and Grierson, D.E. (2005) Performance‐Based Design Sensitivity Analysis of Steel Moment Frames under Earthquake Loading. International Journal for Numerical Methods in Engineering, 63, 1229-1249.[CrossRef]
[13] Gong, Y., Xu, L. and Grierson, D.E. (2006) Sensitivity Analysis of Steel Moment Frames Accounting for Geometric and Material Nonlinearity. Computers & Structures, 84, 462-475.[CrossRef]
[14] Canadian Institute of Steel Construction (2021) Part Six—Properties and Dimensions. In: Handbook of Steel Construction, 12th Edition, CISC.
[15] AISC (2022) ANSI/AISC 360-22 Specification for Structural Steel Buildings. American Institute of Steel Construction.
[16] FEMA 356 (2000) Prestandard and Commentary for the Seismic Rehabilitation of Buildings. Federal Emergency Management Agency.

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.