Research Article
Application of Layered Coding Genetic Algorithm in Optimization of Unequal Area Production Facilities Layout
Algorithm 2
Calculating the value of fitness function.
| Input: (x, y) ⟵ coordinate of facility centroid | | D ⟵ Matrix of logistics quantity between facilities; | | C ⟵ Matrix of unit logistics cost between facilities; | | r ⟵ Matrix of closeness score between facilities; | | r_max ⟵ maximum of closeness score between facilities; | | a1 ⟵ weight of logistics cost; a2 ⟵ weight of nonlogistics factors; | | Output: goal_v (value of fitness function) | (1) | for i ⟵ 1 to n_f | (2) | for j ⟵ 1 to n_f | (3) | | (4) | end for | (5) | end for | (6) | G1 ⟵ sum according to the row (sum according to the column(D.flow_f.flow_c)); | (7) | G2 ⟵ sum according to the row (sum according to the column(D./D_max.relation_v)); | (8) | goal_ ⟵ a1G1 + a2(r_max-G2); | (5) | Genetic manipulation |
|