1 Introduction

The optimum designs of steel frames are often cost minimization with performance and construction criteria. Optimization techniques in structural engineering could be divided generally into three distinct methods: (1) mathematical/gradient-based methods, (2) optimality criteria methods and (3) stochastic search algorithms.

Mathematical techniques are based on the gradients of functions in the solution space. Therefore, the algorithms need continuous functions representing the objective and constraint(s). Numerous researches have been conducted using the mathematical optimization methods [15]. Memari and Madhkhan [6] applied the feasible directions method to optimize the braced and un-braced steel frames using equivalent static loading. They concluded that braced frames are more economical than un-braced ones. Akbari and Sadoughi [7] employed SQP method for finding the optimum design of the structures under time history acceleration. They transformed acceleration time histories into the equivalent static loads (ESLs).

The optimality criteria (OC) method is based on the combination of indirect Kuhn–Tucker conditions of nonlinear mathematical programming with Lagrangian multipliers. The OC approach has been the subject of many studies [8]. H.Moharrami and S.A.Alavinasab [9] proposed an improved optimality criteria method for optimum design of steel frames.

Due to the rapid development of computer facilities, new techniques such as genetic algorithms (GA) have been suggested in the field of structural optimization. One of the most important advantages of GA in optimal design of steel frames is using the discrete design variables and its capabilities for finding the global optimums. Optimization using GA has been successfully applied to structural optimization [1013]. Papadrakakis et al. [14] proposed the Evolution Strategies (ES) algorithm in the optimal design of structures under seismic loading. They used response spectrum modal analysis to evaluate the structural response under seismic loading. Kameshki and Saka [15] presented an optimum design based on GA for the multi-story, non-sway steel frames with different types of bracings. The algorithm considers the serviceability and the strength constraints as specified in the BS 5950, and it was shown that the lightest frame is simple X-bracing system. De Castro [16] implemented GA and obtained the minimum weight of frame structures in free vibration analysis. Salajegheh et al. [17] suggested hybrid RBF-BPSO method for optimal design of structures. Gholizadeh and Salajegheh [18] applied swarm intelligence and advanced meta-model for optimum design of structures subjected to time history loading. Prendes Gero et al. [19] developed an elitist genetic algorithm and compared it with the common commercial solutions for complex structural optimization. Keii and Ikago [20] suggested a model to get optimum designs suitable for practical structural design within the framework of the Building Standard Law of Japan. Chen and Kai Hu [21] presented a GA-based program written in MATLAB for optimization of portal frames. Kripakaran and Hall [22] suggested a computational approach based on GA to implement a decision support system for the design of moment-resisting steel frames. Balogh and Vigh [23] developed a numerical optimization algorithm in MATLAB to find the optimal structural configuration.

In the literature, comprehensive studies have been conducted for optimal design of steel frames under static loading; however, for dynamic loading, some of the researchers [6, 9] applied the equivalent static loading according to the Iranian building regulation [24, 25]. The Codes are based on the translations of some chapters of regulations such as US Building Officials and Code Administrators (BOCA), National Building Code of Canada (NBC), Building Standard Law of Japan (BSL) and regulation of France.

We believe that the characteristics of seismic loadings and quasi-static loads are not similar. The stiffness, damping, and mass parameters of structures are usually affected on the structural responses during dynamic excitations. However, for quasi-static case, the system responses are only influenced by the stiffness and the first vibration mode of the systems. Therefore, direct seismic analysis will lead to accurate results in compare with equivalent static approach.

Many studies have been conducted for optimum design of structures for direct time history loadings [2628]. However, the single time history loading, e.g., acceleration time history, could not be the suitable representative of the seismic demand for a specific area. Therefore, seismic analysis is carried out using the response spectrum analysis because such analysis is more compatible with the structural design requirements under seismic excitations.

The P-Delta effects are usually a crucial issue for intermediate- and high-rise steel frames. In this research, these secondary effects are included in the linear static and dynamic finite-element modeling by considering the geometric stiffness of the structure.

Many constraints have been taken into account in the optimization formulation according to the Iranian NBC code [24]. In addition, optimal designs have been carried out for the combination of dead, live and seismic loadings due to their importance in the design criteria. Consequently, the optimum designs of steel frames under seismic demands are available using the proposed method.

2 Optimization Formulation

