<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Haykel. (2021). Optimization for the Redundancy Allocation Problem of Reliability
Using an Improved Particle Swarm Optimization Algorithm. Journal of Optimization. 2021. 1</journal-title>
      </journal-title-group>
      <issn pub-type="ppub">2405-8440</issn>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.1109/24.877336</article-id>
      <title-group>
        <article-title>Development of a hybrid metaheuristic-based dual ascent method for reliability optimization of IT systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Viktor Morozov</string-name>
          <email>viktor.morozov@knu.ua</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vladyslav Deineha</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Taras Shevchenko National University of Kyiv</institution>
          ,
          <addr-line>24, Bohdan Gavrilishin Str., Kyiv, 04116</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>5</volume>
      <issue>10</issue>
      <fpage>0000</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>The article considers the problem of optimal reservation in serial-parallel systems, where it is necessary to maximise reliability under a limited budget. A model with a nonlinear objective function and resource constraints is constructed, reflecting the practical conditions of critical IT system design. To solve it, a hybrid approach is proposed, combining the Dual Ascent method with the metaheuristic Particle Swarm Optimisation method, which solves the internal optimisation problem. A numerical experiment showed the advantages of the hybrid method compared to the classical Dual Ascent, where internal optimisation is performed by gradient descent. The resulting hybrid method demonstrated higher system reliability, superiority in finding the optimal solution, and more complete use of the budget. In addition, the results proved to be stable for the initial generations, confirming the practical reliability of the approach. Thus, the combination of Dual Ascent and PSO proves its effectiveness in optimal redundancy tasks, ensuring a balance between strict enforcement of constraints and high quality of searching for optimal configurations.</p>
      </abstract>
      <kwd-group>
        <kwd>reliability optimization</kwd>
        <kwd>optimal redundancy</kwd>
        <kwd>series-parallel systems</kwd>
        <kwd>dual ascent</kwd>
        <kwd>particle swarm optimization</kwd>
        <kwd>hybrid method 1</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Optimisation tasks play an important role in industry, engineering and applied mathematics.
Optimisation is understood as the process of finding the best solution among a set of acceptable
options, given certain constraints. Depending on the problem, this may involve minimising costs,
time or risks, or maximising the reliability, efficiency or quality of an IT system's performance.
Optimisation methods are widely used in a variety of fields, from economics and logistics to energy
and information technology [1] [2].</p>
      <p>One important area is reliability theory, which quantifies a system’s ability to perform its
functions despite component failures. Reliability theory is applied in various fields, such as energy
[3]. In practice, it is impossible to create completely failure-resistant components, so the probability
of failure is always different from zero. To ensure the required level of reliability of critical systems
- energy facilities, transport infrastructure, data centres - a redundancy approach is used.</p>
      <p>Reserving involves introducing additional elements (reserves) that take over functions in the
event of failure of the main part of the system. There are different system structures: series, where
the failure of one element leads to the failure of the entire system; parallel, which remain
operational as long as at least one of the elements is working; and combined (e.g. series-parallel),
which combine the properties of both previous structures [4]. A common practical approach is
series-parallel redundancy, as it allows for a significant increase in reliability without excessive
cost increases.</p>
      <p>The question naturally arises: how many and what kind of reserves need to be established to
achieve the desired level of reliability with limited resources? Obviously, an unlimited increase in
the number of reserves is economically and technically impractical. This is where the task of
optimal redundancy comes in – finding a distribution of reserves that ensures maximum system
reliability within fixed constraints (e.g., budget, weight, or power consumption). Optimal
redundancy is an important task when designing critical systems. The stability of power systems,
the continuity of data centres, and the safety of transport and medical complexes depend on its
solution [5].</p>
      <p>This paper considers an approach based on a combination of different optimisation methods.
Gradient methods are a classic tool for finding extremums, based on moving in the direction of the
target function gradient, and work well for smooth problems [6]. Dual Ascent allows constraints to
be effectively taken into account by introducing Lagrange multipliers and gradually updating them.
Particle Swarm Optimisation, in turn, is a metaheuristic swarm method that searches for the
optimum using the collective behaviour of ‘particles,’ making it suitable for complex and nonlinear
problems. The proposed hybrid approach, which combines Dual Ascent with PSO to solve the
internal optimisation problem, provides a balance between strict enforcement of constraints and
the ability to find high-quality solutions in complex search spaces.</p>
      <p>The scientific novelty of the proposed approach lies in the integration of two heterogeneous
