Keywords

1 Introduction

Truss structure is one of the important real-world applications which typically used in bridges, towers, roofs, buildings, domes, various industrial sectors, etc. It is the most common lightweight structure used in practices. These systems are designed to meet optimality criteria with the lowest weight, i.e., cost-effective with maximum reliability. These truss structures are associated with number of members which sustain load acting on the structure. In order to withstand for the long life, the mechanical conditions such as deflection of nodes and stress exerted in the member must be satisfied. In these truss structure problems, the number members are equal to number of design variables. The variables are of continuous and discrete types. Increasing the number of members, complexity of the problems increases which may not be handled using tradition gradient-based optimization techniques. There are several heuristic and metaheuristic techniques that have been proposed by the researchers and applied to solve these problems. Those are Bat Algorithm (BA) Yang and Gandomi (2012), Cuckoo Search Algorithm (CSA) (Gandomi et al. 2013), Mine Blast Algorithm (MBA) (Sadollah et al. 2013), Particle Swarm Optimization (PSO) (Li et al. 2009), Probability Collectives (PC) (Kulkarni et al. 2016), Cohort Intelligence (Kale and Kulkarni 2018, 2021). Furthermore, several hybrid optimization techniques have also been proposed and applied to solve these truss structure problems such as Particle Swarm Optimization and Genetic Algorithm (PSOGA) (Omidinasab and Goodarzimehr 2020), Cohort Intelligence with self-adaptive penalty function and Colliding Bodies Optimization (CI-SAPF-CBO) (Kale and Kulakrni 2021). In this work, the concept of fuzzy logic is incorporated in CI algorithm to solve the truss structure domain problems.

The concept of fuzzy is made from the things that are uncertain in nature. The theory of absolute true and absolute false doesn’t exist in fuzzy logic. In last three decades, fuzzy set and fuzzy logic theory have been evolving and have been used in multiple engineering and natural socioeconomics sciences. Fuzzy logic model can replicate human way of thinking in complex situation and that’s why it can be used as a tool examining natural complexity. Moreover, fuzzy logic can be exploited to predict chaotic behaviors. A fuzzy logic integrated with Genetic Programming (GP) is proposed by (Soh and Yang 2000) to increase the performance of the GP-based approach for structural optimization. Fuzzy set theory is employed to deal with imprecise and vague information, during structural design process. In Fuzzy Tuned Interactive Search Algorithm (FTISA) by (Mortazavi 2019) proposed mechanism evaluates agents via two predefined concepts named as Normalized Objective Function \(\left( {{\text{NOF}}_{i} } \right)\) and Normalized Members Density \(\left( {{\text{NMD}}_{i} } \right)\). The defined nine-rule fuzzy mechanism takes these values as input parameters and through fuzzification–defuzzification process returns a Topology/Size (TS) regulator value for each agent. The hybrid fuzzy genetic system for optimizing cabled-truss structures (Finotto et al. 2013) demonstrates an application of a hybrid fuzzy genetic system in the optimized lightweight structure is determined through a stochastic discrete topology and sizing optimization procedure that uses ground structure approach, nonlinear finite element analysis, genetic algorithm, and fuzzy logic. When performing optimization, the increase of the ground structure discretization led to a sharp increase of the search space. In addition, an increase in the number of evaluations of the FE model was also observed. This is because iterative procedures become part of the optimization problem when cable elements are used. For this reason, the effectiveness of the GA can be compromised since a relatively high number of evaluations may lead to a prohibitive computational cost.

In this work, an intrinsic property of cohort intelligence and fuzzy logic is combined together to design the new hybridized version named as CIFL. In the last two decades, fuzzy theory has been applied to structural optimization. Their results show that use of fuzzy set can mitigate the shortcomings of the aforementioned approaches, the current study deals with putting forward a new approach that takes into account the search space of size and topology optimization using fuzzy logic. This strategy does not only remove randomization but also decreases the convergence rate. The proposed CIFL is examined on two cases of three-bar truss structural test problems. These problems are having continuous as well as discrete variable with nonlinear constraints. To handle the constraints a self-adaptive penalty function (SAPF).

The chapter is organized as follows: Sect. 6.2 describes concept of CI algorithm. Section 2.1 explains the constrained handling SAPF approach. Section 6.3 describes detailed architecture of FL algorithm. The framework of hybrid CIFL is presented in Sect. 6.4. In Sect. 6.5, two cases of three-bar truss structure problems are presented. In Sect. 6.6, the results are analyzed and discussed with other contemporary algorithm. Section 6.7 concludes the proposed work.

2 Cohort Intelligence (CI) Algorithm