The aim in size optimization of steel frames is often weight minimization under certain constraints using cross-sectional areas as the design variables. Therefore, in these cases, the structural optimization problems could be formulated as follows:

$$\begin{aligned} { \hbox{min} }\,W ({\mathbf{x}} ) { } \hfill \\ {\text{subject to}} \hfill \\ g_{\text{j}} ({\mathbf{x}} )\le 0 , { }\,j\,{ = 1,}\,{\text{nc}} \hfill \\ x_{\text{i}}^{ 1} \le x_{\text{i}} \le x_{\text{i}}^{\text{u}} \hfill \\ \end{aligned}$$
(1)

where x is the vector of design variables, W(x) is the objective function and g i(x) is the equality and inequality constraint. Here, the size optimizations of multi-bay, multi-story frames are investigated. The objective function is the weight of the structure given below

$$W = \sum\limits_{i = 1}^{n} {\rho_{\text{i}} L_{\text{i}} A_{\text{i}} }$$
(2)

where A i, L i and ρ i are the cross-sectional area, the length and mass density of the ith member, respectively. The constraints for allowable stress design requirements specified by National Building Code [24] for frames with rolled I-shapes, as shown in Fig. 1, are expressed as follows. The constraints for slenderness ratios for all members are

Fig. 1
figure 1

I-shape cross section as a design variable