optimization methods into a unified hybrid structure. Unlike prior reliability optimization studies,
which use only metaheuristic algorithms or only gradient methods, the proposed method
integrates Dual Ascent’s constraint-handling precision with PSO’s stochastic global search. This
combination allows for effective work with constraints, ensuring faster convergence and solving
the dual problem in complex system optimal reservation tasks.</p>
      <p>The proposed method is applicable to a wide range of reliability optimization problems,
regardless of the specific system configuration. As an example, it can be applied to large-scale
series-parallel systems representing real IT infrastructures such as data centers, and distributed
computing networks. Since each subsystem in a series-parallel structure corresponds to a node or
stage with several parallel elements, the method maintains computational efficiency even with
increasing system size. The optimization process naturally accounts for resource and budget
limitations, which allows maintaining both reliability and cost-effectiveness in large-scale
environments. This makes the approach suitable for practical reliability optimization, in particular,
in large information infrastructures.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Analysis of recent research and publications</title>
      <p>Review article [7] on optimal redundancy includes types of redundancy, series-parallel schemes,
component parameter uncertainties, system reliability modelling, and methods for solving a
specific problem. This shows that there are many approaches to the topic of optimal redundancy
and indicates the relevance of the topic. It also discusses metaheuristic methods as options for
solving redundancy problems and also points out the peculiarities of the methods, noting that
developing new approaches is valuable. Paper [8] provides an overview of approaches to solving
various reliability optimisation problems, the application of these methods to different types of
design problems, as well as heuristics, metaheuristic algorithms, and exact methods. This is
relevant to our work and highlights the complexity of the optimal redundancy problem and the
need for fast computational methods. Article [9] presents a systematic review of the application of
evolutionary algorithms to reliability optimisation and redundancy problems. The authors evaluate
the effectiveness of different approaches to solving the problem of reserve allocation in complex
system structures. This work is relevant to our research because it confirms the feasibility of using
evolutionary methods in optimal reserve allocation problems and emphasises the need to search for
new combined approaches.</p>
      <p>Article [10] considers the problem of optimising the design of a pharmaceutical plant by
distributing reliability among heterogeneous components, taking into account design constraints.
The authors solve the problem by using three natural artificial intelligence algorithms and a
penalty function to work with constraints. The relevance of this work to our research lies in the
fact that it demonstrates the effectiveness of applying artificial intelligence algorithms to complex
reliability distribution problems with constraints, which directly echoes our approach to optimal
redundancy. Article [11] demonstrates the application of an improved PSO to optimal reservation,
particularly in series-parallel systems, which is also considered in our study. This confirms the
relevance of combining metaheuristic methods with theoretical approaches in reservation tasks,
which directly correlates with our work. This work [12] uses a gradient method to solve the
problem of reserve allocation in a series-parallel system. They formalise the reliability function and
apply a gradient optimiser to maximise it under constraints. This is directly relevant to our task: it
shows that gradient methods can work in optimal reservation and provide a basic reference point,
especially if the reliability function is smooth.</p>
      <p>The paper [13] emphasises the importance of the series-parallel structure as a basic model for
analysing the reliability of complex systems. The authors applied the Lagrange multiplier method,
which provides real solutions for the main parameters, demonstrating the practical effectiveness of
this approach in optimal redundancy problems. The article [14] considers the problem of optimal
distribution of reserve modules in large serial-reserved systems, taking into account budget
constraints. To solve the problem, the Lagrange multiplier method (analytical approach) was used,
as well as other algorithms, including evolutionary ones. This is relevant to our work, since Dual
Ascent also uses Lagrange multipliers and is a combination of approaches, and this all confirms the
feasibility of using Dual Ascent in combination with a heuristic algorithm to achieve more accurate
solutions in the optimal reservation problem.</p>
      <p>Article [15] discusses the Dual Ascent method, which is relevant to our work in which this
method is used. It states that Dual Ascent is an effective method for solving linearly constrained
convex optimisation problems, as well as the importance of choosing the step size in it. In this
work [16] the Dual Ascent method is applied in the context of resource allocation in networks with
distributed architecture. Dual Ascent proves its relevance when it is necessary to ensure a balance
between cost and performance. This demonstrates that Dual Ascent is a real modern method with
applications in similar constrained problems.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Problem statement</title>
      <sec id="sec-3-1">
        <title>3.1. General provisions</title>
        <p>The system under consideration consists of several series of subsystems (stages or nodes), each of