The CI method is inspired from social tendency of learning by cohort candidates through interaction and competition with every other candidate (Kulkarni et al. 2013). The cohort candidates with certain qualities make a particular behavior. Every candidate in a cohort follows certain behavior and adopts the associated qualities which assists to improve the behavior of individual candidates. This makes every candidate learn from one another and helps to evolve the overall cohort behavior. The cohort behavior is considered saturated if for considerable number of learning attempts (iterations) the behavior of the candidates does not improve and becomes almost same. The characteristics of CI algorithm (Kale and Kulkarni 2021) are as follows:

  1. 1.

    CI models the social behavior of learning candidates having common aim to achieve the best behavior by improving their individual qualities.

  2. 2.

    For every learning attempt, the cohort candidates are keen to improve its individual behavior by observing self and other candidate’ behavior in a cohort.

  3. 3.

    Every candidate of CI algorithm updates its search space for every learning attempt using sampling space reduction factor.

  4. 4.

    The CI algorithm has an ability to solve problems having more number variables and constraints.

2.1 Self-Adaptive Penalty Function (SAPF)

SAPF approach is adopted from Kale and Kulkarni (2021). The mechanism of SAPF is as follows:

The penalized or pseudo-objective function is written as

$$\phi \left( {X^{c} } \right) = f\left( {X^{c} } \right) + {\text{SAPF}}\left( {X^{c} } \right),$$

where \({\text{SAPF}}\left( {X^{c} } \right) = f\left( {X^{c} } \right) \times \left( {\mathop \sum \nolimits_{i = 1 }^{p} g_{i} \left( {X^{c} } \right) + \mathop \sum \nolimits_{i = 1}^{m} h_{i} \left( {X^{c} } \right)} \right)\) is the self-adaptive penalty function;

\(f\left( {X^{c} } \right)\) is the behavior of individual candidate.

The penalty parameter used in SAPF approach is itself a behavior of an individual candidate, i.e., \(f\left( {X^{c} } \right)\). Every candidate has a different penalty parameter, and it updates iteratively as the CI algorithm progresses.

3 Fuzzy Logic

Fuzzy represents unclear/vague/absolute, e.g., ON–OFF, 0–1, High-Low, True–False, etc. However, there are several applications or the situations where these vague/absolute outputs would not work which requires the degree of truth. Lotfi Zadeh proposed the fuzzy logic (FL) in 1960 to represent the vague information (fuzzy sets) in the form of actual degree of truth (crisp value). FL is a concept associated with conventional logic which handles the information with partial truth (i.e., completely true or completely false). However, in the real-world applications or in day-to-day life activities it is necessary to analyze the exact degree of that partial truth. For that, FL method models the membership functions using certain rules based on the behavior of application. This rule-based system dives by an inference engine and provides the prescribed degree of truth. The FL methodology consists of four steps, such as (i) Fuzzification, (ii) Rule-base, (iii) Inference engine, and (iv) Defuzzification. The FL architecture is presented in Sect. 3.1.

3.1 Fuzzy Logic Architecture

The architecture of FL is divided into four parts as follows:

  1. 1.

    Fuzzification—It is process of converting the crisp value input (precise value) in fuzzy inputs using the membership function defined for that application. The membership function is considered for the optimization of truss structure best, mean, and worst function value.

  2. 2.

    Rule Base—In rule base, the defined if–then conditions are stored which is further used to control the decision-making system.

  3. 3.

    Inference Engine—The inference engine used to process fuzzy input. It evaluates the degree of match between fuzzy set and defined rules. Based on the percentage of degree of match, the rules are further modified and implemented to develop the control action.

  4. 4.

    Defuzzification—The processed fuzzy output generated by inference engine is then converted into crisp value using defuzzification step.

The general block diagram of FL architecture is presented in Fig. 6.1.

Fig. 6.1
A block diagram of fuzzy logic architecture. The crisp input is sent to Fuzzifier, the fuzzy input set along with the rules is sent to inference. The fuzzy output set is sent De-fuzzifier to obtain the crisp output.

Fuzzy logic architecture

The term membership function used in fuzzification step specifies the degree of match of given input belonging to available sets. The degree of membership is represented between 0 and 1 which specifies the level of match of particular input belong to its set. This is also referred as the membership value of that variable. Different membership functions used to fuzzify a crisp (numerical) value are present in Fig. 6.2.

Fig. 6.2
2-line graphs plot mu versus x. Graph a has a triangular pulse with a peak labeled A at 1. Graph b has a trapezoidal pulse with a peak labeled B at 1.

Examples of triangular and trapezoidal membership function

4 Framework of CIFL

