A Hybrid Technique Based on a Genetic Algorithm for Fuzzy Multiobjective Problems in 5G, Internet of Things, and Mobile Edge Computing
Algorithm 5
The crossover operator.
Suppose is the number of pairs chosen so far.
(1)
Set .
(2)
Choose two individuals randomly from the current population.
(3)
Generate the random . If , go to step 5.
(4)
Generate a random matrix as follows:
.
Set where is the identity matrix and is the contraction coefficients matrix. Go to 6.
(5)
Generate a random matrix as follows:
.
Set where is the identity matrix and is the extraction coefficients matrix.
(6)
Generate the random number . If , go to step 8.
(7)
Generate the matrix as follows:
Set . Go to step 9.
(8)
Define the random matrix as follows:
.
Set .
(9)
Choose the random variable . If , then go to the next step. Otherwise, generate . If , generate a new matrix and set . Otherwise, generate a new and set .
(10)
Choose the random variable . If , then go to the next step. Otherwise, generate . If , generate a new matrix and set . Otherwise, generate a new and set
(11)
If () does not belong to , for some , change the value of () to a random variable in .
(12)
Check the feasibility of and . If any of them is not feasible, modify them and make them feasible using Algorithm 3.