which may contain one or more parallel elements. This architecture is called a series-parallel
structure. It reflects a broad class of real technical and organisational systems: power supply
systems, computing clusters, transport nodes, etc.</p>
        <p>To ensure reliability in such structures, a redundancy approach is widely used, i.e. the
duplication of individual system elements. If at least one element of the subsystem is working
properly, then the entire subsystem is considered operational. If all elements of the subsystem fail,
this leads to the failure of the entire node and, consequently, to a decrease in the overall reliability
of the system.</p>
        <p>The reliability of the system depends both on the probability of fault-free operation of
individual elements and on the number of parallel reserves installed in each subsystem. At the
same time, the number of reserves cannot be arbitrary, as there are resource constraints: financial
budget, equipment weight, dimensions, energy consumption.</p>
        <p>Thus, the task of optimal reservation arises — it is necessary to distribute available resources
among subsystems in such a way as to maximise the probability of trouble-free operation of the
entire system.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Formalization</title>
        <p>Let the system consist of m series of subsystems (stages). For subsystem i, the following is
specified:</p>
        <p>This means that the subsystem fails only if all of its elements fail simultaneously.</p>
        <p>The overall reliability of a series-parallel system is equal to the product of the reliabilities of all
subsystems, since they are connected in series [17]:</p>
        <p>Ri ( ki)=1−(1− pi)ki
m m
R ( k )=∏ Ri ( ki )=∏ ( 1−( 1− pi )ki )</p>
        <p>
          i=1 i=1



probability of failure-free operation of a single element pi ∈ (
          <xref ref-type="bibr" rid="ref1">0,1</xref>
          );
cost of one element ci &gt; 0;
number of reserves ki ≥ 1, which is determined by the solution.
        </p>
        <p>
          Reliability of a subsystem with ki parallel elements:
(
          <xref ref-type="bibr" rid="ref1">1</xref>
          )
(
          <xref ref-type="bibr" rid="ref2">2</xref>
          )
(
          <xref ref-type="bibr" rid="ref3">3</xref>
          )
(
          <xref ref-type="bibr" rid="ref4">4</xref>
          )
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Objective function</title>
        <p>The task is formulated as maximising reliability with a given constraint:
max R ( k ) provided that
k
m
∑ ci ki ≤ B
i=1
min C ( k ) provided that R ( k )≥ Rmin</p>
        <p>k
Alternative approach – minimising costs while achieving a specified level of reliability Rmin:
In this work, the focus is on the task of maximising reliability within a limited budget, as this is
most typical scenario in system design practice.</p>
        <p>Specifics of the task:</p>
        <p>Nonlinearity of the objective function. The reliability function R(k) is nonlinear and has the
property of diminishing marginal effect: each new reserve adds less to reliability than the
previous one.</p>
        <p>Discreteness of variables. The values of ki must be integers, which complicates the use of
classical optimisation methods for continuous problems.</p>
        <p>NP complexity. The problem of optimal reservation usually belongs to the class of
NPhard. With a large number of subsystems, a brute force of possible options becomes
practically impossible.</p>
        <p>Practical importance. Even a slight increase in system reliability can be critical for security,
power supply, or data centre operation. Therefore, the task of optimal redundancy has not
only theoretical but also high practical value.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Methods for solving</title>
      <sec id="sec-4-1">
        <title>4.1. General provisions</title>
        <p>Optimisation problems, such as optimal reservation in series-parallel systems, are characterised by
non-linearity of the objective function, discreteness of variables, and hard constraints. Therefore,
both classical numerical methods and metaheuristic methods capable of working effectively in
complex solution spaces are used to solve them. Various approaches are used to solve the optimal
reservation problem.</p>
        <p>One of the classic approaches is gradient methods, which are based on using derivatives of the
objective function to determine the direction of movement towards the optimum. They work well
for continuous and smooth problems, but in cases of discrete variables and constraints, they require
special modifications.</p>
        <p>Another important approach is Dual Ascent, which allows constraints to be taken into account
