Components Assignment Problem for Multi-Source Multi-Sink Flow Networks with Reliability and Budget Constraints ()
1. Introduction
The assignment problem (AP) is one of the most important concerns in manufacturing and service systems and it has gotten a lot of attention from scholars. AP is in charge of allocating various resources to various activities on a one-to- one basis [1]. The goal of the Component Assignment Problem (CAP) is to find the best way to assign n accessible components to m positions in a system in order to enhance system reliability [2]. In [3] discussed CAP in a single-source single-sink stochastic flow network (SFN), they studied the matter of searching the optimal components to be appointed to the network for maximizing reliability. The system reliability of an SFN is improved in [4] by searching for the best resource to assign using a genetic algorithm approach (GA). Existing [5] defined the topic as a double-resource assignment problem and suggested an optimization technique solution for the two resource types, transmission line and transmission facility. They devised a method that used the GA to solve the CAP with the optimal reliability while adhering to the assignment budget constraint [6]. They discovered an efficient technique based on a GA to handle the resource assignment problem by finding the optimal resource assignment, which leads to maximum system reliability, in the CAP for a Stochastic-Flow Network (SFN) presented in [3]. The Component Assignment Problem (CAP) attempts to find the best way to assign n suitable components to m places in a system in order to maximize system reliability [2]. Additionally, [7] has solved the aforementioned problem as a multi-objective CAP. They suggested a two-stage solution to the multi-objective CAP due to reliability and assignment cost for SFN.
[8] studied the CAP under lead-time constraints to maximize system reliability, and [9] solved it as a multi-objective problem. In the case of considering both lead-time and assignment cost, the CAP has been studied by [10] [11] [12] [13]. In [10], a multi-objective GA-based on RWGA approach was proposed to obtain the optimal solution, i.e., the system reliability was maximized and both the total lead-time and the assignment cost were minimized. In [11] the CAP has been formulated as a fuzzy linear optimization problem, considering node failure [12]. In [13] presented a MOPSO-based approach for determining the optimal components that can be assigned to an SFN to maximize system reliability while minimizing total cost and total lead-time.
The problem of allocating various resources at the source nodes in order to maximize the system reliability for multi-source multi-sink SFN is discussed in [14]. An algorithm was developed to solve it. Considering the transmission cost constraints, the resource allocation problem was developed and solved by [15]. Hsieh and Lin [16] proposed updating schemes to solve the resource allocation problem for an unreliable multi-source multi-sink flow network, taking into consideration changing the resource demand or the characteristic of the SFN. In [17] and [5], the multi-source multi-sink SFN flow assignment problem was discussed. Additionally, to maximize system reliability, the flow assignment problem for multi-source multi-sink SFN was studied and solved using a proposed GA [18]. While in [19], the transmission cost was considered in order to maximize the reliability of the capacity vector. A GA-based algorithm was presented by [20] to determine the best set of lower boundary points for maximizing system reliability such that transmission cost does not exceed a specified upper bound. Finally, [21] studied the components assignment problem subject to reliability of the capacity vector.
The components assignment problem in the context of system reliability is investigated in this work. I.e., I expanded on the issue raised by [22]. In addition, a genetic-based algorithm was devised to overcome the CAP limitation in multi-source multi-sink flow networks while maximizing system reliability.
The following is a summary of the paper’s structure. The mathematical formulation of the problem is presented in Section 2. The components of the suggested strategy are described in Section 3. Section 4 contains the pseudo-code for the proposed technique. In part 5, we include some examples, and in section 6, we present our conclusions. Finally, we offer notations at the appendix.
2. Problem Formulation
Assume that
is set of components assigned to the set of arcs A such that
for
. The problem is then formulated as:
Maximize
s.t.
where
;
represents the cost of the assigned components
and
represents the budget.
2.1. The Proposed Algorithm
2.1.1. Representation
The following subsections explain the steps of the proposed algorithm. The chromosome
with length n, represents the set of candidate components. The component
is assigned to arc a1,
is assigned to a2, …, and
is assigned to an.
2.1.2. Crossover
Uniform crossover is used to generate new offspring. To avoid duplicate components we use modified crossover [17]. Figure 1 shows the crossover process.
2.1.3. Mutation
Swap mutation is used to keep the cost value of the selected components and to avoid duplicate ones. Figure 2 explains the mutation process.
2.1.4. Evaluation
We will generalize the approach proposed by [20] to find all lower vectors satisfying the following constraints:
(1)
(2)
(3)
(4)
where
and
is the maximum capacity of
given by
. If
represent a generated set of capacity vectors that corresponds to the flow vectors that satisfy constraints (3) through (6). If the network is cyclic, [22], then remove the non-minimal ones in
to obtain all lower boundary points. Otherwise, the generated capacity vectors are all lower boundary points, [23]. Finally, if
are all lower boundary points, then system reliability
is defined as:-
(5)
Here,
. We use the inclusion/exclusion rule, [24] to evaluate the expression given in (7).
2.1.5. Fitness Function
The fitness function is the system reliability for the assigned components
if
less than or equals
. Otherwise, the fitness value is set to zero.
(6)
2.1.6. Selection Process
The Roulette Wheel selection process is used here to select new parents [22]. The following steps summarize the selection process: summing all fitness values of chromosomes (
) in the current population. Generate a random number
in the range
. Starting from the first to the current one, calculate the sum of fitness values
. If
, then the current chromosome is selected. Otherwise, go to repeat Step i.
2.2. The Algorithm
The following steps describe the whole algorithm used to solve the CAP problem. In addition, the corresponding flowchart is shown in Figure 3.
![]()
Figure 3. Flow chart of the proposed algorithm.
Begin
Set parameters M, R, D, Pc, Pm, 𝒫, and 𝒢
Set gn = 0, gt = 0
Initialize 𝒫
While gn < 𝒢, do
While gt < 𝒫, do
Randomly select two chromosomes
Apply crossover according to Pc
Apply mutation according to Pm
Evaluate the current chromosome (Calculate Z(𝒞), Rs(𝒞), and fit(𝒞))
If (fit(𝒞) > 0), then set gt = gt + 1
End do
Set gn = gn + 1
Replace the parents
End do
Report the best solution found (The highest fit(𝒞))
End
3. Experimental Results
3.1. Two-Source Two-Sink Network
We study in first example, the computer network shown in Figure 4 which has two sources and two sinks. Table 1 lists the available components, and the minimal path MPs for this network are:- MP1,1,1 = {a1, a5}, MP1,1,2 = {a1, a6, a9} , MP1,1,3 = {a2, a7, a9}, MP1,2,1 = {a1, a6, a14}, MP1,2,2 = {a2, a7, a14}, MP2,1,1 = {a3, a7, a9}, MP2,1,2 = {a4, a8, a13, a9}, MP2,2,1 = {a3, a7, a14}, MP2,2,2 = {a4, a8, a13, a14}, MP2,2,3 = {a4, a8, a10} and MP2,2,4 = {a4, a11, a12}.
Here we let R = (r1,1, r1,2, r2,1, r2,2) = (15, 17, 10, 13), D = (d1,1, d1,2, d2,1, d2,2) = (9, 10, 5, 8), and costs of the available components are (41, 52, 51, 32, 61, 52, 31, 42, 21, 62, 51, 52 ,41, 22, 31, 22, 11, 32, 51, 51).
![]()
Figure 4. Network with two sources and two sinks.
Table 2 lists the lower vectors for the proposed algorithm’s first generation. The best
values obtained at each generation are shown in Figure 5. The best value of
was 0.981306 at the first generation. Table 3 presents the results of our suggested approach for various
values.
3.2. Three-Source Two-Sink Network
The second example we present in this paper includes three sources and two sinks shown in Figure 6. Table 4 shows the available components with capacities, costs and probabilities. The best
equals to 0.540484 and the corresponding
and
is 21 and (3, 7, 8, 12, 11, 2, 9, 1, 10, 6) respectively. The corresponding lower vectors are given in Table 5. The Minimal Paths (MPs) are:- MP1,1,1 = {a1, a7}, MP1,1,2 = {a2,a9}, MP1,2,1 = {a1, a8}, MP2,1,1 = {a3, a9}, MP2,2,1 = {a4, a10}, MP3,1,1 = {a5, a9} and MP3,2,1 = {a6, a10}. R = (r1,1, r1,2, r1,3, r2,1, r2,2, r2,3, r3,1, r3,2, r3,3) = (5, 2, 3, 5, 3, 2, 2, 2, 3) and D = (d1,1, d1,2,, d2,1, d2,2, d3,1, d3,2) = (3, 1, 2, 2, 1, 3).
4. Discussion
Through the searching process about the best components, the GA parameters were 𝒫 = 10, 𝒢 = 100, 𝒸𝓇 = 0.70 and 𝓂𝓇 = 0.02 for all studied cases. Generating all lower boundary to evaluate
is based on discovering all possible flow vector solutions. It is impossible to estimate the number of viable solutions. As a result, in order to generate all possible flow vector solutions, F, that satisfies the constraints (1) to (4) given in section 2.1.4, we run the inner GA more than one time. So, the value of
is corresponding to the optimal components and the optimal set of lower vectors.
To the best of our knowledge, solving the CAP considering system reliability and assignment budget is never studied or discussed before.
In addition, this study is different from [19] that solved the CAP to maximize a single capacity vector. Furthermore, authors in [20] studied the system reliability optimization subject to transmission cost. Therefore, there is no comparison available here.
![]()
Table 2. Capacity vectors generated at the first generation.
![]()
Table 3. Obtained Results for different values for ℬ.
*The value of cost that corresponding to Max Rs.
![]()
Table 4. Available components with capacities, costs and probabilities.
![]()
Table 5. Lower vectors for Figure 5 network.
![]()
Figure 5. The best
values at each generation for
.
![]()
Figure 6. Network with three sources and two sinks.
5. Conclusions
In this paper, the multi-source multi-sink stochastic flow networks system reliability optimization problem assignment budget is studied and formulated. A GA-based approach is presented to solve it. The presented approach based on GA is used to determine the optimal components that could be assigned to a multi-source multi-sink flow network in order to maximize system reliability while minimizing total assignment cost.
The multi-source multi-sink flow networks are used to represent many real-life systems, such as computer systems, manufacturing systems, and logistics systems, to evaluate their performance by considering one or more constraints. Therefore, this research presented GA-based approach to optimize the reliability subject to an assignment budget.
In future work, one may extend the problem by considering multiple constraints, such as, system reliability, lead-time, and budget.
Appendix
N Number of nodes.
MPs Minimal paths.
A Set of arcs.
S Set of source nodes.
T Set of sink nodes.
M
, where Me maximum capacity of ae and Me is an integer.
The demand of resource w at sink node tj.
Maximum quantity for resource w which source node si can supply.
𝒫 Population size.
𝒢 Maximum generation.
𝒸𝓇 Crossover rate.
𝓂𝓇 Mutation rate.