The Hybrid JAYA (HJAYA) algorithm, a potent and hybridized optimization method, is suggested in this study as a solution to restricted design engineering optimization issues. The idea behind this innovative method is that the best solution found for a given problem shouldn't become stuck in local optima, but instead should aim to advance towards the best answers found thus far. The technique is further accelerated by using a novel starting strategy to provide better answers with fewer function evaluations. As fewer method-specific parameters are needed, this algorithm is simple to implement. By using it to resolve seven challenging constrained problems, including two from design engineering, the algorithm's effectiveness is assessed. Our findings are contrasted with those of other well-known methods found in the literature. The results show that, in terms of creating high-quality solutions, our suggested technique is either superior to or comparable to other algorithms. HJAYA is also applicable to issues in specific fields.
Keywords: Evolutionary Algorithm; Differential Evolution; Fire Fly Algorithm; Shuffled Frog leaping; Gravitational Search Algorithm
Received: Jun 9, 2024 · Revised: Nov 2, 2024 · Accepted: Nov 30, 2024 · Published: 2025-01-26
Corresponding author: Muhammad Islam, [email protected]
This is an open access article under the CC BY 4.0 license.
How to cite: Muhammad Islam, "A Novel Hybrid Jaya Algorithm," International Journal of Engineering and Applied Physics, vol. 5, no. 1, pp. 1136–1143, 2025.
Evolutionary algorithms (EA) and swarm intelligence (SI)-based algorithms are two significant subgroups of population-based heuristic algorithms [1]. Examples of well-known evolutionary algorithms include Genetic Algorithm (GA), ES, EP, DE, BFO, AND AAI [2]. Well-known swarm intelligence-based algorithms include Particle Swarm Optimization PSO, SFL, ACO, ABC, FF and others. [3]. In addition to algorithms based on swarm intelligence and evolution, there are also more algorithms that use the fundamentals of many natural phenomena. Some notable examples within this category encompass the Gerande Explosion Method (GEM) [4]. Biogeography based Optimization (BBO) the Hormany Search (HS) technique, and the Gravitational Search Techniques (GSA).
The same controlling variables, such as population size, the number of generations, the size of the elite, etc., are needed for all probabilistic evolutionary and swarm intelligence algorithms. In addition to the standard control parameters, several algorithms require their own algorithm-specific control parameters. For instance, the PSO algorithm uses social, inertia weight, and cognitive parameters; the ABC algorithm uses the number of onlooker bees, scout bees, employed bees, and limit; and the HS algorithm uses harmony memory consideration rate, pitch adjusting rate, and the number of improvisations. Similar to ES, EP, DE, BFO, AIA, SFL, ACO, and other algorithms.
The effectiveness of the aforementioned algorithms is greatly influenced by the proper tuning of the parameters that are individual to each method. When tuning algorithm-specific parameters incorrectly, the result is either an increase in processing effort. Rao et al. introduced the TLBO algorithm in light of this finding [5]. This does not call for any parameters relevant to the method. For the TLBO algorithm to function, just standard control parameters like population size and generational length are needed [6]. In 2015, R. Venkata Rao introduced the jaya algorithm, another algorithm-specific parameter-less method, in light of the TLBO algorithm's success 
The suggested technique has only one step and is significantly easier to use than the TLBO algorithm, which has two parts (the instructor phase and the learner phase). The Jaya algorithm operates very differently from the TLBO algorithm. The Jaya algorithm has been tested on a variety of constrained and unconstrained benchmark problems in addition to a number of case studies, including the optimization of surface grinding process parameters and the design of micro-channel heat sinks [8]. Several changes to the Jaya algorithm have also been suggested to further boost performance. Ocon and others [9] suggested that one of the top three best solutions be utilized to transition from the existing solution to a new one rather than employing the best option available to the present population. By including a self-adaptive weight strategy to alter the tendency of reaching the best solution and avoiding the worst solution, Yu et al. [10] suggested an Improved Jaya Optimization Algorithm. By incorporating the idea of adaptive populations, Rao and More [11] devised the Self-Adaptive Jaya Algorithm. By incorporating the idea of opposition-based learning into the fundamental Jaya algorithm [13], Rao and Rai [12] produced Quasi-Oppositional-Based an Algorithm.
Due to the random numbers rand1 and rand2 in the search equation of jaya algorithm, sometime the algorithm stucks at local optima because when the pre-mature convergence occurs then the second part of search equation, which represents search around the best solution, become negligible due to this the random parameter rand1 does not work or multiplies random values to the second part in jaya equation which makes no sense when the population converges. So to get rid from this problem we have proposed a new hybrid jaya algorithm HJAYA in which we have replaced the random parameter rand1 by attractiveness factor β which is used in the firefly algorithm [14]. Additionally, five benchmark test problems and two sophisticated engineering design issues are used to evaluate the proposed approach. The outcomes demonstrated how much superior the suggested method is to other optimization strategies.
Remember that the objective function "f(x)" has to be maximized or minimized. Assume that at the end of the first iteration, there are "p" decision variables and "q" viable solutions. Assume that the worst candidate, "worst," decides the value of the function "f(u)" that is inferior to all other values of f(u), while the best candidate, "best," determines both. If at the ith iteration the candidates for k are Xj, k, and i, the value for variable j is updated [15].
According to Equation given:
j,k,i = Xj,k,i + r1,j,i (Xj,best, i − |Xj,k,i|) − r2, j,i(Xj,worst, i − |Xj,k,i|) (1)
Xj
It is approved when the updated new value X0 j, k, i of Xj, k, i delivers the optimum function value. All valid function values are kept at the end of an iteration and utilized as input values for the subsequent iteration. The algorithm JAYA's working mechanism is depicted in Fig. 1. The algorithm Jaya constantly struggles to move away from failure and approach success [16]. The algorithm works diligently to achieve the best solution in order to win, and for this particular reason it is called JAYA, which means triumph.