effectively. This method is useful when constraints have a linear structure, such as budget
constraints. Dual Ascent gradually adjusts the multipliers, bringing the solution closer to the
optimal one, and is therefore suitable for practical problems with resource constraints.</p>
        <p>Metaheuristic methods, including Particle Swarm Optimisation, also play an important role.
Their advantage is that they do not require information about derivatives and are capable of
effectively exploring large and complex solution spaces. This makes them particularly suitable for
tasks involving nonlinear or many local extrema.</p>
        <p>Hybrid approaches, which combine the strengths of different methods, constitute a separate
direction. For example, the use of Dual Ascent to accurately account for the constraint multiplier in
combination with PSO as an internal optimiser allows both the fulfilment of conditions to be
guaranteed and high search quality to be achieved in complex solution spaces.</p>
        <p>Thus, in the following sections, a sequence of key methods applied in this work will be
considered.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Gradient methods</title>
        <p>Gradient methods are among the most common numerical methods for solving optimisation
problems. Their key idea is to use the direction of the gradient of the objective function to find the
point at which this function takes on its maximum or minimum value. In the case of maximisation,
the step is taken in the direction of the gradient, and in the case of minimisation, it is taken in the
opposite direction.</p>
        <p>Let 's have a function f(x), where x ∈ Rn. The gradient is defined as a vector of partial derivatives:
The classic gradient descent algorithm (for minimisation) is defined by the following formula
[18]:
∇ f ( x )=( ∂ f , ∂ f , … , ∂ f</p>
        <p>∂ x1 ∂ x2 ∂ xn )
x(t+1)= x(t)−α ∇ f ( x(t))
(5)
(6)
where α &gt; 0 is the step size (learning rate). To maximise, the formula with the opposite sign is used.</p>
        <p>Advantages:
 Simple implementation and interpretation.
 Good efficiency for smooth and convex functions.
 Possibility of applying modifications (e.g. stochastic gradient descent).</p>
        <p>In optimal reservation problems, the reliability function is nonlinear and defined for integer
variables ki. The use of gradient methods in their “pure” form is complicated: the variables are
discrete, which requires a special approach (e.g., rounding of values), constraints are imposed,
which requires appropriate approaches (projections), the objective function is saturating
(additional reserve gives an increasingly smaller increase in reliability), which can lead to slow
convergence.</p>
        <p>Despite these limitations, gradient methods remain an important instrument, as they allow for
initial analysis of function behaviour and sensitivity to variable changes, and can be used as a basic
component in further algorithms.</p>
        <p>Thus, gradient methods play a fundamental role in solving reliability optimisation problems and
serve as a starting point for more complex methods, such as Dual Ascent.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Dual Ascent</title>
        <p>The Dual Ascent method belongs to the class of numerical optimisation methods with constraints,
which allows solving primal and dual problems. Its main idea is to move from directly solving a
problem with constraints to its dual form, where constraints are taken into account using
multipliers. This allows optimisation to be performed in two steps: first, the inner problem without
constraints (for fixed multipliers) is solved (e.g., the gradient descent method), and then the
multipliers themselves are gradually updated to ensure that the constraints are satisfied.</p>
        <p>Let 's consider the following problem:
Forming the Lagrangian:
max f ( x ) provided that g ( x )=0
x</p>
        <p>L ( x , u )=f ( x )+u⊤ g ( x )
where u is the Lagrange multiplier responsible for enforcing the budget constraint.</p>
        <p>Dual Ascent Algorithm [19]:
1.
2.</p>
        <p>Initialise the multiplier u(0) and x(0).</p>
        <p>Repeat the following steps, where t = 1, 2, … denotes the step number:
a. Update the step size τt.
b. For the current u(t), solve the internal problem:
x(t+1)∈ argmin L ( x , u(t ))</p>
        <p>x
c. Update the multiplier:
(7)
(8)
(9)
u(t+1)=u(t )+ τ t+1 g ( x(t+1))
(10)
Features:
 Dual Ascent is useful when the main constraint has a simple linear form (e.g., budget).
 Allows to effectively take into account limitations and adjust the search for the optimal
solution.
 The update step τt is often made variable: large at the beginning for fast movement and
smaller at the end for stability.</p>
        <p>In our work, the goal is to maximise system reliability within cost restrictions. Therefore,