$$\left\{ \begin{aligned} & \frac{\text{KL}}{{r_{ \hbox{min} } }} \le 200 \, \bullet {\text{Compressive Members}} \\ & \frac{\text{L}}{{r_{ \hbox{min} } }} \le 300 \, \bullet {\text{Tensile Members}} \\ & \frac{\text{KL}}{{r_{ \hbox{min} } }} \le \frac{ 6 0 2 5}{{\sqrt {F_{\text{y}} } }} \, \bullet {\text{Braces}} \\ \end{aligned} \right.$$
(3)

where F y is the yielding strength of steel and K is the effective length factor. The effective length factors (K) have been calculated for un-braced and braced frames [24]. Shear stress constraints could be written as

$$\frac{{f_{\text{vi}} }}{{0.4F_{\text{y}} }} - 1 \le 0 \,$$
(4)

Constraints for combined bending and axial stresses could be given as

$$\left\{ \begin{aligned} & \frac{{f_{\text{ai}} }}{{0.6F_{\text{y}} }} + \frac{{f_{\text{bi}} }}{{F_{\text{b}} }} - 1 \le 0 \, & \bullet {\text{ If}}\frac{{f_{\text{a}} }}{{F_{\text{a}} }} > 0.15 \\ & \frac{{f_{\text{ai}} }}{{F_{\text{a}} }} + \frac{{f_{\text{bi}} }}{{F_{\text{b}} }} - 1 \le 0 \, & \bullet {\text{ If}}\frac{{f_{\text{a}} }}{{F_{\text{a}} }} \le 0.15 \\ \end{aligned} \right.$$
(5)

As well, constraints for combined tensile and bending stresses and inter-story drifts are expressed below

$$\begin{aligned} \frac{{f_{\text{t}} }}{{F_{\text{t}} }} + \frac{{f_{\text{bi}} }}{{F_{\text{b}} }} - 1 \le 0 \hfill \\ \frac{{\Delta_{i} - \Delta_{i - 1} }}{{h_{i} }} \le 1.5\% \hfill \\ \end{aligned}$$
(6)

where subscript i refers to ith member f a, f t, f b and f v are the applied axial compressive, tensile, bending, and shear stresses, respectively. In addition, F a, F t, F b and F v are the allowable axial compressive, tensile, bending and the yield stresses, respectively, r min is the minimum radius of gyration of cross sections, Δi is the ith story displacement and h i is the height of ith story. Side constraints and the variations of column size constraints along the height of the frames could be expressed as follows:

$$\begin{aligned} A_{\text{i}}^{\text{L}} \le A_{\text{i}} \le A_{\text{i}}^{\text{U}} \hfill \\ A_{{{\text{C}}_{\text{i}} }} \ge A_{{{\text{C}}_{i + 1} }} \hfill \\ \end{aligned}$$
(7)

A Li , A Ui are the lower and upper bounds of cross-sectional areas, respectively. \(A_{{{\text{C}}_{\text{i}} }}\) is the columns’ cross-sectional area for ith story. Allowable axial stress in columns is calculated using the following equation:

$$\begin{aligned} & \lambda_{\hbox{max} } \le C_{\text{c}} \; F_{\text{a}} = \frac{1}{{F_{\text{s}} }}\left[ {1 - \frac{1}{2}\left( {\frac{\lambda }{{C_{\text{c}} }}} \right)^{2} } \right] \, , \, F_{\text{s}} = 1.67 + 0.375\left( {\frac{\lambda }{{C_{\text{c}} }}} \right) - 0.125\left( {\frac{\lambda }{{C_{\text{c}} }}} \right)^{3} \\ & \lambda_{\hbox{max} } \ge C_{\text{c}} \; F_{\text{a}} = \frac{{12\pi^{2} E}}{{23\left( \lambda \right)^{2} }} \\ \end{aligned}$$
(8)

where λ max is the maximum slenderness ratio of the member, E is steel modulus and C c = (2π2 E/F y)0.5, F t = 0.6 F y and F b = 0.66 F y. It is necessary to mention that Eqs. (3, 4, 5, 6, 7, 8) are written for allowable stress design method. However, nowadays LRFD method is provided in the last version of NBC. Without losing the generality, using small modification in the constraints the proposed methodologies could be applied for LRFD design approach.

3 Finite-Element Modeling

Finite-element modeling of the structures has been performed using the frame elements with six D.O.F and truss elements with two D.O.F. The numerical models have been verified by S-FRAME [29] and SAP2000 [30]. The S-FRAME software has been used for eigenvalue analyses and static responses verifications. The commercial SAP2000 software has been applied for verifying the developed FEM code for the first mode vibration of the frame. Here, soil structure interaction is not considered in the numerical modeling. The linear behaviors of structures for static and dynamic loadings have been taken into account and the acceleration spectrum is applied in the seismic analysis of the frames. The details of the geometries and the material properties of numerical studies are presented in Sects. 7.1 and 7.2.

In this paper, the P-delta effects have been included in the finite-element modeling. The purpose of the P-delta analysis is determining the displacements and the stresses due to the time-independent loadings. The P-delta analysis, specifically the Two-Cycle Iterative Method (Chen and Lui, 1991) [31], requires a two-stage analysis procedure. In the first phase, for all the user-selected load cases and load combinations, the equilibrium equations for the linear static analysis are solved for the nodal displacements. Once the nodal displacements are obtained, the element membrane forces are calculated and used to form the element geometric stiffness matrices. In the second phase of analysis, the equilibrium equations of the P-delta analysis are considered. Once the nodal displacements are obtained, the element stresses and nodal forces are computed. For the elements at the boundaries, these nodal forces will be in equilibrium with the reactions.

4 Design Under Seismic Loading

Response spectrum analysis is one of the most recommended methods for analyzing or designing of structures against earthquake loadings. In comparison with time history analysis, the advantage of this method is that the stress constraints in the optimization procedure are independent of time domain. Here, acceleration spectra have been utilized and complete quadratic combination rule (CQC) has been used to obtain the maximum responses of the structures. The equation of motion for a dynamic system can be written as follows [32]:

$${\mathbf{M}}\ddot{\mathbf{{U}}} + {\mathbf{C}}\dot{\mathbf{{U}}}+ {\mathbf{KU}} = {\mathbf{P}}$$
(9)

where M, C and K are the mass, damping and stiffness matrices of the system, respectively. P is the external load vector U, \({\dot{\mathbf{U}}}\) and \(\ddot{\mathbf{{U}}}\) are the displacement, velocity and acceleration vectors of system in time domain, respectively. The response spectrum modal analysis is based on the mode superposition approach. In the case of modal analysis, Eq. (9) is modified according to the modal superposition method [32]. The following steps summarize the response spectrum analysis that is utilized in this study:

  1. 1.

    Determining the values of eigenvectors φ i and eigenvalues ω i and normalizing them to transform the Eq. (9) into uncoupled equations. 

  2. 2.

    Calculating the modal participation factors and effective modal mass according to the following:

    $$\varGamma = \frac{{L_{\text{n}} }}{{M_{\text{n}} }} \, , \, L_{\text{n}} = \varPhi^{T} {\text{Mr }}, \, M_{\text{n}} = \varPhi^{T} M\varPhi \, , \, m_{\text{eff}} = \frac{{L_{\text{n}}^{2} }}{{M_{\text{n}} }}$$
    (10)
  3. 3.

    Computing the displacement–response spectrum in the form of S d = S a/ω 2 and correlation coefficient as follows:

    $$\rho_{\text{ij}} = \frac{{8\xi^{2} \left( {1 + r} \right)r^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-0pt} 2}}} }}{{\left( {1 - r^{2} } \right)^{2} + 4\xi^{2} r\left( {1 + r} \right)^{2} }} \, , \, r = {{\omega_{\text{i}} } \mathord{\left/ {\vphantom {{\omega_{\text{i}} } {\omega_{\text{j}} }}} \right. \kern-0pt} {\omega_{\text{j}} }}$$
    (11)
  4. 4.

    Calculating the modal displacements x i,max = Γ ΦSd and applying CQC rule to calculate the total maximum displacements from the following:

    $$X_{\hbox{max} } = \sqrt {\sum\limits_{i = 1}^{m} {x_{i}^{2} + \sum\limits_{i = 1}^{m} {\sum\limits_{j = 1}^{m} {\rho_{\text{ij}} x_{\text{i}} x_{\text{j}} } } } } \,$$
    (12)