FA was modelled by the behavior and flashing patterns of fireflies. Yang came up with FA. FA basically follows three idealized rules:
1) Since all fireflies are unisex, they are all attracted to one another.
2) A firefly's attractiveness is inversely correlated with how bright it appears to other fireflies, so for any two fireflies, the brighter one attracts the duller one, which causes the latter to migrate in its direction. If there are no brighter fireflies nearby, however, a firefly goes arbitrarily.
3) A firefly's brightness varies with the value of its objective function. The brightness and objective function in the maximization issue are inversely proportional. The formulation of appeal and variations in light intensity are the two fundamental components of FA. We can always assume, for convenience's sake, that the brightness of the fireflies or the intensity of the light, which is connected to objective function, determines how attractive they are. The brightness I of a firefly at a specific position x is typically taken as: f(x) I(x) for many optimization problems [17]. The distance rij between fireflies i and j affects how appealing they are to each other. Since light intensity diminishes with distance from the source and is also absorbed by the medium, appeal change with degree of absorption. The light intensity I(r) changes monotonically and exponentially with distance r.

Here “ϒ” is the coefficient of light absorption and I0 denotes, the light intensity originally as the attractiveness of the firefly is in proportional relation with light intensity judges by nearby fireflies, so here we are defining the attractiveness β of a firefly as:

Where β0 represents the attractiveness at distance zero i.e r=0. It is important to note that one can replace the exponent ϒr by ϒrm for m > 0. The systematic pseudo code of FA is given below:
The original Jaya Algorithm is:
Firefly Algorithm
Objective function f(x), x= (x1,..., xd)T
Initialize a population of fire flies xi (i = 1, 2 …..…., n)
Define light absorption coefficient γ
While (t <MaxGeneration)
For i=1: n all n fireflies
For j=1: i all n fireflies
Light intensity Ii at x, is determined by f (xi)