internal optimisation naturally takes the form of argmax rather than argmin. At the same time,
when describing the method itself, we adhere to the classical form with minimisation, as accepted
in the literature, and emphasise that the formulation may vary depending on the setting of the task.</p>
        <p>In the formulation, the problem has a clear budget constraint: ∑ciki = B. Dual Ascent allows to
work effectively with this type of conditions. Internal optimisation finds the combination of
reserves that best increases reliability for a given penalty u, while external factor updating
gradually adjusts the solution to exact budget compliance. Another advantage of this approach is
that it can be combined with other methods (e.g., PSO for internal optimisation, as discussed later
in this paper).</p>
      </sec>
      <sec id="sec-4-4">
        <title>4.4. Particle swarm optimization</title>
        <p>Particle Swarm Optimisation is a computational optimisation method inspired by the collective
behaviour of living organisms, such as flocks of birds or schools of fish [20]. Its main idea is that a
set of agents (particles) moves in the space of possible solutions, adjusting their trajectory based on
their own experience and the experience of their neighbours. PSO is a metaheuristic method
because it does not require significant assumptions about the optimisation problem and is capable
of searching large spaces of possible solutions. The PSO method is a swarm intelligence method
because it mimics collective behaviour, where particles exchange information and adapt to the
environment to find optimal solutions.</p>
        <p>Let 's say there is a population of N particles, each of which is characterised by:




position xi(t),
velocity vi(t),
the best solution found for this particle pi,
the globally best solution for the population g.</p>
        <p>
          The update rules are as follows [21]:
v(it+1)=w v(it )+ c1 r1( pi− x(it ))+ c2 r2 ( g− x(it ))
x(it+1)= x(it )+ v(it+1)
(11)
(12)
where w is the inertia coefficient that controls the “memory” of speed; c1, c2 are the coefficients of
the “cognitive” and “social” components; r1, r2 ~ Rnd(
          <xref ref-type="bibr" rid="ref1">0,1</xref>
          ) are random coefficients that add
stochasticity.
        </p>
        <p>Advantages of PSO:

</p>
        <p>Does not require information about the derivatives of the objective function.</p>
        <p>Works well for problems with nonlinear or complex search spaces.

</p>
        <p>Has the ability to avoid local optima due to random perturbations.</p>
        <p>Simple implementation and few parameters to configure.</p>
        <p>In our task, the objective function is the probability of fault-free operation of the system, which
has a nonlinear and complex form. PSO, thanks to its ability to effectively explore the space of
possible configurations, is well suited for the role of an internal optimiser. Particles can represent
different distributions of reserves k = (k1, k2, …, km), and the swarm gradually finds the
configuration that maximises the reliability of the system for a given budget.</p>
      </sec>
      <sec id="sec-4-5">
        <title>4.5. Hybrid approach</title>
        <p>Our work uses a hybrid method that combines Dual Ascent and Particle Swarm Optimisation. The
idea is that Dual Ascent is responsible for updating the u multiplier and enforcing the budget
restriction, while PSO is responsible for solving the internal optimisation Lagrangian problem.</p>
        <p>Scheme of operation:
1. The Lagrangian is formulated, which in the problem has the form:
(13)
(14)
(15)
where R(k) is the reliability of the system, ci is the cost of subsystem element i, B is the budget, and
u is the multiplier.</p>
        <p>2. For a fixed value of u, it is necessary to solve the internal maximisation problem using PSO:
Therefore, with a fixed u, iteration or iterations are performed using the PSO method. Each particle
in PSO represents a possible configuration of reserves k.</p>
        <p>3. The step size τt can be adaptive, for example, decreasing with increasing number of
iterations to ensure stable convergence.
4. After receiving k(t), the u multiplier is updated according to the Dual Ascent rule:
m
L ( k , u)= R ( k )−u ( ∑ ci ki−B )</p>
        <p>i=1
k(t+1)∈ argmax L ( k , u(t ))
k</p>
        <p>m
u(t+1)=u(t )+ τ t(∑ ci k(i t )−B)</p>
        <p>i=1
5. Move again with the new fixed value u to optimisation using the PSO method. The process
is repeated until the stop condition is reached.</p>
        <p>Advantages of this approach:



</p>
        <p>Dual Ascent ensures that budget constraints are taken into account.</p>
        <p>PSO effectively explores the solution space and finds good configurations even in complex
conditions.</p>
        <p>The combination of methods allows to simultaneously control resource constraints and