The proposed CIFL procedure is explained as follows:

Initialization of the number of cohort candidates \(C\), variables \(t\), sampling interval reduction factor \(R\), and sampling interval \(\Psi\).

$${\text{Minimize }}f\left( x \right) = f\left( {x_{1} , \ldots , x_{i} , \ldots ,x_{t} } \right)$$
(6.1)
$${\text{Subjected to }}\Psi^{{{\text{lower}}}} \le x_{i} \le \Psi^{{{\text{upper}}}} , \quad i = 1, \ldots , t$$

Calculate probability of candidates based on objective function

$$p^{c} = \frac{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {f\left( {x^{c} } \right)}}}\right.\kern-0pt} \!\lower0.7ex\hbox{${f\left( {x^{c} } \right)}$}}}}{{\mathop \sum \nolimits_{c = 1}^{c} {\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {f\left( {x^{c} } \right)}}}\right.\kern-0pt} \!\lower0.7ex\hbox{${f\left( {x^{c} } \right)}$}}}}, \quad \left( {c = 1, \ldots , C} \right)$$
(6.2)

By using roulette wheel approach, it can decide which candidate to follow. The candidate that is being followed has produced the best results. This approach gives the candidates a choice to follow better behavior that their existing one.

Every candidate \(C\) shrinks the sampling interval \(\Psi\) associated with each variable \(t\) based on whether condition is saturated or not. The cohort behavior is considered to be saturated if there are no further improvements, the results are observed.

After that every candidate forms a behavior by sampling qualities from within the updated sampling intervals. Then it uses the updated sampling intervals for the membership function. Use updated sampling intervals as crisp input and convert them into fuzzy set. Create fuzzy rule base for the algorithm. After that convert the fuzzy set into crisp output. Check if the obtained solution is converged; if not, start the process again from calculating the objective function. A FL hybridized with CI to increase the performance of the CI algorithm for structural optimization. Fuzzy set theory is employed to deal with imprecise and vague information, during structural design process.

In CI algorithm, the solutions are randomly generated using uniformly distributed approach within its sampling interval. This range is iteratively modified using a sampling space reduction factor \(R\). In the current work, the hybridization of FL with CI algorithm is demonstrated and it is referred as CIFL. In CI algorithm, modified sampling intervals for every candidate \(c\) associated with each variable \(t\). Whereas, in CIFL these modified sampling intervals are treated as crisp input set which further utilized in the fuzzification process. In fuzzification, the crisp input is converted into fuzzy set which is defined as best, medium, and worst, respectively. Further inference engine helps to determine the degree of match of fuzzy input using if–then rule. As the algorithm progresses, the degree of match iteratively updated based on the modified sampling intervals. Next step is to defuzzify the fuzzy input into crisp values using Eq. (6.3).

$$x^{*} = \frac{{\smallint \mu_{{\overline{c} }} \left( x \right). x {\text{d}}x}}{{\smallint \mu_{{\overline{c} }} \left( x \right). {\text{d}}x}}$$
(6.3)

After the defuzzification, these crisp values are further used to evaluate the function. If after significant number of iterations, the solution is converged and the solution does not improve and also becomes the same accept it as the final solution and stop, else repeat the process from the objective function. The flowchart of the proposed CIFL is presented in Fig. 6.3.

Fig. 6.3
A flowchart of C I F L. The steps are as follows. Start, initialize number of candidates C in the cohort, C I- S A P F with 5 steps, Fuzzy logic part with 3 steps, if there is convergence then, accept the current behavior as final solution and stop else, evaluate the objective function.

Hybrid CIFL flowchart

The hybrid CIFL algorithm was coded in Python3 on Visual Studio Code Platform with an Apple M1 chip @3.2 GHz octa-core processor with 8 GB RAM at Institute of Artificial Intelligence, MIT World Peace University, Pune, India (Fig. 6.4).

Fig. 6.4
A pseudo code of the hybrid C I F L algorithm. It includes C, psi, R, P, g, initialize C, psi, T, and for with 11 steps.

Hybrid CIFL pseudo-code

5 Three-Bar Truss Structure Problems

There are many heuristic as well as metaheuristic techniques have been used to solve the three-bar truss design optimization problem such as Swarm Optimization Approach (SOA) (Ray and Saini 2001), Cuckoo Search Algorithm (CSA) (Gandomi et al. 2013), Bat Algorithm (BA) (Yang and Gandomi 2012), Mine Blast Algorithm (MBA) (Sadollah et al. 2013), Cricket Algorithm (CA) (Canayaz and Karci 2016), Artificial Atom Algorithm (A3) (Yildirim and Karci 2018).