Move firefly i towards j in all d dimensions
Attractiveness varies with distance r via exp [-γr] 
Evaluate new solutions and update light intensity
end for j
end for i
Rank the fireflies and find the current best end while
Postprocess results and visualization
Xj,k,i = Xj,k,i + r1 , j, I (Xj, best, i - Xj,k,i - r2 j, i(Xj,worst, i - r2j.ij, worst, i - Xj,k,i) (4)
Replacing r1 j, i by β we get:
Xj, k, i = Xj, k, i + β (Xj, best, i − Xj, k, i) - r2, j, i (Xj, worst, i − Xj, k, i) (5)
In comparison to the original Jaya algorithm and other optimization methods, the newly acquired hybrid Jaya algorithm in Eq. (5) produces significantly better results. The convergence rate is accelerated and the optimization problem is better solved by the Brightness factor in Eq. 5.
In this section, we'll talk about the outcomes of two engineering design issues and five benchmark test problems using the HJAYA Algorithms.
This issue's objective is to reduce the price of welded beams. It is possible to formulate the welded beam design problem's objective function F(X), which is totally cost-based and includes welding labour, set-up, and material costs, as follows in Fig 2 [18].

The welded beam design problem is addressed with the newly presented algorithm, and the best result is attained after just 20 separate runs. In Table 1, you can see the solution vector, constraints, and value of the objective function [19].
| parameter values | x 1 0.206244456922346 | x 2 3.45941331041609 | x 3 9.03700769940361 | x 4 0.205731448108665 |
|---|---|---|---|---|
| parameter values | g 1 -0.3692 | g 2 -2.8117 | g 3 0.0000 | g 4 -3.4339 |
| parameter value | g 5 -0.2355 | g 6 -0.3258 | g 7 -0.0812 | f 1.724234455494711 |
| Method | x 1 | x 2 | x 3 | x 4 | Best |
|---|---|---|---|---|---|
| GA | 0.2088 | 3.4205 | 8.9975 | 0.2100 | 1.7483 |
| PSO | N/A | N/A | N/A | N/A | 1.922 |
| CPSO | 0.202369 | 3.544214 | 9.04821 | 0.205723 | 1.728024 |
| COPSO | 0.205730 | 3.470489 | 9.036624 | 0.205730 | 1.724852 |
| CDE | 0.203137 | 3.542998 | 9.033498 | 0.206179 | 1.733461 |
| FA | 0.2015 | 3.562 | 9.0414 | 0.2057 | 1.731207 |
| BB-BC | 0.205718 | 3.4709118 | 9.0364603 | 0.205737 | 1.724928 |
| DBB-BC | 0.205730 | 3.4704887 | 9.0366239 | 0.205730 | 1.724852 |
| Proposed hybrid Jaya | 0.20624 | 3.45941 | 9.03701 | 0.20573 | 1.724235 |
It is evident from Table 2 that the HJAYA algorithm's result is superior to the solutions produced by all other algorithms.
As seen in Fig. 3, [20], the goal of this challenge is to reduce the weight of a spring. Minimum deflection, Shear stress, and surge frequency are a few of the restrictions that apply to the minimizing procedure. The three variables in this problem are wire diameter (d), mean coil diameter (D), and the number of active coils (N). The spring design challenge is formulated as follows:

The following is a mathematical expression of the spring design problem:

Bounds on the variables are:

| Parameter | x 1 | x 2 | x 3 | f |
|---|---|---|---|---|
| Values | 0.051838 | 0.360328 | 11.080204 | 0.012665085 |
| Parameter | g 1 | g 2 | g 3 | g 4 |
| Values | -0.0000 | 0.0000 | -4.0609 | -0.7252 |
Table 4. Contrast the solution achieved in the spring design problem by proposed HJAYA Algorithm with other
algorithms

We can observe from the preceding sections that the suggested algorithm outperforms other algorithms in solving engineering design challenges [21, 22]. The proposed method will now be used in this section to solve benchmark test problems, and the results will then be compared to those of other algorithms.
Mathematically G04 can be written as:



For this issue G04, the proposed HJAYA Algorithm yielded the optimal value and solution vector, which are shown in Table 5.
| Solution vector | u 1 | u 2 | u 3 | u 4 | u 5 |
|---|---|---|---|---|---|
| Values | 78.0027 | 33.0000 | 29.9948 | 45.0000 | 36.7743 |
| Objective function | f (u) | ||||
| Value | -30665.613 |
The mathematical form of benchmark test problem G06 is given below.


For this issue G06, the proposed HJAYA Algorithm yielded the optimal value and solution vector, which are shown in Table 6.
| Solution vector b 1 | b 2 |
|---|---|
| Values 14.094964107721200 | 0.842880980693446 |
| Objective function f (b) values -6961.904 |
Problem G08 from the benchmark test has the following mathematical form:
Max ƒ (a) = sin
(2πa1) sin(2πa2) / a3 (a1 + a2)
For this issue G08, the proposed HJAYA Algorithm yielded the optimal value and solution vector, which are shown in Table 7.
| Solution vector | a 1 | a 2 |
|---|---|---|
| values | 1.22797135333232 | 4.24537336684669 |
| Objective function | f (a) | |
| Value | -0.0958 |
The mathematical form of G09 test problem is given by


For this issue G09, the proposed HJAYA Algorithm yielded the optimal value and solution vector, which are shown in Table 8.
| Solution vector b 1 | b 2 | b 3 | b 4 | b 5 | b 6 | b 7 |
|---|---|---|---|---|---|---|
| Values 2.2930 | 31.9835 | -0.7515 | 4.2970 | -0.6141 | 0.7128 | 1.4562 |
| Objective function f (b) value 681. 234 |
The mathematical expression representing the G11 test problem is provided below:

For this issue G11, the proposed HJAYA Algorithm yielded the optimal value and solution vector, which are shown in Table 9.
| Solution vector | b 1 | b 2 |
|---|---|---|
| Values | -0.706709508428322 | 0.499452546261091 |
| Objective function | f (b) | |
| Value | 0.749986082747506 |
The results of the suggested method for test problems G11, G09, G08, G06, and G04, are compared to those of other algorithms in the accompanying Table 10. The values highlighted in bold are the results of using the hybrid Jaya algorithm to solve several test problems.
| Algorithms/problems | G04 | G06 | G08 | G09 | G11 |
|---|---|---|---|---|---|
| Hybrid JAYA | -30665.613 | -6961.904 | -0.0958 | 680.1861 | 0.749986 |
| HM | -30664.5 | -6952.1 | -0.095825 | 680.91 | 0.75 |
| GA | -30626.053 | -6952.472 | -0.095825 | 685.994 | 0.75 |
| BBO | -30665.539 | -6961.8139 | -0.095825 | 680.6301 | 0.7499 |
| ABC | -30665.539 | -6961.814 | -0.095825 | 680.634 | 0.75 |
| DE | -30665.539 | -6954.434 | -0.095825 | 680.63 | 0.752 |
| Jaya | -30665.5387 | -6961.814 | -0.095825 | 680.6301 | 0.7499 |
| PSO | -30665.539 | -6961.814 | -0.095825 | 680.63 | 0.749 |
Most likely, in addition to modifying the algorithm's general regulating parameters, the complete swarm intelligence and evolutionary algorithm employed some tuning for unique algorithm parameters. The optimisation of a certain algorithmic parameter affects the algorithm's performance. A novel algorithm called TLBO was introduced last year; it just employs the common regulating parameter of all algorithms and does not require any additional particular parameters. In light of this success in TLBO, let's discuss optimisation literature. Recently, the well-known Java algorithm—which has less algorithm-specific parameters—was proposed. The Java algorithm is quite straightforward and simple to use. For engineering design challenges and other test problems, the Java approach produces results that are significantly superior to those produced by other optimisation methods. In this research, we have created a hybrid version of the java algorithm by substituting the attractiveness factor for the java algorithm's random number generator, rand1. The welded beam design and spring design issues, as well as five benchmark test problems, are applied to the suggested hybrid java algorithm.
The results of different optimisation algorithms, are compared to the results of our hybrid Java algorithm. For these issues, use mathematical optimisation, constraint correction, HM, BBO, and ABC. The introduction to optimisation, various forms of optimisation, and optimisation algorithms were actually covered in this article. A Java algorithm for confined and unconstrained optimisation problems has also been discussed. The outcomes of the proposed Java algorithm and other optimisation strategies are then compared.