achieve high system reliability.</p>
        <p>The approach is simply scalable for large systems.</p>
        <p>In the optimal reservation problem, this approach naturally fits the structure of the problem:
Dual Ascent acts as a “regulator” that determines the multiplier and acts externally, while PSO
searches for the optimal amount of reserves in each subsystem in the internal problem. The result
is an approach that simultaneously ensures optimal resource allocation and a high probability of
fault-free system operation.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Experimental research</title>
      <p>To demonstrate the performance of the proposed hybrid approach, a numerical experiment was
conducted with the task of optimal reservation in a series-parallel structure. The aim of the
experiment is to compare the effectiveness of the Dual Ascent + PSO hybrid approach with the
classic Dual Ascent variant, where the internal maximisation task is solved by conventional
gradient descent. Thus, it is possible to see not only the quality of the final solution, but also the
speed at which it is achieved and the stability of the results in different runs.</p>
      <p>
        The same optimal reservation problem formulation was used for both methods. The values of
the probabilities of failure-free operation of elements, costs, and budget were set as follows:
P = (0.92, 0.90, 0.95), C = (
        <xref ref-type="bibr" rid="ref3">20, 3, 10</xref>
        ), B = 150.
      </p>
      <p>The initial value of the multiplier was set as u = 0.1. For gradient descent in the inner problem, a
step size α = 10 was chosen. For the hybrid method with using PSO, the swarm parameters were
determined: population size swarm_size = 10, inertia coefficient w = 0.7, cognitive and social
coefficients c1 = 1.4, c2 = 1.4.</p>
      <p>An important feature of the hybrid approach is that PSO requires search limits. In our task, they
are defined naturally: for each element, the minimum value of the number of reserves is kimin=1,
since at least one element must be present, and the maximum value is limited by the budget, i.e.
kimax= CBi , since the number of reserves at one stage cannot exceed the total budget divided by the
cost of one element of this stage. This property makes the optimal reservation problem very
convenient for applying PSO, since the search space constraints are easy to set and have a clear
engineering rationale.</p>
      <p>The same mechanism for updating the u multiplier was used for both methods. Instead of a
constant step size τ, an adaptive pattern was chosen, which ensures a reduction in the step size
during iterations:
τ t=max ( τ min , τ 0⋅ ( decay )t )
(16)
where τmin is the minimum permissible value, τ0 is the initial step, and decay is the reduction
coefficient. τ0 = 0.001, decay = 0.99, τmin = 10-8. Both methods worked with the same values for these
parameters.</p>
      <p>Each method was run for 10000 iterations, and the best result was selected from all intermediate
solutions. Since in the case of PSO the final result may depend on the initial generation of the
swarm, this method was run 100 times, after which the results were averaged. Due to the stochastic
nature of the PSO algorithm, slight variations between runs are expected, and averaging helps to
ensure stable and reliable outcomes. Considering the stochastic nature of the method, the analysis
focused on the quality, convergence, and stability of the obtained solutions rather than on runtime
performance. For reliability of the assessment, the standard deviation was also calculated. All
configurations obtained by both methods after completion of the calculations were rounded down
to ensure integer values for the number of reserves. The reliability function was evaluated using
these adjusted integer values.</p>
      <p>
        The results showed that the hybrid Dual Ascent + PSO method achieved better results compared
to the conventional Dual Ascent with gradient descent. The hybrid method found the optimal
configuration (
        <xref ref-type="bibr" rid="ref4">4,6,5</xref>
        ), while the classical method found the solution (
        <xref ref-type="bibr" rid="ref4 ref4">4,5,4</xref>
        ). The reliability of the
obtained systems was as follows:
      </p>
      <p>Rhyb=0.9999577275540725, versus Rclas=0.9999427907280976
(17)</p>
      <p>The difference in numerical terms may seem insignificant, but it has practical significance, as it
relates to the level of fault tolerance in critical systems.</p>
      <p>In addition, the hybrid method made more efficient use of the available budget, spending 148
units out of a possible 150, while the classical method spent only 135. Using almost the entire
budget is an advantage, since the remaining resources require an additional brute force search to
find even better options. However, this search is much simpler, since the remaining budget in such
cases is small (Bremaining ≪ Binitial). It is important to note that even after such additional analysis, the
configurations obtained did not exceed the reliability result found by the hybrid approach.</p>
      <p>The behaviour of the methods in terms of the speed of reaching the best solution is also