5 Solution of the Optimization Problem

In this study, both sequential quadratic programming (SQP) and genetic algorithm (GA) techniques have been utilized for optimal seismic design of steel frames. The philosophy of applying both SQP and GA methods is finding the global optimal designs. The main drawback of the mathematics-based optimization techniques is that the methods might be trapped in the local optimum points. In spite of gradient-based optimization methods, the heuristic approaches are able to find the global optimum designs.

5.1 SQP Optimization Method

Sequential quadratic programming (SQP) is one of the most effective methods for nonlinear constrained optimization problems. The method generates steps by solving quadratic sub-problems. The SQP method can be viewed as a generalization of Newton’s method for unconstrained optimization in that it finds a step away from the current point by minimizing a quadratic model of the problem [33]. The main steps of this algorithm are as follows:

  1. A.

    In the first step, the search direction (S) is obtained by quadratic approximation of objective function and linear approximation of the constrains using Eq. (13). In this step, the Hessian matrix (H) is set to the unit matrix.

    $$\begin{aligned} & {\text{minimize }}Q({\mathbf{S}}) = F({\mathbf{x}}^{0} ) + \nabla F^{T} ({\mathbf{x}}){\mathbf{S}} + \frac{1}{2}S^{T} {\mathbf{HS}} \\ & {\text{s}} . {\text{t}} \\ & \nabla g_{\text{j}}^{T} ({\mathbf{x}}){\mathbf{S}} + \delta_{\text{j}} g_{\text{j}} ({\mathbf{x}}^{0} ) \le 0 \; j = 1,N \\ \end{aligned}$$
    (13)

    where F(x) is the objective function, ∇g i(x) is ith gradient of constraint and δ i is a constant for remaining the algorithm at the feasible space.

  2. B.

    After solving the sub-problem of Eq. (13) and finding Lagrangian multipliers λ j, minimization of the Lagrange function (Φ) is carried out using

    $$\begin{aligned} & {\text{minimize }}\varPhi (\alpha ) = F(\alpha ) + \sum\limits_{j = 1}^{N} {u_{j} } \hbox{max} [0,g_{j} (\alpha )] \\ & u_{\text{j}} = \left| {\lambda_{\text{j}} } \right| \, j = 1,N{\text{ first iteration}} \\ & u_{\text{j}} = \hbox{max} [\left| {\lambda_{\text{j}} } \right|,\frac{1}{2}(u_{\text{j}}^{*} + \left| {\lambda_{\text{j}} } \right|)] \, j = 1,N{\text{ subsequent iterations}} \\ \end{aligned}$$
    (14)
  3. C.

    From Eq. (14) the step length α is calculated. Then, updating of H matrix is conducted using Eq. (15) and convergence is controlled.

    $$\begin{aligned} {\mathbf{H}}* = {\mathbf{H}} - \frac{{{\mathbf{Hdd}}^{T} H}}{{{\mathbf{d}}^{T} {\mathbf{Hd}}}} + \frac{{{\varvec{\uppsi \uppsi }}^{T} }}{{{\mathbf{d}}^{T} {\varvec{\uppsi}}}} \\ \varvec{d} = {\mathbf{x}}^{q} - {\mathbf{x}}^{q - 1} \, , \, {\varvec{\uppsi}} & = \theta y + (1 - \theta ){\mathbf{Hd}} \, , \, {\mathbf{y}} = \nabla_{x} \varPhi^{q} - \nabla_{x} \varPhi^{q - 1} \, , \, \varPhi = F(x) + \sum\limits_{j = 1}^{N} {\lambda_{j} } g_{j} ({\mathbf{x}}) \\ \theta & = \left\{ \begin{aligned} & 1.0 \,\, if \, {\mathbf{d}}^{T} {\mathbf{y}} \ge 0.2{\mathbf{d}}^{T} {\mathbf{Hd}} \\ & \frac{{0.8{\mathbf{d}}^{T} {\mathbf{Hd}}}}{{{\mathbf{d}}^{T} {\mathbf{Hd}} - {\mathbf{d}}^{T} {\mathbf{y}}}} \, if \, {\mathbf{d}}^{T} {\mathbf{y}} \le 0.2{\mathbf{d}}^{T} {\mathbf{Hd}} \, \\ \end{aligned} \right. \\ \end{aligned}$$
    (15)

5.2 Optimization Using GA

Genetic algorithms are based on Darwin’s theory of natural selection. The basic idea of the approach is to start with a set of designs, randomly generated using the allowable values for each design variable. Each design is also assigned a fitness value, usually using the cost function for unconstrained problems or the penalty function for constrained problems. From the current set of designs, a subset is selected randomly with a bias allocated to more fit members of the set. Random processes are used to generate new designs using the selected subset of designs. The size of the set of designs is kept fixed. Since more fit members of the set are used to create new designs, the successive sets of designs have a higher probability of having designs with better fitness values. The process is continued until a stopping criterion is met. According to the above explanations, the main steps for this method are listed as follows [33].

Step 1 Define a schema to represent different design points. Randomly generate N P genetic strings (members of the population) according to the schema, where N P is the population size. Alternatively, use the seed designs to generate the initial population. For constrained problems, only the feasible strings are accepted when the penalty function approach is not used. Set iteration counter K = 0. Define a fitness function for the problem as below

$$F_{\text{i}} = (1 + \varepsilon )f_{\hbox{max} } - f_{\text{i}}$$
(16)

where f i is the cost function (penalty function value for a constrained problems) for the ith design, f max is the largest recorded cost (penalty) function value, and ɛ is a small value (e.g., 2 × 10−7) to prevent numerical difficulties when f i becomes 0.

Step 2 Calculate the fitness values for all the designs in the population. Set K = K + 1, and the counter for the number of crossovers I c = 1.

Step 3 Reproduction: select designs from the current population according to the roulette wheel selection process for the mating pool (next generation) from which members for crossover and mutation are selected.

Step 4 Crossover: select two designs from the mating pool. Randomly choose two sites on the genetic strings and swap strings of 0s and 1s between the two chosen sites. Set I c = I c + 1

Step 5 Mutation: choose a fraction (P m) of the members from the mating pool and switch a 0–1 or vice versa at a randomly selected site on each chosen string. If, for the past I g consecutive generations, the member with the lowest cost remains the same, the mutation fraction P m is doubled. I g is an integer defined by the user.

Step 6 If the member with the lowest cost remains the same for the past two consecutive generations, then increase I max. If I c < I max, go to Step 4. Otherwise, continue.

Step 7 Stopping criterion: if after the mutation fraction P m is doubled, the best value of the fitness is not updated for the past I g consecutive generations, then stop. Otherwise, go to Step 2.

6 Organization of the Developed Program

The steps of the developed computer program are summarized in the general flowchart (see Fig. 2). All the required steps are programed in MATLAB environment. Optimizations of frames using SQP and GA algorithms have been accomplished using MATLAB toolboxes [34].

Fig. 2
figure 2

The flowchart of the optimization procedure of this research

7 Numerical Examples

In this section, two examples have been considered for obtaining the optimal designs. Braced and un-braced frames are of interest to study from minimum weight point of view. Two types of seismically resistant frame structures are selected: (a) X-braced frame with moment resisting connections, and (b) un-braced frame with moment resisting connections. SQP and GA methods are utilized for weight minimization of the frames, and the obtained results are compared with each other. The horizontal components of El Centro earthquake as shown in Fig. 3 with the time duration of 40s and PGA = 0.31 g are considered and elastic response spectrum is calculated for this record. Damping ratio is assumed to be constant and is set to 5 % (see Fig. 4). The profiles of beams and columns are selected IPB based on the German specifications Stahleisen (1967) (Table 1). The cubic spline data interpolation has been used for reducing the number of unknown design variables [35]. It is shown that this method is much more accurate than the least square approach, which was used in the previous studies (Table 2).

Fig. 3
figure 3

Horizontal component of El Centro earthquake

Fig. 4
figure 4

Pseudo acceleration spectrum of horizontal component of El Centro earthquake (ξ = 5 %)

Table 1 Properties of some of the IPB profiles from STAHL
Table 2 Comparison of data fitting methods using least square approach and cubic spline interpolation (Ix-cm4)

7.1 Case 1

This case is weight minimization of 4-story, 3-bay frame. The members are divided into twelve groups for X-braced frame and eight groups for the un-braced one. The geometry of the frames is illustrated in Fig. 5.

Fig. 5
figure 5

The 4-story, 3-bay steel frame a braced frame, b un-braced frame

Optimum designs are obtained for two types of load combinations: (1) D + L and (2) 0.75(D + L ± E). The gravity loading for roof includes dead load (D) = 22.2 kN/m and live load (L) = 5.9 kN/m and for other stories dead load = 20.2 kN/m and live load = 7.9 kN/m. The modulus of elasticity is E = 2.1 × 108 kN/m2 and the weight density of steel is ρ = 7850 kg/m3. The program gives the same final optimum design when it is started from any design point. In this case, initial cross-sectional areas are taken as 149 cm2 (IPB300 profile). SQP optimization results under both load combinations are shown in Figs. 6 and 7.

Fig. 6
figure 6

Variations of objective function for (D + L)

Fig. 7
figure 7

Variations of objective function for 0.75(D + L ± E)

Active constraints are: the lower bounds of the design variables in the braced frame, combined bending and axial stresses and the optional geometrical constraints of column sizes in both frames. The sections with the closest properties will be selected based on the values of the optimum design variables (cross-sectional areas), from the table of available sections. The selected design is checked for satisfying all of the constraints. If any of the constraints is violated, the next best section is tested, and so on. This constitutes one of the limitations of this methodology. Design variables are automatically selected from the available sections in the set of IPB profiles (Table 1).

Table 3 Optimum results of SQP procedure for low-rise frames

The minimum weights of X-braced frame and un-braced frame for four-story frame have been exhibited in Table 3. The results show that braced systems are more economical than un-braced ones

In discrete optimization using GA, the population size is taken as 50, the elite numbers 10 and the crossover probability 0.80. The results are shown for (D + L) and 0.75(D + L ± E) in Figs. 8 and 9.

Fig. 8
figure 8

Fitness function’s variations for (D + L)

Fig. 9
figure 9

Fitness function’s variations for 0.75(D + L ± E)

Figures 8, 9 show that for short-period systems, the computational costs or number of iterations for un-braced systems are less than braced ones. From optimization point of view, reaching to the best design of flexural structural systems is simpler than finding the final optimum points of X-brace frames (flexural + brace). The authors’s reason is that the lateral stiffness of a braced frame is affected by axial members (braces) that are not the design variables in the optimization formulation. In Table 2, several data fitting techniques have been compared for the profiles of beams and columns. Therefore, reaching to the optimum designs is easier. As seen from Figs. 6, 7, 8 and 9, in both SQP and GA methods for static loading (D + L) un-braced frames are lighter than the braced ones. In addition, as observed from Figs. 7 and 9 in the loading case 0.75(D + L ± E), the braced frames are more economic than the un-braced frames. In Tables 4 and 5, the optimum results of SQP and GA methods are summarized.

Table 4 Comparison of the final results of SQP optimization and GA of X-braced frame
Table 5 Comparison of the final results of SQP and GA for un-braced frame

It is seen that the optimum design for SQP and GA procedures is same. Fortunately, the gradient-based optimization method (SQP) has captured the global optimum point for all loading cases. Under static load combination (D + L), the un-braced frame is 23.15 % lighter than the X-braced frame but under the seismic load combination 0.75(D + L ± E), the X-braced frame is 48.06 % lighter than the un-braced one.

7.2 Case 2

This case is also weight minimization of 10-story, 5-bay frame. The members are divided into 15 groups for X-braced frame and 10 groups for the un-braced one. The geometry of frames is shown in the Fig. 10

Fig. 10
figure 10

The 10-story, 5-bay steel frame a braced frame, b un-braced frame

The gravity loading for roof includes dead load = 26.2 kN/m and live load = 7.4 kN/m and for other stories dead load = 23.8 kN/m and live load = 12.3 kN/m. The rest of the assumptions are same as the previous case. The results of SQP optimization for both load combinations are illustrated in Figs. 11 and 12.

Fig. 11
figure 11

History of objective function for (D + L)

Fig. 12
figure 12

History of objective function for combination of 0.75(D + L ± E)

In this case, active constraints are the lower and upper bounds of the design variables. In the braced frame, combined bending and axial stresses for both frames and the optional geometrical constraints of column sizes in the braced frame are active. In the discrete optimization (GA), all the parameters are same except crossover probability is set to 0.85. In Figs. 13 and 14, the histories of fitness function are depicted. Design variables are automatically selected from the available sections in the set of IPB profiles (Table 1).

Fig. 13
figure 13

Fitness function’s history for combination of (D + L)

Fig. 14
figure 14

Fitness function versus generation 0.75(D + L ± E)

For seismic loading case, the number of iterations for un-braced systems is less than braced one. The reason of authors is that the lateral stiffness of a X-braced frame is influenced by braces rather than beams or columns. As well, the braces directly are not the design variables in the optimization process. In un-braced frames or flexural systems, the design variables are the profiles of beams and columns, and they are direct design variables, and reaching to the optimum design is faster.

Table 6 Optimum results of SQP procedure for high-rise frames

The results of Table 6 indicate that unlike the low-rise frames, for intermediate to high-rise frames, the un-braced frames are economic than X-braced frames.

It is seen from Figs. 11, 12, 13, and 14 that in SQP and GA methods for static loading (D + L) un-braced frame is lighter than the braced frame. In addition, for the loading combination 0.75(D + L ± E), the un-braced frame is more economic than the braced one (see Figs. 11 and 14).

Additionally, in Tables 7 and 8, the optimum results of SQP and GA methods are presented.

Table 7 Comparison of the final results of SQP and GA for X-braced frame
Table 8 Comparison of the final results of SQP and GA for un-braced frame

It is observed that the results of SQP and GA methods are same. Under gravity load combination (D + L), the un-braced frame is 24.65 % lighter than the X-braced frame and also under the seismic load combination 0.75(D + L ± E), the un-braced frame is 26.48 % lighter than the X-braced one. Fortunately, for this intermediate case study, the gradient-based optimization method (SQP) has reached to the global optimum point for all loading cases.

8 Conclusion

This study employs a systematic method for finding the optimum designs of steel structures under seismic loadings. Minimum weight of the steel frames subject to dead, live and seismic loading is found successfully. The P-Delta effects are included in the linear static and seismic response spectrum analysis of intermediate- and high-rise frames. Most important practical constraints have been included in the optimization formulations according to the Iranian national building code requirements. The proposed method is efficient and has practical advantages. These methodologies could be easily applied to three-dimensional frame structures, as well. All the presented methods have been successfully programmed and tested. Based on the present study, the following conclusions are drawn:

  1. 1.

    In low-rise frames, the results show the superiority of X-braced frames with moment resisting connections in comparison with the un-braced frames with moment resisting connections. However, the superiority of the un-braced frames is observed for intermediate- and high-rise frames.

  2. 2.

    The results of optimum designs for all frames showed that SQP method has enough capability to find the global optimum points. Therefore, it could be confidently applied to optimize the steel frame structures.

  3. 3.

    In compare with SQP method, the costs of computations in GA are relatively significant; especially for high-rise frames, the costs of calculations are too expensive. Therefore, gradient-based algorithms could be applied instead of the heuristic methods to optimize such systems.

  4. 4.

    Characteristics of the seismic loadings and the equivalent static loads are not same. Dynamic loads are usually exerted at the foundations of structures, and stiffness, damping, and mass matrixes influenced the responses. However, the responses are only affected by the stiffness of the system in quasi-static loads. To the best of our knowledge, the optimization results for response spectra are compatible with structural behavior of the buildings. Therefore, acceleration response spectrum has been applied in the optimum design of frames.