Case 1: Three-bar truss structure is shown in Fig. 6.5. The volume of the truss structure is to be minimized subject to stress constraints.

Fig. 6.5
A diagram of the 3-bar truss structure. 3 nodes are connected to a node P with variables x 1, x 2, and x 3. The distance between any 2 nodes is L.

Three-bar truss design Case 1 (Ayse and Karci 2018)

There are two design variables \(({x}_{1},{x}_{2})\) and three nonlinear constraint functions in this problem. The problem is expressed mathematically as follows:

Objective function:

$${\text{Min }}f\left( x \right) = \left( {2\sqrt 2 x_{1} + x_{2} } \right) \times L$$
(6.4)

Constraints:

$$g_{1} = \frac{{\sqrt 2 x_{1} + x_{2} }}{{\sqrt 2 x_{1}^{2} + 2x_{1} x_{2} }} P - \sigma \le 0$$
(6.5)
$$g_{2} = \frac{{x_{2} }}{{\sqrt 2 x_{1}^{2} + 2x_{1} x_{2} }} P - \sigma \le 0$$
(6.6)
$$g_{3} = \frac{1}{{ x_{1} + \sqrt 2 x_{2} }} P - \sigma \le 0$$
(6.7)

where \(0 \le x_{1} , x_{2} \le 1.\) The constants are \(L = 100\;{\text{cm}}, P = 2\;{\text{KN}}/{\text{cm}}^{2}\), and \(\sigma = 2\;{\text{KN}}/{\text{cm}}^{2}\)

Case 2: The indeterminate three-bar truss structure (refer Fig. 6.6) is subject to vertical and horizontal forces at a single node which is an intersection of all the three members. The aim is to minimize the structural weight \(W\) and is minimized under the constraint that the stress in all members should be smaller than allowable stress \(\sigma_{0}\) in absolute magnitude. After nondimensionalization of the objective function and variables, \(F = \sigma_{0} W/Ppl\) and \(x_{i} = a_{i} \sigma_{0} /P\). This problem is previously solved by using CI-SPF (Kale and Kulkarni 2018), Multi-Random Start Local Search (MRSLS), CI-SAPF, and CI-SAPF-CBO (Kale and Kulkarni 2021).

Fig. 6.6
A diagram of 3-bar truss structure. 3 nodes A, B, and C are connected to a node P with variables 1, 2, and 3, respectively. The angle between nodes A and B is 60 degrees and between B and C is 50 degrees. The distance between A and P, B and P, C and P is l.

Three-bar truss design Case 2 (Shin et al. 1990)

$${\text{Objective function Min: }}f\left( x \right) = 2x_{1} + x_{2} + \sqrt {2x_{3} }$$
(6.8)

Subject to:

$$g_{1} = 1 - \frac{{\sqrt 3 x_{3} + 1.932x_{3} }}{{1.5x_{1} x_{2} + \sqrt 2 x_{2} x_{3} + 1.319x_{3} }} \ge 0$$
(6.9)
$$g_{2} = 1 - \frac{{0.634x_{1} + 2.828x_{3} }}{{1.5x_{1} x_{2} + \sqrt 2 x_{2} x_{3} + 1.319x_{3} }} \ge 0$$
(6.10)
$$g_{3} = 1 - \frac{{0.5x_{1} + 2x_{2} }}{{1.5x_{1} x_{2} + \sqrt 2 x_{2} x_{3} + 1.319x_{3} }} \ge 0$$
(6.11)
$$g_{4} = 1 + \frac{{0.5x_{1} - 2x_{2} }}{{1.5x_{1} x_{2} + \sqrt 2 x_{2} x_{3} + 1.319x_{3} }} \ge 0$$
(6.12)
$$x_{i} = \left\{ {0.1,\; 0.2, \;0.3,\; 0.5, \;0.8,\; 1.0, \;1.2} \right\},\quad i = 1,2,3$$

6 Results Analysis and Discussion

The algorithm is validated by solving two cases of three-bar truss structure-constrained optimization problems for the minimization of weight. The solutions obtained from proposed CIFL algorithm for three-bar truss structure Case 1 problem are compared with Swarm Optimization Algorithm (SOA), Cuckoo Search Algorithm (CSA), Bat Algorithm (BA), Mine Blast Algorithm (MBA), Cricket Algorithm (CA), and Artificial Atom Algorithm (A3) presented in Table 6.1. The statistical results such as best, mean, and worst function values, standard deviation, average CPU time and average function evaluations are obtained from 30 independent trails. From the result comparison, it shows that the proposed CIFL algorithm yielded satisfactory results compared with other algorithms (refer Table 6.1). It is observed that the solution precisely worst by 0.19% as compared to the latest solution obtained by A3 (Yildirim and Karci 2018) and CA (Canayaz and Karci 2016). The convergence plot of Case 1 of three-bar truss structure problem is presented in Fig. 6.7.