interesting. The hybrid approach found the optimal configuration much earlier – on average at the
954th iteration, with a standard deviation of 649, while the classic Dual Ascent with gradient
descent achieved its best result only at the 2989th iteration. This means that the hybrid method not
only provides better quality, but also finds the optimal solution first.</p>
      <p>Another important feature is the stability of the results obtained. All 100 independent runs of
the hybrid algorithm resulted in the same optimal system configuration. This demonstrates the
high reliability of the method: despite the stochastic nature of PSO, the final solution proved to be
stable and repeatable.</p>
      <p>In summary, it can be concluded that the hybrid Dual Ascent + PSO approach outperforms the
classic Dual Ascent with gradient descent in terms of solution quality, iteration speed, and stability
of results. This confirms the feasibility of using metaheuristic algorithms within internal
optimisations for optimal reservation tasks, where both the fulfilment of constraints and effective
search in complex solution spaces are important.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions</title>
      <p>Optimal reserving is one of the key tasks of reliability theory and practical design of critical IT
systems. The correct distribution of reserves affects not only overall fault tolerance but also the
efficient use of limited resources. The task is complicated by its non-linear nature, working with
discrete variables and budget constraints. Therefore, the choice of effective optimisation methods is
extremely important from both a theoretical and applied point of view.</p>
      <p>This paper considers and compares two approaches to solving the problem of optimal
redundancy in a series-parallel structure. The first is the classic Dual Ascent method, which uses
gradient descent for the internal optimisation problem. The second is the proposed hybrid method,
where the internal problem is solved using the metaheuristic method Particle Swarm Optimisation.
PSO is a form of swarm intelligence that models the collective behaviour of agents and does not
require the calculation of objective function derivatives.</p>
      <p>The numerical experiment demonstrated the advantages of the hybrid approach. It provided a
better level of system reliability (0.9999577 vs. 0.9999428), more complete use of the available
budget (148 vs. 135 units), and the first to find the optimal solution (on average at the 954th
iteration vs. the 2989th in the classical approach). It is also important that all independent runs of
the hybrid method led to the same optimal configuration, which indicates its stability and
reliability.</p>
      <p>Thus, the Dual Ascent + PSO hybrid approach has proven its effectiveness in the task of optimal
reservation. It allows to simultaneously control the implementation of resource constraints and
ensure high-quality search in a complex solution space, which makes it a promising instrument for
use in the design of systems where reliability is critical.</p>
    </sec>
    <sec id="sec-7">
      <title>Declaration on Generative AI</title>
      <p>The authors have not employed any Generative AI tools.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1] Francisco G. Montoya, Raúl Baños Navarro.
          <source>Optimization Methods Applied to Power Systems. Volume</source>
          <volume>1</volume>
          . 382 p. https://doi.org/10.3390/books978-3-
          <fpage>03921</fpage>
          -131-9.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>Shiliang</given-names>
          </string-name>
          &amp; Cao, Zehui &amp; Zhu, Han &amp; Zhao,
          <string-name>
            <surname>Jing.</surname>
          </string-name>
          (
          <year>2019</year>
          ).
          <article-title>A Survey of Optimization Methods from a Machine Learning Perspective</article-title>
          .
          <volume>10</volume>
          .48550/arXiv.
          <year>1906</year>
          .
          <volume>06821</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Li</surname>
            <given-names>D</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xu</surname>
            <given-names>P</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gu</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhu</surname>
            <given-names>Y.</given-names>
          </string-name>
          <article-title>A Review of Reliability Research in Regional Integrated Energy System: Indicator, Modeling, and Assessment Methods</article-title>
          . Buildings.
          <year>2024</year>
          ;
          <volume>14</volume>
          (
          <issue>11</issue>
          ):
          <fpage>3428</fpage>
          . https://doi.org/10.3390/buildings14113428.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Modarres</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaminskiy</surname>
            ,
            <given-names>M.P.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Krivtsov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          (
          <year>2016</year>
          ).
          <article-title>Reliability Engineering and Risk Analysis: A Practical Guide</article-title>
          ,
          <string-name>
            <surname>Third Edition</surname>
          </string-name>
          (3rd ed.). CRC Press. https://doi.org/10.1201/9781315382425.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>