Contents
function f = initialize_variables(N, M, V, min_tange, max_range)
This function initializes the chromosomes. Each chromosome has the following at this stage * set of decision variables
* objective function values
where, N - Population size M - Number of objective functions V - Number of decision variables min_range - A vector of decimal
values which indicate the minimum value for each decision variable. max_range - Vector of maximum possible values for decision
variables.
min = min_range;
max = max_range;
K = M + V;
Initialize each chromosome
For each chromosome perform the following (N is the population size)
for i = 1 : N
for j = 1 : V
f(i,j) = min(j) + (max(j) - min(j))*rand(1);
end
f(i,V + 1: K) = evaluate_objective(f(i,:), M, V);
end