Table 6.1 Comparison of results for three-bar truss structure optimization problem Case 1
Fig. 6.7
A convergence plot for 6 candidates. The lines for candidates 1 to 6 have small peaks from 0 to 30 iterations. Candidate 3 has highest peak and candidate 6 remains almost stable from 50 to 300 iterations.

Conversion plot for three-bar truss structure optimization problem Case 1

In CSA (Gandomi et al. 2013), Lévy’s flight approach was employed with three key rules such as selection of the best, exploitation by local random walk, and exploration by randomization. The performance of the CSA is dependent on the parameter which needs to be fine-tuned. It may require certain preliminary trail to set an appropriate value. The CSA adopts Lévy’s flight strategy so that only best solution can be obtained which is close to optimal value. Like CSA, Bat Algorithm (BA) (Yang and Gandomi 2012) is also required fine-tuning of two computational parameters which directly affect the convergence of BA. The Bat Algorithm (BA) models the foraging behavior of bats. Bat uses echolocation to sense the distance food and background barrier. The Cricket Algorithm (CA) (Canayaz and Karci 2016) which models the behavior of cricket insect. These cricket insects intercommunicate with their peers through the sound in nature. They generate the sound by chirping of their wings based on the atmospheric temperature. An A3 (Yildirim and Karci 2018) referred to as Artificial Atom Algorithm is based on chemical compounding processes. There are two operators in A3 which are iconic bond and covalent bond. It is associated with the conceptual strategy of an electron, atom, and atom set. Number of design variables are considered while determining number of electrons. The atom is formed randomly according to constraint conditions (Table 6.2).

Table 6.2 Statistical results obtained from CIFL for three-bar truss design optimization problem Case 1

For three-bar Case 2 truss structure problem, CIFL is compared with CI-SPF, CI-SAPF, MRSLS, CI-SAPF-CBO algorithm presented in Table 6.3. The statistical results obtained from 30 trials are presented in Table 6.4. It is observed that the CIFL algorithm has obtained same function value. The convergence plot of Case 2 of three-bar truss structure problem is presented in Fig. 6.8. The average computational time obtained from CIFL for Case 1 and Case 2 is 7.04 and 7.55 s, respectively. The constraints associated with these problems are very much crucial task. Here, in CIFL algorithm SAPF approach is incorporated to deal with the constraints. This is important to note that it does not need to set a penalty parameter. It is adaptively set as the algorithm progresses. This SAPF approach is also used in CI-SAPF, CI-SAPF-CBO, and MRSLS. In CI-SPF, the static penalty function is incorporated to deal with the constraints; however, it requires to fine-tuning to set an appropriate value of penalty parameter.

Table 6.3 Comparison of results for three-bar truss design optimization problem Case 2
Table 6.4 Statistical results for three-bar truss design optimization problem Case 2
Fig. 6.8
A convergence plot for 6 candidates. The fluctuating lines for candidates 1 to 6 have peaks between 0 to 35 iterations. Candidate 5 has the highest peak and candidate 6 remains stable from 35 to 300 iterations.

Conversion plot for three-bar truss design optimization problem Case 2

In CIFL as well every candidate updates its sampling interval for every iteration using a sampling space reduction factor. It also requires certain preliminary trials however, according to the analysis conducted in Kale and Kulkarni (2018) the value of \(R\) can be set between 0.95 and 0.97. This eliminates the tuning of parameter \(R\). The role of FL in CIFL is to nullify the randomly regeneration of variable values. The sampling space updates in every iteration are considered for the membership function. Then using a rule base condition, the fuzzy system provides the crisp values which are further used as a set of variables.

7 Conclusions

The CIFL algorithm is successfully applied to solve the two cases of constrained three-bar truss structure problem. These problems are associated with discrete as well as continuous variables and have nonlinear constraints. For discrete variables, a round-off integer sampling is incorporated. The performance of CIFL is observed to be precisely similar as compared to other metaheuristic algorithms. The hybrid version of CIFL algorithm eliminates the randomly generated solutions which in CI algorithm for every learning attempt. The SAPF approach is incorporated to handle the constraints associated with the problems. After the extensive comparative study, it is observed that CIFL obtained satisfactory results as compared to other contemporary metaheuristic algorithms. The CIFL algorithm can be used to solve more design engineering problems as well as structural engineering problems.